public static final class CopyBackupMetadata.Builder extends GeneratedMessageV3.Builder<CopyBackupMetadata.Builder> implements CopyBackupMetadataOrBuilder
Metadata type for the google.longrunning.Operation returned by [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].Protobuf type
google.spanner.admin.database.v1.CopyBackupMetadata
Modifier and Type | Method and Description |
---|---|
CopyBackupMetadata.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
CopyBackupMetadata |
build() |
CopyBackupMetadata |
buildPartial() |
CopyBackupMetadata.Builder |
clear() |
CopyBackupMetadata.Builder |
clearCancelTime()
The time at which cancellation of CopyBackup operation was received.
|
CopyBackupMetadata.Builder |
clearField(Descriptors.FieldDescriptor field) |
CopyBackupMetadata.Builder |
clearName()
The name of the backup being created through the copy operation.
|
CopyBackupMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
CopyBackupMetadata.Builder |
clearProgress()
The progress of the
[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
|
CopyBackupMetadata.Builder |
clearSourceBackup()
The name of the source backup that is being copied.
|
CopyBackupMetadata.Builder |
clone() |
Timestamp |
getCancelTime()
The time at which cancellation of CopyBackup operation was received.
|
Timestamp.Builder |
getCancelTimeBuilder()
The time at which cancellation of CopyBackup operation was received.
|
TimestampOrBuilder |
getCancelTimeOrBuilder()
The time at which cancellation of CopyBackup operation was received.
|
CopyBackupMetadata |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
The name of the backup being created through the copy operation.
|
ByteString |
getNameBytes()
The name of the backup being created through the copy operation.
|
OperationProgress |
getProgress()
The progress of the
[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
|
OperationProgress.Builder |
getProgressBuilder()
The progress of the
[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
|
OperationProgressOrBuilder |
getProgressOrBuilder()
The progress of the
[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
|
String |
getSourceBackup()
The name of the source backup that is being copied.
|
ByteString |
getSourceBackupBytes()
The name of the source backup that is being copied.
|
boolean |
hasCancelTime()
The time at which cancellation of CopyBackup operation was received.
|
boolean |
hasProgress()
The progress of the
[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CopyBackupMetadata.Builder |
mergeCancelTime(Timestamp value)
The time at which cancellation of CopyBackup operation was received.
|
CopyBackupMetadata.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
CopyBackupMetadata.Builder |
mergeFrom(CopyBackupMetadata other) |
CopyBackupMetadata.Builder |
mergeFrom(Message other) |
CopyBackupMetadata.Builder |
mergeProgress(OperationProgress value)
The progress of the
[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
|
CopyBackupMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
CopyBackupMetadata.Builder |
setCancelTime(Timestamp.Builder builderForValue)
The time at which cancellation of CopyBackup operation was received.
|
CopyBackupMetadata.Builder |
setCancelTime(Timestamp value)
The time at which cancellation of CopyBackup operation was received.
|
CopyBackupMetadata.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
CopyBackupMetadata.Builder |
setName(String value)
The name of the backup being created through the copy operation.
|
CopyBackupMetadata.Builder |
setNameBytes(ByteString value)
The name of the backup being created through the copy operation.
|
CopyBackupMetadata.Builder |
setProgress(OperationProgress.Builder builderForValue)
The progress of the
[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
|
CopyBackupMetadata.Builder |
setProgress(OperationProgress value)
The progress of the
[CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
|
CopyBackupMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
CopyBackupMetadata.Builder |
setSourceBackup(String value)
The name of the source backup that is being copied.
|
CopyBackupMetadata.Builder |
setSourceBackupBytes(ByteString value)
The name of the source backup that is being copied.
|
CopyBackupMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<CopyBackupMetadata.Builder>
public CopyBackupMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CopyBackupMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CopyBackupMetadata.Builder>
public CopyBackupMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CopyBackupMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CopyBackupMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CopyBackupMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CopyBackupMetadata.Builder>
public CopyBackupMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CopyBackupMetadata.Builder>
public CopyBackupMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CopyBackupMetadata.Builder>
public CopyBackupMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CopyBackupMetadata.Builder>
public CopyBackupMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CopyBackupMetadata.Builder>
public CopyBackupMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CopyBackupMetadata.Builder>
public CopyBackupMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CopyBackupMetadata.Builder>
public CopyBackupMetadata.Builder mergeFrom(CopyBackupMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CopyBackupMetadata.Builder>
public CopyBackupMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CopyBackupMetadata.Builder>
IOException
public String getName()
The name of the backup being created through the copy operation. Values are of the form `projects/<project>/instances/<instance>/backups/<backup>`.
string name = 1 [(.google.api.resource_reference) = { ... }
getName
in interface CopyBackupMetadataOrBuilder
public ByteString getNameBytes()
The name of the backup being created through the copy operation. Values are of the form `projects/<project>/instances/<instance>/backups/<backup>`.
string name = 1 [(.google.api.resource_reference) = { ... }
getNameBytes
in interface CopyBackupMetadataOrBuilder
public CopyBackupMetadata.Builder setName(String value)
The name of the backup being created through the copy operation. Values are of the form `projects/<project>/instances/<instance>/backups/<backup>`.
string name = 1 [(.google.api.resource_reference) = { ... }
value
- The name to set.public CopyBackupMetadata.Builder clearName()
The name of the backup being created through the copy operation. Values are of the form `projects/<project>/instances/<instance>/backups/<backup>`.
string name = 1 [(.google.api.resource_reference) = { ... }
public CopyBackupMetadata.Builder setNameBytes(ByteString value)
The name of the backup being created through the copy operation. Values are of the form `projects/<project>/instances/<instance>/backups/<backup>`.
string name = 1 [(.google.api.resource_reference) = { ... }
value
- The bytes for name to set.public String getSourceBackup()
The name of the source backup that is being copied. Values are of the form `projects/<project>/instances/<instance>/backups/<backup>`.
string source_backup = 2 [(.google.api.resource_reference) = { ... }
getSourceBackup
in interface CopyBackupMetadataOrBuilder
public ByteString getSourceBackupBytes()
The name of the source backup that is being copied. Values are of the form `projects/<project>/instances/<instance>/backups/<backup>`.
string source_backup = 2 [(.google.api.resource_reference) = { ... }
getSourceBackupBytes
in interface CopyBackupMetadataOrBuilder
public CopyBackupMetadata.Builder setSourceBackup(String value)
The name of the source backup that is being copied. Values are of the form `projects/<project>/instances/<instance>/backups/<backup>`.
string source_backup = 2 [(.google.api.resource_reference) = { ... }
value
- The sourceBackup to set.public CopyBackupMetadata.Builder clearSourceBackup()
The name of the source backup that is being copied. Values are of the form `projects/<project>/instances/<instance>/backups/<backup>`.
string source_backup = 2 [(.google.api.resource_reference) = { ... }
public CopyBackupMetadata.Builder setSourceBackupBytes(ByteString value)
The name of the source backup that is being copied. Values are of the form `projects/<project>/instances/<instance>/backups/<backup>`.
string source_backup = 2 [(.google.api.resource_reference) = { ... }
value
- The bytes for sourceBackup to set.public boolean hasProgress()
The progress of the [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
hasProgress
in interface CopyBackupMetadataOrBuilder
public OperationProgress getProgress()
The progress of the [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
getProgress
in interface CopyBackupMetadataOrBuilder
public CopyBackupMetadata.Builder setProgress(OperationProgress value)
The progress of the [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
public CopyBackupMetadata.Builder setProgress(OperationProgress.Builder builderForValue)
The progress of the [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
public CopyBackupMetadata.Builder mergeProgress(OperationProgress value)
The progress of the [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
public CopyBackupMetadata.Builder clearProgress()
The progress of the [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
public OperationProgress.Builder getProgressBuilder()
The progress of the [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
public OperationProgressOrBuilder getProgressOrBuilder()
The progress of the [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
getProgressOrBuilder
in interface CopyBackupMetadataOrBuilder
public boolean hasCancelTime()
The time at which cancellation of CopyBackup operation was received. [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use [Operations.GetOperation][google.longrunning.Operations.GetOperation] or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
.google.protobuf.Timestamp cancel_time = 4;
hasCancelTime
in interface CopyBackupMetadataOrBuilder
public Timestamp getCancelTime()
The time at which cancellation of CopyBackup operation was received. [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use [Operations.GetOperation][google.longrunning.Operations.GetOperation] or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
.google.protobuf.Timestamp cancel_time = 4;
getCancelTime
in interface CopyBackupMetadataOrBuilder
public CopyBackupMetadata.Builder setCancelTime(Timestamp value)
The time at which cancellation of CopyBackup operation was received. [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use [Operations.GetOperation][google.longrunning.Operations.GetOperation] or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
.google.protobuf.Timestamp cancel_time = 4;
public CopyBackupMetadata.Builder setCancelTime(Timestamp.Builder builderForValue)
The time at which cancellation of CopyBackup operation was received. [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use [Operations.GetOperation][google.longrunning.Operations.GetOperation] or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
.google.protobuf.Timestamp cancel_time = 4;
public CopyBackupMetadata.Builder mergeCancelTime(Timestamp value)
The time at which cancellation of CopyBackup operation was received. [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use [Operations.GetOperation][google.longrunning.Operations.GetOperation] or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
.google.protobuf.Timestamp cancel_time = 4;
public CopyBackupMetadata.Builder clearCancelTime()
The time at which cancellation of CopyBackup operation was received. [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use [Operations.GetOperation][google.longrunning.Operations.GetOperation] or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
.google.protobuf.Timestamp cancel_time = 4;
public Timestamp.Builder getCancelTimeBuilder()
The time at which cancellation of CopyBackup operation was received. [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use [Operations.GetOperation][google.longrunning.Operations.GetOperation] or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
.google.protobuf.Timestamp cancel_time = 4;
public TimestampOrBuilder getCancelTimeOrBuilder()
The time at which cancellation of CopyBackup operation was received. [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use [Operations.GetOperation][google.longrunning.Operations.GetOperation] or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
.google.protobuf.Timestamp cancel_time = 4;
getCancelTimeOrBuilder
in interface CopyBackupMetadataOrBuilder
public final CopyBackupMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CopyBackupMetadata.Builder>
public final CopyBackupMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CopyBackupMetadata.Builder>
Copyright © 2022 Google LLC. All rights reserved.