Class FsImageProto.INodeSection.XAttrCompactProto.Builder

java.lang.Object
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite.Builder
org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<BuilderT>
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>
org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.XAttrCompactProto.Builder
All Implemented Interfaces:
Cloneable, FsImageProto.INodeSection.XAttrCompactProtoOrBuilder, org.apache.hadoop.thirdparty.protobuf.Message.Builder, org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder, org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder, org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
Enclosing class:
FsImageProto.INodeSection.XAttrCompactProto

public static final class FsImageProto.INodeSection.XAttrCompactProto.Builder extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder> implements FsImageProto.INodeSection.XAttrCompactProtoOrBuilder
Protobuf type hadoop.hdfs.fsimage.INodeSection.XAttrCompactProto
  • Method Details

    • getDescriptor

      public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>
    • clear

      Specified by:
      clear in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
      Specified by:
      clear in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
      Overrides:
      clear in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>
    • getDescriptorForType

      public org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>
    • getDefaultInstanceForType

      public FsImageProto.INodeSection.XAttrCompactProto getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
      Specified by:
      build in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
      Specified by:
      buildPartial in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
      Specified by:
      clone in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
      Overrides:
      clone in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>
    • setField

      public FsImageProto.INodeSection.XAttrCompactProto.Builder setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
      Overrides:
      setField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>
    • clearField

      public FsImageProto.INodeSection.XAttrCompactProto.Builder clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
      Overrides:
      clearField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>
    • clearOneof

      public FsImageProto.INodeSection.XAttrCompactProto.Builder clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
      Overrides:
      clearOneof in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>
    • setRepeatedField

      public FsImageProto.INodeSection.XAttrCompactProto.Builder setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>
    • addRepeatedField

      public FsImageProto.INodeSection.XAttrCompactProto.Builder addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>
    • mergeFrom

      public FsImageProto.INodeSection.XAttrCompactProto.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other)
      Specified by:
      mergeFrom in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
      Overrides:
      mergeFrom in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>
    • mergeFrom

      public FsImageProto.INodeSection.XAttrCompactProto.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>
      Throws:
      IOException
    • hasName

      public boolean hasName()
      
       
       [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.
       
      required fixed32 name = 1;
      Specified by:
      hasName in interface FsImageProto.INodeSection.XAttrCompactProtoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public int getName()
      
       
       [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.
       
      required fixed32 name = 1;
      Specified by:
      getName in interface FsImageProto.INodeSection.XAttrCompactProtoOrBuilder
      Returns:
      The name.
    • setName

      
       
       [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.
       
      required fixed32 name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      
       
       [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.
       
      required fixed32 name = 1;
      Returns:
      This builder for chaining.
    • hasValue

      public boolean hasValue()
      optional bytes value = 2;
      Specified by:
      hasValue in interface FsImageProto.INodeSection.XAttrCompactProtoOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public org.apache.hadoop.thirdparty.protobuf.ByteString getValue()
      optional bytes value = 2;
      Specified by:
      getValue in interface FsImageProto.INodeSection.XAttrCompactProtoOrBuilder
      Returns:
      The value.
    • setValue

      public FsImageProto.INodeSection.XAttrCompactProto.Builder setValue(org.apache.hadoop.thirdparty.protobuf.ByteString value)
      optional bytes value = 2;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      optional bytes value = 2;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final FsImageProto.INodeSection.XAttrCompactProto.Builder setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>
    • mergeUnknownFields

      public final FsImageProto.INodeSection.XAttrCompactProto.Builder mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.XAttrCompactProto.Builder>