public static final class QJournalProtocolProtos.RequestInfoProto.Builder extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder> implements QJournalProtocolProtos.RequestInfoProtoOrBuilder
hadoop.hdfs.qjournal.RequestInfoProto
Modifier and Type | Method and Description |
---|---|
QJournalProtocolProtos.RequestInfoProto.Builder |
addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QJournalProtocolProtos.RequestInfoProto |
build() |
QJournalProtocolProtos.RequestInfoProto |
buildPartial() |
QJournalProtocolProtos.RequestInfoProto.Builder |
clear() |
QJournalProtocolProtos.RequestInfoProto.Builder |
clearCommittedTxId()
Whenever a writer makes a request, it informs
the node of the latest committed txid.
|
QJournalProtocolProtos.RequestInfoProto.Builder |
clearEpoch()
required uint64 epoch = 2; |
QJournalProtocolProtos.RequestInfoProto.Builder |
clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) |
QJournalProtocolProtos.RequestInfoProto.Builder |
clearIpcSerialNumber()
required uint64 ipcSerialNumber = 3; |
QJournalProtocolProtos.RequestInfoProto.Builder |
clearJournalId()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; |
QJournalProtocolProtos.RequestInfoProto.Builder |
clearNameServiceId()
optional string nameServiceId = 5; |
QJournalProtocolProtos.RequestInfoProto.Builder |
clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) |
QJournalProtocolProtos.RequestInfoProto.Builder |
clone() |
long |
getCommittedTxId()
Whenever a writer makes a request, it informs
the node of the latest committed txid.
|
QJournalProtocolProtos.RequestInfoProto |
getDefaultInstanceForType() |
static org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getEpoch()
required uint64 epoch = 2; |
long |
getIpcSerialNumber()
required uint64 ipcSerialNumber = 3; |
QJournalProtocolProtos.JournalIdProto |
getJournalId()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; |
QJournalProtocolProtos.JournalIdProto.Builder |
getJournalIdBuilder()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; |
QJournalProtocolProtos.JournalIdProtoOrBuilder |
getJournalIdOrBuilder()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; |
String |
getNameServiceId()
optional string nameServiceId = 5; |
org.apache.hadoop.thirdparty.protobuf.ByteString |
getNameServiceIdBytes()
optional string nameServiceId = 5; |
boolean |
hasCommittedTxId()
Whenever a writer makes a request, it informs
the node of the latest committed txid.
|
boolean |
hasEpoch()
required uint64 epoch = 2; |
boolean |
hasIpcSerialNumber()
required uint64 ipcSerialNumber = 3; |
boolean |
hasJournalId()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; |
boolean |
hasNameServiceId()
optional string nameServiceId = 5; |
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
QJournalProtocolProtos.RequestInfoProto.Builder |
mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
QJournalProtocolProtos.RequestInfoProto.Builder |
mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other) |
QJournalProtocolProtos.RequestInfoProto.Builder |
mergeFrom(QJournalProtocolProtos.RequestInfoProto other) |
QJournalProtocolProtos.RequestInfoProto.Builder |
mergeJournalId(QJournalProtocolProtos.JournalIdProto value)
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; |
QJournalProtocolProtos.RequestInfoProto.Builder |
mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) |
QJournalProtocolProtos.RequestInfoProto.Builder |
setCommittedTxId(long value)
Whenever a writer makes a request, it informs
the node of the latest committed txid.
|
QJournalProtocolProtos.RequestInfoProto.Builder |
setEpoch(long value)
required uint64 epoch = 2; |
QJournalProtocolProtos.RequestInfoProto.Builder |
setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QJournalProtocolProtos.RequestInfoProto.Builder |
setIpcSerialNumber(long value)
required uint64 ipcSerialNumber = 3; |
QJournalProtocolProtos.RequestInfoProto.Builder |
setJournalId(QJournalProtocolProtos.JournalIdProto.Builder builderForValue)
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; |
QJournalProtocolProtos.RequestInfoProto.Builder |
setJournalId(QJournalProtocolProtos.JournalIdProto value)
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; |
QJournalProtocolProtos.RequestInfoProto.Builder |
setNameServiceId(String value)
optional string nameServiceId = 5; |
QJournalProtocolProtos.RequestInfoProto.Builder |
setNameServiceIdBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value)
optional string nameServiceId = 5; |
QJournalProtocolProtos.RequestInfoProto.Builder |
setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
QJournalProtocolProtos.RequestInfoProto.Builder |
setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor()
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto.Builder clear()
clear
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
clear
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
clear
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
public org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
getDescriptorForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
getDescriptorForType
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
public QJournalProtocolProtos.RequestInfoProto build()
build
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
build
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
public QJournalProtocolProtos.RequestInfoProto buildPartial()
buildPartial
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
buildPartial
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
public QJournalProtocolProtos.RequestInfoProto.Builder clone()
clone
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
clone
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
clone
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto.Builder setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
setField
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto.Builder clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
clearField
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto.Builder clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
clearOneof
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto.Builder setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
setRepeatedField
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto.Builder addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
addRepeatedField
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other)
mergeFrom
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
mergeFrom
in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto.Builder mergeFrom(QJournalProtocolProtos.RequestInfoProto other)
public final boolean isInitialized()
isInitialized
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
isInitialized
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
public QJournalProtocolProtos.RequestInfoProto.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
mergeFrom
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
mergeFrom
in class org.apache.hadoop.thirdparty.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;
value
- The epoch to set.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;
value
- The ipcSerialNumber to set.public QJournalProtocolProtos.RequestInfoProto.Builder clearIpcSerialNumber()
required uint64 ipcSerialNumber = 3;
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;
hasCommittedTxId
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
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;
getCommittedTxId
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public QJournalProtocolProtos.RequestInfoProto.Builder setCommittedTxId(long value)
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;
value
- The committedTxId to set.public QJournalProtocolProtos.RequestInfoProto.Builder 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;
public boolean hasNameServiceId()
optional string nameServiceId = 5;
hasNameServiceId
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public String getNameServiceId()
optional string nameServiceId = 5;
getNameServiceId
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public org.apache.hadoop.thirdparty.protobuf.ByteString getNameServiceIdBytes()
optional string nameServiceId = 5;
getNameServiceIdBytes
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public QJournalProtocolProtos.RequestInfoProto.Builder setNameServiceId(String value)
optional string nameServiceId = 5;
value
- The nameServiceId to set.public QJournalProtocolProtos.RequestInfoProto.Builder clearNameServiceId()
optional string nameServiceId = 5;
public QJournalProtocolProtos.RequestInfoProto.Builder setNameServiceIdBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value)
optional string nameServiceId = 5;
value
- The bytes for nameServiceId to set.public final QJournalProtocolProtos.RequestInfoProto.Builder setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
setUnknownFields
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
public final QJournalProtocolProtos.RequestInfoProto.Builder mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
mergeUnknownFields
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.RequestInfoProto.Builder>
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.