public static final class DatanodeProtocolProtos.BlockReportRequestProto extends com.google.protobuf.GeneratedMessage implements DatanodeProtocolProtos.BlockReportRequestProtoOrBuilder
hadoop.hdfs.BlockReportRequestProto
registration - datanode registration information
blockPoolID - block pool ID of the reported blocks
blocks - each block is represented as two longs in the array.
first long represents block ID
second long represents length
| Modifier and Type | Class and Description |
|---|---|
static class |
DatanodeProtocolProtos.BlockReportRequestProto.Builder
Protobuf type
hadoop.hdfs.BlockReportRequestProto |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCKPOOLID_FIELD_NUMBER |
static com.google.protobuf.Parser<DatanodeProtocolProtos.BlockReportRequestProto> |
PARSER |
static int |
REGISTRATION_FIELD_NUMBER |
static int |
REPORTS_FIELD_NUMBER |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<DatanodeProtocolProtos.BlockReportRequestProto> PARSER
public static final int REGISTRATION_FIELD_NUMBER
public static final int BLOCKPOOLID_FIELD_NUMBER
public static final int REPORTS_FIELD_NUMBER
public static DatanodeProtocolProtos.BlockReportRequestProto getDefaultInstance()
public DatanodeProtocolProtos.BlockReportRequestProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<DatanodeProtocolProtos.BlockReportRequestProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasRegistration()
required .hadoop.hdfs.DatanodeRegistrationProto registration = 1;hasRegistration in interface DatanodeProtocolProtos.BlockReportRequestProtoOrBuilderpublic DatanodeProtocolProtos.DatanodeRegistrationProto getRegistration()
required .hadoop.hdfs.DatanodeRegistrationProto registration = 1;getRegistration in interface DatanodeProtocolProtos.BlockReportRequestProtoOrBuilderpublic DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder getRegistrationOrBuilder()
required .hadoop.hdfs.DatanodeRegistrationProto registration = 1;getRegistrationOrBuilder in interface DatanodeProtocolProtos.BlockReportRequestProtoOrBuilderpublic boolean hasBlockPoolId()
required string blockPoolId = 2;hasBlockPoolId in interface DatanodeProtocolProtos.BlockReportRequestProtoOrBuilderpublic String getBlockPoolId()
required string blockPoolId = 2;getBlockPoolId in interface DatanodeProtocolProtos.BlockReportRequestProtoOrBuilderpublic com.google.protobuf.ByteString getBlockPoolIdBytes()
required string blockPoolId = 2;getBlockPoolIdBytes in interface DatanodeProtocolProtos.BlockReportRequestProtoOrBuilderpublic List<DatanodeProtocolProtos.StorageBlockReportProto> getReportsList()
repeated .hadoop.hdfs.StorageBlockReportProto reports = 3;getReportsList in interface DatanodeProtocolProtos.BlockReportRequestProtoOrBuilderpublic List<? extends DatanodeProtocolProtos.StorageBlockReportProtoOrBuilder> getReportsOrBuilderList()
repeated .hadoop.hdfs.StorageBlockReportProto reports = 3;getReportsOrBuilderList in interface DatanodeProtocolProtos.BlockReportRequestProtoOrBuilderpublic int getReportsCount()
repeated .hadoop.hdfs.StorageBlockReportProto reports = 3;getReportsCount in interface DatanodeProtocolProtos.BlockReportRequestProtoOrBuilderpublic DatanodeProtocolProtos.StorageBlockReportProto getReports(int index)
repeated .hadoop.hdfs.StorageBlockReportProto reports = 3;getReports in interface DatanodeProtocolProtos.BlockReportRequestProtoOrBuilderpublic DatanodeProtocolProtos.StorageBlockReportProtoOrBuilder getReportsOrBuilder(int index)
repeated .hadoop.hdfs.StorageBlockReportProto reports = 3;getReportsOrBuilder in interface DatanodeProtocolProtos.BlockReportRequestProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DatanodeProtocolProtos.BlockReportRequestProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatanodeProtocolProtos.BlockReportRequestProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatanodeProtocolProtos.BlockReportRequestProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatanodeProtocolProtos.BlockReportRequestProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatanodeProtocolProtos.BlockReportRequestProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static DatanodeProtocolProtos.BlockReportRequestProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatanodeProtocolProtos.BlockReportRequestProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DatanodeProtocolProtos.BlockReportRequestProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatanodeProtocolProtos.BlockReportRequestProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DatanodeProtocolProtos.BlockReportRequestProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatanodeProtocolProtos.BlockReportRequestProto.Builder newBuilder()
public DatanodeProtocolProtos.BlockReportRequestProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DatanodeProtocolProtos.BlockReportRequestProto.Builder newBuilder(DatanodeProtocolProtos.BlockReportRequestProto prototype)
public DatanodeProtocolProtos.BlockReportRequestProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DatanodeProtocolProtos.BlockReportRequestProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013 Apache Software Foundation. All rights reserved.