mergeCredentials(other.getCredentials()); if (other.hasProperties()) { mergeProperties(other.getProperties());
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.UserToBitHandshake message) throws java.io.IOException { if(message.hasChannel()) output.writeEnum(1, message.getChannel().getNumber(), false); if(message.hasSupportListening()) output.writeBool(2, message.getSupportListening(), false); if(message.hasRpcVersion()) output.writeInt32(3, message.getRpcVersion(), false); if(message.hasCredentials()) output.writeObject(4, message.getCredentials(), org.apache.drill.exec.proto.SchemaUserBitShared.UserCredentials.WRITE, false); if(message.hasProperties()) output.writeObject(5, message.getProperties(), org.apache.drill.exec.proto.SchemaUserProtos.UserProperties.WRITE, false); if(message.hasSupportComplexTypes()) output.writeBool(6, message.getSupportComplexTypes(), false); if(message.hasSupportTimeout()) output.writeBool(7, message.getSupportTimeout(), false); if(message.hasClientInfos()) output.writeObject(8, message.getClientInfos(), org.apache.drill.exec.proto.SchemaUserProtos.RpcEndpointInfos.WRITE, false); if(message.hasSaslSupport()) output.writeEnum(9, message.getSaslSupport().getNumber(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.UserToBitHandshake message)
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (hasProperties()) { if (!getProperties().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; }
mergeCredentials(other.getCredentials()); if (other.hasProperties()) { mergeProperties(other.getProperties());
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.UserToBitHandshake message) throws java.io.IOException { if(message.hasChannel()) output.writeEnum(1, message.getChannel().getNumber(), false); if(message.hasSupportListening()) output.writeBool(2, message.getSupportListening(), false); if(message.hasRpcVersion()) output.writeInt32(3, message.getRpcVersion(), false); if(message.hasCredentials()) output.writeObject(4, message.getCredentials(), org.apache.drill.exec.proto.SchemaUserBitShared.UserCredentials.WRITE, false); if(message.hasProperties()) output.writeObject(5, message.getProperties(), org.apache.drill.exec.proto.SchemaUserProtos.UserProperties.WRITE, false); if(message.hasSupportComplexTypes()) output.writeBool(6, message.getSupportComplexTypes(), false); if(message.hasSupportTimeout()) output.writeBool(7, message.getSupportTimeout(), false); if(message.hasClientInfos()) output.writeObject(8, message.getClientInfos(), org.apache.drill.exec.proto.SchemaUserProtos.RpcEndpointInfos.WRITE, false); if(message.hasSaslSupport()) output.writeEnum(9, message.getSaslSupport().getNumber(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.UserToBitHandshake message)
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (hasProperties()) { if (!getProperties().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; }