Class QJournalProtocolProtos.RequestInfoProto.Builder
java.lang.Object
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite.Builder
org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<BuilderT>
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto.Builder
- All Implemented Interfaces:
Cloneable,QJournalProtocolProtos.RequestInfoProtoOrBuilder,org.apache.hadoop.thirdparty.protobuf.Message.Builder,org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder,org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- Enclosing class:
- QJournalProtocolProtos.RequestInfoProto
public static final class QJournalProtocolProtos.RequestInfoProto.Builder
extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
implements QJournalProtocolProtos.RequestInfoProtoOrBuilder
Protobuf type
hadoop.hdfs.qjournal.RequestInfoProto-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Whenever a writer makes a request, it informs the node of the latest committed txid.required uint64 epoch = 2;clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) required uint64 ipcSerialNumber = 3;required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;optional string nameServiceId = 5;clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) clone()longWhenever a writer makes a request, it informs the node of the latest committed txid.static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptororg.apache.hadoop.thirdparty.protobuf.Descriptors.DescriptorlonggetEpoch()required uint64 epoch = 2;longrequired uint64 ipcSerialNumber = 3;required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;optional string nameServiceId = 5;org.apache.hadoop.thirdparty.protobuf.ByteStringoptional string nameServiceId = 5;booleanWhenever a writer makes a request, it informs the node of the latest committed txid.booleanhasEpoch()required uint64 epoch = 2;booleanrequired uint64 ipcSerialNumber = 3;booleanrequired .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;booleanoptional string nameServiceId = 5;protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other) required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) setCommittedTxId(long value) Whenever a writer makes a request, it informs the node of the latest committed txid.setEpoch(long value) required uint64 epoch = 2;setIpcSerialNumber(long value) required uint64 ipcSerialNumber = 3;required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;setJournalId(QJournalProtocolProtos.JournalIdProto.Builder builderForValue) required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;setNameServiceId(String value) optional string nameServiceId = 5;setNameServiceIdBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value) optional string nameServiceId = 5;setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) Methods inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
-
clear
- Specified by:
clearin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
clearin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder- Overrides:
clearin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
-
getDescriptorForType
public org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
buildin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
clonein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder- Overrides:
clonein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
-
setField
public QJournalProtocolProtos.RequestInfoProto.Builder setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
setFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
-
clearField
public QJournalProtocolProtos.RequestInfoProto.Builder clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
clearFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
-
clearOneof
public QJournalProtocolProtos.RequestInfoProto.Builder clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
clearOneofin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
-
setRepeatedField
public QJournalProtocolProtos.RequestInfoProto.Builder setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
-
addRepeatedField
public QJournalProtocolProtos.RequestInfoProto.Builder addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
-
mergeFrom
public QJournalProtocolProtos.RequestInfoProto.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other) - Specified by:
mergeFromin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
mergeFromin classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
-
mergeFrom
public QJournalProtocolProtos.RequestInfoProto.Builder mergeFrom(QJournalProtocolProtos.RequestInfoProto other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
-
mergeFrom
public QJournalProtocolProtos.RequestInfoProto.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>- Throws:
IOException
-
hasJournalId
public boolean hasJournalId()required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;- Specified by:
hasJournalIdin interfaceQJournalProtocolProtos.RequestInfoProtoOrBuilder- Returns:
- Whether the journalId field is set.
-
getJournalId
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;- Specified by:
getJournalIdin interfaceQJournalProtocolProtos.RequestInfoProtoOrBuilder- Returns:
- The journalId.
-
setJournalId
public QJournalProtocolProtos.RequestInfoProto.Builder setJournalId(QJournalProtocolProtos.JournalIdProto value) required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; -
setJournalId
public QJournalProtocolProtos.RequestInfoProto.Builder setJournalId(QJournalProtocolProtos.JournalIdProto.Builder builderForValue) required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; -
mergeJournalId
public QJournalProtocolProtos.RequestInfoProto.Builder mergeJournalId(QJournalProtocolProtos.JournalIdProto value) required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; -
clearJournalId
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; -
getJournalIdBuilder
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; -
getJournalIdOrBuilder
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;- Specified by:
getJournalIdOrBuilderin interfaceQJournalProtocolProtos.RequestInfoProtoOrBuilder
-
hasEpoch
public boolean hasEpoch()required uint64 epoch = 2;- Specified by:
hasEpochin interfaceQJournalProtocolProtos.RequestInfoProtoOrBuilder- Returns:
- Whether the epoch field is set.
-
getEpoch
public long getEpoch()required uint64 epoch = 2;- Specified by:
getEpochin interfaceQJournalProtocolProtos.RequestInfoProtoOrBuilder- Returns:
- The epoch.
-
setEpoch
required uint64 epoch = 2;- Parameters:
value- The epoch to set.- Returns:
- This builder for chaining.
-
clearEpoch
required uint64 epoch = 2;- Returns:
- This builder for chaining.
-
hasIpcSerialNumber
public boolean hasIpcSerialNumber()required uint64 ipcSerialNumber = 3;- Specified by:
hasIpcSerialNumberin interfaceQJournalProtocolProtos.RequestInfoProtoOrBuilder- Returns:
- Whether the ipcSerialNumber field is set.
-
getIpcSerialNumber
public long getIpcSerialNumber()required uint64 ipcSerialNumber = 3;- Specified by:
getIpcSerialNumberin interfaceQJournalProtocolProtos.RequestInfoProtoOrBuilder- Returns:
- The ipcSerialNumber.
-
setIpcSerialNumber
required uint64 ipcSerialNumber = 3;- Parameters:
value- The ipcSerialNumber to set.- Returns:
- This builder for chaining.
-
clearIpcSerialNumber
required uint64 ipcSerialNumber = 3;- Returns:
- This builder for chaining.
-
hasCommittedTxId
public boolean hasCommittedTxId()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.
optional uint64 committedTxId = 4;- Specified by:
hasCommittedTxIdin interfaceQJournalProtocolProtos.RequestInfoProtoOrBuilder- Returns:
- Whether the committedTxId field is set.
-
getCommittedTxId
public long getCommittedTxId()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.
optional uint64 committedTxId = 4;- Specified by:
getCommittedTxIdin interfaceQJournalProtocolProtos.RequestInfoProtoOrBuilder- Returns:
- The committedTxId.
-
setCommittedTxId
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.
optional uint64 committedTxId = 4;- Parameters:
value- The committedTxId to set.- Returns:
- This builder for chaining.
-
clearCommittedTxId
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.
optional uint64 committedTxId = 4;- Returns:
- This builder for chaining.
-
hasNameServiceId
public boolean hasNameServiceId()optional string nameServiceId = 5;- Specified by:
hasNameServiceIdin interfaceQJournalProtocolProtos.RequestInfoProtoOrBuilder- Returns:
- Whether the nameServiceId field is set.
-
getNameServiceId
optional string nameServiceId = 5;- Specified by:
getNameServiceIdin interfaceQJournalProtocolProtos.RequestInfoProtoOrBuilder- Returns:
- The nameServiceId.
-
getNameServiceIdBytes
public org.apache.hadoop.thirdparty.protobuf.ByteString getNameServiceIdBytes()optional string nameServiceId = 5;- Specified by:
getNameServiceIdBytesin interfaceQJournalProtocolProtos.RequestInfoProtoOrBuilder- Returns:
- The bytes for nameServiceId.
-
setNameServiceId
optional string nameServiceId = 5;- Parameters:
value- The nameServiceId to set.- Returns:
- This builder for chaining.
-
clearNameServiceId
optional string nameServiceId = 5;- Returns:
- This builder for chaining.
-
setNameServiceIdBytes
public QJournalProtocolProtos.RequestInfoProto.Builder setNameServiceIdBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value) optional string nameServiceId = 5;- Parameters:
value- The bytes for nameServiceId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final QJournalProtocolProtos.RequestInfoProto.Builder setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
-
mergeUnknownFields
public final QJournalProtocolProtos.RequestInfoProto.Builder mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
-