org.apache.hadoop.hdfs.server.namenode
Class FsImageProto.INodeSection.AclFeatureProto.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<FsImageProto.INodeSection.AclFeatureProto.Builder>
              extended by org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, FsImageProto.INodeSection.AclFeatureProtoOrBuilder
Enclosing class:
FsImageProto.INodeSection.AclFeatureProto

public static final class FsImageProto.INodeSection.AclFeatureProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FsImageProto.INodeSection.AclFeatureProto.Builder>
implements FsImageProto.INodeSection.AclFeatureProtoOrBuilder

Protobuf type hadoop.hdfs.fsimage.INodeSection.AclFeatureProto


Method Summary
 FsImageProto.INodeSection.AclFeatureProto.Builder addAllEntries(Iterable<? extends Integer> values)
          repeated fixed32 entries = 2 [packed = true];
 FsImageProto.INodeSection.AclFeatureProto.Builder addEntries(int value)
          repeated fixed32 entries = 2 [packed = true];
 FsImageProto.INodeSection.AclFeatureProto build()
           
 FsImageProto.INodeSection.AclFeatureProto buildPartial()
           
 FsImageProto.INodeSection.AclFeatureProto.Builder clear()
           
 FsImageProto.INodeSection.AclFeatureProto.Builder clearEntries()
          repeated fixed32 entries = 2 [packed = true];
 FsImageProto.INodeSection.AclFeatureProto.Builder clone()
           
 FsImageProto.INodeSection.AclFeatureProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 int getEntries(int index)
          repeated fixed32 entries = 2 [packed = true];
 int getEntriesCount()
          repeated fixed32 entries = 2 [packed = true];
 List<Integer> getEntriesList()
          repeated fixed32 entries = 2 [packed = true];
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 FsImageProto.INodeSection.AclFeatureProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 FsImageProto.INodeSection.AclFeatureProto.Builder mergeFrom(FsImageProto.INodeSection.AclFeatureProto other)
           
 FsImageProto.INodeSection.AclFeatureProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 FsImageProto.INodeSection.AclFeatureProto.Builder setEntries(int index, int value)
          repeated fixed32 entries = 2 [packed = true];
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

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.Builder<FsImageProto.INodeSection.AclFeatureProto.Builder>

clear

public FsImageProto.INodeSection.AclFeatureProto.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.INodeSection.AclFeatureProto.Builder>

clone

public FsImageProto.INodeSection.AclFeatureProto.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.INodeSection.AclFeatureProto.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.INodeSection.AclFeatureProto.Builder>

getDefaultInstanceForType

public FsImageProto.INodeSection.AclFeatureProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public FsImageProto.INodeSection.AclFeatureProto.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FsImageProto.INodeSection.AclFeatureProto.Builder>

mergeFrom

