Class FsImageProto.ErasureCodingSection.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.ErasureCodingSection.Builder>
org.apache.hadoop.hdfs.server.namenode.FsImageProto.ErasureCodingSection.Builder
- All Implemented Interfaces:
Cloneable,FsImageProto.ErasureCodingSectionOrBuilder,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.ErasureCodingSection
public static final class FsImageProto.ErasureCodingSection.Builder
extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.ErasureCodingSection.Builder>
implements FsImageProto.ErasureCodingSectionOrBuilder
Protobuf type
hadoop.hdfs.fsimage.ErasureCodingSection-
Method Summary
Modifier and TypeMethodDescriptionaddAllPolicies(Iterable<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto> values) repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;addPolicies(int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value) repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;addPolicies(int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue) repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;addPolicies(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value) repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;addPolicies(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue) repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builderrepeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.BuilderaddPoliciesBuilder(int index) repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;clone()static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptororg.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptororg.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtogetPolicies(int index) repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.BuildergetPoliciesBuilder(int index) repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder>repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;intrepeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto>repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuildergetPoliciesOrBuilder(int index) repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other) mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) removePolicies(int index) repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;setPolicies(int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value) repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;setPolicies(int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue) repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) Methods inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.ErasureCodingSection.Builder>
-
clear
- Specified by:
clearin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
clearin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder- Overrides:
clearin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.ErasureCodingSection.Builder>
-
getDescriptorForType
public org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.ErasureCodingSection.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
buildin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
clonein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder- Overrides:
clonein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.ErasureCodingSection.Builder>
-
setField
public FsImageProto.ErasureCodingSection.Builder setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
setFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.ErasureCodingSection.Builder>
-
clearField
public FsImageProto.ErasureCodingSection.Builder clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
clearFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.ErasureCodingSection.Builder>
-
clearOneof
public FsImageProto.ErasureCodingSection.Builder clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
clearOneofin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.ErasureCodingSection.Builder>
-
setRepeatedField
public FsImageProto.ErasureCodingSection.Builder setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.ErasureCodingSection.Builder>
-
addRepeatedField
public FsImageProto.ErasureCodingSection.Builder addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.ErasureCodingSection.Builder>
-
mergeFrom
public FsImageProto.ErasureCodingSection.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other) - Specified by:
mergeFromin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
mergeFromin classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<FsImageProto.ErasureCodingSection.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.ErasureCodingSection.Builder>
-
mergeFrom
public FsImageProto.ErasureCodingSection.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.apache.hadoop.thirdparty.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:
getPoliciesListin interfaceFsImageProto.ErasureCodingSectionOrBuilder
-
getPoliciesCount
public int getPoliciesCount()repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;- Specified by:
getPoliciesCountin interfaceFsImageProto.ErasureCodingSectionOrBuilder
-
getPolicies
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto getPolicies(int index) repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;- Specified by:
getPoliciesin interfaceFsImageProto.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
repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1; -
removePolicies
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:
getPoliciesOrBuilderin interfaceFsImageProto.ErasureCodingSectionOrBuilder
-
getPoliciesOrBuilderList
public List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder> getPoliciesOrBuilderList()repeated .hadoop.hdfs.ErasureCodingPolicyProto policies = 1;- Specified by:
getPoliciesOrBuilderListin interfaceFsImageProto.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; -
setUnknownFields
public final FsImageProto.ErasureCodingSection.Builder setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.ErasureCodingSection.Builder>
-
mergeUnknownFields
public final FsImageProto.ErasureCodingSection.Builder mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.ErasureCodingSection.Builder>
-