public static final class HdfsProtos.CorruptFileBlocksProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.CorruptFileBlocksProto.Builder> implements HdfsProtos.CorruptFileBlocksProtoOrBuilder
hadoop.hdfs.CorruptFileBlocksProto
Contains a list of paths corresponding to corrupt files and a cookie used for iterative calls to NameNode.listCorruptFileBlocks.
| Modifier and Type | Method and Description |
|---|---|
HdfsProtos.CorruptFileBlocksProto.Builder |
addAllFiles(Iterable<String> values)
repeated string files = 1; |
HdfsProtos.CorruptFileBlocksProto.Builder |
addFiles(String value)
repeated string files = 1; |
HdfsProtos.CorruptFileBlocksProto.Builder |
addFilesBytes(com.google.protobuf.ByteString value)
repeated string files = 1; |
HdfsProtos.CorruptFileBlocksProto |
build() |
HdfsProtos.CorruptFileBlocksProto |
buildPartial() |
HdfsProtos.CorruptFileBlocksProto.Builder |
clear() |
HdfsProtos.CorruptFileBlocksProto.Builder |
clearCookie()
required string cookie = 2; |
HdfsProtos.CorruptFileBlocksProto.Builder |
clearFiles()
repeated string files = 1; |
HdfsProtos.CorruptFileBlocksProto.Builder |
clone() |
String |
getCookie()
required string cookie = 2; |
com.google.protobuf.ByteString |
getCookieBytes()
required string cookie = 2; |
HdfsProtos.CorruptFileBlocksProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFiles(int index)
repeated string files = 1; |
com.google.protobuf.ByteString |
getFilesBytes(int index)
repeated string files = 1; |
int |
getFilesCount()
repeated string files = 1; |
List<String> |
getFilesList()
repeated string files = 1; |
boolean |
hasCookie()
required string cookie = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HdfsProtos.CorruptFileBlocksProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HdfsProtos.CorruptFileBlocksProto.Builder |
mergeFrom(HdfsProtos.CorruptFileBlocksProto other) |
HdfsProtos.CorruptFileBlocksProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
HdfsProtos.CorruptFileBlocksProto.Builder |
setCookie(String value)
required string cookie = 2; |
HdfsProtos.CorruptFileBlocksProto.Builder |
setCookieBytes(com.google.protobuf.ByteString value)
required string cookie = 2; |
HdfsProtos.CorruptFileBlocksProto.Builder |
setFiles(int index,
String value)
repeated string files = 1; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.CorruptFileBlocksProto.Builder>public HdfsProtos.CorruptFileBlocksProto.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.CorruptFileBlocksProto.Builder>public HdfsProtos.CorruptFileBlocksProto.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.CorruptFileBlocksProto.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.CorruptFileBlocksProto.Builder>public HdfsProtos.CorruptFileBlocksProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HdfsProtos.CorruptFileBlocksProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HdfsProtos.CorruptFileBlocksProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HdfsProtos.CorruptFileBlocksProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.CorruptFileBlocksProto.Builder>public HdfsProtos.CorruptFileBlocksProto.Builder mergeFrom(HdfsProtos.CorruptFileBlocksProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.CorruptFileBlocksProto.Builder>public HdfsProtos.CorruptFileBlocksProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.CorruptFileBlocksProto.Builder>IOExceptionpublic List<String> getFilesList()
repeated string files = 1;getFilesList in interface HdfsProtos.CorruptFileBlocksProtoOrBuilderpublic int getFilesCount()
repeated string files = 1;getFilesCount in interface HdfsProtos.CorruptFileBlocksProtoOrBuilderpublic String getFiles(int index)
repeated string files = 1;getFiles in interface HdfsProtos.CorruptFileBlocksProtoOrBuilderpublic com.google.protobuf.ByteString getFilesBytes(int index)
repeated string files = 1;getFilesBytes in interface HdfsProtos.CorruptFileBlocksProtoOrBuilderpublic HdfsProtos.CorruptFileBlocksProto.Builder setFiles(int index, String value)
repeated string files = 1;public HdfsProtos.CorruptFileBlocksProto.Builder addFiles(String value)
repeated string files = 1;public HdfsProtos.CorruptFileBlocksProto.Builder addAllFiles(Iterable<String> values)
repeated string files = 1;public HdfsProtos.CorruptFileBlocksProto.Builder clearFiles()
repeated string files = 1;public HdfsProtos.CorruptFileBlocksProto.Builder addFilesBytes(com.google.protobuf.ByteString value)
repeated string files = 1;public boolean hasCookie()
required string cookie = 2;hasCookie in interface HdfsProtos.CorruptFileBlocksProtoOrBuilderpublic String getCookie()
required string cookie = 2;getCookie in interface HdfsProtos.CorruptFileBlocksProtoOrBuilderpublic com.google.protobuf.ByteString getCookieBytes()
required string cookie = 2;getCookieBytes in interface HdfsProtos.CorruptFileBlocksProtoOrBuilderpublic HdfsProtos.CorruptFileBlocksProto.Builder setCookie(String value)
required string cookie = 2;public HdfsProtos.CorruptFileBlocksProto.Builder clearCookie()
required string cookie = 2;public HdfsProtos.CorruptFileBlocksProto.Builder setCookieBytes(com.google.protobuf.ByteString value)
required string cookie = 2;Copyright © 2013 Apache Software Foundation. All rights reserved.