public static MessageLite getResponseDefaultInstanceServer(int rpcType) throws RpcException { switch (rpcType) { case RpcType.ACK_VALUE: return Ack.getDefaultInstance(); case RpcType.HANDSHAKE_VALUE: return BitClientHandshake.getDefaultInstance(); case RpcType.REQ_RECORD_BATCH_VALUE: return FragmentRecordBatch.getDefaultInstance(); case RpcType.SASL_MESSAGE_VALUE: return SaslMessage.getDefaultInstance(); default: throw new UnsupportedOperationException(); } } }
public org.apache.drill.exec.proto.BitData.BitClientHandshake getDefaultInstanceForType() { return org.apache.drill.exec.proto.BitData.BitClientHandshake.getDefaultInstance(); }
public Builder mergeFrom(org.apache.drill.exec.proto.BitData.BitClientHandshake other) { if (other == org.apache.drill.exec.proto.BitData.BitClientHandshake.getDefaultInstance()) return this; if (other.hasRpcVersion()) { setRpcVersion(other.getRpcVersion()); } if (other.hasChannel()) { setChannel(other.getChannel()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public org.apache.drill.exec.proto.BitData.BitClientHandshake getDefaultInstanceForType() { return org.apache.drill.exec.proto.BitData.BitClientHandshake.getDefaultInstance(); }
public Builder mergeFrom(org.apache.drill.exec.proto.BitData.BitClientHandshake other) { if (other == org.apache.drill.exec.proto.BitData.BitClientHandshake.getDefaultInstance()) return this; if (other.hasRpcVersion()) { setRpcVersion(other.getRpcVersion()); } if (other.hasChannel()) { setChannel(other.getChannel()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }