Class QJournalProtocolProtos.JournalRequestProto.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.JournalRequestProto.Builder>
org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.JournalRequestProto.Builder
- All Implemented Interfaces:
Cloneable,QJournalProtocolProtos.JournalRequestProtoOrBuilder,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.JournalRequestProto
public static final class QJournalProtocolProtos.JournalRequestProto.Builder
extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.JournalRequestProto.Builder>
implements QJournalProtocolProtos.JournalRequestProtoOrBuilder
Protobuf type
hadoop.hdfs.qjournal.JournalRequestProto-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) required uint64 firstTxnId = 2;optional string nameServiceId = 6;required uint32 numTxns = 3;clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) required bytes records = 4;required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;required uint64 segmentTxnId = 5;clone()static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptororg.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptorlongrequired uint64 firstTxnId = 2;optional string nameServiceId = 6;org.apache.hadoop.thirdparty.protobuf.ByteStringoptional string nameServiceId = 6;intrequired uint32 numTxns = 3;org.apache.hadoop.thirdparty.protobuf.ByteStringrequired bytes records = 4;required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;longrequired uint64 segmentTxnId = 5;booleanrequired uint64 firstTxnId = 2;booleanoptional string nameServiceId = 6;booleanrequired uint32 numTxns = 3;booleanrequired bytes records = 4;booleanrequired .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;booleanrequired uint64 segmentTxnId = 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.RequestInfoProto reqInfo = 1;mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) setFirstTxnId(long value) required uint64 firstTxnId = 2;setNameServiceId(String value) optional string nameServiceId = 6;setNameServiceIdBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value) optional string nameServiceId = 6;setNumTxns(int value) required uint32 numTxns = 3;setRecords(org.apache.hadoop.thirdparty.protobuf.ByteString value) required bytes records = 4;setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value) required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;setReqInfo(QJournalProtocolProtos.RequestInfoProto.Builder builderForValue) required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;setSegmentTxnId(long value) required uint64 segmentTxnId = 5;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.JournalRequestProto.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.JournalRequestProto.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.JournalRequestProto.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.JournalRequestProto.Builder>
-
setField
public QJournalProtocolProtos.JournalRequestProto.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.JournalRequestProto.Builder>
-
clearField
public QJournalProtocolProtos.JournalRequestProto.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.JournalRequestProto.Builder>
-
clearOneof
public QJournalProtocolProtos.JournalRequestProto.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.JournalRequestProto.Builder>
-
setRepeatedField
public QJournalProtocolProtos.JournalRequestProto.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.JournalRequestProto.Builder>
-
addRepeatedField
public QJournalProtocolProtos.JournalRequestProto.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.JournalRequestProto.Builder>
-
mergeFrom
public QJournalProtocolProtos.JournalRequestProto.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.JournalRequestProto.Builder>
-
mergeFrom
public QJournalProtocolProtos.JournalRequestProto.Builder mergeFrom(QJournalProtocolProtos.JournalRequestProto 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.JournalRequestProto.Builder>
-
mergeFrom
public QJournalProtocolProtos.JournalRequestProto.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.JournalRequestProto.Builder>- Throws:
IOException
-
hasReqInfo
public boolean hasReqInfo()required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;- Specified by:
hasReqInfoin interfaceQJournalProtocolProtos.JournalRequestProtoOrBuilder- Returns:
- Whether the reqInfo field is set.
-
getReqInfo
required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;- Specified by:
getReqInfoin interfaceQJournalProtocolProtos.JournalRequestProtoOrBuilder- Returns:
- The reqInfo.
-
setReqInfo
public QJournalProtocolProtos.JournalRequestProto.Builder setReqInfo(QJournalProtocolProtos.RequestInfoProto value) required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1; -
setReqInfo
public QJournalProtocolProtos.JournalRequestProto.Builder setReqInfo(QJournalProtocolProtos.RequestInfoProto.Builder builderForValue) required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1; -
mergeReqInfo
public QJournalProtocolProtos.JournalRequestProto.Builder mergeReqInfo(QJournalProtocolProtos.RequestInfoProto value) required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1; -
clearReqInfo
required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1; -
getReqInfoBuilder
required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1; -
getReqInfoOrBuilder
required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;- Specified by:
getReqInfoOrBuilderin interfaceQJournalProtocolProtos.JournalRequestProtoOrBuilder
-
hasFirstTxnId
public boolean hasFirstTxnId()required uint64 firstTxnId = 2;- Specified by:
hasFirstTxnIdin interfaceQJournalProtocolProtos.JournalRequestProtoOrBuilder- Returns:
- Whether the firstTxnId field is set.
-
getFirstTxnId
public long getFirstTxnId()required uint64 firstTxnId = 2;- Specified by:
getFirstTxnIdin interfaceQJournalProtocolProtos.JournalRequestProtoOrBuilder- Returns:
- The firstTxnId.
-
setFirstTxnId
required uint64 firstTxnId = 2;- Parameters:
value- The firstTxnId to set.- Returns:
- This builder for chaining.
-
clearFirstTxnId
required uint64 firstTxnId = 2;- Returns:
- This builder for chaining.
-
hasNumTxns
public boolean hasNumTxns()required uint32 numTxns = 3;- Specified by:
hasNumTxnsin interfaceQJournalProtocolProtos.JournalRequestProtoOrBuilder- Returns:
- Whether the numTxns field is set.
-
getNumTxns
public int getNumTxns()required uint32 numTxns = 3;- Specified by:
getNumTxnsin interfaceQJournalProtocolProtos.JournalRequestProtoOrBuilder- Returns:
- The numTxns.
-
setNumTxns
required uint32 numTxns = 3;- Parameters:
value- The numTxns to set.- Returns:
- This builder for chaining.
-
clearNumTxns
required uint32 numTxns = 3;- Returns:
- This builder for chaining.
-
hasRecords
public boolean hasRecords()required bytes records = 4;- Specified by:
hasRecordsin interfaceQJournalProtocolProtos.JournalRequestProtoOrBuilder- Returns:
- Whether the records field is set.
-
getRecords
public org.apache.hadoop.thirdparty.protobuf.ByteString getRecords()required bytes records = 4;- Specified by:
getRecordsin interfaceQJournalProtocolProtos.JournalRequestProtoOrBuilder- Returns:
- The records.
-
setRecords
public QJournalProtocolProtos.JournalRequestProto.Builder setRecords(org.apache.hadoop.thirdparty.protobuf.ByteString value) required bytes records = 4;- Parameters:
value- The records to set.- Returns:
- This builder for chaining.
-
clearRecords
required bytes records = 4;- Returns:
- This builder for chaining.
-
hasSegmentTxnId
public boolean hasSegmentTxnId()required uint64 segmentTxnId = 5;- Specified by:
hasSegmentTxnIdin interfaceQJournalProtocolProtos.JournalRequestProtoOrBuilder- Returns:
- Whether the segmentTxnId field is set.
-
getSegmentTxnId
public long getSegmentTxnId()required uint64 segmentTxnId = 5;- Specified by:
getSegmentTxnIdin interfaceQJournalProtocolProtos.JournalRequestProtoOrBuilder- Returns:
- The segmentTxnId.
-
setSegmentTxnId
required uint64 segmentTxnId = 5;- Parameters:
value- The segmentTxnId to set.- Returns:
- This builder for chaining.
-
clearSegmentTxnId
required uint64 segmentTxnId = 5;- Returns:
- This builder for chaining.
-
hasNameServiceId
public boolean hasNameServiceId()optional string nameServiceId = 6;- Specified by:
hasNameServiceIdin interfaceQJournalProtocolProtos.JournalRequestProtoOrBuilder- Returns:
- Whether the nameServiceId field is set.
-
getNameServiceId
optional string nameServiceId = 6;- Specified by:
getNameServiceIdin interfaceQJournalProtocolProtos.JournalRequestProtoOrBuilder- Returns:
- The nameServiceId.
-
getNameServiceIdBytes
public org.apache.hadoop.thirdparty.protobuf.ByteString getNameServiceIdBytes()optional string nameServiceId = 6;- Specified by:
getNameServiceIdBytesin interfaceQJournalProtocolProtos.JournalRequestProtoOrBuilder- Returns:
- The bytes for nameServiceId.
-
setNameServiceId
optional string nameServiceId = 6;- Parameters:
value- The nameServiceId to set.- Returns:
- This builder for chaining.
-
clearNameServiceId
optional string nameServiceId = 6;- Returns:
- This builder for chaining.
-
setNameServiceIdBytes
public QJournalProtocolProtos.JournalRequestProto.Builder setNameServiceIdBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value) optional string nameServiceId = 6;- Parameters:
value- The bytes for nameServiceId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final QJournalProtocolProtos.JournalRequestProto.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.JournalRequestProto.Builder>
-
mergeUnknownFields
public final QJournalProtocolProtos.JournalRequestProto.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.JournalRequestProto.Builder>
-