org.apache.hadoop.hdfs.server.namenode

## Class FsImageProto.ErasureCodingSection.Builder

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

- All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, FsImageProto.ErasureCodingSectionOrBuilder
  Enclosing class:
    FsImageProto.ErasureCodingSection

      public static final class FsImageProto.ErasureCodingSection.Builder
      extends com.google.protobuf.GeneratedMessage.Builder<FsImageProto.ErasureCodingSection.Builder>
      implements FsImageProto.ErasureCodingSectionOrBuilder

  Protobuf type `hadoop.hdfs.fsimage.ErasureCodingSection`

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `FsImageProto.ErasureCodingSection.Builder` | `addAllPolicies(Iterable<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto> values)` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `FsImageProto.ErasureCodingSection.Builder` | `addPolicies(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue)` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `FsImageProto.ErasureCodingSection.Builder` | `addPolicies(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value)` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `FsImageProto.ErasureCodingSection.Builder` | `addPolicies(int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue)` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `FsImageProto.ErasureCodingSection.Builder` | `addPolicies(int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value)` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder` | `addPoliciesBuilder()` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder` | `addPoliciesBuilder(int index)` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `FsImageProto.ErasureCodingSection` | `build()`
    `FsImageProto.ErasureCodingSection` | `buildPartial()`
    `FsImageProto.ErasureCodingSection.Builder` | `clear()`
    `FsImageProto.ErasureCodingSection.Builder` | `clearPolicies()` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `FsImageProto.ErasureCodingSection.Builder` | `clone()`
    `FsImageProto.ErasureCodingSection` | `getDefaultInstanceForType()`
    `static com.google.protobuf.Descriptors.Descriptor` | `getDescriptor()`
    `com.google.protobuf.Descriptors.Descriptor` | `getDescriptorForType()`
    `org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto` | `getPolicies(int index)` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder` | `getPoliciesBuilder(int index)` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder>` | `getPoliciesBuilderList()` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `int` | `getPoliciesCount()` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto>` | `getPoliciesList()` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder` | `getPoliciesOrBuilder(int index)` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>` | `getPoliciesOrBuilderList()` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `protected com.google.protobuf.GeneratedMessage.FieldAccessorTable` | `internalGetFieldAccessorTable()`
    `boolean` | `isInitialized()`
    `FsImageProto.ErasureCodingSection.Builder` | `mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
    `FsImageProto.ErasureCodingSection.Builder` | `mergeFrom(FsImageProto.ErasureCodingSection other)`
    `FsImageProto.ErasureCodingSection.Builder` | `mergeFrom(com.google.protobuf.Message other)`
    `FsImageProto.ErasureCodingSection.Builder` | `removePolicies(int index)` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `FsImageProto.ErasureCodingSection.Builder` | `setPolicies(int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue)` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
    `FsImageProto.ErasureCodingSection.Builder` | `setPolicies(int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value)` `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`

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

    - #### clear

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

    - #### clone

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

    - #### getDefaultInstanceForType

          public FsImageProto.ErasureCodingSection getDefaultInstanceForType()

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

    - #### build

          public FsImageProto.ErasureCodingSection build()

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

    - #### buildPartial

          public FsImageProto.ErasureCodingSection buildPartial()

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

    - #### mergeFrom

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

    - #### mergeFrom

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

    - #### mergeFrom

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

    - #### getPoliciesList

          public List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto> getPoliciesList()

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
      Specified by:
        `getPoliciesList` in interface `FsImageProto.ErasureCodingSectionOrBuilder`

    - #### getPoliciesCount

          public int getPoliciesCount()

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
      Specified by:
        `getPoliciesCount` in interface `FsImageProto.ErasureCodingSectionOrBuilder`

    - #### getPolicies

          public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto getPolicies(int index)

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
      Specified by:
        `getPolicies` in interface `FsImageProto.ErasureCodingSectionOrBuilder`

    - #### setPolicies

          public FsImageProto.ErasureCodingSection.Builder setPolicies(int index,
                                                                       org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value)

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`

    - #### setPolicies

          public FsImageProto.ErasureCodingSection.Builder setPolicies(int index,
                                                                       org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue)

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`

    - #### addPolicies

          public FsImageProto.ErasureCodingSection.Builder addPolicies(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value)

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`

    - #### addPolicies

          public FsImageProto.ErasureCodingSection.Builder addPolicies(int index,
                                                                       org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value)

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`

    - #### addPolicies

          public FsImageProto.ErasureCodingSection.Builder addPolicies(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue)

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`

    - #### addPolicies

          public FsImageProto.ErasureCodingSection.Builder addPolicies(int index,
                                                                       org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue)

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`

    - #### addAllPolicies

          public FsImageProto.ErasureCodingSection.Builder addAllPolicies(Iterable<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto> values)

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`

    - #### clearPolicies

          public FsImageProto.ErasureCodingSection.Builder clearPolicies()

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`

    - #### removePolicies

          public FsImageProto.ErasureCodingSection.Builder removePolicies(int index)

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`

    - #### getPoliciesBuilder

          public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder getPoliciesBuilder(int index)

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`

    - #### getPoliciesOrBuilder

          public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder getPoliciesOrBuilder(int index)

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
      Specified by:
        `getPoliciesOrBuilder` in interface `FsImageProto.ErasureCodingSectionOrBuilder`

    - #### getPoliciesOrBuilderList

          public List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder> getPoliciesOrBuilderList()

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`
      Specified by:
        `getPoliciesOrBuilderList` in interface `FsImageProto.ErasureCodingSectionOrBuilder`

    - #### addPoliciesBuilder

          public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder addPoliciesBuilder()

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`

    - #### addPoliciesBuilder

          public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder addPoliciesBuilder(int index)

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`

    - #### getPoliciesBuilderList

          public List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder> getPoliciesBuilderList()

      `repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;`

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