Class QJournalProtocolProtos.FormatRequestProto.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.FormatRequestProto.Builder>
org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.FormatRequestProto.Builder
- All Implemented Interfaces:
Cloneable,QJournalProtocolProtos.FormatRequestProtoOrBuilder,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.FormatRequestProto
public static final class QJournalProtocolProtos.FormatRequestProto.Builder
extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.FormatRequestProto.Builder>
implements QJournalProtocolProtos.FormatRequestProtoOrBuilder
format()Protobuf type
hadoop.hdfs.qjournal.FormatRequestProto-
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) optional bool force = 4 [default = false];clearJid()required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;optional string nameServiceId = 3;required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) clone()static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptororg.apache.hadoop.thirdparty.protobuf.Descriptors.DescriptorbooleangetForce()optional bool force = 4 [default = false];getJid()required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;optional string nameServiceId = 3;org.apache.hadoop.thirdparty.protobuf.ByteStringoptional string nameServiceId = 3;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProtorequired .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProto.Builderrequired .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProtoOrBuilderrequired .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;booleanhasForce()optional bool force = 4 [default = false];booleanhasJid()required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;booleanoptional string nameServiceId = 3;booleanrequired .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;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 jid = 1;mergeNsInfo(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProto value) required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) setForce(boolean value) optional bool force = 4 [default = false];required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;setJid(QJournalProtocolProtos.JournalIdProto.Builder builderForValue) required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;setNameServiceId(String value) optional string nameServiceId = 3;setNameServiceIdBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value) optional string nameServiceId = 3;setNsInfo(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProto value) required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;setNsInfo(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProto.Builder builderForValue) required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;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.FormatRequestProto.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.FormatRequestProto.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.FormatRequestProto.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.FormatRequestProto.Builder>
-
setField
public QJournalProtocolProtos.FormatRequestProto.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.FormatRequestProto.Builder>
-
clearField
public QJournalProtocolProtos.FormatRequestProto.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.FormatRequestProto.Builder>
-
clearOneof
public QJournalProtocolProtos.FormatRequestProto.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.FormatRequestProto.Builder>
-
setRepeatedField
public QJournalProtocolProtos.FormatRequestProto.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.FormatRequestProto.Builder>
-
addRepeatedField
public QJournalProtocolProtos.FormatRequestProto.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.FormatRequestProto.Builder>
-
mergeFrom
public QJournalProtocolProtos.FormatRequestProto.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.FormatRequestProto.Builder>
-
mergeFrom
public QJournalProtocolProtos.FormatRequestProto.Builder mergeFrom(QJournalProtocolProtos.FormatRequestProto 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.FormatRequestProto.Builder>
-
mergeFrom
public QJournalProtocolProtos.FormatRequestProto.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.FormatRequestProto.Builder>- Throws:
IOException
-
hasJid
public boolean hasJid()required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;- Specified by:
hasJidin interfaceQJournalProtocolProtos.FormatRequestProtoOrBuilder- Returns:
- Whether the jid field is set.
-
getJid
required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;- Specified by:
getJidin interfaceQJournalProtocolProtos.FormatRequestProtoOrBuilder- Returns:
- The jid.
-
setJid
public QJournalProtocolProtos.FormatRequestProto.Builder setJid(QJournalProtocolProtos.JournalIdProto value) required .hadoop.hdfs.qjournal.JournalIdProto jid = 1; -
setJid
public QJournalProtocolProtos.FormatRequestProto.Builder setJid(QJournalProtocolProtos.JournalIdProto.Builder builderForValue) required .hadoop.hdfs.qjournal.JournalIdProto jid = 1; -
mergeJid
public QJournalProtocolProtos.FormatRequestProto.Builder mergeJid(QJournalProtocolProtos.JournalIdProto value) required .hadoop.hdfs.qjournal.JournalIdProto jid = 1; -
clearJid
required .hadoop.hdfs.qjournal.JournalIdProto jid = 1; -
getJidBuilder
required .hadoop.hdfs.qjournal.JournalIdProto jid = 1; -
getJidOrBuilder
required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;- Specified by:
getJidOrBuilderin interfaceQJournalProtocolProtos.FormatRequestProtoOrBuilder
-
hasNsInfo
public boolean hasNsInfo()required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;- Specified by:
hasNsInfoin interfaceQJournalProtocolProtos.FormatRequestProtoOrBuilder- Returns:
- Whether the nsInfo field is set.
-
getNsInfo
public org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProto getNsInfo()required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;- Specified by:
getNsInfoin interfaceQJournalProtocolProtos.FormatRequestProtoOrBuilder- Returns:
- The nsInfo.
-
setNsInfo
public QJournalProtocolProtos.FormatRequestProto.Builder setNsInfo(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProto value) required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2; -
setNsInfo
public QJournalProtocolProtos.FormatRequestProto.Builder setNsInfo(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProto.Builder builderForValue) required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2; -
mergeNsInfo
public QJournalProtocolProtos.FormatRequestProto.Builder mergeNsInfo(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProto value) required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2; -
clearNsInfo
required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2; -
getNsInfoBuilder
public org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProto.Builder getNsInfoBuilder()required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2; -
getNsInfoOrBuilder
public org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProtoOrBuilder getNsInfoOrBuilder()required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;- Specified by:
getNsInfoOrBuilderin interfaceQJournalProtocolProtos.FormatRequestProtoOrBuilder
-
hasNameServiceId
public boolean hasNameServiceId()optional string nameServiceId = 3;- Specified by:
hasNameServiceIdin interfaceQJournalProtocolProtos.FormatRequestProtoOrBuilder- Returns:
- Whether the nameServiceId field is set.
-
getNameServiceId
optional string nameServiceId = 3;- Specified by:
getNameServiceIdin interfaceQJournalProtocolProtos.FormatRequestProtoOrBuilder- Returns:
- The nameServiceId.
-
getNameServiceIdBytes
public org.apache.hadoop.thirdparty.protobuf.ByteString getNameServiceIdBytes()optional string nameServiceId = 3;- Specified by:
getNameServiceIdBytesin interfaceQJournalProtocolProtos.FormatRequestProtoOrBuilder- Returns:
- The bytes for nameServiceId.
-
setNameServiceId
optional string nameServiceId = 3;- Parameters:
value- The nameServiceId to set.- Returns:
- This builder for chaining.
-
clearNameServiceId
optional string nameServiceId = 3;- Returns:
- This builder for chaining.
-
setNameServiceIdBytes
public QJournalProtocolProtos.FormatRequestProto.Builder setNameServiceIdBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value) optional string nameServiceId = 3;- Parameters:
value- The bytes for nameServiceId to set.- Returns:
- This builder for chaining.
-
hasForce
public boolean hasForce()optional bool force = 4 [default = false];- Specified by:
hasForcein interfaceQJournalProtocolProtos.FormatRequestProtoOrBuilder- Returns:
- Whether the force field is set.
-
getForce
public boolean getForce()optional bool force = 4 [default = false];- Specified by:
getForcein interfaceQJournalProtocolProtos.FormatRequestProtoOrBuilder- Returns:
- The force.
-
setForce
optional bool force = 4 [default = false];- Parameters:
value- The force to set.- Returns:
- This builder for chaining.
-
clearForce
optional bool force = 4 [default = false];- Returns:
- This builder for chaining.
-
setUnknownFields
public final QJournalProtocolProtos.FormatRequestProto.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.FormatRequestProto.Builder>
-
mergeUnknownFields
public final QJournalProtocolProtos.FormatRequestProto.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.FormatRequestProto.Builder>
-