Class FsImageProto.FileSummary.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.FileSummary.Builder>
org.apache.hadoop.hdfs.server.namenode.FsImageProto.FileSummary.Builder
- All Implemented Interfaces:
Cloneable,FsImageProto.FileSummaryOrBuilder,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.FileSummary
public static final class FsImageProto.FileSummary.Builder
extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.FileSummary.Builder>
implements FsImageProto.FileSummaryOrBuilder
Protobuf type
hadoop.hdfs.fsimage.FileSummary-
Method Summary
Modifier and TypeMethodDescriptionaddAllSections(Iterable<? extends FsImageProto.FileSummary.Section> values) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value) addSections(int index, FsImageProto.FileSummary.Section value) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;addSections(int index, FsImageProto.FileSummary.Section.Builder builderForValue) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;addSections(FsImageProto.FileSummary.Section.Builder builderForValue) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;addSectionsBuilder(int index) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;build()clear()optional string codec = 3;clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) layoutVersion describes which features are available in the FSImage.The version of the above EBNF grammars.clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;clone()getCodec()optional string codec = 3;org.apache.hadoop.thirdparty.protobuf.ByteStringoptional string codec = 3;static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptororg.apache.hadoop.thirdparty.protobuf.Descriptors.DescriptorintlayoutVersion describes which features are available in the FSImage.intThe version of the above EBNF grammars.getSections(int index) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;getSectionsBuilder(int index) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;intrepeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;getSectionsOrBuilder(int index) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;List<? extends FsImageProto.FileSummary.SectionOrBuilder>repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;booleanhasCodec()optional string codec = 3;booleanlayoutVersion describes which features are available in the FSImage.booleanThe version of the above EBNF grammars.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) removeSections(int index) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;optional string codec = 3;setCodecBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value) optional string codec = 3;setLayoutVersion(int value) layoutVersion describes which features are available in the FSImage.setOndiskVersion(int value) The version of the above EBNF grammars.setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSections(int index, FsImageProto.FileSummary.Section value) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;setSections(int index, FsImageProto.FileSummary.Section.Builder builderForValue) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;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.FileSummary.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.FileSummary.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.FileSummary.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.FileSummary.Builder>
-
setField
public FsImageProto.FileSummary.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.FileSummary.Builder>
-
clearField
public FsImageProto.FileSummary.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.FileSummary.Builder>
-
clearOneof
public FsImageProto.FileSummary.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.FileSummary.Builder>
-
setRepeatedField
public FsImageProto.FileSummary.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.FileSummary.Builder>
-
addRepeatedField
public FsImageProto.FileSummary.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.FileSummary.Builder>
-
mergeFrom
public FsImageProto.FileSummary.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.FileSummary.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.FileSummary.Builder>
-
mergeFrom
public FsImageProto.FileSummary.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.FileSummary.Builder>- Throws:
IOException
-
hasOndiskVersion
public boolean hasOndiskVersion()The version of the above EBNF grammars.
required uint32 ondiskVersion = 1;- Specified by:
hasOndiskVersionin interfaceFsImageProto.FileSummaryOrBuilder- Returns:
- Whether the ondiskVersion field is set.
-
getOndiskVersion
public int getOndiskVersion()The version of the above EBNF grammars.
required uint32 ondiskVersion = 1;- Specified by:
getOndiskVersionin interfaceFsImageProto.FileSummaryOrBuilder- Returns:
- The ondiskVersion.
-
setOndiskVersion
The version of the above EBNF grammars.
required uint32 ondiskVersion = 1;- Parameters:
value- The ondiskVersion to set.- Returns:
- This builder for chaining.
-
clearOndiskVersion
The version of the above EBNF grammars.
required uint32 ondiskVersion = 1;- Returns:
- This builder for chaining.
-
hasLayoutVersion
public boolean hasLayoutVersion()layoutVersion describes which features are available in the FSImage.
required uint32 layoutVersion = 2;- Specified by:
hasLayoutVersionin interfaceFsImageProto.FileSummaryOrBuilder- Returns:
- Whether the layoutVersion field is set.
-
getLayoutVersion
public int getLayoutVersion()layoutVersion describes which features are available in the FSImage.
required uint32 layoutVersion = 2;- Specified by:
getLayoutVersionin interfaceFsImageProto.FileSummaryOrBuilder- Returns:
- The layoutVersion.
-
setLayoutVersion
layoutVersion describes which features are available in the FSImage.
required uint32 layoutVersion = 2;- Parameters:
value- The layoutVersion to set.- Returns:
- This builder for chaining.
-
clearLayoutVersion
layoutVersion describes which features are available in the FSImage.
required uint32 layoutVersion = 2;- Returns:
- This builder for chaining.
-
hasCodec
public boolean hasCodec()optional string codec = 3;- Specified by:
hasCodecin interfaceFsImageProto.FileSummaryOrBuilder- Returns:
- Whether the codec field is set.
-
getCodec
optional string codec = 3;- Specified by:
getCodecin interfaceFsImageProto.FileSummaryOrBuilder- Returns:
- The codec.
-
getCodecBytes
public org.apache.hadoop.thirdparty.protobuf.ByteString getCodecBytes()optional string codec = 3;- Specified by:
getCodecBytesin interfaceFsImageProto.FileSummaryOrBuilder- Returns:
- The bytes for codec.
-
setCodec
optional string codec = 3;- Parameters:
value- The codec to set.- Returns:
- This builder for chaining.
-
clearCodec
optional string codec = 3;- Returns:
- This builder for chaining.
-
setCodecBytes
public FsImageProto.FileSummary.Builder setCodecBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value) optional string codec = 3;- Parameters:
value- The bytes for codec to set.- Returns:
- This builder for chaining.
-
getSectionsList
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;- Specified by:
getSectionsListin interfaceFsImageProto.FileSummaryOrBuilder
-
getSectionsCount
public int getSectionsCount()repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;- Specified by:
getSectionsCountin interfaceFsImageProto.FileSummaryOrBuilder
-
getSections
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;- Specified by:
getSectionsin interfaceFsImageProto.FileSummaryOrBuilder
-
setSections
public FsImageProto.FileSummary.Builder setSections(int index, FsImageProto.FileSummary.Section value) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
setSections
public FsImageProto.FileSummary.Builder setSections(int index, FsImageProto.FileSummary.Section.Builder builderForValue) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
addSections
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
addSections
public FsImageProto.FileSummary.Builder addSections(int index, FsImageProto.FileSummary.Section value) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
addSections
public FsImageProto.FileSummary.Builder addSections(FsImageProto.FileSummary.Section.Builder builderForValue) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
addSections
public FsImageProto.FileSummary.Builder addSections(int index, FsImageProto.FileSummary.Section.Builder builderForValue) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
addAllSections
public FsImageProto.FileSummary.Builder addAllSections(Iterable<? extends FsImageProto.FileSummary.Section> values) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
clearSections
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
removeSections
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
getSectionsBuilder
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
getSectionsOrBuilder
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;- Specified by:
getSectionsOrBuilderin interfaceFsImageProto.FileSummaryOrBuilder
-
getSectionsOrBuilderList
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;- Specified by:
getSectionsOrBuilderListin interfaceFsImageProto.FileSummaryOrBuilder
-
addSectionsBuilder
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
addSectionsBuilder
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
getSectionsBuilderList
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
setUnknownFields
public final FsImageProto.FileSummary.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.FileSummary.Builder>
-
mergeUnknownFields
public final FsImageProto.FileSummary.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.FileSummary.Builder>
-