org.apache.hadoop.ipc.protobuf
Class RpcHeaderProtos.RpcSaslProto

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcSaslProto
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, RpcHeaderProtos.RpcSaslProtoOrBuilder
Enclosing class:
RpcHeaderProtos

public static final class RpcHeaderProtos.RpcSaslProto
extends com.google.protobuf.GeneratedMessage
implements RpcHeaderProtos.RpcSaslProtoOrBuilder

Protobuf type hadoop.common.RpcSaslProto

See Also:
Serialized Form

Nested Class Summary
static class RpcHeaderProtos.RpcSaslProto.Builder
          Protobuf type hadoop.common.RpcSaslProto
static class RpcHeaderProtos.RpcSaslProto.SaslAuth
          Protobuf type hadoop.common.RpcSaslProto.SaslAuth
static interface RpcHeaderProtos.RpcSaslProto.SaslAuthOrBuilder
           
static class RpcHeaderProtos.RpcSaslProto.SaslState
          Protobuf enum hadoop.common.RpcSaslProto.SaslState
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
 
Field Summary
static int AUTHS_FIELD_NUMBER
           
static com.google.protobuf.Parser<RpcHeaderProtos.RpcSaslProto> PARSER
           
static int STATE_FIELD_NUMBER
           
static int TOKEN_FIELD_NUMBER
           
static int VERSION_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 boolean equals(Object obj)
           
 RpcHeaderProtos.RpcSaslProto.SaslAuth getAuths(int index)
          repeated .hadoop.common.RpcSaslProto.SaslAuth auths = 4;
 int getAuthsCount()
          repeated .hadoop.common.RpcSaslProto.SaslAuth auths = 4;
 List<RpcHeaderProtos.RpcSaslProto.SaslAuth> getAuthsList()
          repeated .hadoop.common.RpcSaslProto.SaslAuth auths = 4;
 RpcHeaderProtos.RpcSaslProto.SaslAuthOrBuilder getAuthsOrBuilder(int index)
          repeated .hadoop.common.RpcSaslProto.SaslAuth auths = 4;
 List<? extends RpcHeaderProtos.RpcSaslProto.SaslAuthOrBuilder> getAuthsOrBuilderList()
          repeated .hadoop.common.RpcSaslProto.SaslAuth auths = 4;
static RpcHeaderProtos.RpcSaslProto getDefaultInstance()
           
 RpcHeaderProtos.RpcSaslProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Parser<RpcHeaderProtos.RpcSaslProto> getParserForType()
           
 int getSerializedSize()
           
 RpcHeaderProtos.RpcSaslProto.SaslState getState()
          required .hadoop.common.RpcSaslProto.SaslState state = 2;
 com.google.protobuf.ByteString getToken()
          optional bytes token = 3;
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 int getVersion()
          optional uint32 version = 1;
 int hashCode()
           
 boolean hasState()
          required .hadoop.common.RpcSaslProto.SaslState state = 2;
 boolean hasToken()
          optional bytes token = 3;
 boolean hasVersion()
          optional uint32 version = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static RpcHeaderProtos.RpcSaslProto.Builder newBuilder()
           
static RpcHeaderProtos.RpcSaslProto.Builder newBuilder(RpcHeaderProtos.RpcSaslProto prototype)
           
 RpcHeaderProtos.RpcSaslProto.Builder newBuilderForType()
           
protected  RpcHeaderProtos.RpcSaslProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static RpcHeaderProtos.RpcSaslProto parseDelimitedFrom(InputStream input)
           
static RpcHeaderProtos.RpcSaslProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static RpcHeaderProtos.RpcSaslProto parseFrom(byte[] data)
           
static RpcHeaderProtos.RpcSaslProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static RpcHeaderProtos.RpcSaslProto parseFrom(com.google.protobuf.ByteString data)
           
static RpcHeaderProtos.RpcSaslProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static RpcHeaderProtos.RpcSaslProto parseFrom(com.google.protobuf.CodedInputStream input)
           
static RpcHeaderProtos.RpcSaslProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static RpcHeaderProtos.RpcSaslProto parseFrom(InputStream input)
           
static RpcHeaderProtos.RpcSaslProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 RpcHeaderProtos.RpcSaslProto.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

PARSER

public static com.google.protobuf.Parser<RpcHeaderProtos.RpcSaslProto> PARSER

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
See Also:
Constant Field Values

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
See Also:
Constant Field Values

TOKEN_FIELD_NUMBER

public static final int TOKEN_FIELD_NUMBER
See Also:
Constant Field Values

AUTHS_FIELD_NUMBER

public static final int AUTHS_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static RpcHeaderProtos.RpcSaslProto getDefaultInstance()

getDefaultInstanceForType

public RpcHeaderProtos.RpcSaslProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

getUnknownFields

public final com.google.protobuf.UnknownFieldSet getUnknownFields()
Specified by:
getUnknownFields in interface com.google.protobuf.MessageOrBuilder
Overrides:
getUnknownFields in class com.google.protobuf.GeneratedMessage

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage

getParserForType

public com.google.protobuf.Parser<RpcHeaderProtos.RpcSaslProto> getParserForType()
Specified by:
getParserForType in interface com.google.protobuf.Message
Specified by:
getParserForType in interface com.google.protobuf.MessageLite
Overrides:
getParserForType in class com.google.protobuf.GeneratedMessage

