public Builder mergeFrom(org.apache.drill.exec.proto.UserProtos.BitToUserHandshake other) { if (other == org.apache.drill.exec.proto.UserProtos.BitToUserHandshake.getDefaultInstance()) return this; if (other.hasRpcVersion()) { setRpcVersion(other.getRpcVersion());
public Builder mergeFrom(org.apache.drill.exec.proto.UserProtos.BitToUserHandshake other) { if (other == org.apache.drill.exec.proto.UserProtos.BitToUserHandshake.getDefaultInstance()) return this; if (other.hasRpcVersion()) { setRpcVersion(other.getRpcVersion());
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.BitToUserHandshake message) throws java.io.IOException { if(message.hasRpcVersion()) output.writeInt32(2, message.getRpcVersion(), false); if(message.hasStatus()) output.writeEnum(3, message.getStatus().getNumber(), false); if(message.hasErrorId()) output.writeString(4, message.getErrorId(), false); if(message.hasErrorMessage()) output.writeString(5, message.getErrorMessage(), false); if(message.hasServerInfos()) output.writeObject(6, message.getServerInfos(), org.apache.drill.exec.proto.SchemaUserProtos.RpcEndpointInfos.WRITE, false); for(String authenticationMechanisms : message.getAuthenticationMechanismsList()) output.writeString(7, authenticationMechanisms, true); for(org.apache.drill.exec.proto.UserProtos.RpcType supportedMethods : message.getSupportedMethodsList()) output.writeEnum(8, supportedMethods.getNumber(), true); if(message.hasEncrypted()) output.writeBool(9, message.getEncrypted(), false); if(message.hasMaxWrappedSize()) output.writeInt32(10, message.getMaxWrappedSize(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.BitToUserHandshake message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.BitToUserHandshake message) throws java.io.IOException { if(message.hasRpcVersion()) output.writeInt32(2, message.getRpcVersion(), false); if(message.hasStatus()) output.writeEnum(3, message.getStatus().getNumber(), false); if(message.hasErrorId()) output.writeString(4, message.getErrorId(), false); if(message.hasErrorMessage()) output.writeString(5, message.getErrorMessage(), false); if(message.hasServerInfos()) output.writeObject(6, message.getServerInfos(), org.apache.drill.exec.proto.SchemaUserProtos.RpcEndpointInfos.WRITE, false); for(String authenticationMechanisms : message.getAuthenticationMechanismsList()) output.writeString(7, authenticationMechanisms, true); for(org.apache.drill.exec.proto.UserProtos.RpcType supportedMethods : message.getSupportedMethodsList()) output.writeEnum(8, supportedMethods.getNumber(), true); if(message.hasEncrypted()) output.writeBool(9, message.getEncrypted(), false); if(message.hasMaxWrappedSize()) output.writeInt32(10, message.getMaxWrappedSize(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.BitToUserHandshake message)