Class BackupInfo.Builder (2.14.0)

public static final class BackupInfo.Builder extends GeneratedMessageV3.Builder<BackupInfo.Builder> implements BackupInfoOrBuilder

Information about a backup.

Protobuf type google.bigtable.admin.v2.BackupInfo

Implements

BackupInfoOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackupInfo build()
Returns
TypeDescription
BackupInfo

buildPartial()

public BackupInfo buildPartial()
Returns
TypeDescription
BackupInfo

clear()

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

clearBackup()

public BackupInfo.Builder clearBackup()

Output only. Name of the backup.

string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BackupInfo.Builder

This builder for chaining.

clearEndTime()

public BackupInfo.Builder clearEndTime()

Output only. This time that the backup was finished. Row data in the backup will be no newer than this timestamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BackupInfo.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSourceTable()

public BackupInfo.Builder clearSourceTable()

Output only. Name of the table the backup was created from.

string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BackupInfo.Builder

This builder for chaining.

clearStartTime()

public BackupInfo.Builder clearStartTime()

Output only. The time that the backup was started. Row data in the backup will be no older than this timestamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BackupInfo.Builder

clone()

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

getBackup()

public String getBackup()

Output only. Name of the backup.

string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The backup.

getBackupBytes()

public ByteString getBackupBytes()

Output only. Name of the backup.

string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for backup.

getDefaultInstanceForType()

public BackupInfo getDefaultInstanceForType()
Returns
TypeDescription
BackupInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Output only. This time that the backup was finished. Row data in the backup will be no newer than this timestamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. This time that the backup was finished. Row data in the backup will be no newer than this timestamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. This time that the backup was finished. Row data in the backup will be no newer than this timestamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getSourceTable()

public String getSourceTable()

Output only. Name of the table the backup was created from.

string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The sourceTable.

getSourceTableBytes()

public ByteString getSourceTableBytes()

Output only. Name of the table the backup was created from.

string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for sourceTable.

getStartTime()

public Timestamp getStartTime()

Output only. The time that the backup was started. Row data in the backup will be no older than this timestamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. The time that the backup was started. Row data in the backup will be no older than this timestamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. The time that the backup was started. Row data in the backup will be no older than this timestamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

Output only. This time that the backup was finished. Row data in the backup will be no newer than this timestamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Output only. The time that the backup was started. Row data in the backup will be no older than this timestamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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 BackupInfo.Builder mergeEndTime(Timestamp value)

Output only. This time that the backup was finished. Row data in the backup will be no newer than this timestamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BackupInfo.Builder

mergeFrom(BackupInfo other)

public BackupInfo.Builder mergeFrom(BackupInfo other)
Parameter
NameDescription
otherBackupInfo
Returns
TypeDescription
BackupInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public BackupInfo.Builder mergeStartTime(Timestamp value)

Output only. The time that the backup was started. Row data in the backup will be no older than this timestamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BackupInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBackup(String value)

public BackupInfo.Builder setBackup(String value)

Output only. Name of the backup.

string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The backup to set.

Returns
TypeDescription
BackupInfo.Builder

This builder for chaining.

setBackupBytes(ByteString value)

public BackupInfo.Builder setBackupBytes(ByteString value)

Output only. Name of the backup.

string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for backup to set.

Returns
TypeDescription
BackupInfo.Builder

This builder for chaining.

setEndTime(Timestamp value)

public BackupInfo.Builder setEndTime(Timestamp value)

Output only. This time that the backup was finished. Row data in the backup will be no newer than this timestamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BackupInfo.Builder

setEndTime(Timestamp.Builder builderForValue)

public BackupInfo.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. This time that the backup was finished. Row data in the backup will be no newer than this timestamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
BackupInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSourceTable(String value)

public BackupInfo.Builder setSourceTable(String value)

Output only. Name of the table the backup was created from.

string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The sourceTable to set.

Returns
TypeDescription
BackupInfo.Builder

This builder for chaining.

setSourceTableBytes(ByteString value)

public BackupInfo.Builder setSourceTableBytes(ByteString value)

Output only. Name of the table the backup was created from.

string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for sourceTable to set.

Returns
TypeDescription
BackupInfo.Builder

This builder for chaining.

setStartTime(Timestamp value)

public BackupInfo.Builder setStartTime(Timestamp value)

Output only. The time that the backup was started. Row data in the backup will be no older than this timestamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BackupInfo.Builder

setStartTime(Timestamp.Builder builderForValue)

public BackupInfo.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. The time that the backup was started. Row data in the backup will be no older than this timestamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
BackupInfo.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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