/** * Sets the value of the 'serverHash' field. * @param value The value of 'serverHash'. * @return This builder. */ public org.apache.avro.ipc.HandshakeResponse.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 'serverProtocol' field. * @param value The value of 'serverProtocol'. * @return This builder. */ public org.apache.avro.ipc.HandshakeResponse.Builder setServerProtocol(java.lang.String value) { validate(fields()[1], value); this.serverProtocol = 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.HandshakeResponse.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 'match' field. * @param value The value of 'match'. * @return This builder. */ public org.apache.avro.ipc.HandshakeResponse.Builder setMatch(org.apache.avro.ipc.HandshakeMatch value) { validate(fields()[0], value); this.match = value; fieldSetFlags()[0] = true; return this; }
/** * Sets the value of the 'serverProtocol' field. * @param value The value of 'serverProtocol'. * @return This builder. */ public org.apache.avro.ipc.HandshakeResponse.Builder setServerProtocol(java.lang.String value) { validate(fields()[1], value); this.serverProtocol = 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.HandshakeResponse.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 'match' field. * @param value The value of 'match'. * @return This builder. */ public org.apache.avro.ipc.HandshakeResponse.Builder setMatch(org.apache.avro.ipc.HandshakeMatch value) { validate(fields()[0], value); this.match = value; fieldSetFlags()[0] = true; return this; }
/** * Sets the value of the 'serverHash' field. * @param value The value of 'serverHash'. * @return This builder. */ public org.apache.avro.ipc.HandshakeResponse.Builder setServerHash(org.apache.avro.ipc.MD5 value) { validate(fields()[2], value); this.serverHash = value; fieldSetFlags()[2] = true; return this; }