Class CreateBackupMetadata.Builder (6.89.0)

publicstaticfinalclassCreateBackupMetadata.BuilderextendsGeneratedMessageV3.Builder<CreateBackupMetadata.Builder>implementsCreateBackupMetadataOrBuilder

Metadata type for the operation returned by CreateBackup.

Protobuf type google.spanner.admin.database.v1.CreateBackupMetadata

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicCreateBackupMetadata.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

build()

publicCreateBackupMetadatabuild()
Returns
TypeDescription
CreateBackupMetadata

buildPartial()

publicCreateBackupMetadatabuildPartial()
Returns
TypeDescription
CreateBackupMetadata

clear()

publicCreateBackupMetadata.Builderclear()
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

clearCancelTime()

publicCreateBackupMetadata.BuilderclearCancelTime()

The time at which cancellation of this operation was received. 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 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 value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

.google.protobuf.Timestamp cancel_time = 4;

Returns
TypeDescription
CreateBackupMetadata.Builder

clearDatabase()

publicCreateBackupMetadata.BuilderclearDatabase()

The name of the database the backup is created from.

string database = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
CreateBackupMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicCreateBackupMetadata.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

clearName()

publicCreateBackupMetadata.BuilderclearName()

The name of the backup being created.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
CreateBackupMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicCreateBackupMetadata.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

clearProgress()

publicCreateBackupMetadata.BuilderclearProgress()

The progress of the CreateBackup operation.

.google.spanner.admin.database.v1.OperationProgress progress = 3;

Returns
TypeDescription
CreateBackupMetadata.Builder

clone()

publicCreateBackupMetadata.Builderclone()
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

getCancelTime()

publicTimestampgetCancelTime()

The time at which cancellation of this operation was received. 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 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 value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

.google.protobuf.Timestamp cancel_time = 4;

Returns
TypeDescription
Timestamp

The cancelTime.

getCancelTimeBuilder()

publicTimestamp.BuildergetCancelTimeBuilder()

The time at which cancellation of this operation was received. 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 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 value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

.google.protobuf.Timestamp cancel_time = 4;

Returns
TypeDescription
Builder

getCancelTimeOrBuilder()

publicTimestampOrBuildergetCancelTimeOrBuilder()

The time at which cancellation of this operation was received. 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 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 value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

.google.protobuf.Timestamp cancel_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getDatabase()

publicStringgetDatabase()

The name of the database the backup is created from.

string database = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The database.

getDatabaseBytes()

publicByteStringgetDatabaseBytes()

The name of the database the backup is created from.

string database = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for database.

getDefaultInstanceForType()

publicCreateBackupMetadatagetDefaultInstanceForType()
Returns
TypeDescription
CreateBackupMetadata

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

publicStringgetName()

The name of the backup being created.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

The name of the backup being created.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getProgress()

publicOperationProgressgetProgress()

The progress of the CreateBackup operation.

.google.spanner.admin.database.v1.OperationProgress progress = 3;

Returns
TypeDescription
OperationProgress

The progress.

getProgressBuilder()

publicOperationProgress.BuildergetProgressBuilder()

The progress of the CreateBackup operation.

.google.spanner.admin.database.v1.OperationProgress progress = 3;

Returns
TypeDescription
OperationProgress.Builder

getProgressOrBuilder()

publicOperationProgressOrBuildergetProgressOrBuilder()

The progress of the CreateBackup operation.

.google.spanner.admin.database.v1.OperationProgress progress = 3;

Returns
TypeDescription
OperationProgressOrBuilder

hasCancelTime()

publicbooleanhasCancelTime()

The time at which cancellation of this operation was received. 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 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 value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

.google.protobuf.Timestamp cancel_time = 4;

Returns
TypeDescription
boolean

Whether the cancelTime field is set.

hasProgress()

publicbooleanhasProgress()

The progress of the CreateBackup operation.

.google.spanner.admin.database.v1.OperationProgress progress = 3;

Returns
TypeDescription
boolean

Whether the progress field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCancelTime(Timestamp value)

publicCreateBackupMetadata.BuildermergeCancelTime(Timestampvalue)

The time at which cancellation of this operation was received. 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 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 value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

.google.protobuf.Timestamp cancel_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateBackupMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicCreateBackupMetadata.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

publicCreateBackupMetadata.BuildermergeFrom(Messageother)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

mergeFrom(CreateBackupMetadata other)

publicCreateBackupMetadata.BuildermergeFrom(CreateBackupMetadataother)
Parameter
NameDescription
otherCreateBackupMetadata
Returns
TypeDescription
CreateBackupMetadata.Builder

mergeProgress(OperationProgress value)

publicCreateBackupMetadata.BuildermergeProgress(OperationProgressvalue)

The progress of the CreateBackup operation.

.google.spanner.admin.database.v1.OperationProgress progress = 3;

Parameter
NameDescription
valueOperationProgress
Returns
TypeDescription
CreateBackupMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateBackupMetadata.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

setCancelTime(Timestamp value)

publicCreateBackupMetadata.BuildersetCancelTime(Timestampvalue)

The time at which cancellation of this operation was received. 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 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 value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

.google.protobuf.Timestamp cancel_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateBackupMetadata.Builder

setCancelTime(Timestamp.Builder builderForValue)

publicCreateBackupMetadata.BuildersetCancelTime(Timestamp.BuilderbuilderForValue)

The time at which cancellation of this operation was received. 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 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 value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

.google.protobuf.Timestamp cancel_time = 4;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CreateBackupMetadata.Builder

setDatabase(String value)

publicCreateBackupMetadata.BuildersetDatabase(Stringvalue)

The name of the database the backup is created from.

string database = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The database to set.

Returns
TypeDescription
CreateBackupMetadata.Builder

This builder for chaining.

setDatabaseBytes(ByteString value)

publicCreateBackupMetadata.BuildersetDatabaseBytes(ByteStringvalue)

The name of the database the backup is created from.

string database = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for database to set.

Returns
TypeDescription
CreateBackupMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicCreateBackupMetadata.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

setName(String value)

publicCreateBackupMetadata.BuildersetName(Stringvalue)

The name of the backup being created.

string name = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
CreateBackupMetadata.Builder

This builder for chaining.

setNameBytes(ByteString value)

publicCreateBackupMetadata.BuildersetNameBytes(ByteStringvalue)

The name of the backup being created.

string name = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
CreateBackupMetadata.Builder

This builder for chaining.

setProgress(OperationProgress value)

publicCreateBackupMetadata.BuildersetProgress(OperationProgressvalue)

The progress of the CreateBackup operation.

.google.spanner.admin.database.v1.OperationProgress progress = 3;

Parameter
NameDescription
valueOperationProgress
Returns
TypeDescription
CreateBackupMetadata.Builder

setProgress(OperationProgress.Builder builderForValue)

publicCreateBackupMetadata.BuildersetProgress(OperationProgress.BuilderbuilderForValue)

The progress of the CreateBackup operation.

.google.spanner.admin.database.v1.OperationProgress progress = 3;

Parameter
NameDescription
builderForValueOperationProgress.Builder
Returns
TypeDescription
CreateBackupMetadata.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicCreateBackupMetadata.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateBackupMetadata.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides