public void write(org.apache.thrift.protocol.TProtocol oprot, GlobalStreamId struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.componentId != null) { oprot.writeFieldBegin(COMPONENT_ID_FIELD_DESC); oprot.writeString(struct.componentId); oprot.writeFieldEnd(); } if (struct.streamId != null) { oprot.writeFieldBegin(STREAM_ID_FIELD_DESC); oprot.writeString(struct.streamId); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();
public void write(org.apache.thrift7.protocol.TProtocol oprot) throws org.apache.thrift7.TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.componentId != null) { oprot.writeFieldBegin(COMPONENT_ID_FIELD_DESC); oprot.writeString(this.componentId); oprot.writeFieldEnd(); } if (this.streamId != null) { oprot.writeFieldBegin(STREAM_ID_FIELD_DESC); oprot.writeString(this.streamId); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.componentId != null) { oprot.writeFieldBegin(COMPONENT_ID_FIELD_DESC); oprot.writeString(this.componentId); oprot.writeFieldEnd(); } if (this.streamId != null) { oprot.writeFieldBegin(STREAM_ID_FIELD_DESC); oprot.writeString(this.streamId); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, GlobalStreamId struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.componentId != null) { oprot.writeFieldBegin(COMPONENT_ID_FIELD_DESC); oprot.writeString(struct.componentId); oprot.writeFieldEnd(); } if (struct.streamId != null) { oprot.writeFieldBegin(STREAM_ID_FIELD_DESC); oprot.writeString(struct.streamId); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }