All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: IpcConnectionContext.proto

package org.apache.hadoop.ipc.protobuf;

public final class IpcConnectionContextProtos {
  private IpcConnectionContextProtos() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
  }
  public interface UserInformationProtoOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // optional string effectiveUser = 1;
    /**
     * optional string effectiveUser = 1;
     */
    boolean hasEffectiveUser();
    /**
     * optional string effectiveUser = 1;
     */
    java.lang.String getEffectiveUser();
    /**
     * optional string effectiveUser = 1;
     */
    com.google.protobuf.ByteString
        getEffectiveUserBytes();

    // optional string realUser = 2;
    /**
     * optional string realUser = 2;
     */
    boolean hasRealUser();
    /**
     * optional string realUser = 2;
     */
    java.lang.String getRealUser();
    /**
     * optional string realUser = 2;
     */
    com.google.protobuf.ByteString
        getRealUserBytes();
  }
  /**
   * Protobuf type {@code hadoop.common.UserInformationProto}
   *
   * 
   **
   * Spec for UserInformationProto is specified in ProtoUtil#makeIpcConnectionContext
   * 
*/ public static final class UserInformationProto extends com.google.protobuf.GeneratedMessage implements UserInformationProtoOrBuilder { // Use UserInformationProto.newBuilder() to construct. private UserInformationProto(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private UserInformationProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final UserInformationProto defaultInstance; public static UserInformationProto getDefaultInstance() { return defaultInstance; } public UserInformationProto getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UserInformationProto( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; effectiveUser_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; realUser_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.internal_static_hadoop_common_UserInformationProto_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.internal_static_hadoop_common_UserInformationProto_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.class, org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public UserInformationProto parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UserInformationProto(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string effectiveUser = 1; public static final int EFFECTIVEUSER_FIELD_NUMBER = 1; private java.lang.Object effectiveUser_; /** * optional string effectiveUser = 1; */ public boolean hasEffectiveUser() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string effectiveUser = 1; */ public java.lang.String getEffectiveUser() { java.lang.Object ref = effectiveUser_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { effectiveUser_ = s; } return s; } } /** * optional string effectiveUser = 1; */ public com.google.protobuf.ByteString getEffectiveUserBytes() { java.lang.Object ref = effectiveUser_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); effectiveUser_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string realUser = 2; public static final int REALUSER_FIELD_NUMBER = 2; private java.lang.Object realUser_; /** * optional string realUser = 2; */ public boolean hasRealUser() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string realUser = 2; */ public java.lang.String getRealUser() { java.lang.Object ref = realUser_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { realUser_ = s; } return s; } } /** * optional string realUser = 2; */ public com.google.protobuf.ByteString getRealUserBytes() { java.lang.Object ref = realUser_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); realUser_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { effectiveUser_ = ""; realUser_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getEffectiveUserBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getRealUserBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getEffectiveUserBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getRealUserBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto)) { return super.equals(obj); } org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto other = (org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto) obj; boolean result = true; result = result && (hasEffectiveUser() == other.hasEffectiveUser()); if (hasEffectiveUser()) { result = result && getEffectiveUser() .equals(other.getEffectiveUser()); } result = result && (hasRealUser() == other.hasRealUser()); if (hasRealUser()) { result = result && getRealUser() .equals(other.getRealUser()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasEffectiveUser()) { hash = (37 * hash) + EFFECTIVEUSER_FIELD_NUMBER; hash = (53 * hash) + getEffectiveUser().hashCode(); } if (hasRealUser()) { hash = (37 * hash) + REALUSER_FIELD_NUMBER; hash = (53 * hash) + getRealUser().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hadoop.common.UserInformationProto} * *
     **
     * Spec for UserInformationProto is specified in ProtoUtil#makeIpcConnectionContext
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProtoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.internal_static_hadoop_common_UserInformationProto_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.internal_static_hadoop_common_UserInformationProto_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.class, org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.Builder.class); } // Construct using org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); effectiveUser_ = ""; bitField0_ = (bitField0_ & ~0x00000001); realUser_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.internal_static_hadoop_common_UserInformationProto_descriptor; } public org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto getDefaultInstanceForType() { return org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); } public org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto build() { org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto buildPartial() { org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto result = new org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.effectiveUser_ = effectiveUser_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.realUser_ = realUser_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto) { return mergeFrom((org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto other) { if (other == org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance()) return this; if (other.hasEffectiveUser()) { bitField0_ |= 0x00000001; effectiveUser_ = other.effectiveUser_; onChanged(); } if (other.hasRealUser()) { bitField0_ |= 0x00000002; realUser_ = other.realUser_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string effectiveUser = 1; private java.lang.Object effectiveUser_ = ""; /** * optional string effectiveUser = 1; */ public boolean hasEffectiveUser() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string effectiveUser = 1; */ public java.lang.String getEffectiveUser() { java.lang.Object ref = effectiveUser_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); effectiveUser_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string effectiveUser = 1; */ public com.google.protobuf.ByteString getEffectiveUserBytes() { java.lang.Object ref = effectiveUser_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); effectiveUser_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string effectiveUser = 1; */ public Builder setEffectiveUser( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; effectiveUser_ = value; onChanged(); return this; } /** * optional string effectiveUser = 1; */ public Builder clearEffectiveUser() { bitField0_ = (bitField0_ & ~0x00000001); effectiveUser_ = getDefaultInstance().getEffectiveUser(); onChanged(); return this; } /** * optional string effectiveUser = 1; */ public Builder setEffectiveUserBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; effectiveUser_ = value; onChanged(); return this; } // optional string realUser = 2; private java.lang.Object realUser_ = ""; /** * optional string realUser = 2; */ public boolean hasRealUser() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string realUser = 2; */ public java.lang.String getRealUser() { java.lang.Object ref = realUser_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); realUser_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string realUser = 2; */ public com.google.protobuf.ByteString getRealUserBytes() { java.lang.Object ref = realUser_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); realUser_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string realUser = 2; */ public Builder setRealUser( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; realUser_ = value; onChanged(); return this; } /** * optional string realUser = 2; */ public Builder clearRealUser() { bitField0_ = (bitField0_ & ~0x00000002); realUser_ = getDefaultInstance().getRealUser(); onChanged(); return this; } /** * optional string realUser = 2; */ public Builder setRealUserBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; realUser_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hadoop.common.UserInformationProto) } static { defaultInstance = new UserInformationProto(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hadoop.common.UserInformationProto) } public interface IpcConnectionContextProtoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .hadoop.common.UserInformationProto userInfo = 2; /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
     * UserInfo beyond what is determined as part of security handshake 
     * at connection time (kerberos, tokens etc).
     * 
*/ boolean hasUserInfo(); /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
     * UserInfo beyond what is determined as part of security handshake 
     * at connection time (kerberos, tokens etc).
     * 
*/ org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto getUserInfo(); /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
     * UserInfo beyond what is determined as part of security handshake 
     * at connection time (kerberos, tokens etc).
     * 
*/ org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProtoOrBuilder getUserInfoOrBuilder(); // optional string protocol = 3; /** * optional string protocol = 3; * *
     * Protocol name for next rpc layer.
     * The client created a proxy with this protocol name
     * 
*/ boolean hasProtocol(); /** * optional string protocol = 3; * *
     * Protocol name for next rpc layer.
     * The client created a proxy with this protocol name
     * 
*/ java.lang.String getProtocol(); /** * optional string protocol = 3; * *
     * Protocol name for next rpc layer.
     * The client created a proxy with this protocol name
     * 
*/ com.google.protobuf.ByteString getProtocolBytes(); } /** * Protobuf type {@code hadoop.common.IpcConnectionContextProto} * *
   **
   * The connection context is sent as part of the connection establishment.
   * It establishes the context for ALL Rpc calls within the connection.
   * 
*/ public static final class IpcConnectionContextProto extends com.google.protobuf.GeneratedMessage implements IpcConnectionContextProtoOrBuilder { // Use IpcConnectionContextProto.newBuilder() to construct. private IpcConnectionContextProto(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private IpcConnectionContextProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final IpcConnectionContextProto defaultInstance; public static IpcConnectionContextProto getDefaultInstance() { return defaultInstance; } public IpcConnectionContextProto getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IpcConnectionContextProto( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 18: { org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = userInfo_.toBuilder(); } userInfo_ = input.readMessage(org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(userInfo_); userInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 26: { bitField0_ |= 0x00000002; protocol_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.internal_static_hadoop_common_IpcConnectionContextProto_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.internal_static_hadoop_common_IpcConnectionContextProto_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto.class, org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public IpcConnectionContextProto parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new IpcConnectionContextProto(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional .hadoop.common.UserInformationProto userInfo = 2; public static final int USERINFO_FIELD_NUMBER = 2; private org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto userInfo_; /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
     * UserInfo beyond what is determined as part of security handshake 
     * at connection time (kerberos, tokens etc).
     * 
*/ public boolean hasUserInfo() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
     * UserInfo beyond what is determined as part of security handshake 
     * at connection time (kerberos, tokens etc).
     * 
*/ public org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto getUserInfo() { return userInfo_; } /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
     * UserInfo beyond what is determined as part of security handshake 
     * at connection time (kerberos, tokens etc).
     * 
*/ public org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProtoOrBuilder getUserInfoOrBuilder() { return userInfo_; } // optional string protocol = 3; public static final int PROTOCOL_FIELD_NUMBER = 3; private java.lang.Object protocol_; /** * optional string protocol = 3; * *
     * Protocol name for next rpc layer.
     * The client created a proxy with this protocol name
     * 
*/ public boolean hasProtocol() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string protocol = 3; * *
     * Protocol name for next rpc layer.
     * The client created a proxy with this protocol name
     * 
*/ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { protocol_ = s; } return s; } } /** * optional string protocol = 3; * *
     * Protocol name for next rpc layer.
     * The client created a proxy with this protocol name
     * 
*/ public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); protocol_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); protocol_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(2, userInfo_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(3, getProtocolBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, userInfo_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getProtocolBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto)) { return super.equals(obj); } org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto other = (org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto) obj; boolean result = true; result = result && (hasUserInfo() == other.hasUserInfo()); if (hasUserInfo()) { result = result && getUserInfo() .equals(other.getUserInfo()); } result = result && (hasProtocol() == other.hasProtocol()); if (hasProtocol()) { result = result && getProtocol() .equals(other.getProtocol()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasUserInfo()) { hash = (37 * hash) + USERINFO_FIELD_NUMBER; hash = (53 * hash) + getUserInfo().hashCode(); } if (hasProtocol()) { hash = (37 * hash) + PROTOCOL_FIELD_NUMBER; hash = (53 * hash) + getProtocol().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hadoop.common.IpcConnectionContextProto} * *
     **
     * The connection context is sent as part of the connection establishment.
     * It establishes the context for ALL Rpc calls within the connection.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProtoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.internal_static_hadoop_common_IpcConnectionContextProto_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.internal_static_hadoop_common_IpcConnectionContextProto_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto.class, org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto.Builder.class); } // Construct using org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getUserInfoFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (userInfoBuilder_ == null) { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); } else { userInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); protocol_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.internal_static_hadoop_common_IpcConnectionContextProto_descriptor; } public org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto getDefaultInstanceForType() { return org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto.getDefaultInstance(); } public org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto build() { org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto buildPartial() { org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto result = new org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (userInfoBuilder_ == null) { result.userInfo_ = userInfo_; } else { result.userInfo_ = userInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.protocol_ = protocol_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto) { return mergeFrom((org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto other) { if (other == org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto.getDefaultInstance()) return this; if (other.hasUserInfo()) { mergeUserInfo(other.getUserInfo()); } if (other.hasProtocol()) { bitField0_ |= 0x00000002; protocol_ = other.protocol_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.IpcConnectionContextProto) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .hadoop.common.UserInformationProto userInfo = 2; private org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto, org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.Builder, org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProtoOrBuilder> userInfoBuilder_; /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
       * UserInfo beyond what is determined as part of security handshake 
       * at connection time (kerberos, tokens etc).
       * 
