public static final class DatanodeProtocolProtos.DatanodeCommandProto extends com.google.protobuf.GeneratedMessage implements DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
hadoop.hdfs.DatanodeCommandProto
Commands sent from namenode to the datanodes
| Modifier and Type | Class and Description |
|---|---|
static class |
DatanodeProtocolProtos.DatanodeCommandProto.Builder
Protobuf type
hadoop.hdfs.DatanodeCommandProto |
static class |
DatanodeProtocolProtos.DatanodeCommandProto.Type
Protobuf enum
hadoop.hdfs.DatanodeCommandProto.Type |
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 |
BALANCERCMD_FIELD_NUMBER |
static int |
BLKCMD_FIELD_NUMBER |
static int |
CMDTYPE_FIELD_NUMBER |
static int |
FINALIZECMD_FIELD_NUMBER |
static int |
KEYUPDATECMD_FIELD_NUMBER |
static com.google.protobuf.Parser<DatanodeProtocolProtos.DatanodeCommandProto> |
PARSER |
static int |
RECOVERYCMD_FIELD_NUMBER |
static int |
REGISTERCMD_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DatanodeProtocolProtos.BalancerBandwidthCommandProto |
getBalancerCmd()
optional .hadoop.hdfs.BalancerBandwidthCommandProto balancerCmd = 2; |
DatanodeProtocolProtos.BalancerBandwidthCommandProtoOrBuilder |
getBalancerCmdOrBuilder()
optional .hadoop.hdfs.BalancerBandwidthCommandProto balancerCmd = 2; |
DatanodeProtocolProtos.BlockCommandProto |
getBlkCmd()
optional .hadoop.hdfs.BlockCommandProto blkCmd = 3; |
DatanodeProtocolProtos.BlockCommandProtoOrBuilder |
getBlkCmdOrBuilder()
optional .hadoop.hdfs.BlockCommandProto blkCmd = 3; |
DatanodeProtocolProtos.DatanodeCommandProto.Type |
getCmdType()
required .hadoop.hdfs.DatanodeCommandProto.Type cmdType = 1; |
static DatanodeProtocolProtos.DatanodeCommandProto |
getDefaultInstance() |
DatanodeProtocolProtos.DatanodeCommandProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DatanodeProtocolProtos.FinalizeCommandProto |
getFinalizeCmd()
optional .hadoop.hdfs.FinalizeCommandProto finalizeCmd = 5; |
DatanodeProtocolProtos.FinalizeCommandProtoOrBuilder |
getFinalizeCmdOrBuilder()
optional .hadoop.hdfs.FinalizeCommandProto finalizeCmd = 5; |
DatanodeProtocolProtos.KeyUpdateCommandProto |
getKeyUpdateCmd()
optional .hadoop.hdfs.KeyUpdateCommandProto keyUpdateCmd = 6; |
DatanodeProtocolProtos.KeyUpdateCommandProtoOrBuilder |
getKeyUpdateCmdOrBuilder()
optional .hadoop.hdfs.KeyUpdateCommandProto keyUpdateCmd = 6; |
com.google.protobuf.Parser<DatanodeProtocolProtos.DatanodeCommandProto> |
getParserForType() |
DatanodeProtocolProtos.BlockRecoveryCommandProto |
getRecoveryCmd()
optional .hadoop.hdfs.BlockRecoveryCommandProto recoveryCmd = 4; |
DatanodeProtocolProtos.BlockRecoveryCommandProtoOrBuilder |
getRecoveryCmdOrBuilder()
optional .hadoop.hdfs.BlockRecoveryCommandProto recoveryCmd = 4; |
DatanodeProtocolProtos.RegisterCommandProto |
getRegisterCmd()
optional .hadoop.hdfs.RegisterCommandProto registerCmd = 7; |
DatanodeProtocolProtos.RegisterCommandProtoOrBuilder |
getRegisterCmdOrBuilder()
optional .hadoop.hdfs.RegisterCommandProto registerCmd = 7; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBalancerCmd()
optional .hadoop.hdfs.BalancerBandwidthCommandProto balancerCmd = 2; |
boolean |
hasBlkCmd()
optional .hadoop.hdfs.BlockCommandProto blkCmd = 3; |
boolean |
hasCmdType()
required .hadoop.hdfs.DatanodeCommandProto.Type cmdType = 1; |
boolean |
hasFinalizeCmd()
optional .hadoop.hdfs.FinalizeCommandProto finalizeCmd = 5; |
int |
hashCode() |
boolean |
hasKeyUpdateCmd()
optional .hadoop.hdfs.KeyUpdateCommandProto keyUpdateCmd = 6; |
boolean |
hasRecoveryCmd()
optional .hadoop.hdfs.BlockRecoveryCommandProto recoveryCmd = 4; |
boolean |
hasRegisterCmd()
optional .hadoop.hdfs.RegisterCommandProto registerCmd = 7; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DatanodeProtocolProtos.DatanodeCommandProto.Builder |
newBuilder() |
static DatanodeProtocolProtos.DatanodeCommandProto.Builder |
newBuilder(DatanodeProtocolProtos.DatanodeCommandProto prototype) |
DatanodeProtocolProtos.DatanodeCommandProto.Builder |
newBuilderForType() |
protected DatanodeProtocolProtos.DatanodeCommandProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static DatanodeProtocolProtos.DatanodeCommandProto |
parseDelimitedFrom(InputStream input) |
static DatanodeProtocolProtos.DatanodeCommandProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatanodeProtocolProtos.DatanodeCommandProto |
parseFrom(byte[] data) |
static DatanodeProtocolProtos.DatanodeCommandProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatanodeProtocolProtos.DatanodeCommandProto |
parseFrom(com.google.protobuf.ByteString data) |
static DatanodeProtocolProtos.DatanodeCommandProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatanodeProtocolProtos.DatanodeCommandProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DatanodeProtocolProtos.DatanodeCommandProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatanodeProtocolProtos.DatanodeCommandProto |
parseFrom(InputStream input) |
static DatanodeProtocolProtos.DatanodeCommandProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DatanodeProtocolProtos.DatanodeCommandProto.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<DatanodeProtocolProtos.DatanodeCommandProto> PARSER
public static final int CMDTYPE_FIELD_NUMBER
public static final int BALANCERCMD_FIELD_NUMBER
public static final int BLKCMD_FIELD_NUMBER
public static final int RECOVERYCMD_FIELD_NUMBER
public static final int FINALIZECMD_FIELD_NUMBER
public static final int KEYUPDATECMD_FIELD_NUMBER
public static final int REGISTERCMD_FIELD_NUMBER
public static DatanodeProtocolProtos.DatanodeCommandProto getDefaultInstance()
public DatanodeProtocolProtos.DatanodeCommandProto 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.DatanodeCommandProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasCmdType()
required .hadoop.hdfs.DatanodeCommandProto.Type cmdType = 1;
Type of the command
hasCmdType in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic DatanodeProtocolProtos.DatanodeCommandProto.Type getCmdType()
required .hadoop.hdfs.DatanodeCommandProto.Type cmdType = 1;
Type of the command
getCmdType in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic boolean hasBalancerCmd()
optional .hadoop.hdfs.BalancerBandwidthCommandProto balancerCmd = 2;
One of the following command is available when the corresponding cmdType is set
hasBalancerCmd in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic DatanodeProtocolProtos.BalancerBandwidthCommandProto getBalancerCmd()
optional .hadoop.hdfs.BalancerBandwidthCommandProto balancerCmd = 2;
One of the following command is available when the corresponding cmdType is set
getBalancerCmd in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic DatanodeProtocolProtos.BalancerBandwidthCommandProtoOrBuilder getBalancerCmdOrBuilder()
optional .hadoop.hdfs.BalancerBandwidthCommandProto balancerCmd = 2;
One of the following command is available when the corresponding cmdType is set
getBalancerCmdOrBuilder in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic boolean hasBlkCmd()
optional .hadoop.hdfs.BlockCommandProto blkCmd = 3;hasBlkCmd in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic DatanodeProtocolProtos.BlockCommandProto getBlkCmd()
optional .hadoop.hdfs.BlockCommandProto blkCmd = 3;getBlkCmd in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic DatanodeProtocolProtos.BlockCommandProtoOrBuilder getBlkCmdOrBuilder()
optional .hadoop.hdfs.BlockCommandProto blkCmd = 3;getBlkCmdOrBuilder in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic boolean hasRecoveryCmd()
optional .hadoop.hdfs.BlockRecoveryCommandProto recoveryCmd = 4;hasRecoveryCmd in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic DatanodeProtocolProtos.BlockRecoveryCommandProto getRecoveryCmd()
optional .hadoop.hdfs.BlockRecoveryCommandProto recoveryCmd = 4;getRecoveryCmd in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic DatanodeProtocolProtos.BlockRecoveryCommandProtoOrBuilder getRecoveryCmdOrBuilder()
optional .hadoop.hdfs.BlockRecoveryCommandProto recoveryCmd = 4;getRecoveryCmdOrBuilder in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic boolean hasFinalizeCmd()
optional .hadoop.hdfs.FinalizeCommandProto finalizeCmd = 5;hasFinalizeCmd in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic DatanodeProtocolProtos.FinalizeCommandProto getFinalizeCmd()
optional .hadoop.hdfs.FinalizeCommandProto finalizeCmd = 5;getFinalizeCmd in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic DatanodeProtocolProtos.FinalizeCommandProtoOrBuilder getFinalizeCmdOrBuilder()
optional .hadoop.hdfs.FinalizeCommandProto finalizeCmd = 5;getFinalizeCmdOrBuilder in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic boolean hasKeyUpdateCmd()
optional .hadoop.hdfs.KeyUpdateCommandProto keyUpdateCmd = 6;hasKeyUpdateCmd in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic DatanodeProtocolProtos.KeyUpdateCommandProto getKeyUpdateCmd()
optional .hadoop.hdfs.KeyUpdateCommandProto keyUpdateCmd = 6;getKeyUpdateCmd in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic DatanodeProtocolProtos.KeyUpdateCommandProtoOrBuilder getKeyUpdateCmdOrBuilder()
optional .hadoop.hdfs.KeyUpdateCommandProto keyUpdateCmd = 6;getKeyUpdateCmdOrBuilder in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic boolean hasRegisterCmd()
optional .hadoop.hdfs.RegisterCommandProto registerCmd = 7;hasRegisterCmd in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic DatanodeProtocolProtos.RegisterCommandProto getRegisterCmd()
optional .hadoop.hdfs.RegisterCommandProto registerCmd = 7;getRegisterCmd in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic DatanodeProtocolProtos.RegisterCommandProtoOrBuilder getRegisterCmdOrBuilder()
optional .hadoop.hdfs.RegisterCommandProto registerCmd = 7;getRegisterCmdOrBuilder in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilderpublic 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.DatanodeCommandProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatanodeProtocolProtos.DatanodeCommandProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatanodeProtocolProtos.DatanodeCommandProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatanodeProtocolProtos.DatanodeCommandProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatanodeProtocolProtos.DatanodeCommandProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static DatanodeProtocolProtos.DatanodeCommandProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatanodeProtocolProtos.DatanodeCommandProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DatanodeProtocolProtos.DatanodeCommandProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatanodeProtocolProtos.DatanodeCommandProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DatanodeProtocolProtos.DatanodeCommandProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatanodeProtocolProtos.DatanodeCommandProto.Builder newBuilder()
public DatanodeProtocolProtos.DatanodeCommandProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DatanodeProtocolProtos.DatanodeCommandProto.Builder newBuilder(DatanodeProtocolProtos.DatanodeCommandProto prototype)
public DatanodeProtocolProtos.DatanodeCommandProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DatanodeProtocolProtos.DatanodeCommandProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013 Apache Software Foundation. All rights reserved.