public static final class BackupConfigDetails.Builder extends GeneratedMessageV3.Builder<BackupConfigDetails.Builder> implements BackupConfigDetailsOrBuilderBackupConfigDetails has information about how the resource is configured for backups and about the most recent backup taken for this configuration.
Protobuf type google.cloud.backupdr.v1.BackupConfigDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackupConfigDetails.BuilderImplements
BackupConfigDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBackupLocations(Iterable<? extends BackupLocation> values)
public BackupConfigDetails.Builder addAllBackupLocations(Iterable<? extends BackupLocation> values)The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.backupdr.v1.BackupLocation> |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
addBackupLocations(BackupLocation value)
public BackupConfigDetails.Builder addBackupLocations(BackupLocation value)The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
BackupLocation |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
addBackupLocations(BackupLocation.Builder builderForValue)
public BackupConfigDetails.Builder addBackupLocations(BackupLocation.Builder builderForValue)The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BackupLocation.Builder |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
addBackupLocations(int index, BackupLocation value)
public BackupConfigDetails.Builder addBackupLocations(int index, BackupLocation value)The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
BackupLocation |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
addBackupLocations(int index, BackupLocation.Builder builderForValue)
public BackupConfigDetails.Builder addBackupLocations(int index, BackupLocation.Builder builderForValue)The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BackupLocation.Builder |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
addBackupLocationsBuilder()
public BackupLocation.Builder addBackupLocationsBuilder()The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Returns | |
|---|---|
| Type | Description |
BackupLocation.Builder |
|
addBackupLocationsBuilder(int index)
public BackupLocation.Builder addBackupLocationsBuilder(int index)The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BackupLocation.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackupConfigDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
build()
public BackupConfigDetails build()| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails |
|
buildPartial()
public BackupConfigDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails |
|
clear()
public BackupConfigDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
clearApplicableResource()
public BackupConfigDetails.Builder clearApplicableResource()Output only. The full resource name of the resource that is applicable for the backup configuration. Example: "//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}"
string applicable_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
clearBackupConfigSource()
public BackupConfigDetails.Builder clearBackupConfigSource()Output only. The full resource name of the backup config source resource. For example, "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupPlans/{backupplanId}" or "//compute.googleapis.com/projects/{project}/locations/{region}/resourcePolicies/{resourcePolicyId}".
string backup_config_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
clearBackupConfigSourceDisplayName()
public BackupConfigDetails.Builder clearBackupConfigSourceDisplayName()Output only. The display name of the backup config source resource.
string backup_config_source_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
clearBackupDrPlanConfig()
public BackupConfigDetails.Builder clearBackupDrPlanConfig()Google Cloud Backup and DR's Backup Plan specific data.
.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
clearBackupDrTemplateConfig()
public BackupConfigDetails.Builder clearBackupDrTemplateConfig()Google Cloud Backup and DR's Template specific data.
.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
clearBackupLocations()
public BackupConfigDetails.Builder clearBackupLocations()The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
clearBackupVault()
public BackupConfigDetails.Builder clearBackupVault()Output only. The full resource name of the backup vault that will store the backups generated through this backup configuration. Example: "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{backupvaultId}"
string backup_vault = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BackupConfigDetails.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
clearLatestSuccessfulBackupTime()
public BackupConfigDetails.Builder clearLatestSuccessfulBackupTime()Output only. Timestamp of the latest successful backup created via this backup configuration.
.google.protobuf.Timestamp latest_successful_backup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public BackupConfigDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
clearPitrSettings()
public BackupConfigDetails.Builder clearPitrSettings()Output only. Point in time recovery settings of the backup configuration resource.
.google.cloud.backupdr.v1.PitrSettings pitr_settings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
clearPlanSpecificConfig()
public BackupConfigDetails.Builder clearPlanSpecificConfig()| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
clearState()
public BackupConfigDetails.Builder clearState()Output only. The state of the backup config resource.
.google.cloud.backupdr.v1.BackupConfigDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
clearType()
public BackupConfigDetails.Builder clearType()Output only. The type of the backup config resource.
.google.cloud.backupdr.v1.BackupConfigDetails.Type type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
clone()
public BackupConfigDetails.Builder clone()| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
getApplicableResource()
public String getApplicableResource()Output only. The full resource name of the resource that is applicable for the backup configuration. Example: "//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}"
string applicable_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The applicableResource. |
getApplicableResourceBytes()
public ByteString getApplicableResourceBytes()Output only. The full resource name of the resource that is applicable for the backup configuration. Example: "//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}"
string applicable_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for applicableResource. |
getBackupConfigSource()
public String getBackupConfigSource()Output only. The full resource name of the backup config source resource. For example, "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupPlans/{backupplanId}" or "//compute.googleapis.com/projects/{project}/locations/{region}/resourcePolicies/{resourcePolicyId}".
string backup_config_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The backupConfigSource. |
getBackupConfigSourceBytes()
public ByteString getBackupConfigSourceBytes()Output only. The full resource name of the backup config source resource. For example, "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupPlans/{backupplanId}" or "//compute.googleapis.com/projects/{project}/locations/{region}/resourcePolicies/{resourcePolicyId}".
string backup_config_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for backupConfigSource. |
getBackupConfigSourceDisplayName()
public String getBackupConfigSourceDisplayName()Output only. The display name of the backup config source resource.
string backup_config_source_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The backupConfigSourceDisplayName. |
getBackupConfigSourceDisplayNameBytes()
public ByteString getBackupConfigSourceDisplayNameBytes()Output only. The display name of the backup config source resource.
string backup_config_source_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for backupConfigSourceDisplayName. |
getBackupDrPlanConfig()
public BackupDrPlanConfig getBackupDrPlanConfig()Google Cloud Backup and DR's Backup Plan specific data.
.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanConfig |
The backupDrPlanConfig. |
getBackupDrPlanConfigBuilder()
public BackupDrPlanConfig.Builder getBackupDrPlanConfigBuilder()Google Cloud Backup and DR's Backup Plan specific data.
.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanConfig.Builder |
|
getBackupDrPlanConfigOrBuilder()
public BackupDrPlanConfigOrBuilder getBackupDrPlanConfigOrBuilder()Google Cloud Backup and DR's Backup Plan specific data.
.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanConfigOrBuilder |
|
getBackupDrTemplateConfig()
public BackupDrTemplateConfig getBackupDrTemplateConfig()Google Cloud Backup and DR's Template specific data.
.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;
| Returns | |
|---|---|
| Type | Description |
BackupDrTemplateConfig |
The backupDrTemplateConfig. |
getBackupDrTemplateConfigBuilder()
public BackupDrTemplateConfig.Builder getBackupDrTemplateConfigBuilder()Google Cloud Backup and DR's Template specific data.
.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;
| Returns | |
|---|---|
| Type | Description |
BackupDrTemplateConfig.Builder |
|
getBackupDrTemplateConfigOrBuilder()
public BackupDrTemplateConfigOrBuilder getBackupDrTemplateConfigOrBuilder()Google Cloud Backup and DR's Template specific data.
.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;
| Returns | |
|---|---|
| Type | Description |
BackupDrTemplateConfigOrBuilder |
|
getBackupLocations(int index)
public BackupLocation getBackupLocations(int index)The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BackupLocation |
|
getBackupLocationsBuilder(int index)
public BackupLocation.Builder getBackupLocationsBuilder(int index)The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BackupLocation.Builder |
|
getBackupLocationsBuilderList()
public List<BackupLocation.Builder> getBackupLocationsBuilderList()The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getBackupLocationsCount()
public int getBackupLocationsCount()The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Returns | |
|---|---|
| Type | Description |
int |
|
getBackupLocationsList()
public List<BackupLocation> getBackupLocationsList()The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Returns | |
|---|---|
| Type | Description |
List<BackupLocation> |
|
getBackupLocationsOrBuilder(int index)
public BackupLocationOrBuilder getBackupLocationsOrBuilder(int index)The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BackupLocationOrBuilder |
|
getBackupLocationsOrBuilderList()
public List<? extends BackupLocationOrBuilder> getBackupLocationsOrBuilderList()The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.BackupLocationOrBuilder> |
|
getBackupVault()
public String getBackupVault()Output only. The full resource name of the backup vault that will store the backups generated through this backup configuration. Example: "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{backupvaultId}"
string backup_vault = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The backupVault. |
getBackupVaultBytes()
public ByteString getBackupVaultBytes()Output only. The full resource name of the backup vault that will store the backups generated through this backup configuration. Example: "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{backupvaultId}"
string backup_vault = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for backupVault. |
getDefaultInstanceForType()
public BackupConfigDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLatestSuccessfulBackupTime()
public Timestamp getLatestSuccessfulBackupTime()Output only. Timestamp of the latest successful backup created via this backup configuration.
.google.protobuf.Timestamp latest_successful_backup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The latestSuccessfulBackupTime. |
getLatestSuccessfulBackupTimeBuilder()
public Timestamp.Builder getLatestSuccessfulBackupTimeBuilder()Output only. Timestamp of the latest successful backup created via this backup configuration.
.google.protobuf.Timestamp latest_successful_backup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getLatestSuccessfulBackupTimeOrBuilder()
public TimestampOrBuilder getLatestSuccessfulBackupTimeOrBuilder()Output only. Timestamp of the latest successful backup created via this backup configuration.
.google.protobuf.Timestamp latest_successful_backup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getPitrSettings()
public PitrSettings getPitrSettings()Output only. Point in time recovery settings of the backup configuration resource.
.google.cloud.backupdr.v1.PitrSettings pitr_settings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PitrSettings |
The pitrSettings. |
getPitrSettingsBuilder()
public PitrSettings.Builder getPitrSettingsBuilder()Output only. Point in time recovery settings of the backup configuration resource.
.google.cloud.backupdr.v1.PitrSettings pitr_settings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PitrSettings.Builder |
|
getPitrSettingsOrBuilder()
public PitrSettingsOrBuilder getPitrSettingsOrBuilder()Output only. Point in time recovery settings of the backup configuration resource.
.google.cloud.backupdr.v1.PitrSettings pitr_settings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PitrSettingsOrBuilder |
|
getPlanSpecificConfigCase()
public BackupConfigDetails.PlanSpecificConfigCase getPlanSpecificConfigCase()| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.PlanSpecificConfigCase |
|
getState()
public BackupConfigDetails.State getState()Output only. The state of the backup config resource.
.google.cloud.backupdr.v1.BackupConfigDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.State |
The state. |
getStateValue()
public int getStateValue()Output only. The state of the backup config resource.
.google.cloud.backupdr.v1.BackupConfigDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getType()
public BackupConfigDetails.Type getType()Output only. The type of the backup config resource.
.google.cloud.backupdr.v1.BackupConfigDetails.Type type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Type |
The type. |
getTypeValue()
public int getTypeValue()Output only. The type of the backup config resource.
.google.cloud.backupdr.v1.BackupConfigDetails.Type type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
hasBackupDrPlanConfig()
public boolean hasBackupDrPlanConfig()Google Cloud Backup and DR's Backup Plan specific data.
.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupDrPlanConfig field is set. |
hasBackupDrTemplateConfig()
public boolean hasBackupDrTemplateConfig()Google Cloud Backup and DR's Template specific data.
.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupDrTemplateConfig field is set. |
hasLatestSuccessfulBackupTime()
public boolean hasLatestSuccessfulBackupTime()Output only. Timestamp of the latest successful backup created via this backup configuration.
.google.protobuf.Timestamp latest_successful_backup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the latestSuccessfulBackupTime field is set. |
hasPitrSettings()
public boolean hasPitrSettings()Output only. Point in time recovery settings of the backup configuration resource.
.google.cloud.backupdr.v1.PitrSettings pitr_settings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pitrSettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBackupDrPlanConfig(BackupDrPlanConfig value)
public BackupConfigDetails.Builder mergeBackupDrPlanConfig(BackupDrPlanConfig value)Google Cloud Backup and DR's Backup Plan specific data.
.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
BackupDrPlanConfig |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
mergeBackupDrTemplateConfig(BackupDrTemplateConfig value)
public BackupConfigDetails.Builder mergeBackupDrTemplateConfig(BackupDrTemplateConfig value)Google Cloud Backup and DR's Template specific data.
.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
BackupDrTemplateConfig |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
mergeFrom(BackupConfigDetails other)
public BackupConfigDetails.Builder mergeFrom(BackupConfigDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
BackupConfigDetails |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupConfigDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BackupConfigDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
mergeLatestSuccessfulBackupTime(Timestamp value)
public BackupConfigDetails.Builder mergeLatestSuccessfulBackupTime(Timestamp value)Output only. Timestamp of the latest successful backup created via this backup configuration.
.google.protobuf.Timestamp latest_successful_backup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
mergePitrSettings(PitrSettings value)
public BackupConfigDetails.Builder mergePitrSettings(PitrSettings value)Output only. Point in time recovery settings of the backup configuration resource.
.google.cloud.backupdr.v1.PitrSettings pitr_settings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
PitrSettings |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackupConfigDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
removeBackupLocations(int index)
public BackupConfigDetails.Builder removeBackupLocations(int index)The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
setApplicableResource(String value)
public BackupConfigDetails.Builder setApplicableResource(String value)Output only. The full resource name of the resource that is applicable for the backup configuration. Example: "//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}"
string applicable_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe applicableResource to set. |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
setApplicableResourceBytes(ByteString value)
public BackupConfigDetails.Builder setApplicableResourceBytes(ByteString value)Output only. The full resource name of the resource that is applicable for the backup configuration. Example: "//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}"
string applicable_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for applicableResource to set. |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
setBackupConfigSource(String value)
public BackupConfigDetails.Builder setBackupConfigSource(String value)Output only. The full resource name of the backup config source resource. For example, "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupPlans/{backupplanId}" or "//compute.googleapis.com/projects/{project}/locations/{region}/resourcePolicies/{resourcePolicyId}".
string backup_config_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe backupConfigSource to set. |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
setBackupConfigSourceBytes(ByteString value)
public BackupConfigDetails.Builder setBackupConfigSourceBytes(ByteString value)Output only. The full resource name of the backup config source resource. For example, "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupPlans/{backupplanId}" or "//compute.googleapis.com/projects/{project}/locations/{region}/resourcePolicies/{resourcePolicyId}".
string backup_config_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for backupConfigSource to set. |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
setBackupConfigSourceDisplayName(String value)
public BackupConfigDetails.Builder setBackupConfigSourceDisplayName(String value)Output only. The display name of the backup config source resource.
string backup_config_source_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe backupConfigSourceDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
setBackupConfigSourceDisplayNameBytes(ByteString value)
public BackupConfigDetails.Builder setBackupConfigSourceDisplayNameBytes(ByteString value)Output only. The display name of the backup config source resource.
string backup_config_source_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for backupConfigSourceDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
setBackupDrPlanConfig(BackupDrPlanConfig value)
public BackupConfigDetails.Builder setBackupDrPlanConfig(BackupDrPlanConfig value)Google Cloud Backup and DR's Backup Plan specific data.
.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
BackupDrPlanConfig |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
setBackupDrPlanConfig(BackupDrPlanConfig.Builder builderForValue)
public BackupConfigDetails.Builder setBackupDrPlanConfig(BackupDrPlanConfig.Builder builderForValue)Google Cloud Backup and DR's Backup Plan specific data.
.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BackupDrPlanConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
setBackupDrTemplateConfig(BackupDrTemplateConfig value)
public BackupConfigDetails.Builder setBackupDrTemplateConfig(BackupDrTemplateConfig value)Google Cloud Backup and DR's Template specific data.
.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
BackupDrTemplateConfig |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
setBackupDrTemplateConfig(BackupDrTemplateConfig.Builder builderForValue)
public BackupConfigDetails.Builder setBackupDrTemplateConfig(BackupDrTemplateConfig.Builder builderForValue)Google Cloud Backup and DR's Template specific data.
.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BackupDrTemplateConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
setBackupLocations(int index, BackupLocation value)
public BackupConfigDetails.Builder setBackupLocations(int index, BackupLocation value)The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
BackupLocation |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
setBackupLocations(int index, BackupLocation.Builder builderForValue)
public BackupConfigDetails.Builder setBackupLocations(int index, BackupLocation.Builder builderForValue)The locations where the backups are to be stored.
repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BackupLocation.Builder |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
setBackupVault(String value)
public BackupConfigDetails.Builder setBackupVault(String value)Output only. The full resource name of the backup vault that will store the backups generated through this backup configuration. Example: "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{backupvaultId}"
string backup_vault = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe backupVault to set. |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
setBackupVaultBytes(ByteString value)
public BackupConfigDetails.Builder setBackupVaultBytes(ByteString value)Output only. The full resource name of the backup vault that will store the backups generated through this backup configuration. Example: "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{backupvaultId}"
string backup_vault = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for backupVault to set. |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BackupConfigDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
setLatestSuccessfulBackupTime(Timestamp value)
public BackupConfigDetails.Builder setLatestSuccessfulBackupTime(Timestamp value)Output only. Timestamp of the latest successful backup created via this backup configuration.
.google.protobuf.Timestamp latest_successful_backup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
setLatestSuccessfulBackupTime(Timestamp.Builder builderForValue)
public BackupConfigDetails.Builder setLatestSuccessfulBackupTime(Timestamp.Builder builderForValue)Output only. Timestamp of the latest successful backup created via this backup configuration.
.google.protobuf.Timestamp latest_successful_backup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
setPitrSettings(PitrSettings value)
public BackupConfigDetails.Builder setPitrSettings(PitrSettings value)Output only. Point in time recovery settings of the backup configuration resource.
.google.cloud.backupdr.v1.PitrSettings pitr_settings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
PitrSettings |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
setPitrSettings(PitrSettings.Builder builderForValue)
public BackupConfigDetails.Builder setPitrSettings(PitrSettings.Builder builderForValue)Output only. Point in time recovery settings of the backup configuration resource.
.google.cloud.backupdr.v1.PitrSettings pitr_settings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PitrSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackupConfigDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|
setState(BackupConfigDetails.State value)
public BackupConfigDetails.Builder setState(BackupConfigDetails.State value)Output only. The state of the backup config resource.
.google.cloud.backupdr.v1.BackupConfigDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupConfigDetails.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
setStateValue(int value)
public BackupConfigDetails.Builder setStateValue(int value)Output only. The state of the backup config resource.
.google.cloud.backupdr.v1.BackupConfigDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
setType(BackupConfigDetails.Type value)
public BackupConfigDetails.Builder setType(BackupConfigDetails.Type value)Output only. The type of the backup config resource.
.google.cloud.backupdr.v1.BackupConfigDetails.Type type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupConfigDetails.TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
setTypeValue(int value)
public BackupConfigDetails.Builder setTypeValue(int value)Output only. The type of the backup config resource.
.google.cloud.backupdr.v1.BackupConfigDetails.Type type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BackupConfigDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BackupConfigDetails.Builder |
|