Class QJournalProtocolProtos.CanRollBackRequestProto.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.CanRollBackRequestProto.Builder>
org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto.Builder
- All Implemented Interfaces:
Cloneable,QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder,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.CanRollBackRequestProto
public static final class QJournalProtocolProtos.CanRollBackRequestProto.Builder
extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.CanRollBackRequestProto.Builder>
implements QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder
canRollBack()Protobuf type
hadoop.hdfs.qjournal.CanRollBackRequestProto-
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) clearJid()required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;optional string nameServiceId = 5;clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) required .hadoop.hdfs.StorageInfoProto prevStorage = 3;required .hadoop.hdfs.StorageInfoProto storage = 2;required int32 targetLayoutVersion = 4;clone()static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptororg.apache.hadoop.thirdparty.protobuf.Descriptors.DescriptorgetJid()required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;optional string nameServiceId = 5;org.apache.hadoop.thirdparty.protobuf.ByteStringoptional string nameServiceId = 5;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProtorequired .hadoop.hdfs.StorageInfoProto prevStorage = 3;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto.Builderrequired .hadoop.hdfs.StorageInfoProto prevStorage = 3;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProtoOrBuilderrequired .hadoop.hdfs.StorageInfoProto prevStorage = 3;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProtorequired .hadoop.hdfs.StorageInfoProto storage = 2;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto.Builderrequired .hadoop.hdfs.StorageInfoProto storage = 2;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProtoOrBuilderrequired .hadoop.hdfs.StorageInfoProto storage = 2;intrequired int32 targetLayoutVersion = 4;booleanhasJid()required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;booleanoptional string nameServiceId = 5;booleanrequired .hadoop.hdfs.StorageInfoProto prevStorage = 3;booleanrequired .hadoop.hdfs.StorageInfoProto storage = 2;booleanrequired int32 targetLayoutVersion = 4;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;mergePrevStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto value) required .hadoop.hdfs.StorageInfoProto prevStorage = 3;mergeStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto value) required .hadoop.hdfs.StorageInfoProto storage = 2;mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) 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 = 5;setNameServiceIdBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value) optional string nameServiceId = 5;setPrevStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto value) required .hadoop.hdfs.StorageInfoProto prevStorage = 3;setPrevStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto.Builder builderForValue) required .hadoop.hdfs.StorageInfoProto prevStorage = 3;setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto value) required .hadoop.hdfs.StorageInfoProto storage = 2;setStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto.Builder builderForValue) required .hadoop.hdfs.StorageInfoProto storage = 2;setTargetLayoutVersion(int value) required int32 targetLayoutVersion = 4;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.CanRollBackRequestProto.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.CanRollBackRequestProto.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.CanRollBackRequestProto.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.CanRollBackRequestProto.Builder>
-
setField
public QJournalProtocolProtos.CanRollBackRequestProto.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.CanRollBackRequestProto.Builder>
-
clearField
public QJournalProtocolProtos.CanRollBackRequestProto.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.CanRollBackRequestProto.Builder>
-
clearOneof
public QJournalProtocolProtos.CanRollBackRequestProto.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.CanRollBackRequestProto.Builder>
-
setRepeatedField
public QJournalProtocolProtos.CanRollBackRequestProto.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.CanRollBackRequestProto.Builder>
-
addRepeatedField
public QJournalProtocolProtos.CanRollBackRequestProto.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.CanRollBackRequestProto.Builder>
-
mergeFrom
public QJournalProtocolProtos.CanRollBackRequestProto.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.CanRollBackRequestProto.Builder>
-
mergeFrom
public QJournalProtocolProtos.CanRollBackRequestProto.Builder mergeFrom(QJournalProtocolProtos.CanRollBackRequestProto 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.CanRollBackRequestProto.Builder>
-
mergeFrom
public QJournalProtocolProtos.CanRollBackRequestProto.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.CanRollBackRequestProto.Builder>- Throws:
IOException
-
hasJid
public boolean hasJid()required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;- Specified by:
hasJidin interfaceQJournalProtocolProtos.CanRollBackRequestProtoOrBuilder- Returns:
- Whether the jid field is set.
-
getJid
required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;- Specified by:
getJidin interfaceQJournalProtocolProtos.CanRollBackRequestProtoOrBuilder- Returns:
- The jid.
-
setJid
public QJournalProtocolProtos.CanRollBackRequestProto.Builder setJid(QJournalProtocolProtos.JournalIdProto value) required .hadoop.hdfs.qjournal.JournalIdProto jid = 1; -
setJid
public QJournalProtocolProtos.CanRollBackRequestProto.Builder setJid(QJournalProtocolProtos.JournalIdProto.Builder builderForValue) required .hadoop.hdfs.qjournal.JournalIdProto jid = 1; -
mergeJid
public QJournalProtocolProtos.CanRollBackRequestProto.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.CanRollBackRequestProtoOrBuilder
-
hasStorage
public boolean hasStorage()required .hadoop.hdfs.StorageInfoProto storage = 2;- Specified by:
hasStoragein interfaceQJournalProtocolProtos.CanRollBackRequestProtoOrBuilder- Returns:
- Whether the storage field is set.
-
getStorage
public org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto getStorage()required .hadoop.hdfs.StorageInfoProto storage = 2;- Specified by:
getStoragein interfaceQJournalProtocolProtos.CanRollBackRequestProtoOrBuilder- Returns:
- The storage.
-
setStorage
public QJournalProtocolProtos.CanRollBackRequestProto.Builder setStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto value) required .hadoop.hdfs.StorageInfoProto storage = 2; -
setStorage
public QJournalProtocolProtos.CanRollBackRequestProto.Builder setStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto.Builder builderForValue) required .hadoop.hdfs.StorageInfoProto storage = 2; -
mergeStorage
public QJournalProtocolProtos.CanRollBackRequestProto.Builder mergeStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto value) required .hadoop.hdfs.StorageInfoProto storage = 2; -
clearStorage
required .hadoop.hdfs.StorageInfoProto storage = 2; -
getStorageBuilder
public org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto.Builder getStorageBuilder()required .hadoop.hdfs.StorageInfoProto storage = 2; -
getStorageOrBuilder
public org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProtoOrBuilder getStorageOrBuilder()required .hadoop.hdfs.StorageInfoProto storage = 2;- Specified by:
getStorageOrBuilderin interfaceQJournalProtocolProtos.CanRollBackRequestProtoOrBuilder
-
hasPrevStorage
public boolean hasPrevStorage()required .hadoop.hdfs.StorageInfoProto prevStorage = 3;- Specified by:
hasPrevStoragein interfaceQJournalProtocolProtos.CanRollBackRequestProtoOrBuilder- Returns:
- Whether the prevStorage field is set.
-
getPrevStorage
public org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto getPrevStorage()required .hadoop.hdfs.StorageInfoProto prevStorage = 3;- Specified by:
getPrevStoragein interfaceQJournalProtocolProtos.CanRollBackRequestProtoOrBuilder- Returns:
- The prevStorage.
-
setPrevStorage
public QJournalProtocolProtos.CanRollBackRequestProto.Builder setPrevStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto value) required .hadoop.hdfs.StorageInfoProto prevStorage = 3; -
setPrevStorage
public QJournalProtocolProtos.CanRollBackRequestProto.Builder setPrevStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto.Builder builderForValue) required .hadoop.hdfs.StorageInfoProto prevStorage = 3; -
mergePrevStorage
public QJournalProtocolProtos.CanRollBackRequestProto.Builder mergePrevStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto value) required .hadoop.hdfs.StorageInfoProto prevStorage = 3; -
clearPrevStorage
required .hadoop.hdfs.StorageInfoProto prevStorage = 3; -
getPrevStorageBuilder
public org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProto.Builder getPrevStorageBuilder()required .hadoop.hdfs.StorageInfoProto prevStorage = 3; -
getPrevStorageOrBuilder
public org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProtoOrBuilder getPrevStorageOrBuilder()required .hadoop.hdfs.StorageInfoProto prevStorage = 3;- Specified by:
getPrevStorageOrBuilderin interfaceQJournalProtocolProtos.CanRollBackRequestProtoOrBuilder
-
hasTargetLayoutVersion
public boolean hasTargetLayoutVersion()required int32 targetLayoutVersion = 4;- Specified by:
hasTargetLayoutVersionin interfaceQJournalProtocolProtos.CanRollBackRequestProtoOrBuilder- Returns:
- Whether the targetLayoutVersion field is set.
-
getTargetLayoutVersion
public int getTargetLayoutVersion()required int32 targetLayoutVersion = 4;- Specified by:
getTargetLayoutVersionin interfaceQJournalProtocolProtos.CanRollBackRequestProtoOrBuilder- Returns:
- The targetLayoutVersion.
-
setTargetLayoutVersion
required int32 targetLayoutVersion = 4;- Parameters:
value- The targetLayoutVersion to set.- Returns:
- This builder for chaining.
-
clearTargetLayoutVersion
required int32 targetLayoutVersion = 4;- Returns:
- This builder for chaining.
-
hasNameServiceId
public boolean hasNameServiceId()optional string nameServiceId = 5;- Specified by:
hasNameServiceIdin interfaceQJournalProtocolProtos.CanRollBackRequestProtoOrBuilder- Returns:
- Whether the nameServiceId field is set.
-
getNameServiceId
optional string nameServiceId = 5;- Specified by:
getNameServiceIdin interfaceQJournalProtocolProtos.CanRollBackRequestProtoOrBuilder- Returns:
- The nameServiceId.
-
getNameServiceIdBytes
public org.apache.hadoop.thirdparty.protobuf.ByteString getNameServiceIdBytes()optional string nameServiceId = 5;- Specified by:
getNameServiceIdBytesin interfaceQJournalProtocolProtos.CanRollBackRequestProtoOrBuilder- 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.CanRollBackRequestProto.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.CanRollBackRequestProto.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.CanRollBackRequestProto.Builder>
-
mergeUnknownFields
public final QJournalProtocolProtos.CanRollBackRequestProto.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.CanRollBackRequestProto.Builder>
-