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, 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<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.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<DatanodeProtocolProtos.DatanodeCommandProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasCmdType()
required .hadoop.hdfs.DatanodeCommandProto.Type cmdType = 1;
Type of the command
hasCmdType
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public DatanodeProtocolProtos.DatanodeCommandProto.Type getCmdType()
required .hadoop.hdfs.DatanodeCommandProto.Type cmdType = 1;
Type of the command
getCmdType
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public 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.DatanodeCommandProtoOrBuilder
public 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.DatanodeCommandProtoOrBuilder
public 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.DatanodeCommandProtoOrBuilder
public boolean hasBlkCmd()
optional .hadoop.hdfs.BlockCommandProto blkCmd = 3;
hasBlkCmd
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public DatanodeProtocolProtos.BlockCommandProto getBlkCmd()
optional .hadoop.hdfs.BlockCommandProto blkCmd = 3;
getBlkCmd
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public DatanodeProtocolProtos.BlockCommandProtoOrBuilder getBlkCmdOrBuilder()
optional .hadoop.hdfs.BlockCommandProto blkCmd = 3;
getBlkCmdOrBuilder
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public boolean hasRecoveryCmd()
optional .hadoop.hdfs.BlockRecoveryCommandProto recoveryCmd = 4;
hasRecoveryCmd
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public DatanodeProtocolProtos.BlockRecoveryCommandProto getRecoveryCmd()
optional .hadoop.hdfs.BlockRecoveryCommandProto recoveryCmd = 4;
getRecoveryCmd
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public DatanodeProtocolProtos.BlockRecoveryCommandProtoOrBuilder getRecoveryCmdOrBuilder()
optional .hadoop.hdfs.BlockRecoveryCommandProto recoveryCmd = 4;
getRecoveryCmdOrBuilder
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public boolean hasFinalizeCmd()
optional .hadoop.hdfs.FinalizeCommandProto finalizeCmd = 5;
hasFinalizeCmd
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public DatanodeProtocolProtos.FinalizeCommandProto getFinalizeCmd()
optional .hadoop.hdfs.FinalizeCommandProto finalizeCmd = 5;
getFinalizeCmd
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public DatanodeProtocolProtos.FinalizeCommandProtoOrBuilder getFinalizeCmdOrBuilder()
optional .hadoop.hdfs.FinalizeCommandProto finalizeCmd = 5;
getFinalizeCmdOrBuilder
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public boolean hasKeyUpdateCmd()
optional .hadoop.hdfs.KeyUpdateCommandProto keyUpdateCmd = 6;
hasKeyUpdateCmd
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public DatanodeProtocolProtos.KeyUpdateCommandProto getKeyUpdateCmd()
optional .hadoop.hdfs.KeyUpdateCommandProto keyUpdateCmd = 6;
getKeyUpdateCmd
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public DatanodeProtocolProtos.KeyUpdateCommandProtoOrBuilder getKeyUpdateCmdOrBuilder()
optional .hadoop.hdfs.KeyUpdateCommandProto keyUpdateCmd = 6;
getKeyUpdateCmdOrBuilder
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public boolean hasRegisterCmd()
optional .hadoop.hdfs.RegisterCommandProto registerCmd = 7;
hasRegisterCmd
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public DatanodeProtocolProtos.RegisterCommandProto getRegisterCmd()
optional .hadoop.hdfs.RegisterCommandProto registerCmd = 7;
getRegisterCmd
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
public DatanodeProtocolProtos.RegisterCommandProtoOrBuilder getRegisterCmdOrBuilder()
optional .hadoop.hdfs.RegisterCommandProto registerCmd = 7;
getRegisterCmdOrBuilder
in interface DatanodeProtocolProtos.DatanodeCommandProtoOrBuilder
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 DatanodeProtocolProtos.DatanodeCommandProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatanodeProtocolProtos.DatanodeCommandProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatanodeProtocolProtos.DatanodeCommandProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatanodeProtocolProtos.DatanodeCommandProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatanodeProtocolProtos.DatanodeCommandProto parseFrom(InputStream input) throws IOException
IOException
public static DatanodeProtocolProtos.DatanodeCommandProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DatanodeProtocolProtos.DatanodeCommandProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DatanodeProtocolProtos.DatanodeCommandProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DatanodeProtocolProtos.DatanodeCommandProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static DatanodeProtocolProtos.DatanodeCommandProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DatanodeProtocolProtos.DatanodeCommandProto.Builder newBuilder()
public DatanodeProtocolProtos.DatanodeCommandProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static DatanodeProtocolProtos.DatanodeCommandProto.Builder newBuilder(DatanodeProtocolProtos.DatanodeCommandProto prototype)
public DatanodeProtocolProtos.DatanodeCommandProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected DatanodeProtocolProtos.DatanodeCommandProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013 Apache Software Foundation. All rights reserved.