public static final class QJournalProtocolProtos.RequestInfoProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.RequestInfoProto.Builder> implements QJournalProtocolProtos.RequestInfoProtoOrBuilder
hadoop.hdfs.qjournal.RequestInfoProto
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<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto.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<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto.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<QJournalProtocolProtos.RequestInfoProto.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<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public QJournalProtocolProtos.RequestInfoProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public QJournalProtocolProtos.RequestInfoProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public QJournalProtocolProtos.RequestInfoProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto.Builder mergeFrom(QJournalProtocolProtos.RequestInfoProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto.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<QJournalProtocolProtos.RequestInfoProto.Builder>
IOException
public boolean hasJournalId()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
hasJournalId
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public QJournalProtocolProtos.JournalIdProto getJournalId()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
getJournalId
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public QJournalProtocolProtos.RequestInfoProto.Builder setJournalId(QJournalProtocolProtos.JournalIdProto value)
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
public QJournalProtocolProtos.RequestInfoProto.Builder setJournalId(QJournalProtocolProtos.JournalIdProto.Builder builderForValue)
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
public QJournalProtocolProtos.RequestInfoProto.Builder mergeJournalId(QJournalProtocolProtos.JournalIdProto value)
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
public QJournalProtocolProtos.RequestInfoProto.Builder clearJournalId()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
public QJournalProtocolProtos.JournalIdProto.Builder getJournalIdBuilder()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
public QJournalProtocolProtos.JournalIdProtoOrBuilder getJournalIdOrBuilder()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
getJournalIdOrBuilder
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public boolean hasEpoch()
required uint64 epoch = 2;
hasEpoch
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public long getEpoch()
required uint64 epoch = 2;
getEpoch
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public QJournalProtocolProtos.RequestInfoProto.Builder setEpoch(long value)
required uint64 epoch = 2;
public QJournalProtocolProtos.RequestInfoProto.Builder clearEpoch()
required uint64 epoch = 2;
public boolean hasIpcSerialNumber()
required uint64 ipcSerialNumber = 3;
hasIpcSerialNumber
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public long getIpcSerialNumber()
required uint64 ipcSerialNumber = 3;
getIpcSerialNumber
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public QJournalProtocolProtos.RequestInfoProto.Builder setIpcSerialNumber(long value)
required uint64 ipcSerialNumber = 3;
public QJournalProtocolProtos.RequestInfoProto.Builder clearIpcSerialNumber()
required uint64 ipcSerialNumber = 3;
public boolean hasCommittedTxId()
optional uint64 committedTxId = 4;
Whenever a writer makes a request, it informs the node of the latest committed txid. This may be higher than the transaction data included in the request itself, eg in the case that the node has fallen behind.
hasCommittedTxId
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public long getCommittedTxId()
optional uint64 committedTxId = 4;
Whenever a writer makes a request, it informs the node of the latest committed txid. This may be higher than the transaction data included in the request itself, eg in the case that the node has fallen behind.
getCommittedTxId
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public QJournalProtocolProtos.RequestInfoProto.Builder setCommittedTxId(long value)
optional uint64 committedTxId = 4;
Whenever a writer makes a request, it informs the node of the latest committed txid. This may be higher than the transaction data included in the request itself, eg in the case that the node has fallen behind.
public QJournalProtocolProtos.RequestInfoProto.Builder clearCommittedTxId()
optional uint64 committedTxId = 4;
Whenever a writer makes a request, it informs the node of the latest committed txid. This may be higher than the transaction data included in the request itself, eg in the case that the node has fallen behind.
Copyright © 2017 Apache Software Foundation. All Rights Reserved.