public void write(org.apache.thrift.protocol.TProtocol oprot, execute_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.functionName != null) { oprot.writeFieldBegin(FUNCTION_NAME_FIELD_DESC); oprot.writeString(struct.functionName); oprot.writeFieldEnd(); } if (struct.funcArgs != null) { oprot.writeFieldBegin(FUNC_ARGS_FIELD_DESC); oprot.writeString(struct.funcArgs); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();
public void write(org.apache.thrift.protocol.TProtocol oprot, execute_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.functionName != null) { oprot.writeFieldBegin(FUNCTION_NAME_FIELD_DESC); oprot.writeString(struct.functionName); oprot.writeFieldEnd(); } if (struct.funcArgs != null) { oprot.writeFieldBegin(FUNC_ARGS_FIELD_DESC); oprot.writeString(struct.funcArgs); 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.functionName != null) { oprot.writeFieldBegin(FUNCTION_NAME_FIELD_DESC); oprot.writeString(this.functionName); oprot.writeFieldEnd(); } if (this.funcArgs != null) { oprot.writeFieldBegin(FUNC_ARGS_FIELD_DESC); oprot.writeString(this.funcArgs); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift7.protocol.TProtocol oprot) throws org.apache.thrift7.TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.functionName != null) { oprot.writeFieldBegin(FUNCTION_NAME_FIELD_DESC); oprot.writeString(this.functionName); oprot.writeFieldEnd(); } if (this.funcArgs != null) { oprot.writeFieldBegin(FUNC_ARGS_FIELD_DESC); oprot.writeString(this.funcArgs); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }