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, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<DataTransferProtos.BlockOpResponseProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasStatus()
required .hadoop.hdfs.Status status = 1;
hasStatus
in interface DataTransferProtos.BlockOpResponseProtoOrBuilder
public DataTransferProtos.Status getStatus()
required .hadoop.hdfs.Status status = 1;
getStatus
in interface DataTransferProtos.BlockOpResponseProtoOrBuilder
public boolean hasFirstBadLink()
optional string firstBadLink = 2;
hasFirstBadLink
in interface DataTransferProtos.BlockOpResponseProtoOrBuilder
public String getFirstBadLink()
optional string firstBadLink = 2;
getFirstBadLink
in interface DataTransferProtos.BlockOpResponseProtoOrBuilder
public com.google.protobuf.ByteString getFirstBadLinkBytes()
optional string firstBadLink = 2;
getFirstBadLinkBytes
in interface DataTransferProtos.BlockOpResponseProtoOrBuilder
public boolean hasChecksumResponse()
optional .hadoop.hdfs.OpBlockChecksumResponseProto checksumResponse = 3;
hasChecksumResponse
in interface DataTransferProtos.BlockOpResponseProtoOrBuilder
public DataTransferProtos.OpBlockChecksumResponseProto getChecksumResponse()
optional .hadoop.hdfs.OpBlockChecksumResponseProto checksumResponse = 3;
getChecksumResponse
in interface DataTransferProtos.BlockOpResponseProtoOrBuilder
public DataTransferProtos.OpBlockChecksumResponseProtoOrBuilder getChecksumResponseOrBuilder()
optional .hadoop.hdfs.OpBlockChecksumResponseProto checksumResponse = 3;
getChecksumResponseOrBuilder
in interface DataTransferProtos.BlockOpResponseProtoOrBuilder
public boolean hasReadOpChecksumInfo()
optional .hadoop.hdfs.ReadOpChecksumInfoProto readOpChecksumInfo = 4;
hasReadOpChecksumInfo
in interface DataTransferProtos.BlockOpResponseProtoOrBuilder
public DataTransferProtos.ReadOpChecksumInfoProto getReadOpChecksumInfo()
optional .hadoop.hdfs.ReadOpChecksumInfoProto readOpChecksumInfo = 4;
getReadOpChecksumInfo
in interface DataTransferProtos.BlockOpResponseProtoOrBuilder
public DataTransferProtos.ReadOpChecksumInfoProtoOrBuilder getReadOpChecksumInfoOrBuilder()
optional .hadoop.hdfs.ReadOpChecksumInfoProto readOpChecksumInfo = 4;
getReadOpChecksumInfoOrBuilder
in interface DataTransferProtos.BlockOpResponseProtoOrBuilder
public boolean hasMessage()
optional string message = 5;
explanatory text which may be useful to log on the client side
hasMessage
in interface DataTransferProtos.BlockOpResponseProtoOrBuilder
public String getMessage()
optional string message = 5;
explanatory text which may be useful to log on the client side
getMessage
in interface DataTransferProtos.BlockOpResponseProtoOrBuilder
public 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.BlockOpResponseProtoOrBuilder
public 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.BlockOpResponseProtoOrBuilder
public 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.BlockOpResponseProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static DataTransferProtos.BlockOpResponseProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DataTransferProtos.BlockOpResponseProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DataTransferProtos.BlockOpResponseProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DataTransferProtos.BlockOpResponseProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DataTransferProtos.BlockOpResponseProto parseFrom(InputStream input) throws IOException
IOException
public static DataTransferProtos.BlockOpResponseProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DataTransferProtos.BlockOpResponseProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DataTransferProtos.BlockOpResponseProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DataTransferProtos.BlockOpResponseProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static DataTransferProtos.BlockOpResponseProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DataTransferProtos.BlockOpResponseProto.Builder newBuilder()
public DataTransferProtos.BlockOpResponseProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static DataTransferProtos.BlockOpResponseProto.Builder newBuilder(DataTransferProtos.BlockOpResponseProto prototype)
public DataTransferProtos.BlockOpResponseProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected DataTransferProtos.BlockOpResponseProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013 Apache Software Foundation. All rights reserved.