*/ public boolean hasUserInfo() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
       * UserInfo beyond what is determined as part of security handshake 
       * at connection time (kerberos, tokens etc).
       * 
*/ public org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto getUserInfo() { if (userInfoBuilder_ == null) { return userInfo_; } else { return userInfoBuilder_.getMessage(); } } /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
       * UserInfo beyond what is determined as part of security handshake 
       * at connection time (kerberos, tokens etc).
       * 
*/ public Builder setUserInfo(org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto value) { if (userInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userInfo_ = value; onChanged(); } else { userInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
       * UserInfo beyond what is determined as part of security handshake 
       * at connection time (kerberos, tokens etc).
       * 
*/ public Builder setUserInfo( org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.Builder builderForValue) { if (userInfoBuilder_ == null) { userInfo_ = builderForValue.build(); onChanged(); } else { userInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
       * UserInfo beyond what is determined as part of security handshake 
       * at connection time (kerberos, tokens etc).
       * 
*/ public Builder mergeUserInfo(org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto value) { if (userInfoBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && userInfo_ != org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance()) { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.newBuilder(userInfo_).mergeFrom(value).buildPartial(); } else { userInfo_ = value; } onChanged(); } else { userInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
       * UserInfo beyond what is determined as part of security handshake 
       * at connection time (kerberos, tokens etc).
       * 
*/ public Builder clearUserInfo() { if (userInfoBuilder_ == null) { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); onChanged(); } else { userInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
       * UserInfo beyond what is determined as part of security handshake 
       * at connection time (kerberos, tokens etc).
       * 
*/ public org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.Builder getUserInfoBuilder() { bitField0_ |= 0x00000001; onChanged(); return getUserInfoFieldBuilder().getBuilder(); } /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
       * UserInfo beyond what is determined as part of security handshake 
       * at connection time (kerberos, tokens etc).
       * 
*/ public org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProtoOrBuilder getUserInfoOrBuilder() { if (userInfoBuilder_ != null) { return userInfoBuilder_.getMessageOrBuilder(); } else { return userInfo_; } } /** * optional .hadoop.common.UserInformationProto userInfo = 2; * *
       * UserInfo beyond what is determined as part of security handshake 
       * at connection time (kerberos, tokens etc).
       * 
*/ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto, org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.Builder, org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProtoOrBuilder> getUserInfoFieldBuilder() { if (userInfoBuilder_ == null) { userInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto, org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.Builder, org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProtoOrBuilder>( userInfo_, getParentForChildren(), isClean()); userInfo_ = null; } return userInfoBuilder_; } // optional string protocol = 3; private java.lang.Object protocol_ = ""; /** * optional string protocol = 3; * *
       * Protocol name for next rpc layer.
       * The client created a proxy with this protocol name
       * 
*/ public boolean hasProtocol() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string protocol = 3; * *
       * Protocol name for next rpc layer.
       * The client created a proxy with this protocol name
       * 
*/ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); protocol_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string protocol = 3; * *
       * Protocol name for next rpc layer.
       * The client created a proxy with this protocol name
       * 
*/ public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); protocol_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string protocol = 3; * *
       * Protocol name for next rpc layer.
       * The client created a proxy with this protocol name
       * 
*/ public Builder setProtocol( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; protocol_ = value; onChanged(); return this; } /** * optional string protocol = 3; * *
       * Protocol name for next rpc layer.
       * The client created a proxy with this protocol name
       * 
*/ public Builder clearProtocol() { bitField0_ = (bitField0_ & ~0x00000002); protocol_ = getDefaultInstance().getProtocol(); onChanged(); return this; } /** * optional string protocol = 3; * *
       * Protocol name for next rpc layer.
       * The client created a proxy with this protocol name
       * 
*/ public Builder setProtocolBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; protocol_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hadoop.common.IpcConnectionContextProto) } static { defaultInstance = new IpcConnectionContextProto(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hadoop.common.IpcConnectionContextProto) } private static com.google.protobuf.Descriptors.Descriptor internal_static_hadoop_common_UserInformationProto_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hadoop_common_UserInformationProto_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hadoop_common_IpcConnectionContextProto_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hadoop_common_IpcConnectionContextProto_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\032IpcConnectionContext.proto\022\rhadoop.com" + "mon\"?\n\024UserInformationProto\022\025\n\reffective" + "User\030\001 \001(\t\022\020\n\010realUser\030\002 \001(\t\"d\n\031IpcConne" + "ctionContextProto\0225\n\010userInfo\030\002 \001(\0132#.ha" + "doop.common.UserInformationProto\022\020\n\010prot" + "ocol\030\003 \001(\tB?\n\036org.apache.hadoop.ipc.prot" + "obufB\032IpcConnectionContextProtos\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; internal_static_hadoop_common_UserInformationProto_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_hadoop_common_UserInformationProto_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hadoop_common_UserInformationProto_descriptor, new java.lang.String[] { "EffectiveUser", "RealUser", }); internal_static_hadoop_common_IpcConnectionContextProto_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_hadoop_common_IpcConnectionContextProto_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hadoop_common_IpcConnectionContextProto_descriptor, new java.lang.String[] { "UserInfo", "Protocol", }); return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy