Class QJournalProtocolProtos.CanRollBackRequestProto
java.lang.Object
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
org.apache.hadoop.thirdparty.protobuf.AbstractMessage
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto
- All Implemented Interfaces:
Serializable,QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder,org.apache.hadoop.thirdparty.protobuf.Message,org.apache.hadoop.thirdparty.protobuf.MessageLite,org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- Enclosing class:
- QJournalProtocolProtos
public static final class QJournalProtocolProtos.CanRollBackRequestProto
extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
implements QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder
canRollBack()Protobuf type
hadoop.hdfs.qjournal.CanRollBackRequestProto- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classcanRollBack()Nested classes/interfaces inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.CanRollBackRequestProto>Deprecated.static final intstatic final intstatic final intFields inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
memoizedSizeFields inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final org.apache.hadoop.thirdparty.protobuf.Descriptors.DescriptorgetJid()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.thirdparty.protobuf.Parser<QJournalProtocolProtos.CanRollBackRequestProto>org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProtorequired .hadoop.hdfs.StorageInfoProto prevStorage = 3;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProtoOrBuilderrequired .hadoop.hdfs.StorageInfoProto prevStorage = 3;intorg.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProtorequired .hadoop.hdfs.StorageInfoProto storage = 2;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.StorageInfoProtoOrBuilderrequired .hadoop.hdfs.StorageInfoProto storage = 2;intrequired int32 targetLayoutVersion = 4;inthashCode()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 booleannewBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) static org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.CanRollBackRequestProto>parser()voidwriteTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) Methods inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
JID_FIELD_NUMBER
public static final int JID_FIELD_NUMBER- See Also:
-
STORAGE_FIELD_NUMBER
public static final int STORAGE_FIELD_NUMBER- See Also:
-
PREVSTORAGE_FIELD_NUMBER
public static final int PREVSTORAGE_FIELD_NUMBER- See Also:
-
TARGETLAYOUTVERSION_FIELD_NUMBER
public static final int TARGETLAYOUTVERSION_FIELD_NUMBER- See Also:
-
NAMESERVICEID_FIELD_NUMBER
public static final int NAMESERVICEID_FIELD_NUMBER- See Also:
-
PARSER
@Deprecated public static final org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.CanRollBackRequestProto> PARSERDeprecated.
-
-
Method Details
-
newInstance
protected Object newInstance(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) - Overrides:
newInstancein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) throws IOException - Specified by:
writeToin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
writeToin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
getSerializedSizein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Overrides:
equalsin classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Overrides:
hashCodein classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage
-
parseFrom
public static QJournalProtocolProtos.CanRollBackRequestProto parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QJournalProtocolProtos.CanRollBackRequestProto parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QJournalProtocolProtos.CanRollBackRequestProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QJournalProtocolProtos.CanRollBackRequestProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QJournalProtocolProtos.CanRollBackRequestProto parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QJournalProtocolProtos.CanRollBackRequestProto parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QJournalProtocolProtos.CanRollBackRequestProto parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static QJournalProtocolProtos.CanRollBackRequestProto parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static QJournalProtocolProtos.CanRollBackRequestProto parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static QJournalProtocolProtos.CanRollBackRequestProto parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static QJournalProtocolProtos.CanRollBackRequestProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static QJournalProtocolProtos.CanRollBackRequestProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
newBuilderForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static QJournalProtocolProtos.CanRollBackRequestProto.Builder newBuilder(QJournalProtocolProtos.CanRollBackRequestProto prototype) -
toBuilder
- Specified by:
toBuilderin interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
toBuilderin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite
-
newBuilderForType
protected QJournalProtocolProtos.CanRollBackRequestProto.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
public static org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.CanRollBackRequestProto> parser() -
getParserForType
public org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.CanRollBackRequestProto> getParserForType()- Specified by:
getParserForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
getParserForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
getParserForTypein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-