public static final class JournalProtocolProtos.FenceResponseProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<JournalProtocolProtos.FenceResponseProto.Builder> implements JournalProtocolProtos.FenceResponseProtoOrBuilder
hadoop.hdfs.FenceResponseProto
previousEpoch - previous epoch if any or zero lastTransactionId - last valid transaction Id in the journal inSync - if all journal segments are available and in sync
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.FenceResponseProto.Builder>public JournalProtocolProtos.FenceResponseProto.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.FenceResponseProto.Builder>public JournalProtocolProtos.FenceResponseProto.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.FenceResponseProto.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.FenceResponseProto.Builder>public JournalProtocolProtos.FenceResponseProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic JournalProtocolProtos.FenceResponseProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic JournalProtocolProtos.FenceResponseProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic JournalProtocolProtos.FenceResponseProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<JournalProtocolProtos.FenceResponseProto.Builder>public JournalProtocolProtos.FenceResponseProto.Builder mergeFrom(JournalProtocolProtos.FenceResponseProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<JournalProtocolProtos.FenceResponseProto.Builder>public JournalProtocolProtos.FenceResponseProto.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.FenceResponseProto.Builder>IOExceptionpublic boolean hasPreviousEpoch()
optional uint64 previousEpoch = 1;hasPreviousEpoch in interface JournalProtocolProtos.FenceResponseProtoOrBuilderpublic long getPreviousEpoch()
optional uint64 previousEpoch = 1;getPreviousEpoch in interface JournalProtocolProtos.FenceResponseProtoOrBuilderpublic JournalProtocolProtos.FenceResponseProto.Builder setPreviousEpoch(long value)
optional uint64 previousEpoch = 1;public JournalProtocolProtos.FenceResponseProto.Builder clearPreviousEpoch()
optional uint64 previousEpoch = 1;public boolean hasLastTransactionId()
optional uint64 lastTransactionId = 2;hasLastTransactionId in interface JournalProtocolProtos.FenceResponseProtoOrBuilderpublic long getLastTransactionId()
optional uint64 lastTransactionId = 2;getLastTransactionId in interface JournalProtocolProtos.FenceResponseProtoOrBuilderpublic JournalProtocolProtos.FenceResponseProto.Builder setLastTransactionId(long value)
optional uint64 lastTransactionId = 2;public JournalProtocolProtos.FenceResponseProto.Builder clearLastTransactionId()
optional uint64 lastTransactionId = 2;public boolean hasInSync()
optional bool inSync = 3;hasInSync in interface JournalProtocolProtos.FenceResponseProtoOrBuilderpublic boolean getInSync()
optional bool inSync = 3;getInSync in interface JournalProtocolProtos.FenceResponseProtoOrBuilderpublic JournalProtocolProtos.FenceResponseProto.Builder setInSync(boolean value)
optional bool inSync = 3;public JournalProtocolProtos.FenceResponseProto.Builder clearInSync()
optional bool inSync = 3;Copyright © 2013 Apache Software Foundation. All rights reserved.