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, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.CorruptFileBlocksProto.Builder>
public HdfsProtos.CorruptFileBlocksProto.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.CorruptFileBlocksProto.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.CorruptFileBlocksProto.Builder>
public HdfsProtos.CorruptFileBlocksProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HdfsProtos.CorruptFileBlocksProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public HdfsProtos.CorruptFileBlocksProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public HdfsProtos.CorruptFileBlocksProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.CorruptFileBlocksProto.Builder>
IOException
public List<String> getFilesList()
repeated string files = 1;
getFilesList
in interface HdfsProtos.CorruptFileBlocksProtoOrBuilder
public int getFilesCount()
repeated string files = 1;
getFilesCount
in interface HdfsProtos.CorruptFileBlocksProtoOrBuilder
public String getFiles(int index)
repeated string files = 1;
getFiles
in interface HdfsProtos.CorruptFileBlocksProtoOrBuilder
public com.google.protobuf.ByteString getFilesBytes(int index)
repeated string files = 1;
getFilesBytes
in interface HdfsProtos.CorruptFileBlocksProtoOrBuilder
public 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.CorruptFileBlocksProtoOrBuilder
public String getCookie()
required string cookie = 2;
getCookie
in interface HdfsProtos.CorruptFileBlocksProtoOrBuilder
public com.google.protobuf.ByteString getCookieBytes()
required string cookie = 2;
getCookieBytes
in interface HdfsProtos.CorruptFileBlocksProtoOrBuilder
public 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.