Class FsImageProto.StringTableSection.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.StringTableSection.Builder>
org.apache.hadoop.hdfs.server.namenode.FsImageProto.StringTableSection.Builder
All Implemented Interfaces:
Cloneable, FsImageProto.StringTableSectionOrBuilder, 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.StringTableSection

public static final class FsImageProto.StringTableSection.Builder extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.StringTableSection.Builder> implements FsImageProto.StringTableSectionOrBuilder

 This section maps string to id
 NAME: STRING_TABLE
 
Protobuf type hadoop.hdfs.fsimage.StringTableSection
  • 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.StringTableSection.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.StringTableSection.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.StringTableSection.Builder>
    • getDefaultInstanceForType

      public FsImageProto.StringTableSection 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

      public FsImageProto.StringTableSection 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.StringTableSection.Builder>
    • setField

      public FsImageProto.StringTableSection.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.StringTableSection.Builder>
    • clearField

      public FsImageProto.StringTableSection.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.StringTableSection.Builder>
    • clearOneof

      public FsImageProto.StringTableSection.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.StringTableSection.Builder>
    • setRepeatedField

      public FsImageProto.StringTableSection.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.StringTableSection.Builder>
    • addRepeatedField

      public FsImageProto.StringTableSection.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.StringTableSection.Builder>
    • mergeFrom

      public FsImageProto.StringTableSection.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.StringTableSection.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.StringTableSection.Builder>
    • mergeFrom

      public FsImageProto.StringTableSection.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.StringTableSection.Builder>
      Throws:
      IOException
    • hasNumEntry

      public boolean hasNumEntry()
      optional uint32 numEntry = 1;
      Specified by:
      hasNumEntry in interface FsImageProto.StringTableSectionOrBuilder
      Returns:
      Whether the numEntry field is set.
    • getNumEntry

      public int getNumEntry()
      optional uint32 numEntry = 1;
      Specified by:
      getNumEntry in interface FsImageProto.StringTableSectionOrBuilder
      Returns:
      The numEntry.
    • setNumEntry

      public FsImageProto.StringTableSection.Builder setNumEntry(int value)
      optional uint32 numEntry = 1;
      Parameters:
      value - The numEntry to set.
      Returns:
      This builder for chaining.
    • clearNumEntry

      optional uint32 numEntry = 1;
      Returns:
      This builder for chaining.
    • hasMaskBits

      public boolean hasMaskBits()
       repeated Entry
       
      optional uint32 maskBits = 2 [default = 0];
      Specified by:
      hasMaskBits in interface FsImageProto.StringTableSectionOrBuilder
      Returns:
      Whether the maskBits field is set.
    • getMaskBits

      public int getMaskBits()
       repeated Entry
       
      optional uint32 maskBits = 2 [default = 0];
      Specified by:
      getMaskBits in interface FsImageProto.StringTableSectionOrBuilder
      Returns:
      The maskBits.
    • setMaskBits

      public FsImageProto.StringTableSection.Builder setMaskBits(int value)
       repeated Entry
       
      optional uint32 maskBits = 2 [default = 0];
      Parameters:
      value - The maskBits to set.
      Returns:
      This builder for chaining.
    • clearMaskBits

       repeated Entry
       
      optional uint32 maskBits = 2 [default = 0];
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final FsImageProto.StringTableSection.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.StringTableSection.Builder>
    • mergeUnknownFields

      public final FsImageProto.StringTableSection.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.StringTableSection.Builder>