public static final class DataTransferProtos.BlockOpResponseProto extends com.google.protobuf.GeneratedMessage implements DataTransferProtos.BlockOpResponseProtoOrBuilder
hadoop.hdfs.BlockOpResponseProto| Modifier and Type | Class and Description |
|---|---|
static class |
DataTransferProtos.BlockOpResponseProto.Builder
Protobuf type
hadoop.hdfs.BlockOpResponseProto |
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 |
CHECKSUMRESPONSE_FIELD_NUMBER |
static int |
FIRSTBADLINK_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static com.google.protobuf.Parser<DataTransferProtos.BlockOpResponseProto> |
PARSER |
static int |
READOPCHECKSUMINFO_FIELD_NUMBER |
static int |
SHORTCIRCUITACCESSVERSION_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DataTransferProtos.OpBlockChecksumResponseProto |
getChecksumResponse()
optional .hadoop.hdfs.OpBlockChecksumResponseProto checksumResponse = 3; |
DataTransferProtos.OpBlockChecksumResponseProtoOrBuilder |
getChecksumResponseOrBuilder()
optional .hadoop.hdfs.OpBlockChecksumResponseProto checksumResponse = 3; |
static DataTransferProtos.BlockOpResponseProto |
getDefaultInstance() |
DataTransferProtos.BlockOpResponseProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFirstBadLink()
optional string firstBadLink = 2; |
com.google.protobuf.ByteString |
getFirstBadLinkBytes()
optional string firstBadLink = 2; |
String |
getMessage()
optional string message = 5; |
com.google.protobuf.ByteString |
getMessageBytes()
optional string message = 5; |
com.google.protobuf.Parser<DataTransferProtos.BlockOpResponseProto> |
getParserForType() |
DataTransferProtos.ReadOpChecksumInfoProto |
getReadOpChecksumInfo()
optional .hadoop.hdfs.ReadOpChecksumInfoProto readOpChecksumInfo = 4; |
DataTransferProtos.ReadOpChecksumInfoProtoOrBuilder |
getReadOpChecksumInfoOrBuilder()
optional .hadoop.hdfs.ReadOpChecksumInfoProto readOpChecksumInfo = 4; |
int |
getSerializedSize() |
int |
getShortCircuitAccessVersion()
optional uint32 shortCircuitAccessVersion = 6; |
DataTransferProtos.Status |
getStatus()
required .hadoop.hdfs.Status status = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasChecksumResponse()
optional .hadoop.hdfs.OpBlockChecksumResponseProto checksumResponse = 3; |
boolean |
hasFirstBadLink()
optional string firstBadLink = 2; |
int |
hashCode() |
boolean |
hasMessage()
optional string message = 5; |
boolean |
hasReadOpChecksumInfo()
optional .hadoop.hdfs.ReadOpChecksumInfoProto readOpChecksumInfo = 4; |
boolean |
hasShortCircuitAccessVersion()
optional uint32 shortCircuitAccessVersion = 6; |
boolean |
hasStatus()
required .hadoop.hdfs.Status status = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DataTransferProtos.BlockOpResponseProto.Builder |
newBuilder() |
static DataTransferProtos.BlockOpResponseProto.Builder |
newBuilder(DataTransferProtos.BlockOpResponseProto prototype) |
DataTransferProtos.BlockOpResponseProto.Builder |
newBuilderForType() |
protected DataTransferProtos.BlockOpResponseProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static DataTransferProtos.BlockOpResponseProto |
parseDelimitedFrom(InputStream input) |
static DataTransferProtos.BlockOpResponseProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataTransferProtos.BlockOpResponseProto |
parseFrom(byte[] data) |
static DataTransferProtos.BlockOpResponseProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataTransferProtos.BlockOpResponseProto |
parseFrom(com.google.protobuf.ByteString data) |
static DataTransferProtos.BlockOpResponseProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataTransferProtos.BlockOpResponseProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DataTransferProtos.BlockOpResponseProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataTransferProtos.BlockOpResponseProto |
parseFrom(InputStream input) |
static DataTransferProtos.BlockOpResponseProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DataTransferProtos.BlockOpResponseProto.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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<DataTransferProtos.BlockOpResponseProto> PARSER
public static final int STATUS_FIELD_NUMBER
public static final int FIRSTBADLINK_FIELD_NUMBER
public static final int CHECKSUMRESPONSE_FIELD_NUMBER
public static final int READOPCHECKSUMINFO_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static final int SHORTCIRCUITACCESSVERSION_FIELD_NUMBER
public static DataTransferProtos.BlockOpResponseProto getDefaultInstance()
public DataTransferProtos.BlockOpResponseProto 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<DataTransferProtos.BlockOpResponseProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasStatus()
required .hadoop.hdfs.Status status = 1;hasStatus in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic DataTransferProtos.Status getStatus()
required .hadoop.hdfs.Status status = 1;getStatus in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic boolean hasFirstBadLink()
optional string firstBadLink = 2;hasFirstBadLink in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic String getFirstBadLink()
optional string firstBadLink = 2;getFirstBadLink in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic com.google.protobuf.ByteString getFirstBadLinkBytes()
optional string firstBadLink = 2;getFirstBadLinkBytes in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic boolean hasChecksumResponse()
optional .hadoop.hdfs.OpBlockChecksumResponseProto checksumResponse = 3;hasChecksumResponse in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic DataTransferProtos.OpBlockChecksumResponseProto getChecksumResponse()
optional .hadoop.hdfs.OpBlockChecksumResponseProto checksumResponse = 3;getChecksumResponse in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic DataTransferProtos.OpBlockChecksumResponseProtoOrBuilder getChecksumResponseOrBuilder()
optional .hadoop.hdfs.OpBlockChecksumResponseProto checksumResponse = 3;getChecksumResponseOrBuilder in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic boolean hasReadOpChecksumInfo()
optional .hadoop.hdfs.ReadOpChecksumInfoProto readOpChecksumInfo = 4;hasReadOpChecksumInfo in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic DataTransferProtos.ReadOpChecksumInfoProto getReadOpChecksumInfo()
optional .hadoop.hdfs.ReadOpChecksumInfoProto readOpChecksumInfo = 4;getReadOpChecksumInfo in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic DataTransferProtos.ReadOpChecksumInfoProtoOrBuilder getReadOpChecksumInfoOrBuilder()
optional .hadoop.hdfs.ReadOpChecksumInfoProto readOpChecksumInfo = 4;getReadOpChecksumInfoOrBuilder in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic boolean hasMessage()
optional string message = 5;
explanatory text which may be useful to log on the client side
hasMessage in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic String getMessage()
optional string message = 5;
explanatory text which may be useful to log on the client side
getMessage in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
optional string message = 5;
explanatory text which may be useful to log on the client side
getMessageBytes in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic boolean hasShortCircuitAccessVersion()
optional uint32 shortCircuitAccessVersion = 6;
If the server chooses to agree to the request of a client for short-circuit access, it will send a response message with the relevant file descriptors attached. In the body of the message, this version number will be set to the specific version number of the block data that the client is about to read.
hasShortCircuitAccessVersion in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic int getShortCircuitAccessVersion()
optional uint32 shortCircuitAccessVersion = 6;
If the server chooses to agree to the request of a client for short-circuit access, it will send a response message with the relevant file descriptors attached. In the body of the message, this version number will be set to the specific version number of the block data that the client is about to read.
getShortCircuitAccessVersion in interface DataTransferProtos.BlockOpResponseProtoOrBuilderpublic 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 DataTransferProtos.BlockOpResponseProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataTransferProtos.BlockOpResponseProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataTransferProtos.BlockOpResponseProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataTransferProtos.BlockOpResponseProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataTransferProtos.BlockOpResponseProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static DataTransferProtos.BlockOpResponseProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataTransferProtos.BlockOpResponseProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DataTransferProtos.BlockOpResponseProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataTransferProtos.BlockOpResponseProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DataTransferProtos.BlockOpResponseProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataTransferProtos.BlockOpResponseProto.Builder newBuilder()
public DataTransferProtos.BlockOpResponseProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DataTransferProtos.BlockOpResponseProto.Builder newBuilder(DataTransferProtos.BlockOpResponseProto prototype)
public DataTransferProtos.BlockOpResponseProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DataTransferProtos.BlockOpResponseProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013 Apache Software Foundation. All rights reserved.