public static final class HdfsProtos.NamenodeCommandProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.NamenodeCommandProto.Builder> implements HdfsProtos.NamenodeCommandProtoOrBuilder
hadoop.hdfs.NamenodeCommandProto
Command sent from one namenode to another namenode.
Modifier and Type | Method and Description |
---|---|
HdfsProtos.NamenodeCommandProto |
build() |
HdfsProtos.NamenodeCommandProto |
buildPartial() |
HdfsProtos.NamenodeCommandProto.Builder |
clear() |
HdfsProtos.NamenodeCommandProto.Builder |
clearAction()
required uint32 action = 1; |
HdfsProtos.NamenodeCommandProto.Builder |
clearCheckpointCmd()
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3; |
HdfsProtos.NamenodeCommandProto.Builder |
clearType()
required .hadoop.hdfs.NamenodeCommandProto.Type type = 2; |
HdfsProtos.NamenodeCommandProto.Builder |
clone() |
int |
getAction()
required uint32 action = 1; |
HdfsProtos.CheckpointCommandProto |
getCheckpointCmd()
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3; |
HdfsProtos.CheckpointCommandProto.Builder |
getCheckpointCmdBuilder()
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3; |
HdfsProtos.CheckpointCommandProtoOrBuilder |
getCheckpointCmdOrBuilder()
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3; |
HdfsProtos.NamenodeCommandProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
HdfsProtos.NamenodeCommandProto.Type |
getType()
required .hadoop.hdfs.NamenodeCommandProto.Type type = 2; |
boolean |
hasAction()
required uint32 action = 1; |
boolean |
hasCheckpointCmd()
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3; |
boolean |
hasType()
required .hadoop.hdfs.NamenodeCommandProto.Type type = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HdfsProtos.NamenodeCommandProto.Builder |
mergeCheckpointCmd(HdfsProtos.CheckpointCommandProto value)
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3; |
HdfsProtos.NamenodeCommandProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HdfsProtos.NamenodeCommandProto.Builder |
mergeFrom(HdfsProtos.NamenodeCommandProto other) |
HdfsProtos.NamenodeCommandProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
HdfsProtos.NamenodeCommandProto.Builder |
setAction(int value)
required uint32 action = 1; |
HdfsProtos.NamenodeCommandProto.Builder |
setCheckpointCmd(HdfsProtos.CheckpointCommandProto.Builder builderForValue)
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3; |
HdfsProtos.NamenodeCommandProto.Builder |
setCheckpointCmd(HdfsProtos.CheckpointCommandProto value)
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3; |
HdfsProtos.NamenodeCommandProto.Builder |
setType(HdfsProtos.NamenodeCommandProto.Type value)
required .hadoop.hdfs.NamenodeCommandProto.Type type = 2; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.NamenodeCommandProto.Builder>
public HdfsProtos.NamenodeCommandProto.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.NamenodeCommandProto.Builder>
public HdfsProtos.NamenodeCommandProto.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.NamenodeCommandProto.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.NamenodeCommandProto.Builder>
public HdfsProtos.NamenodeCommandProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HdfsProtos.NamenodeCommandProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public HdfsProtos.NamenodeCommandProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public HdfsProtos.NamenodeCommandProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.NamenodeCommandProto.Builder>
public HdfsProtos.NamenodeCommandProto.Builder mergeFrom(HdfsProtos.NamenodeCommandProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.NamenodeCommandProto.Builder>
public HdfsProtos.NamenodeCommandProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.NamenodeCommandProto.Builder>
IOException
public boolean hasAction()
required uint32 action = 1;
hasAction
in interface HdfsProtos.NamenodeCommandProtoOrBuilder
public int getAction()
required uint32 action = 1;
getAction
in interface HdfsProtos.NamenodeCommandProtoOrBuilder
public HdfsProtos.NamenodeCommandProto.Builder setAction(int value)
required uint32 action = 1;
public HdfsProtos.NamenodeCommandProto.Builder clearAction()
required uint32 action = 1;
public boolean hasType()
required .hadoop.hdfs.NamenodeCommandProto.Type type = 2;
hasType
in interface HdfsProtos.NamenodeCommandProtoOrBuilder
public HdfsProtos.NamenodeCommandProto.Type getType()
required .hadoop.hdfs.NamenodeCommandProto.Type type = 2;
getType
in interface HdfsProtos.NamenodeCommandProtoOrBuilder
public HdfsProtos.NamenodeCommandProto.Builder setType(HdfsProtos.NamenodeCommandProto.Type value)
required .hadoop.hdfs.NamenodeCommandProto.Type type = 2;
public HdfsProtos.NamenodeCommandProto.Builder clearType()
required .hadoop.hdfs.NamenodeCommandProto.Type type = 2;
public boolean hasCheckpointCmd()
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3;
hasCheckpointCmd
in interface HdfsProtos.NamenodeCommandProtoOrBuilder
public HdfsProtos.CheckpointCommandProto getCheckpointCmd()
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3;
getCheckpointCmd
in interface HdfsProtos.NamenodeCommandProtoOrBuilder
public HdfsProtos.NamenodeCommandProto.Builder setCheckpointCmd(HdfsProtos.CheckpointCommandProto value)
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3;
public HdfsProtos.NamenodeCommandProto.Builder setCheckpointCmd(HdfsProtos.CheckpointCommandProto.Builder builderForValue)
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3;
public HdfsProtos.NamenodeCommandProto.Builder mergeCheckpointCmd(HdfsProtos.CheckpointCommandProto value)
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3;
public HdfsProtos.NamenodeCommandProto.Builder clearCheckpointCmd()
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3;
public HdfsProtos.CheckpointCommandProto.Builder getCheckpointCmdBuilder()
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3;
public HdfsProtos.CheckpointCommandProtoOrBuilder getCheckpointCmdOrBuilder()
optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3;
getCheckpointCmdOrBuilder
in interface HdfsProtos.NamenodeCommandProtoOrBuilder
Copyright © 2013 Apache Software Foundation. All rights reserved.