org.apache.hadoop.hdfs.server.namenode
Class FsImageProto.INodeSection.XAttrCompactProto

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.hdfs.server.namenode.FsImageProto.INodeSection.XAttrCompactProto
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, FsImageProto.INodeSection.XAttrCompactProtoOrBuilder
Enclosing class:
FsImageProto.INodeSection

public static final class FsImageProto.INodeSection.XAttrCompactProto
extends com.google.protobuf.GeneratedMessage
implements FsImageProto.INodeSection.XAttrCompactProtoOrBuilder

Protobuf type hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto

See Also:
Serialized Form

Nested Class Summary
static class FsImageProto.INodeSection.XAttrCompactProto.Builder
          Protobuf type hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto
 
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 NAME_FIELD_NUMBER
           
static com.google.protobuf.Parser<FsImageProto.INodeSection.XAttrCompactProto> PARSER
           
static int VALUE_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
static FsImageProto.INodeSection.XAttrCompactProto getDefaultInstance()
           
 FsImageProto.INodeSection.XAttrCompactProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 int getName()
          required fixed32 name = 1;
 com.google.protobuf.Parser<FsImageProto.INodeSection.XAttrCompactProto> getParserForType()
           
 int getSerializedSize()
           
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 com.google.protobuf.ByteString getValue()
          optional bytes value = 2;
 boolean hasName()
          required fixed32 name = 1;
 boolean hasValue()
          optional bytes value = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static FsImageProto.INodeSection.XAttrCompactProto.Builder newBuilder()
           
static FsImageProto.INodeSection.XAttrCompactProto.Builder newBuilder(FsImageProto.INodeSection.XAttrCompactProto prototype)
           
 FsImageProto.INodeSection.XAttrCompactProto.Builder newBuilderForType()
           
protected  FsImageProto.INodeSection.XAttrCompactProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static FsImageProto.INodeSection.XAttrCompactProto parseDelimitedFrom(InputStream input)
           
static FsImageProto.INodeSection.XAttrCompactProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static FsImageProto.INodeSection.XAttrCompactProto parseFrom(byte[] data)
           
static FsImageProto.INodeSection.XAttrCompactProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static FsImageProto.INodeSection.XAttrCompactProto parseFrom(com.google.protobuf.ByteString data)
           
static FsImageProto.INodeSection.XAttrCompactProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static FsImageProto.INodeSection.XAttrCompactProto parseFrom(com.google.protobuf.CodedInputStream input)
           
static FsImageProto.INodeSection.XAttrCompactProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static FsImageProto.INodeSection.XAttrCompactProto parseFrom(InputStream input)
           
static FsImageProto.INodeSection.XAttrCompactProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 FsImageProto.INodeSection.XAttrCompactProto.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
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, 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<FsImageProto.INodeSection.XAttrCompactProto> PARSER

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
See Also:
Constant Field Values

VALUE_FIELD_NUMBER

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

getDefaultInstance

public static FsImageProto.INodeSection.XAttrCompactProto getDefaultInstance()

getDefaultInstanceForType

public FsImageProto.INodeSection.XAttrCompactProto 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<FsImageProto.INodeSection.XAttrCompactProto> 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

hasName

public boolean hasName()
required fixed32 name = 1;

 
 [0:2) -- the namespace of XAttr (XAttrNamespaceProto)
 [2:26) -- the name of the entry, which is an ID that points to a
 string in the StringTableSection.
 [26:27) -- namespace extension. Originally there were only 4 namespaces
 so only 2 bits were needed. At that time, this bit was reserved. When a
 5th namespace was created (raw) this bit became used as a 3rd namespace
 bit.
 [27:32) -- reserved for future uses.
 

Specified by:
hasName in interface FsImageProto.INodeSection.XAttrCompactProtoOrBuilder

getName

public int getName()
required fixed32 name = 1;

 
 [0:2) -- the namespace of XAttr (XAttrNamespaceProto)
 [2:26) -- the name of the entry, which is an ID that points to a
 string in the StringTableSection.
 [26:27) -- namespace extension. Originally there were only 4 namespaces
 so only 2 bits were needed. At that time, this bit was reserved. When a
 5th namespace was created (raw) this bit became used as a 3rd namespace
 bit.
 [27:32) -- reserved for future uses.
 

Specified by:
getName in interface FsImageProto.INodeSection.XAttrCompactProtoOrBuilder

hasValue

public boolean hasValue()
optional bytes value = 2;

Specified by:
hasValue in interface FsImageProto.INodeSection.XAttrCompactProtoOrBuilder

getValue

public com.google.protobuf.ByteString getValue()
optional bytes value = 2;

Specified by:
getValue in interface FsImageProto.INodeSection.XAttrCompactProtoOrBuilder

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

parseFrom

public static FsImageProto.INodeSection.XAttrCompactProto parseFrom(com.google.protobuf.ByteString data)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static FsImageProto.INodeSection.XAttrCompactProto parseFrom(com.google.protobuf.ByteString data,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static FsImageProto.INodeSection.XAttrCompactProto parseFrom(byte[] data)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

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

parseFrom

public static FsImageProto.INodeSection.XAttrCompactProto parseFrom(InputStream input)
                                                             throws IOException
Throws:
IOException

parseFrom

public static FsImageProto.INodeSection.XAttrCompactProto parseFrom(InputStream input,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws IOException
Throws:
IOException

parseDelimitedFrom

public static FsImageProto.INodeSection.XAttrCompactProto parseDelimitedFrom(InputStream input)
                                                                      throws IOException
Throws:
IOException

parseDelimitedFrom

public static FsImageProto.INodeSection.XAttrCompactProto parseDelimitedFrom(InputStream input,
                                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                      throws IOException
Throws:
IOException

parseFrom

public static FsImageProto.INodeSection.XAttrCompactProto parseFrom(com.google.protobuf.CodedInputStream input)
                                                             throws IOException
Throws:
IOException

parseFrom

public static FsImageProto.INodeSection.XAttrCompactProto parseFrom(com.google.protobuf.CodedInputStream input,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws IOException
Throws:
IOException

newBuilder

public static FsImageProto.INodeSection.XAttrCompactProto.Builder newBuilder()

newBuilderForType

public FsImageProto.INodeSection.XAttrCompactProto.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.Message
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static FsImageProto.INodeSection.XAttrCompactProto.Builder newBuilder(FsImageProto.INodeSection.XAttrCompactProto prototype)

toBuilder

public FsImageProto.INodeSection.XAttrCompactProto.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.Message
Specified by:
toBuilder in interface com.google.protobuf.MessageLite

newBuilderForType

protected FsImageProto.INodeSection.XAttrCompactProto.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.