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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Backup.GCPBackupPlanInfo.BuilderImplements
Backup.GCPBackupPlanInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Backup.GCPBackupPlanInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
build()
public Backup.GCPBackupPlanInfo build()
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo |
buildPartial()
public Backup.GCPBackupPlanInfo buildPartial()
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo |
clear()
public Backup.GCPBackupPlanInfo.Builder clear()
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
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) = { ... }
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
clearBackupPlanRevisionId()
public Backup.GCPBackupPlanInfo.Builder clearBackupPlanRevisionId()
The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
string backup_plan_revision_id = 4;
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
clearBackupPlanRevisionName()
public Backup.GCPBackupPlanInfo.Builder clearBackupPlanRevisionName()
Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}
string backup_plan_revision_name = 3;
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
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;
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Backup.GCPBackupPlanInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Backup.GCPBackupPlanInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
clone()
public Backup.GCPBackupPlanInfo.Builder clone()
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
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. |
getBackupPlanRevisionId()
public String getBackupPlanRevisionId()
The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
string backup_plan_revision_id = 4;
Returns | |
---|---|
Type | Description |
String |
The backupPlanRevisionId. |
getBackupPlanRevisionIdBytes()
public ByteString getBackupPlanRevisionIdBytes()
The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
string backup_plan_revision_id = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for backupPlanRevisionId. |
getBackupPlanRevisionName()
public String getBackupPlanRevisionName()
Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}
string backup_plan_revision_name = 3;
Returns | |
---|---|
Type | Description |
String |
The backupPlanRevisionName. |
getBackupPlanRevisionNameBytes()
public ByteString getBackupPlanRevisionNameBytes()
Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}
string backup_plan_revision_name = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for backupPlanRevisionName. |
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()
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Backup.GCPBackupPlanInfo other)
public Backup.GCPBackupPlanInfo.Builder mergeFrom(Backup.GCPBackupPlanInfo other)
Parameter | |
---|---|
Name | Description |
other |
Backup.GCPBackupPlanInfo |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Backup.GCPBackupPlanInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Backup.GCPBackupPlanInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Backup.GCPBackupPlanInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
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. |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
setBackupPlanRevisionId(String value)
public Backup.GCPBackupPlanInfo.Builder setBackupPlanRevisionId(String value)
The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
string backup_plan_revision_id = 4;
Parameter | |
---|---|
Name | Description |
value |
String The backupPlanRevisionId to set. |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
setBackupPlanRevisionIdBytes(ByteString value)
public Backup.GCPBackupPlanInfo.Builder setBackupPlanRevisionIdBytes(ByteString value)
The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
string backup_plan_revision_id = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for backupPlanRevisionId to set. |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
setBackupPlanRevisionName(String value)
public Backup.GCPBackupPlanInfo.Builder setBackupPlanRevisionName(String value)
Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}
string backup_plan_revision_name = 3;
Parameter | |
---|---|
Name | Description |
value |
String The backupPlanRevisionName to set. |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
setBackupPlanRevisionNameBytes(ByteString value)
public Backup.GCPBackupPlanInfo.Builder setBackupPlanRevisionNameBytes(ByteString value)
Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}
string backup_plan_revision_name = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for backupPlanRevisionName to set. |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Backup.GCPBackupPlanInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Backup.GCPBackupPlanInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Backup.GCPBackupPlanInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Backup.GCPBackupPlanInfo.Builder |