public Endpoint setIpv4(int ipv4) { this.ipv4 = ipv4; setIpv4IsSet(true); return this; }
public Endpoint setIpv4(int ipv4) { this.ipv4 = ipv4; setIpv4IsSet(true); return this; }
public Endpoint setIpv4(int ipv4) { this.ipv4 = ipv4; setIpv4IsSet(true); return this; }
public Endpoint( int ipv4, short port, String service_name) { this(); this.ipv4 = ipv4; setIpv4IsSet(true); this.port = port; setPortIsSet(true); this.service_name = service_name; }
public Endpoint( int ipv4, short port, String service_name) { this(); this.ipv4 = ipv4; setIpv4IsSet(true); this.port = port; setPortIsSet(true); this.service_name = service_name; }
@Override public void clear() { setIpv4IsSet(false); this.ipv4 = 0; setPortIsSet(false); this.port = 0; this.service_name = null; }
public Endpoint( int ipv4, short port, String service_name) { this(); this.ipv4 = ipv4; setIpv4IsSet(true); this.port = port; setPortIsSet(true); this.service_name = service_name; }
@Override public void clear() { setIpv4IsSet(false); this.ipv4 = 0; setPortIsSet(false); this.port = 0; this.service_name = null; }
@Override public void clear() { setIpv4IsSet(false); this.ipv4 = 0; setPortIsSet(false); this.port = 0; this.service_name = null; }
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.ipv4 = iprot.readI32(); struct.setIpv4IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Endpoint struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.ipv4 = iprot.readI32(); struct.setIpv4IsSet(true); } if (incoming.get(1)) { struct.port = iprot.readI16(); struct.setPortIsSet(true); } if (incoming.get(2)) { struct.service_name = iprot.readString(); struct.setService_nameIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Endpoint struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.ipv4 = iprot.readI32(); struct.setIpv4IsSet(true); } if (incoming.get(1)) { struct.port = iprot.readI16(); struct.setPortIsSet(true); } if (incoming.get(2)) { struct.service_name = iprot.readString(); struct.setService_nameIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Endpoint struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.ipv4 = iprot.readI32(); struct.setIpv4IsSet(true); } if (incoming.get(1)) { struct.port = iprot.readI16(); struct.setPortIsSet(true); } if (incoming.get(2)) { struct.service_name = iprot.readString(); struct.setService_nameIsSet(true); } } }
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.ipv4 = iprot.readI32(); struct.setIpv4IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.ipv4 = iprot.readI32(); struct.setIpv4IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);