public static final class CreateBackupMetadata.Builder extends GeneratedMessageV3.Builder<CreateBackupMetadata.Builder> implements CreateBackupMetadataOrBuilder
Metadata type for the operation returned by [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].Protobuf type
google.spanner.admin.database.v1.CreateBackupMetadata
Modifier and Type | Method and Description |
---|---|
CreateBackupMetadata.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
CreateBackupMetadata |
build() |
CreateBackupMetadata |
buildPartial() |
CreateBackupMetadata.Builder |
clear() |
CreateBackupMetadata.Builder |
clearCancelTime()
The time at which cancellation of this operation was received.
|
CreateBackupMetadata.Builder |
clearDatabase()
The name of the database the backup is created from.
|
CreateBackupMetadata.Builder |
clearField(Descriptors.FieldDescriptor field) |
CreateBackupMetadata.Builder |
clearName()
The name of the backup being created.
|
CreateBackupMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
CreateBackupMetadata.Builder |
clearProgress()
The progress of the
[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
|
CreateBackupMetadata.Builder |
clone() |
Timestamp |
getCancelTime()
The time at which cancellation of this operation was received.
|
Timestamp.Builder |
getCancelTimeBuilder()
The time at which cancellation of this operation was received.
|
TimestampOrBuilder |
getCancelTimeOrBuilder()
The time at which cancellation of this operation was received.
|
String |
getDatabase()
The name of the database the backup is created from.
|
ByteString |
getDatabaseBytes()
The name of the database the backup is created from.
|
CreateBackupMetadata |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
The name of the backup being created.
|
ByteString |
getNameBytes()
The name of the backup being created.
|
OperationProgress |
getProgress()
The progress of the
[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
|
OperationProgress.Builder |
getProgressBuilder()
The progress of the
[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
|
OperationProgressOrBuilder |
getProgressOrBuilder()
The progress of the
[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
|
boolean |
hasCancelTime()
The time at which cancellation of this operation was received.
|
boolean |
hasProgress()
The progress of the
[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateBackupMetadata.Builder |
mergeCancelTime(Timestamp value)
The time at which cancellation of this operation was received.
|
CreateBackupMetadata.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
CreateBackupMetadata.Builder |
mergeFrom(CreateBackupMetadata other) |
CreateBackupMetadata.Builder |
mergeFrom(Message other) |
CreateBackupMetadata.Builder |
mergeProgress(OperationProgress value)
The progress of the
[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
|
CreateBackupMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
CreateBackupMetadata.Builder |
setCancelTime(Timestamp.Builder builderForValue)
The time at which cancellation of this operation was received.
|
CreateBackupMetadata.Builder |
setCancelTime(Timestamp value)
The time at which cancellation of this operation was received.
|
CreateBackupMetadata.Builder |
setDatabase(String value)
The name of the database the backup is created from.
|
CreateBackupMetadata.Builder |
setDatabaseBytes(ByteString value)
The name of the database the backup is created from.
|
CreateBackupMetadata.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
CreateBackupMetadata.Builder |
setName(String value)
The name of the backup being created.
|
CreateBackupMetadata.Builder |
setNameBytes(ByteString value)
The name of the backup being created.
|
CreateBackupMetadata.Builder |
setProgress(OperationProgress.Builder builderForValue)
The progress of the
[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
|
CreateBackupMetadata.Builder |
setProgress(OperationProgress value)
The progress of the
[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
|
CreateBackupMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
CreateBackupMetadata.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<CreateBackupMetadata.Builder>
public CreateBackupMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CreateBackupMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CreateBackupMetadata.Builder>
public CreateBackupMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CreateBackupMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CreateBackupMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CreateBackupMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CreateBackupMetadata.Builder>
public CreateBackupMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CreateBackupMetadata.Builder>
public CreateBackupMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CreateBackupMetadata.Builder>
public CreateBackupMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CreateBackupMetadata.Builder>
public CreateBackupMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CreateBackupMetadata.Builder>
public CreateBackupMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CreateBackupMetadata.Builder>
public CreateBackupMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CreateBackupMetadata.Builder>
public CreateBackupMetadata.Builder mergeFrom(CreateBackupMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CreateBackupMetadata.Builder>
public CreateBackupMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CreateBackupMetadata.Builder>
IOException
public String getName()
The name of the backup being created.
string name = 1 [(.google.api.resource_reference) = { ... }
getName
in interface CreateBackupMetadataOrBuilder
public ByteString getNameBytes()
The name of the backup being created.
string name = 1 [(.google.api.resource_reference) = { ... }
getNameBytes
in interface CreateBackupMetadataOrBuilder
public CreateBackupMetadata.Builder setName(String value)
The name of the backup being created.
string name = 1 [(.google.api.resource_reference) = { ... }
value
- The name to set.public CreateBackupMetadata.Builder clearName()
The name of the backup being created.
string name = 1 [(.google.api.resource_reference) = { ... }
public CreateBackupMetadata.Builder setNameBytes(ByteString value)
The name of the backup being created.
string name = 1 [(.google.api.resource_reference) = { ... }
value
- The bytes for name to set.public String getDatabase()
The name of the database the backup is created from.
string database = 2 [(.google.api.resource_reference) = { ... }
getDatabase
in interface CreateBackupMetadataOrBuilder
public ByteString getDatabaseBytes()
The name of the database the backup is created from.
string database = 2 [(.google.api.resource_reference) = { ... }
getDatabaseBytes
in interface CreateBackupMetadataOrBuilder
public CreateBackupMetadata.Builder setDatabase(String value)
The name of the database the backup is created from.
string database = 2 [(.google.api.resource_reference) = { ... }
value
- The database to set.public CreateBackupMetadata.Builder clearDatabase()
The name of the database the backup is created from.
string database = 2 [(.google.api.resource_reference) = { ... }
public CreateBackupMetadata.Builder setDatabaseBytes(ByteString value)
The name of the database the backup is created from.
string database = 2 [(.google.api.resource_reference) = { ... }
value
- The bytes for database to set.public boolean hasProgress()
The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
hasProgress
in interface CreateBackupMetadataOrBuilder
public OperationProgress getProgress()
The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
getProgress
in interface CreateBackupMetadataOrBuilder
public CreateBackupMetadata.Builder setProgress(OperationProgress value)
The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
public CreateBackupMetadata.Builder setProgress(OperationProgress.Builder builderForValue)
The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
public CreateBackupMetadata.Builder mergeProgress(OperationProgress value)
The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
public CreateBackupMetadata.Builder clearProgress()
The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
public OperationProgress.Builder getProgressBuilder()
The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
public OperationProgressOrBuilder getProgressOrBuilder()
The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
.google.spanner.admin.database.v1.OperationProgress progress = 3;
getProgressOrBuilder
in interface CreateBackupMetadataOrBuilder
public boolean hasCancelTime()
The time at which cancellation of this 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 CreateBackupMetadataOrBuilder
public Timestamp getCancelTime()
The time at which cancellation of this 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 CreateBackupMetadataOrBuilder
public CreateBackupMetadata.Builder setCancelTime(Timestamp value)
The time at which cancellation of this 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 CreateBackupMetadata.Builder setCancelTime(Timestamp.Builder builderForValue)
The time at which cancellation of this 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 CreateBackupMetadata.Builder mergeCancelTime(Timestamp value)
The time at which cancellation of this 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 CreateBackupMetadata.Builder clearCancelTime()
The time at which cancellation of this 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 this 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 this 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 CreateBackupMetadataOrBuilder
public final CreateBackupMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CreateBackupMetadata.Builder>
public final CreateBackupMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CreateBackupMetadata.Builder>
Copyright © 2022 Google LLC. All rights reserved.