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, 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<JournalProtocolProtos.FenceRequestProto.Builder>
public JournalProtocolProtos.FenceRequestProto.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<JournalProtocolProtos.FenceRequestProto.Builder>
public JournalProtocolProtos.FenceRequestProto.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<JournalProtocolProtos.FenceRequestProto.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<JournalProtocolProtos.FenceRequestProto.Builder>
public JournalProtocolProtos.FenceRequestProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public JournalProtocolProtos.FenceRequestProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public JournalProtocolProtos.FenceRequestProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public JournalProtocolProtos.FenceRequestProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<JournalProtocolProtos.FenceRequestProto.Builder>
IOException
public boolean hasJournalInfo()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;
Info about the journal
hasJournalInfo
in interface JournalProtocolProtos.FenceRequestProtoOrBuilder
public JournalProtocolProtos.JournalInfoProto getJournalInfo()
required .hadoop.hdfs.JournalInfoProto journalInfo = 1;
Info about the journal
getJournalInfo
in interface JournalProtocolProtos.FenceRequestProtoOrBuilder
public 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.FenceRequestProtoOrBuilder
public boolean hasEpoch()
required uint64 epoch = 2;
Epoch - change indicates change in writer
hasEpoch
in interface JournalProtocolProtos.FenceRequestProtoOrBuilder
public long getEpoch()
required uint64 epoch = 2;
Epoch - change indicates change in writer
getEpoch
in interface JournalProtocolProtos.FenceRequestProtoOrBuilder
public 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.FenceRequestProtoOrBuilder
public String getFencerInfo()
optional string fencerInfo = 3;
Info about fencer for debugging
getFencerInfo
in interface JournalProtocolProtos.FenceRequestProtoOrBuilder
public com.google.protobuf.ByteString getFencerInfoBytes()
optional string fencerInfo = 3;
Info about fencer for debugging
getFencerInfoBytes
in interface JournalProtocolProtos.FenceRequestProtoOrBuilder
public 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.