public FsImageProto.INodeSection.AclFeatureProto.Builder mergeFrom(FsImageProto.INodeSection.AclFeatureProto other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.INodeSection.AclFeatureProto.Builder>

mergeFrom

public FsImageProto.INodeSection.AclFeatureProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FsImageProto.INodeSection.AclFeatureProto.Builder>
Throws:
IOException

getEntriesList

public List<Integer> getEntriesList()
repeated fixed32 entries = 2 [packed = true];

 An ACL entry is represented by a 32-bit integer in Big Endian
 format. The bits can be divided in four segments:
 [0:2) || [2:26) || [26:27) || [27:29) || [29:32)

 [0:2) -- reserved for futute uses.
 [2:26) -- the name of the entry, which is an ID that points to a
 string in the StringTableSection.
 [26:27) -- the scope of the entry (AclEntryScopeProto)
 [27:29) -- the type of the entry (AclEntryTypeProto)
 [29:32) -- the permission of the entry (FsActionProto)
 

Specified by:
getEntriesList in interface FsImageProto.INodeSection.AclFeatureProtoOrBuilder

getEntriesCount

public int getEntriesCount()
repeated fixed32 entries = 2 [packed = true];

 An ACL entry is represented by a 32-bit integer in Big Endian
 format. The bits can be divided in four segments:
 [0:2) || [2:26) || [26:27) || [27:29) || [29:32)

 [0:2) -- reserved for futute uses.
 [2:26) -- the name of the entry, which is an ID that points to a
 string in the StringTableSection.
 [26:27) -- the scope of the entry (AclEntryScopeProto)
 [27:29) -- the type of the entry (AclEntryTypeProto)
 [29:32) -- the permission of the entry (FsActionProto)
 

Specified by:
getEntriesCount in interface FsImageProto.INodeSection.AclFeatureProtoOrBuilder

getEntries

public int getEntries(int index)
repeated fixed32 entries = 2 [packed = true];

 An ACL entry is represented by a 32-bit integer in Big Endian
 format. The bits can be divided in four segments:
 [0:2) || [2:26) || [26:27) || [27:29) || [29:32)

 [0:2) -- reserved for futute uses.
 [2:26) -- the name of the entry, which is an ID that points to a
 string in the StringTableSection.
 [26:27) -- the scope of the entry (AclEntryScopeProto)
 [27:29) -- the type of the entry (AclEntryTypeProto)
 [29:32) -- the permission of the entry (FsActionProto)
 

Specified by:
getEntries in interface FsImageProto.INodeSection.AclFeatureProtoOrBuilder

setEntries

public FsImageProto.INodeSection.AclFeatureProto.Builder setEntries(int index,
                                                                    int value)
repeated fixed32 entries = 2 [packed = true];

 An ACL entry is represented by a 32-bit integer in Big Endian
 format. The bits can be divided in four segments:
 [0:2) || [2:26) || [26:27) || [27:29) || [29:32)

 [0:2) -- reserved for futute uses.
 [2:26) -- the name of the entry, which is an ID that points to a
 string in the StringTableSection.
 [26:27) -- the scope of the entry (AclEntryScopeProto)
 [27:29) -- the type of the entry (AclEntryTypeProto)
 [29:32) -- the permission of the entry (FsActionProto)
 


addEntries

public FsImageProto.INodeSection.AclFeatureProto.Builder addEntries(int value)
repeated fixed32 entries = 2 [packed = true];

 An ACL entry is represented by a 32-bit integer in Big Endian
 format. The bits can be divided in four segments:
 [0:2) || [2:26) || [26:27) || [27:29) || [29:32)

 [0:2) -- reserved for futute uses.
 [2:26) -- the name of the entry, which is an ID that points to a
 string in the StringTableSection.
 [26:27) -- the scope of the entry (AclEntryScopeProto)
 [27:29) -- the type of the entry (AclEntryTypeProto)
 [29:32) -- the permission of the entry (FsActionProto)
 


addAllEntries

public FsImageProto.INodeSection.AclFeatureProto.Builder addAllEntries(Iterable<? extends Integer> values)
repeated fixed32 entries = 2 [packed = true];

 An ACL entry is represented by a 32-bit integer in Big Endian
 format. The bits can be divided in four segments:
 [0:2) || [2:26) || [26:27) || [27:29) || [29:32)

 [0:2) -- reserved for futute uses.
 [2:26) -- the name of the entry, which is an ID that points to a
 string in the StringTableSection.
 [26:27) -- the scope of the entry (AclEntryScopeProto)
 [27:29) -- the type of the entry (AclEntryTypeProto)
 [29:32) -- the permission of the entry (FsActionProto)
 


clearEntries

public FsImageProto.INodeSection.AclFeatureProto.Builder clearEntries()
repeated fixed32 entries = 2 [packed = true];

 An ACL entry is represented by a 32-bit integer in Big Endian
 format. The bits can be divided in four segments:
 [0:2) || [2:26) || [26:27) || [27:29) || [29:32)

 [0:2) -- reserved for futute uses.
 [2:26) -- the name of the entry, which is an ID that points to a
 string in the StringTableSection.
 [26:27) -- the scope of the entry (AclEntryScopeProto)
 [27:29) -- the type of the entry (AclEntryTypeProto)
 [29:32) -- the permission of the entry (FsActionProto)
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.