public static final class BackupDrPlanRule.Builder extends GeneratedMessage.Builder<BackupDrPlanRule.Builder> implements BackupDrPlanRuleOrBuilderBackupDrPlanRule has rule specific information of the backup plan resource.
Protobuf type google.cloud.backupdr.v1.BackupDrPlanRule
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BackupDrPlanRule.BuilderImplements
BackupDrPlanRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BackupDrPlanRule build()| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
buildPartial()
public BackupDrPlanRule buildPartial()| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
clear()
public BackupDrPlanRule.Builder clear()| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
|
clearLastSuccessfulBackupTime()
public BackupDrPlanRule.Builder clearLastSuccessfulBackupTime()Output only. Timestamp of the latest successful backup created via this backup rule.
.google.protobuf.Timestamp last_successful_backup_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
|
clearRuleId()
public BackupDrPlanRule.Builder clearRuleId()Output only. Unique Id of the backup rule.
string rule_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public BackupDrPlanRule getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLastSuccessfulBackupTime()
public Timestamp getLastSuccessfulBackupTime()Output only. Timestamp of the latest successful backup created via this backup rule.
.google.protobuf.Timestamp last_successful_backup_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The lastSuccessfulBackupTime. |
getLastSuccessfulBackupTimeBuilder()
public Timestamp.Builder getLastSuccessfulBackupTimeBuilder()Output only. Timestamp of the latest successful backup created via this backup rule.
.google.protobuf.Timestamp last_successful_backup_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getLastSuccessfulBackupTimeOrBuilder()
public TimestampOrBuilder getLastSuccessfulBackupTimeOrBuilder()Output only. Timestamp of the latest successful backup created via this backup rule.
.google.protobuf.Timestamp last_successful_backup_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getRuleId()
public String getRuleId()Output only. Unique Id of the backup rule.
string rule_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The ruleId. |
getRuleIdBytes()
public ByteString getRuleIdBytes()Output only. Unique Id of the backup rule.
string rule_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ruleId. |
hasLastSuccessfulBackupTime()
public boolean hasLastSuccessfulBackupTime()Output only. Timestamp of the latest successful backup created via this backup rule.
.google.protobuf.Timestamp last_successful_backup_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lastSuccessfulBackupTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BackupDrPlanRule other)
public BackupDrPlanRule.Builder mergeFrom(BackupDrPlanRule other)| Parameter | |
|---|---|
| Name | Description |
other |
BackupDrPlanRule |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupDrPlanRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BackupDrPlanRule.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
|
mergeLastSuccessfulBackupTime(Timestamp value)
public BackupDrPlanRule.Builder mergeLastSuccessfulBackupTime(Timestamp value)Output only. Timestamp of the latest successful backup created via this backup rule.
.google.protobuf.Timestamp last_successful_backup_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
|
setLastSuccessfulBackupTime(Timestamp value)
public BackupDrPlanRule.Builder setLastSuccessfulBackupTime(Timestamp value)Output only. Timestamp of the latest successful backup created via this backup rule.
.google.protobuf.Timestamp last_successful_backup_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
|
setLastSuccessfulBackupTime(Timestamp.Builder builderForValue)
public BackupDrPlanRule.Builder setLastSuccessfulBackupTime(Timestamp.Builder builderForValue)Output only. Timestamp of the latest successful backup created via this backup rule.
.google.protobuf.Timestamp last_successful_backup_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
|
setRuleId(String value)
public BackupDrPlanRule.Builder setRuleId(String value)Output only. Unique Id of the backup rule.
string rule_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ruleId to set. |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
This builder for chaining. |
setRuleIdBytes(ByteString value)
public BackupDrPlanRule.Builder setRuleIdBytes(ByteString value)Output only. Unique Id of the backup rule.
string rule_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ruleId to set. |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
This builder for chaining. |