public final class Backup extends com.google.protobuf.GeneratedMessageV3 implements BackupOrBuilder
The details of a backup resource.Protobuf type
google.cloud.metastore.v1beta.Backup| Modifier and Type | Class and Description |
|---|---|
static class |
Backup.Builder
The details of a backup resource.
|
static class |
Backup.State
The current state of the backup.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RESTORING_SERVICES_FIELD_NUMBER |
static int |
SERVICE_REVISION_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Backup |
getDefaultInstance() |
Backup |
getDefaultInstanceForType() |
String |
getDescription()
The description of the backup.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
The description of the backup.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
com.google.protobuf.Parser<Backup> |
getParserForType() |
String |
getRestoringServices(int index)
Output only.
|
com.google.protobuf.ByteString |
getRestoringServicesBytes(int index)
Output only.
|
int |
getRestoringServicesCount()
Output only.
|
com.google.protobuf.ProtocolStringList |
getRestoringServicesList()
Output only.
|
int |
getSerializedSize() |
Service |
getServiceRevision()
Output only.
|
ServiceOrBuilder |
getServiceRevisionOrBuilder()
Output only.
|
Backup.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasEndTime()
Output only.
|
int |
hashCode() |
boolean |
hasServiceRevision()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Backup.Builder |
newBuilder() |
static Backup.Builder |
newBuilder(Backup prototype) |
Backup.Builder |
newBuilderForType() |
protected Backup.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Backup |
parseDelimitedFrom(InputStream input) |
static Backup |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(byte[] data) |
static Backup |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(ByteBuffer data) |
static Backup |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(com.google.protobuf.ByteString data) |
static Backup |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Backup |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(InputStream input) |
static Backup |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Backup> |
parser() |
Backup.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int SERVICE_REVISION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int RESTORING_SERVICES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Immutable. The relative resource name of the backup, in the following form:
`projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getName in interface BackupOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Immutable. The relative resource name of the backup, in the following form:
`projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getNameBytes in interface BackupOrBuilderpublic boolean hasCreateTime()
Output only. The time when the backup was started.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the backup was started.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface BackupOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the backup was started.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface BackupOrBuilderpublic boolean hasEndTime()
Output only. The time when the backup finished creating.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEndTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Output only. The time when the backup finished creating.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTime in interface BackupOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time when the backup finished creating.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTimeOrBuilder in interface BackupOrBuilderpublic int getStateValue()
Output only. The current state of the backup.
.google.cloud.metastore.v1beta.Backup.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface BackupOrBuilderpublic Backup.State getState()
Output only. The current state of the backup.
.google.cloud.metastore.v1beta.Backup.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface BackupOrBuilderpublic boolean hasServiceRevision()
Output only. The revision of the service at the time of backup.
.google.cloud.metastore.v1beta.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasServiceRevision in interface BackupOrBuilderpublic Service getServiceRevision()
Output only. The revision of the service at the time of backup.
.google.cloud.metastore.v1beta.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getServiceRevision in interface BackupOrBuilderpublic ServiceOrBuilder getServiceRevisionOrBuilder()
Output only. The revision of the service at the time of backup.
.google.cloud.metastore.v1beta.Service service_revision = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getServiceRevisionOrBuilder in interface BackupOrBuilderpublic String getDescription()
The description of the backup.
string description = 6;getDescription in interface BackupOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The description of the backup.
string description = 6;getDescriptionBytes in interface BackupOrBuilderpublic com.google.protobuf.ProtocolStringList getRestoringServicesList()
Output only. Services that are restoring from the backup.
repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRestoringServicesList in interface BackupOrBuilderpublic int getRestoringServicesCount()
Output only. Services that are restoring from the backup.
repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRestoringServicesCount in interface BackupOrBuilderpublic String getRestoringServices(int index)
Output only. Services that are restoring from the backup.
repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRestoringServices in interface BackupOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getRestoringServicesBytes(int index)
Output only. Services that are restoring from the backup.
repeated string restoring_services = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRestoringServicesBytes in interface BackupOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Backup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(InputStream input) throws IOException
IOExceptionpublic static Backup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Backup parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Backup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Backup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Backup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Backup.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Backup.Builder newBuilder()
public static Backup.Builder newBuilder(Backup prototype)
public Backup.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Backup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Backup getDefaultInstance()
public static com.google.protobuf.Parser<Backup> parser()
public com.google.protobuf.Parser<Backup> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Backup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.