public static final class Backup.GCPBackupPlanInfo.Builder extends GeneratedMessageV3.Builder<Backup.GCPBackupPlanInfo.Builder> implements Backup.GCPBackupPlanInfoOrBuilder
GCPBackupPlanInfo captures the plan configuration details of Google Cloud
resources at the time of backup.
Protobuf type google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Backup.GCPBackupPlanInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Backup.GCPBackupPlanInfo build()
buildPartial()
public Backup.GCPBackupPlanInfo buildPartial()
clear()
public Backup.GCPBackupPlanInfo.Builder clear()
Overrides
clearBackupPlan()
public Backup.GCPBackupPlanInfo.Builder clearBackupPlan()
Resource name of backup plan by which workload is protected at the time
of the backup.
Format:
projects/{project}/locations/{location}/backupPlans/{backupPlanId}
string backup_plan = 1 [(.google.api.resource_reference) = { ... }
clearBackupPlanRuleId()
public Backup.GCPBackupPlanInfo.Builder clearBackupPlanRuleId()
The rule id of the backup plan which triggered this backup in case of
scheduled backup or used for
string backup_plan_rule_id = 2;
clearField(Descriptors.FieldDescriptor field)
public Backup.GCPBackupPlanInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Backup.GCPBackupPlanInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Backup.GCPBackupPlanInfo.Builder clone()
Overrides
getBackupPlan()
public String getBackupPlan()
Resource name of backup plan by which workload is protected at the time
of the backup.
Format:
projects/{project}/locations/{location}/backupPlans/{backupPlanId}
string backup_plan = 1 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The backupPlan.
|
getBackupPlanBytes()
public ByteString getBackupPlanBytes()
Resource name of backup plan by which workload is protected at the time
of the backup.
Format:
projects/{project}/locations/{location}/backupPlans/{backupPlanId}
string backup_plan = 1 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for backupPlan.
|
getBackupPlanRuleId()
public String getBackupPlanRuleId()
The rule id of the backup plan which triggered this backup in case of
scheduled backup or used for
string backup_plan_rule_id = 2;
Returns |
Type |
Description |
String |
The backupPlanRuleId.
|
getBackupPlanRuleIdBytes()
public ByteString getBackupPlanRuleIdBytes()
The rule id of the backup plan which triggered this backup in case of
scheduled backup or used for
string backup_plan_rule_id = 2;
Returns |
Type |
Description |
ByteString |
The bytes for backupPlanRuleId.
|
getDefaultInstanceForType()
public Backup.GCPBackupPlanInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Backup.GCPBackupPlanInfo other)
public Backup.GCPBackupPlanInfo.Builder mergeFrom(Backup.GCPBackupPlanInfo other)
public Backup.GCPBackupPlanInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Backup.GCPBackupPlanInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Backup.GCPBackupPlanInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBackupPlan(String value)
public Backup.GCPBackupPlanInfo.Builder setBackupPlan(String value)
Resource name of backup plan by which workload is protected at the time
of the backup.
Format:
projects/{project}/locations/{location}/backupPlans/{backupPlanId}
string backup_plan = 1 [(.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The backupPlan to set.
|
setBackupPlanBytes(ByteString value)
public Backup.GCPBackupPlanInfo.Builder setBackupPlanBytes(ByteString value)
Resource name of backup plan by which workload is protected at the time
of the backup.
Format:
projects/{project}/locations/{location}/backupPlans/{backupPlanId}
string backup_plan = 1 [(.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for backupPlan to set.
|
setBackupPlanRuleId(String value)
public Backup.GCPBackupPlanInfo.Builder setBackupPlanRuleId(String value)
The rule id of the backup plan which triggered this backup in case of
scheduled backup or used for
string backup_plan_rule_id = 2;
Parameter |
Name |
Description |
value |
String
The backupPlanRuleId to set.
|
setBackupPlanRuleIdBytes(ByteString value)
public Backup.GCPBackupPlanInfo.Builder setBackupPlanRuleIdBytes(ByteString value)
The rule id of the backup plan which triggered this backup in case of
scheduled backup or used for
string backup_plan_rule_id = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for backupPlanRuleId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Backup.GCPBackupPlanInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Backup.GCPBackupPlanInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Backup.GCPBackupPlanInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides