public static final class DataSourceBackupConfigInfo.Builder extends GeneratedMessage.Builder<DataSourceBackupConfigInfo.Builder> implements DataSourceBackupConfigInfoOrBuilderInformation of backup configuration on the DataSource.
Protobuf type google.cloud.backupdr.v1.DataSourceBackupConfigInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataSourceBackupConfigInfo.BuilderImplements
DataSourceBackupConfigInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataSourceBackupConfigInfo build()| Returns | |
|---|---|
| Type | Description |
DataSourceBackupConfigInfo |
|
buildPartial()
public DataSourceBackupConfigInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
DataSourceBackupConfigInfo |
|
clear()
public DataSourceBackupConfigInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataSourceBackupConfigInfo.Builder |
|
clearLastBackupState()
public DataSourceBackupConfigInfo.Builder clearLastBackupState()Output only. The status of the last backup in this DataSource
.google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataSourceBackupConfigInfo.Builder |
This builder for chaining. |
clearLastSuccessfulBackupConsistencyTime()
public DataSourceBackupConfigInfo.Builder clearLastSuccessfulBackupConsistencyTime()Output only. Timestamp of the last successful backup to this DataSource.
.google.protobuf.Timestamp last_successful_backup_consistency_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataSourceBackupConfigInfo.Builder |
|
getDefaultInstanceForType()
public DataSourceBackupConfigInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataSourceBackupConfigInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLastBackupState()
public BackupConfigInfo.LastBackupState getLastBackupState()Output only. The status of the last backup in this DataSource
.google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupConfigInfo.LastBackupState |
The lastBackupState. |
getLastBackupStateValue()
public int getLastBackupStateValue()Output only. The status of the last backup in this DataSource
.google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for lastBackupState. |
getLastSuccessfulBackupConsistencyTime()
public Timestamp getLastSuccessfulBackupConsistencyTime()Output only. Timestamp of the last successful backup to this DataSource.
.google.protobuf.Timestamp last_successful_backup_consistency_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The lastSuccessfulBackupConsistencyTime. |
getLastSuccessfulBackupConsistencyTimeBuilder()
public Timestamp.Builder getLastSuccessfulBackupConsistencyTimeBuilder()Output only. Timestamp of the last successful backup to this DataSource.
.google.protobuf.Timestamp last_successful_backup_consistency_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getLastSuccessfulBackupConsistencyTimeOrBuilder()
public TimestampOrBuilder getLastSuccessfulBackupConsistencyTimeOrBuilder()Output only. Timestamp of the last successful backup to this DataSource.
.google.protobuf.Timestamp last_successful_backup_consistency_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasLastSuccessfulBackupConsistencyTime()
public boolean hasLastSuccessfulBackupConsistencyTime()Output only. Timestamp of the last successful backup to this DataSource.
.google.protobuf.Timestamp last_successful_backup_consistency_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lastSuccessfulBackupConsistencyTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataSourceBackupConfigInfo other)
public DataSourceBackupConfigInfo.Builder mergeFrom(DataSourceBackupConfigInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
DataSourceBackupConfigInfo |
| Returns | |
|---|---|
| Type | Description |
DataSourceBackupConfigInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataSourceBackupConfigInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataSourceBackupConfigInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataSourceBackupConfigInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataSourceBackupConfigInfo.Builder |
|
mergeLastSuccessfulBackupConsistencyTime(Timestamp value)
public DataSourceBackupConfigInfo.Builder mergeLastSuccessfulBackupConsistencyTime(Timestamp value)Output only. Timestamp of the last successful backup to this DataSource.
.google.protobuf.Timestamp last_successful_backup_consistency_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataSourceBackupConfigInfo.Builder |
|
setLastBackupState(BackupConfigInfo.LastBackupState value)
public DataSourceBackupConfigInfo.Builder setLastBackupState(BackupConfigInfo.LastBackupState value)Output only. The status of the last backup in this DataSource
.google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupConfigInfo.LastBackupStateThe lastBackupState to set. |
| Returns | |
|---|---|
| Type | Description |
DataSourceBackupConfigInfo.Builder |
This builder for chaining. |
setLastBackupStateValue(int value)
public DataSourceBackupConfigInfo.Builder setLastBackupStateValue(int value)Output only. The status of the last backup in this DataSource
.google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for lastBackupState to set. |
| Returns | |
|---|---|
| Type | Description |
DataSourceBackupConfigInfo.Builder |
This builder for chaining. |
setLastSuccessfulBackupConsistencyTime(Timestamp value)
public DataSourceBackupConfigInfo.Builder setLastSuccessfulBackupConsistencyTime(Timestamp value)Output only. Timestamp of the last successful backup to this DataSource.
.google.protobuf.Timestamp last_successful_backup_consistency_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataSourceBackupConfigInfo.Builder |
|
setLastSuccessfulBackupConsistencyTime(Timestamp.Builder builderForValue)
public DataSourceBackupConfigInfo.Builder setLastSuccessfulBackupConsistencyTime(Timestamp.Builder builderForValue)Output only. Timestamp of the last successful backup to this DataSource.
.google.protobuf.Timestamp last_successful_backup_consistency_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataSourceBackupConfigInfo.Builder |
|