public static final class JournalProtocolProtos.FenceRequestProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<JournalProtocolProtos.FenceRequestProto.Builder> implements JournalProtocolProtos.FenceRequestProtoOrBuilder
hadoop.hdfs.FenceRequestProto
journalInfo - the information about the journal txid - first txid in the new log
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<JournalProtocolProtos.FenceRequestProto.Builder>public JournalProtocolProtos.FenceRequestProto.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<JournalProtocolProtos.FenceRequestProto.Builder>public JournalProtocolProtos.FenceRequestProto.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<JournalProtocolProtos.FenceRequestProto.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<JournalProtocolProtos.FenceRequestProto.Builder>public JournalProtocolProtos.FenceRequestProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic JournalProtocolProtos.FenceRequestProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic JournalProtocolProtos.FenceRequestProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic JournalProtocolProtos.FenceRequestProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<JournalProtocolProtos.FenceRequestProto.Builder>public JournalProtocolProtos.FenceRequestProto.Builder mergeFrom(JournalProtocolProtos.FenceRequestProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<JournalProtocolProtos.FenceRequestProto.Builder>public JournalProtocolProtos.FenceRequestProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<JournalProtocolProtos.FenceRequestProto.Builder>IOExceptionpublic boolean hasJournalInfo()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;
Info about the journal
hasJournalInfo in interface JournalProtocolProtos.FenceRequestProtoOrBuilderpublic JournalProtocolProtos.JournalInfoProto getJournalInfo()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;
Info about the journal
getJournalInfo in interface JournalProtocolProtos.FenceRequestProtoOrBuilderpublic JournalProtocolProtos.FenceRequestProto.Builder setJournalInfo(JournalProtocolProtos.JournalInfoProto value)
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;
Info about the journal
public JournalProtocolProtos.FenceRequestProto.Builder setJournalInfo(JournalProtocolProtos.JournalInfoProto.Builder builderForValue)
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;
Info about the journal
public JournalProtocolProtos.FenceRequestProto.Builder mergeJournalInfo(JournalProtocolProtos.JournalInfoProto value)
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;
Info about the journal
public JournalProtocolProtos.FenceRequestProto.Builder clearJournalInfo()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;
Info about the journal
public JournalProtocolProtos.JournalInfoProto.Builder getJournalInfoBuilder()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;
Info about the journal
public JournalProtocolProtos.JournalInfoProtoOrBuilder getJournalInfoOrBuilder()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;
Info about the journal
getJournalInfoOrBuilder in interface JournalProtocolProtos.FenceRequestProtoOrBuilderpublic boolean hasEpoch()
required uint64 epoch = 2;
Epoch - change indicates change in writer
hasEpoch in interface JournalProtocolProtos.FenceRequestProtoOrBuilderpublic long getEpoch()
required uint64 epoch = 2;
Epoch - change indicates change in writer
getEpoch in interface JournalProtocolProtos.FenceRequestProtoOrBuilderpublic JournalProtocolProtos.FenceRequestProto.Builder setEpoch(long value)
required uint64 epoch = 2;
Epoch - change indicates change in writer
public JournalProtocolProtos.FenceRequestProto.Builder clearEpoch()
required uint64 epoch = 2;
Epoch - change indicates change in writer
public boolean hasFencerInfo()
optional string fencerInfo = 3;
Info about fencer for debugging
hasFencerInfo in interface JournalProtocolProtos.FenceRequestProtoOrBuilderpublic String getFencerInfo()
optional string fencerInfo = 3;
Info about fencer for debugging
getFencerInfo in interface JournalProtocolProtos.FenceRequestProtoOrBuilderpublic com.google.protobuf.ByteString getFencerInfoBytes()
optional string fencerInfo = 3;
Info about fencer for debugging
getFencerInfoBytes in interface JournalProtocolProtos.FenceRequestProtoOrBuilderpublic JournalProtocolProtos.FenceRequestProto.Builder setFencerInfo(String value)
optional string fencerInfo = 3;
Info about fencer for debugging
public JournalProtocolProtos.FenceRequestProto.Builder clearFencerInfo()
optional string fencerInfo = 3;
Info about fencer for debugging
public JournalProtocolProtos.FenceRequestProto.Builder setFencerInfoBytes(com.google.protobuf.ByteString value)
optional string fencerInfo = 3;
Info about fencer for debugging
Copyright © 2013 Apache Software Foundation. All rights reserved.