hasVersion

public boolean hasVersion()
optional uint32 version = 1;

Specified by:
hasVersion in interface RpcHeaderProtos.RpcSaslProtoOrBuilder

getVersion

public int getVersion()
optional uint32 version = 1;

Specified by:
getVersion in interface RpcHeaderProtos.RpcSaslProtoOrBuilder

hasState

public boolean hasState()
required .hadoop.common.RpcSaslProto.SaslState state = 2;

Specified by:
hasState in interface RpcHeaderProtos.RpcSaslProtoOrBuilder

getState

public RpcHeaderProtos.RpcSaslProto.SaslState getState()
required .hadoop.common.RpcSaslProto.SaslState state = 2;

Specified by:
getState in interface RpcHeaderProtos.RpcSaslProtoOrBuilder

hasToken

public boolean hasToken()
optional bytes token = 3;

Specified by:
hasToken in interface RpcHeaderProtos.RpcSaslProtoOrBuilder

getToken

public com.google.protobuf.ByteString getToken()
optional bytes token = 3;

Specified by:
getToken in interface RpcHeaderProtos.RpcSaslProtoOrBuilder

getAuthsList

public List<RpcHeaderProtos.RpcSaslProto.SaslAuth> getAuthsList()
repeated .hadoop.common.RpcSaslProto.SaslAuth auths = 4;

Specified by:
getAuthsList in interface RpcHeaderProtos.RpcSaslProtoOrBuilder

getAuthsOrBuilderList

public List<? extends RpcHeaderProtos.RpcSaslProto.SaslAuthOrBuilder> getAuthsOrBuilderList()
repeated .hadoop.common.RpcSaslProto.SaslAuth auths = 4;

Specified by:
getAuthsOrBuilderList in interface RpcHeaderProtos.RpcSaslProtoOrBuilder

getAuthsCount

public int getAuthsCount()
repeated .hadoop.common.RpcSaslProto.SaslAuth auths = 4;

Specified by:
getAuthsCount in interface RpcHeaderProtos.RpcSaslProtoOrBuilder

getAuths

public RpcHeaderProtos.RpcSaslProto.SaslAuth getAuths(int index)
repeated .hadoop.common.RpcSaslProto.SaslAuth auths = 4;

Specified by:
getAuths in interface RpcHeaderProtos.RpcSaslProtoOrBuilder

getAuthsOrBuilder

public RpcHeaderProtos.RpcSaslProto.SaslAuthOrBuilder getAuthsOrBuilder(int index)
repeated .hadoop.common.RpcSaslProto.SaslAuth auths = 4;

Specified by:
getAuthsOrBuilder in interface RpcHeaderProtos.RpcSaslProtoOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Overrides:
writeTo in class com.google.protobuf.AbstractMessage
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
Overrides:
getSerializedSize in class com.google.protobuf.AbstractMessage

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessage
Throws:
ObjectStreamException

equals

public boolean equals(Object obj)
Specified by:
equals in interface com.google.protobuf.Message
Overrides:
equals in class com.google.protobuf.AbstractMessage

hashCode

public int hashCode()
Specified by:
hashCode in interface com.google.protobuf.Message
Overrides:
hashCode in class com.google.protobuf.AbstractMessage

parseFrom

public static RpcHeaderProtos.RpcSaslProto parseFrom(com.google.protobuf.ByteString data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static RpcHeaderProtos.RpcSaslProto parseFrom(com.google.protobuf.ByteString data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static RpcHeaderProtos.RpcSaslProto parseFrom(byte[] data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static RpcHeaderProtos.RpcSaslProto parseFrom(byte[] data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static RpcHeaderProtos.RpcSaslProto parseFrom(InputStream input)
                                              throws IOException
Throws:
IOException

parseFrom

public static RpcHeaderProtos.RpcSaslProto parseFrom(InputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
Throws:
IOException

parseDelimitedFrom

public static RpcHeaderProtos.RpcSaslProto parseDelimitedFrom(InputStream input)
                                                       throws IOException
Throws:
IOException

parseDelimitedFrom

public static RpcHeaderProtos.RpcSaslProto parseDelimitedFrom(InputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws IOException
Throws:
IOException

parseFrom

public static RpcHeaderProtos.RpcSaslProto parseFrom(com.google.protobuf.CodedInputStream input)
                                              throws IOException
Throws:
IOException

parseFrom

public static RpcHeaderProtos.RpcSaslProto parseFrom(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
Throws:
IOException

newBuilder

public static RpcHeaderProtos.RpcSaslProto.Builder newBuilder()

newBuilderForType

public RpcHeaderProtos.RpcSaslProto.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.Message
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static RpcHeaderProtos.RpcSaslProto.Builder newBuilder(RpcHeaderProtos.RpcSaslProto prototype)

toBuilder

public RpcHeaderProtos.RpcSaslProto.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.Message
Specified by:
toBuilder in interface com.google.protobuf.MessageLite

newBuilderForType

protected RpcHeaderProtos.RpcSaslProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage


Copyright © 2014 Apache Software Foundation. All Rights Reserved.