Class CreateBackupMetadata.Builder (2.15.0)

public static final class CreateBackupMetadata.Builder extends GeneratedMessageV3.Builder<CreateBackupMetadata.Builder> implements CreateBackupMetadataOrBuilder

Metadata type for the operation returned by CreateBackup.

Protobuf type google.bigtable.admin.v2.CreateBackupMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateBackupMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

build()

public CreateBackupMetadata build()
Returns
TypeDescription
CreateBackupMetadata

buildPartial()

public CreateBackupMetadata buildPartial()
Returns
TypeDescription
CreateBackupMetadata

clear()

public CreateBackupMetadata.Builder clear()
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

clearEndTime()

public CreateBackupMetadata.Builder clearEndTime()

If set, the time at which this operation finished or was cancelled.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
CreateBackupMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateBackupMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

clearName()

public CreateBackupMetadata.Builder clearName()

The name of the backup being created.

string name = 1;

Returns
TypeDescription
CreateBackupMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateBackupMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

clearSourceTable()

public CreateBackupMetadata.Builder clearSourceTable()

The name of the table the backup is created from.

string source_table = 2;

Returns
TypeDescription
CreateBackupMetadata.Builder

This builder for chaining.

clearStartTime()

public CreateBackupMetadata.Builder clearStartTime()

The time at which this operation started.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
CreateBackupMetadata.Builder

clone()

public CreateBackupMetadata.Builder clone()
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

getDefaultInstanceForType()

public CreateBackupMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateBackupMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

If set, the time at which this operation finished or was cancelled.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

If set, the time at which this operation finished or was cancelled.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

If set, the time at which this operation finished or was cancelled.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getName()

public String getName()

The name of the backup being created.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the backup being created.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getSourceTable()

public String getSourceTable()

The name of the table the backup is created from.

string source_table = 2;

Returns
TypeDescription
String

The sourceTable.

getSourceTableBytes()

public ByteString getSourceTableBytes()

The name of the table the backup is created from.

string source_table = 2;

Returns
TypeDescription
ByteString

The bytes for sourceTable.

getStartTime()

public Timestamp getStartTime()

The time at which this operation started.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time at which this operation started.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time at which this operation started.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

If set, the time at which this operation finished or was cancelled.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

The time at which this operation started.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEndTime(Timestamp value)

public CreateBackupMetadata.Builder mergeEndTime(Timestamp value)

If set, the time at which this operation finished or was cancelled.

.google.protobuf.Timestamp end_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateBackupMetadata.Builder

mergeFrom(CreateBackupMetadata other)

public CreateBackupMetadata.Builder mergeFrom(CreateBackupMetadata other)
Parameter
NameDescription
otherCreateBackupMetadata
Returns
TypeDescription
CreateBackupMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateBackupMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateBackupMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

mergeStartTime(Timestamp value)

public CreateBackupMetadata.Builder mergeStartTime(Timestamp value)

The time at which this operation started.

.google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateBackupMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateBackupMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

setEndTime(Timestamp value)

public CreateBackupMetadata.Builder setEndTime(Timestamp value)

If set, the time at which this operation finished or was cancelled.

.google.protobuf.Timestamp end_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateBackupMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public CreateBackupMetadata.Builder setEndTime(Timestamp.Builder builderForValue)

If set, the time at which this operation finished or was cancelled.

.google.protobuf.Timestamp end_time = 4;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CreateBackupMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateBackupMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

setName(String value)

public CreateBackupMetadata.Builder setName(String value)

The name of the backup being created.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
CreateBackupMetadata.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CreateBackupMetadata.Builder setNameBytes(ByteString value)

The name of the backup being created.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
CreateBackupMetadata.Builder

This builder for chaining.

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

public CreateBackupMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides

setSourceTable(String value)

public CreateBackupMetadata.Builder setSourceTable(String value)

The name of the table the backup is created from.

string source_table = 2;

Parameter
NameDescription
valueString

The sourceTable to set.

Returns
TypeDescription
CreateBackupMetadata.Builder

This builder for chaining.

setSourceTableBytes(ByteString value)

public CreateBackupMetadata.Builder setSourceTableBytes(ByteString value)

The name of the table the backup is created from.

string source_table = 2;

Parameter
NameDescription
valueByteString

The bytes for sourceTable to set.

Returns
TypeDescription
CreateBackupMetadata.Builder

This builder for chaining.

setStartTime(Timestamp value)

public CreateBackupMetadata.Builder setStartTime(Timestamp value)

The time at which this operation started.

.google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateBackupMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public CreateBackupMetadata.Builder setStartTime(Timestamp.Builder builderForValue)

The time at which this operation started.

.google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CreateBackupMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateBackupMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateBackupMetadata.Builder
Overrides