/** * Sets the value of the 'serverHash' field. * @param value The value of 'serverHash'. * @return This builder. */ public org.apache.avro.ipc.HandshakeRequest.Builder setServerHash(org.apache.avro.ipc.MD5 value) { validate(fields()[2], value); this.serverHash = value; fieldSetFlags()[2] = true; return this; }
/** * Sets the value of the 'clientHash' field. * @param value The value of 'clientHash'. * @return This builder. */ public org.apache.avro.ipc.HandshakeRequest.Builder setClientHash(org.apache.avro.ipc.MD5 value) { validate(fields()[0], value); this.clientHash = value; fieldSetFlags()[0] = true; return this; }
/** * Sets the value of the 'clientProtocol' field. * @param value The value of 'clientProtocol'. * @return This builder. */ public org.apache.avro.ipc.HandshakeRequest.Builder setClientProtocol(java.lang.String value) { validate(fields()[1], value); this.clientProtocol = value; fieldSetFlags()[1] = true; return this; }
/** * Sets the value of the 'meta' field. * @param value The value of 'meta'. * @return This builder. */ public org.apache.avro.ipc.HandshakeRequest.Builder setMeta(java.util.Map<java.lang.String,java.nio.ByteBuffer> value) { validate(fields()[3], value); this.meta = value; fieldSetFlags()[3] = true; return this; }
/** * Sets the value of the 'clientProtocol' field. * @param value The value of 'clientProtocol'. * @return This builder. */ public org.apache.avro.ipc.HandshakeRequest.Builder setClientProtocol(java.lang.String value) { validate(fields()[1], value); this.clientProtocol = value; fieldSetFlags()[1] = true; return this; }
/** * Sets the value of the 'clientHash' field. * @param value The value of 'clientHash'. * @return This builder. */ public org.apache.avro.ipc.HandshakeRequest.Builder setClientHash(org.apache.avro.ipc.MD5 value) { validate(fields()[0], value); this.clientHash = value; fieldSetFlags()[0] = true; return this; }
/** * Sets the value of the 'meta' field. * @param value The value of 'meta'. * @return This builder. */ public org.apache.avro.ipc.HandshakeRequest.Builder setMeta(java.util.Map<java.lang.String,java.nio.ByteBuffer> value) { validate(fields()[3], value); this.meta = value; fieldSetFlags()[3] = true; return this; }
/** * Sets the value of the 'serverHash' field. * @param value The value of 'serverHash'. * @return This builder. */ public org.apache.avro.ipc.HandshakeRequest.Builder setServerHash(org.apache.avro.ipc.MD5 value) { validate(fields()[2], value); this.serverHash = value; fieldSetFlags()[2] = true; return this; }