public static final class HdfsProtos.CheckpointCommandProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.CheckpointCommandProto.Builder> implements HdfsProtos.CheckpointCommandProtoOrBuilder
hadoop.hdfs.CheckpointCommandProto
Command returned from primary to checkpointing namenode. This command has checkpoint signature that identifies checkpoint transaction and is needed for further communication related to checkpointing.
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.CheckpointCommandProto.Builder>
public HdfsProtos.CheckpointCommandProto.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.CheckpointCommandProto.Builder>
public HdfsProtos.CheckpointCommandProto.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.CheckpointCommandProto.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.CheckpointCommandProto.Builder>
public HdfsProtos.CheckpointCommandProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HdfsProtos.CheckpointCommandProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public HdfsProtos.CheckpointCommandProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public HdfsProtos.CheckpointCommandProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.CheckpointCommandProto.Builder>
public HdfsProtos.CheckpointCommandProto.Builder mergeFrom(HdfsProtos.CheckpointCommandProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.CheckpointCommandProto.Builder>
public HdfsProtos.CheckpointCommandProto.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.CheckpointCommandProto.Builder>
IOException
public boolean hasSignature()
required .hadoop.hdfs.CheckpointSignatureProto signature = 1;
Unique signature to identify checkpoint transation
hasSignature
in interface HdfsProtos.CheckpointCommandProtoOrBuilder
public HdfsProtos.CheckpointSignatureProto getSignature()
required .hadoop.hdfs.CheckpointSignatureProto signature = 1;
Unique signature to identify checkpoint transation
getSignature
in interface HdfsProtos.CheckpointCommandProtoOrBuilder
public HdfsProtos.CheckpointCommandProto.Builder setSignature(HdfsProtos.CheckpointSignatureProto value)
required .hadoop.hdfs.CheckpointSignatureProto signature = 1;
Unique signature to identify checkpoint transation
public HdfsProtos.CheckpointCommandProto.Builder setSignature(HdfsProtos.CheckpointSignatureProto.Builder builderForValue)
required .hadoop.hdfs.CheckpointSignatureProto signature = 1;
Unique signature to identify checkpoint transation
public HdfsProtos.CheckpointCommandProto.Builder mergeSignature(HdfsProtos.CheckpointSignatureProto value)
required .hadoop.hdfs.CheckpointSignatureProto signature = 1;
Unique signature to identify checkpoint transation
public HdfsProtos.CheckpointCommandProto.Builder clearSignature()
required .hadoop.hdfs.CheckpointSignatureProto signature = 1;
Unique signature to identify checkpoint transation
public HdfsProtos.CheckpointSignatureProto.Builder getSignatureBuilder()
required .hadoop.hdfs.CheckpointSignatureProto signature = 1;
Unique signature to identify checkpoint transation
public HdfsProtos.CheckpointSignatureProtoOrBuilder getSignatureOrBuilder()
required .hadoop.hdfs.CheckpointSignatureProto signature = 1;
Unique signature to identify checkpoint transation
getSignatureOrBuilder
in interface HdfsProtos.CheckpointCommandProtoOrBuilder
public boolean hasNeedToReturnImage()
required bool needToReturnImage = 2;
If true, return transfer image to primary upon the completion of checkpoint
hasNeedToReturnImage
in interface HdfsProtos.CheckpointCommandProtoOrBuilder
public boolean getNeedToReturnImage()
required bool needToReturnImage = 2;
If true, return transfer image to primary upon the completion of checkpoint
getNeedToReturnImage
in interface HdfsProtos.CheckpointCommandProtoOrBuilder
public HdfsProtos.CheckpointCommandProto.Builder setNeedToReturnImage(boolean value)
required bool needToReturnImage = 2;
If true, return transfer image to primary upon the completion of checkpoint
public HdfsProtos.CheckpointCommandProto.Builder clearNeedToReturnImage()
required bool needToReturnImage = 2;
If true, return transfer image to primary upon the completion of checkpoint
Copyright © 2013 Apache Software Foundation. All rights reserved.