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, 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.FenceResponseProto.Builder>
public JournalProtocolProtos.FenceResponseProto.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.FenceResponseProto.Builder>
public JournalProtocolProtos.FenceResponseProto.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.FenceResponseProto.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.FenceResponseProto.Builder>
public JournalProtocolProtos.FenceResponseProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public JournalProtocolProtos.FenceResponseProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public JournalProtocolProtos.FenceResponseProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public JournalProtocolProtos.FenceResponseProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<JournalProtocolProtos.FenceResponseProto.Builder>
IOException
public boolean hasPreviousEpoch()
optional uint64 previousEpoch = 1;
hasPreviousEpoch
in interface JournalProtocolProtos.FenceResponseProtoOrBuilder
public long getPreviousEpoch()
optional uint64 previousEpoch = 1;
getPreviousEpoch
in interface JournalProtocolProtos.FenceResponseProtoOrBuilder
public 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.FenceResponseProtoOrBuilder
public long getLastTransactionId()
optional uint64 lastTransactionId = 2;
getLastTransactionId
in interface JournalProtocolProtos.FenceResponseProtoOrBuilder
public 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.FenceResponseProtoOrBuilder
public boolean getInSync()
optional bool inSync = 3;
getInSync
in interface JournalProtocolProtos.FenceResponseProtoOrBuilder
public 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.