public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (host != null) { host.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (host != null) { host.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (host != null) { host.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (host != null) { host.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (host != null) { host.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (host != null) { host.validate(); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, Endpoint struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); oprot.writeFieldBegin(IPV4_FIELD_DESC); oprot.writeI32(struct.ipv4); oprot.writeFieldEnd(); oprot.writeFieldBegin(PORT_FIELD_DESC); oprot.writeI16(struct.port); oprot.writeFieldEnd(); if (struct.service_name != null) { oprot.writeFieldBegin(SERVICE_NAME_FIELD_DESC); oprot.writeString(struct.service_name); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, Endpoint struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); oprot.writeFieldBegin(IPV4_FIELD_DESC); oprot.writeI32(struct.ipv4); oprot.writeFieldEnd(); oprot.writeFieldBegin(PORT_FIELD_DESC); oprot.writeI16(struct.port); oprot.writeFieldEnd(); if (struct.service_name != null) { oprot.writeFieldBegin(SERVICE_NAME_FIELD_DESC); oprot.writeString(struct.service_name); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, Endpoint struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); oprot.writeFieldBegin(IPV4_FIELD_DESC); oprot.writeI32(struct.ipv4); oprot.writeFieldEnd(); oprot.writeFieldBegin(PORT_FIELD_DESC); oprot.writeI16(struct.port); oprot.writeFieldEnd(); if (struct.service_name != null) { oprot.writeFieldBegin(SERVICE_NAME_FIELD_DESC); oprot.writeString(struct.service_name); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();