Package com.google.cloud.gkebackup.v1
Class Restore
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.gkebackup.v1.Restore
-
- All Implemented Interfaces:
RestoreOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Restore extends com.google.protobuf.GeneratedMessageV3 implements RestoreOrBuilder
Represents both a request to Restore some portion of a Backup into a target GKE cluster and a record of the restore operation itself. Next id: 18
Protobuf typegoogle.cloud.gkebackup.v1.Restore- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRestore.BuilderRepresents both a request to Restore some portion of a Backup into a target GKE cluster and a record of the restore operation itself.static classRestore.StatePossible values for state of the Restore.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intBACKUP_FIELD_NUMBERstatic intCLUSTER_FIELD_NUMBERstatic intCOMPLETE_TIME_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intETAG_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intRESOURCES_EXCLUDED_COUNT_FIELD_NUMBERstatic intRESOURCES_FAILED_COUNT_FIELD_NUMBERstatic intRESOURCES_RESTORED_COUNT_FIELD_NUMBERstatic intRESTORE_CONFIG_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intSTATE_REASON_FIELD_NUMBERstatic intUID_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBERstatic intVOLUMES_RESTORED_COUNT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)A set of custom labels supplied by user.booleanequals(Object obj)StringgetBackup()Required.com.google.protobuf.ByteStringgetBackupBytes()Required.StringgetCluster()Output only.com.google.protobuf.ByteStringgetClusterBytes()Output only.com.google.protobuf.TimestampgetCompleteTime()Output only.com.google.protobuf.TimestampOrBuildergetCompleteTimeOrBuilder()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static RestoregetDefaultInstance()RestoregetDefaultInstanceForType()StringgetDescription()User specified descriptive string for this Restore.com.google.protobuf.ByteStringgetDescriptionBytes()User specified descriptive string for this Restore.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetEtag()Output only.com.google.protobuf.ByteStringgetEtagBytes()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()A set of custom labels supplied by user.Map<String,String>getLabelsMap()A set of custom labels supplied by user.StringgetLabelsOrDefault(String key, String defaultValue)A set of custom labels supplied by user.StringgetLabelsOrThrow(String key)A set of custom labels supplied by user.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.com.google.protobuf.Parser<Restore>getParserForType()intgetResourcesExcludedCount()Output only.intgetResourcesFailedCount()Output only.intgetResourcesRestoredCount()Output only.RestoreConfiggetRestoreConfig()Output only.RestoreConfigOrBuildergetRestoreConfigOrBuilder()Output only.intgetSerializedSize()Restore.StategetState()Output only.StringgetStateReason()Output only.com.google.protobuf.ByteStringgetStateReasonBytes()Output only.intgetStateValue()Output only.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.intgetVolumesRestoredCount()Output only.booleanhasCompleteTime()Output only.booleanhasCreateTime()Output only.inthashCode()booleanhasRestoreConfig()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Restore.BuildernewBuilder()static Restore.BuildernewBuilder(Restore prototype)Restore.BuildernewBuilderForType()protected Restore.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RestoreparseDelimitedFrom(InputStream input)static RestoreparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreparseFrom(byte[] data)static RestoreparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreparseFrom(com.google.protobuf.ByteString data)static RestoreparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreparseFrom(com.google.protobuf.CodedInputStream input)static RestoreparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreparseFrom(InputStream input)static RestoreparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreparseFrom(ByteBuffer data)static RestoreparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Restore>parser()Restore.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BACKUP_FIELD_NUMBER
public static final int BACKUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESTORE_CONFIG_FIELD_NUMBER
public static final int RESTORE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_REASON_FIELD_NUMBER
public static final int STATE_REASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPLETE_TIME_FIELD_NUMBER
public static final int COMPLETE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCES_RESTORED_COUNT_FIELD_NUMBER
public static final int RESOURCES_RESTORED_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCES_EXCLUDED_COUNT_FIELD_NUMBER
public static final int RESOURCES_EXCLUDED_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCES_FAILED_COUNT_FIELD_NUMBER
public static final int RESOURCES_FAILED_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VOLUMES_RESTORED_COUNT_FIELD_NUMBER
public static final int VOLUMES_RESTORED_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. The full name of the Restore resource. Format: `projects/*/locations/*/restorePlans/*/restores/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceRestoreOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The full name of the Restore resource. Format: `projects/*/locations/*/restorePlans/*/restores/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceRestoreOrBuilder- Returns:
- The bytes for name.
-
getUid
public String getUid()
Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceRestoreOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceRestoreOrBuilder- Returns:
- The bytes for uid.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The timestamp when this Restore resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceRestoreOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp when this Restore resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceRestoreOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when this Restore resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceRestoreOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The timestamp when this Restore resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceRestoreOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The timestamp when this Restore resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceRestoreOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when this Restore resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceRestoreOrBuilder
-
getDescription
public String getDescription()
User specified descriptive string for this Restore.
string description = 5;- Specified by:
getDescriptionin interfaceRestoreOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
User specified descriptive string for this Restore.
string description = 5;- Specified by:
getDescriptionBytesin interfaceRestoreOrBuilder- Returns:
- The bytes for description.
-
getBackup
public String getBackup()
Required. Immutable. A reference to the [Backup][google.cloud.gkebackup.v1.Backup] used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's [backup_plan][google.cloud.gkebackup.v1.RestorePlan.backup_plan]. Format: `projects/*/locations/*/backupPlans/*/backups/*`.
string backup = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getBackupin interfaceRestoreOrBuilder- Returns:
- The backup.
-
getBackupBytes
public com.google.protobuf.ByteString getBackupBytes()
Required. Immutable. A reference to the [Backup][google.cloud.gkebackup.v1.Backup] used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's [backup_plan][google.cloud.gkebackup.v1.RestorePlan.backup_plan]. Format: `projects/*/locations/*/backupPlans/*/backups/*`.
string backup = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getBackupBytesin interfaceRestoreOrBuilder- Returns:
- The bytes for backup.
-
getCluster
public String getCluster()
Output only. The target cluster into which this Restore will restore data. Valid formats: - `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*` Inherited from parent RestorePlan's [cluster][google.cloud.gkebackup.v1.RestorePlan.cluster] value.
string cluster = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getClusterin interfaceRestoreOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()
Output only. The target cluster into which this Restore will restore data. Valid formats: - `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*` Inherited from parent RestorePlan's [cluster][google.cloud.gkebackup.v1.RestorePlan.cluster] value.
string cluster = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getClusterBytesin interfaceRestoreOrBuilder- Returns:
- The bytes for cluster.
-
hasRestoreConfig
public boolean hasRestoreConfig()
Output only. Configuration of the Restore. Inherited from parent RestorePlan's [restore_config][google.cloud.gkebackup.v1.RestorePlan.restore_config].
.google.cloud.gkebackup.v1.RestoreConfig restore_config = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRestoreConfigin interfaceRestoreOrBuilder- Returns:
- Whether the restoreConfig field is set.
-
getRestoreConfig
public RestoreConfig getRestoreConfig()
Output only. Configuration of the Restore. Inherited from parent RestorePlan's [restore_config][google.cloud.gkebackup.v1.RestorePlan.restore_config].
.google.cloud.gkebackup.v1.RestoreConfig restore_config = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRestoreConfigin interfaceRestoreOrBuilder- Returns:
- The restoreConfig.
-
getRestoreConfigOrBuilder
public RestoreConfigOrBuilder getRestoreConfigOrBuilder()
Output only. Configuration of the Restore. Inherited from parent RestorePlan's [restore_config][google.cloud.gkebackup.v1.RestorePlan.restore_config].
.google.cloud.gkebackup.v1.RestoreConfig restore_config = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRestoreConfigOrBuilderin interfaceRestoreOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:RestoreOrBuilderA set of custom labels supplied by user.
map<string, string> labels = 9;- Specified by:
getLabelsCountin interfaceRestoreOrBuilder
-
containsLabels
public boolean containsLabels(String key)
A set of custom labels supplied by user.
map<string, string> labels = 9;- Specified by:
containsLabelsin interfaceRestoreOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceRestoreOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
A set of custom labels supplied by user.
map<string, string> labels = 9;- Specified by:
getLabelsMapin interfaceRestoreOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
A set of custom labels supplied by user.
map<string, string> labels = 9;- Specified by:
getLabelsOrDefaultin interfaceRestoreOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
A set of custom labels supplied by user.
map<string, string> labels = 9;- Specified by:
getLabelsOrThrowin interfaceRestoreOrBuilder
-
getStateValue
public int getStateValue()
Output only. The current state of the Restore.
.google.cloud.gkebackup.v1.Restore.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceRestoreOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public Restore.State getState()
Output only. The current state of the Restore.
.google.cloud.gkebackup.v1.Restore.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceRestoreOrBuilder- Returns:
- The state.
-
getStateReason
public String getStateReason()
Output only. Human-readable description of why the Restore is in its current state.
string state_reason = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateReasonin interfaceRestoreOrBuilder- Returns:
- The stateReason.
-
getStateReasonBytes
public com.google.protobuf.ByteString getStateReasonBytes()
Output only. Human-readable description of why the Restore is in its current state.
string state_reason = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateReasonBytesin interfaceRestoreOrBuilder- Returns:
- The bytes for stateReason.
-
hasCompleteTime
public boolean hasCompleteTime()
Output only. Timestamp of when the restore operation completed.
.google.protobuf.Timestamp complete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCompleteTimein interfaceRestoreOrBuilder- Returns:
- Whether the completeTime field is set.
-
getCompleteTime
public com.google.protobuf.Timestamp getCompleteTime()
Output only. Timestamp of when the restore operation completed.
.google.protobuf.Timestamp complete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCompleteTimein interfaceRestoreOrBuilder- Returns:
- The completeTime.
-
getCompleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCompleteTimeOrBuilder()
Output only. Timestamp of when the restore operation completed.
.google.protobuf.Timestamp complete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCompleteTimeOrBuilderin interfaceRestoreOrBuilder
-
getResourcesRestoredCount
public int getResourcesRestoredCount()
Output only. Number of resources restored during the restore execution.
int32 resources_restored_count = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourcesRestoredCountin interfaceRestoreOrBuilder- Returns:
- The resourcesRestoredCount.
-
getResourcesExcludedCount
public int getResourcesExcludedCount()
Output only. Number of resources excluded during the restore execution.
int32 resources_excluded_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourcesExcludedCountin interfaceRestoreOrBuilder- Returns:
- The resourcesExcludedCount.
-
getResourcesFailedCount
public int getResourcesFailedCount()
Output only. Number of resources that failed to be restored during the restore execution.
int32 resources_failed_count = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourcesFailedCountin interfaceRestoreOrBuilder- Returns:
- The resourcesFailedCount.
-
getVolumesRestoredCount
public int getVolumesRestoredCount()
Output only. Number of volumes restored during the restore execution.
int32 volumes_restored_count = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVolumesRestoredCountin interfaceRestoreOrBuilder- Returns:
- The volumesRestoredCount.
-
getEtag
public String getEtag()
Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An `etag` is returned in the response to `GetRestore`, and systems are expected to put that etag in the request to `UpdateRestore` or `DeleteRestore` to ensure that their change will be applied to the same version of the resource.
string etag = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEtagin interfaceRestoreOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An `etag` is returned in the response to `GetRestore`, and systems are expected to put that etag in the request to `UpdateRestore` or `DeleteRestore` to ensure that their change will be applied to the same version of the resource.
string etag = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEtagBytesin interfaceRestoreOrBuilder- Returns:
- The bytes for etag.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Restore parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Restore parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Restore parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Restore parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Restore parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Restore parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Restore parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Restore parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Restore parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Restore parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Restore parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Restore parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Restore.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Restore.Builder newBuilder()
-
newBuilder
public static Restore.Builder newBuilder(Restore prototype)
-
toBuilder
public Restore.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Restore.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Restore getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Restore> parser()
-
getParserForType
public com.google.protobuf.Parser<Restore> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Restore getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-