org.apache.hadoop.hdfs.server.namenode

## Class FsImageProto.StringTableSection.Entry.Builder

- java.lang.Object
- - com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
  - - com.google.protobuf.AbstractMessage.Builder<BuilderType>
    - - com.google.protobuf.GeneratedMessage.Builder<FsImageProto.StringTableSection.Entry.Builder>
      - - org.apache.hadoop.hdfs.server.namenode.FsImageProto.StringTableSection.Entry.Builder

- All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, FsImageProto.StringTableSection.EntryOrBuilder
  Enclosing class:
    FsImageProto.StringTableSection.Entry

      public static final class FsImageProto.StringTableSection.Entry.Builder
      extends com.google.protobuf.GeneratedMessage.Builder<FsImageProto.StringTableSection.Entry.Builder>
      implements FsImageProto.StringTableSection.EntryOrBuilder

  Protobuf type `hadoop.hdfs.fsimage.StringTableSection.Entry`

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `FsImageProto.StringTableSection.Entry` | `build()`
    `FsImageProto.StringTableSection.Entry` | `buildPartial()`
    `FsImageProto.StringTableSection.Entry.Builder` | `clear()`
    `FsImageProto.StringTableSection.Entry.Builder` | `clearId()` `optional uint32 id = 1;`
    `FsImageProto.StringTableSection.Entry.Builder` | `clearStr()` `optional string str = 2;`
    `FsImageProto.StringTableSection.Entry.Builder` | `clone()`
    `FsImageProto.StringTableSection.Entry` | `getDefaultInstanceForType()`
    `static com.google.protobuf.Descriptors.Descriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.Descriptor` | `getDescriptorForType()`
    `int` | `getId()` `optional uint32 id = 1;`
    `String` | `getStr()` `optional string str = 2;`
    `com.google.protobuf.ByteString` | `getStrBytes()` `optional string str = 2;`
    `boolean` | `hasId()` `optional uint32 id = 1;`
    `boolean` | `hasStr()` `optional string str = 2;`
    `protected com.google.protobuf.GeneratedMessage.FieldAccessorTable` | `internalGetFieldAccessorTable()`
    `boolean` | `isInitialized()`
    `FsImageProto.StringTableSection.Entry.Builder` | `mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
    `FsImageProto.StringTableSection.Entry.Builder` | `mergeFrom(FsImageProto.StringTableSection.Entry other)`
    `FsImageProto.StringTableSection.Entry.Builder` | `mergeFrom(com.google.protobuf.Message other)`
    `FsImageProto.StringTableSection.Entry.Builder` | `setId(int value)` `optional uint32 id = 1;`
    `FsImageProto.StringTableSection.Entry.Builder` | `setStr(String value)` `optional string str = 2;`
    `FsImageProto.StringTableSection.Entry.Builder` | `setStrBytes(com.google.protobuf.ByteString value)` `optional string str = 2;`

    - ### 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.StringTableSection.Entry.Builder>`

    - #### clear

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

    - #### clone

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

    - #### getDefaultInstanceForType

          public FsImageProto.StringTableSection.Entry getDefaultInstanceForType()

      Specified by:
        `getDefaultInstanceForType` in interface `com.google.protobuf.MessageLiteOrBuilder`
      Specified by:
        `getDefaultInstanceForType` in interface `com.google.protobuf.MessageOrBuilder`

    - #### build

          public FsImageProto.StringTableSection.Entry build()

      Specified by:
        `build` in interface `com.google.protobuf.Message.Builder`
      Specified by:
        `build` in interface `com.google.protobuf.MessageLite.Builder`

    - #### buildPartial

          public FsImageProto.StringTableSection.Entry buildPartial()

      Specified by:
        `buildPartial` in interface `com.google.protobuf.Message.Builder`
      Specified by:
        `buildPartial` in interface `com.google.protobuf.MessageLite.Builder`

    - #### mergeFrom

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

    - #### mergeFrom

          public FsImageProto.StringTableSection.Entry.Builder mergeFrom(FsImageProto.StringTableSection.Entry 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.StringTableSection.Entry.Builder>`

    - #### mergeFrom

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

    - #### hasId

          public boolean hasId()

      `optional uint32 id = 1;`
      Specified by:
        `hasId` in interface `FsImageProto.StringTableSection.EntryOrBuilder`

    - #### getId

          public int getId()

      `optional uint32 id = 1;`
      Specified by:
        `getId` in interface `FsImageProto.StringTableSection.EntryOrBuilder`

    - #### setId

          public FsImageProto.StringTableSection.Entry.Builder setId(int value)

      `optional uint32 id = 1;`

    - #### clearId

          public FsImageProto.StringTableSection.Entry.Builder clearId()

      `optional uint32 id = 1;`

    - #### hasStr

          public boolean hasStr()

      `optional string str = 2;`
      Specified by:
        `hasStr` in interface `FsImageProto.StringTableSection.EntryOrBuilder`

    - #### getStr

          public String getStr()

      `optional string str = 2;`
      Specified by:
        `getStr` in interface `FsImageProto.StringTableSection.EntryOrBuilder`

    - #### getStrBytes

          public com.google.protobuf.ByteString getStrBytes()

      `optional string str = 2;`
      Specified by:
        `getStrBytes` in interface `FsImageProto.StringTableSection.EntryOrBuilder`

    - #### setStr

          public FsImageProto.StringTableSection.Entry.Builder setStr(String value)

      `optional string str = 2;`

    - #### clearStr

          public FsImageProto.StringTableSection.Entry.Builder clearStr()

      `optional string str = 2;`

    - #### setStrBytes

          public FsImageProto.StringTableSection.Entry.Builder setStrBytes(com.google.protobuf.ByteString value)

      `optional string str = 2;`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.