publicfinalclass BackupPlanAssociationextendsGeneratedMessageV3implementsBackupPlanAssociationOrBuilder
A BackupPlanAssociation represents a single BackupPlanAssociation which
contains details like workload, backup plan etc
Protobuf type google.cloud.backupdr.v1.BackupPlanAssociation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BACKUP_PLAN_FIELD_NUMBER
publicstaticfinalintBACKUP_PLAN_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
BACKUP_PLAN_REVISION_ID_FIELD_NUMBER
publicstaticfinalintBACKUP_PLAN_REVISION_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
BACKUP_PLAN_REVISION_NAME_FIELD_NUMBER
publicstaticfinalintBACKUP_PLAN_REVISION_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
CLOUD_SQL_INSTANCE_BACKUP_PLAN_ASSOCIATION_PROPERTIES_FIELD_NUMBER
publicstaticfinalintCLOUD_SQL_INSTANCE_BACKUP_PLAN_ASSOCIATION_PROPERTIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
CREATE_TIME_FIELD_NUMBER
publicstaticfinalintCREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
DATA_SOURCE_FIELD_NUMBER
publicstaticfinalintDATA_SOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NAME_FIELD_NUMBER
publicstaticfinalintNAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RESOURCE_FIELD_NUMBER
publicstaticfinalintRESOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RESOURCE_TYPE_FIELD_NUMBER
publicstaticfinalintRESOURCE_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RULES_CONFIG_INFO_FIELD_NUMBER
publicstaticfinalintRULES_CONFIG_INFO_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
STATE_FIELD_NUMBER
publicstaticfinalintSTATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
UPDATE_TIME_FIELD_NUMBER
publicstaticfinalintUPDATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticBackupPlanAssociationgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticBackupPlanAssociation.BuildernewBuilder()
newBuilder(BackupPlanAssociation prototype)
publicstaticBackupPlanAssociation.BuildernewBuilder(BackupPlanAssociationprototype)
publicstaticBackupPlanAssociationparseDelimitedFrom(InputStreaminput)
publicstaticBackupPlanAssociationparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticBackupPlanAssociationparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticBackupPlanAssociationparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticBackupPlanAssociationparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticBackupPlanAssociationparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticBackupPlanAssociationparseFrom(CodedInputStreaminput)
publicstaticBackupPlanAssociationparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticBackupPlanAssociationparseFrom(InputStreaminput)
publicstaticBackupPlanAssociationparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticBackupPlanAssociationparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticBackupPlanAssociationparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<BackupPlanAssociation>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getBackupPlan()
publicStringgetBackupPlan()
Required. Resource name of backup plan which needs to be applied on
workload. Format:
projects/{project}/locations/{location}/backupPlans/{backupPlanId}
string backup_plan = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The backupPlan.
|
getBackupPlanBytes()
publicByteStringgetBackupPlanBytes()
Required. Resource name of backup plan which needs to be applied on
workload. Format:
projects/{project}/locations/{location}/backupPlans/{backupPlanId}
string backup_plan = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for backupPlan.
|
getBackupPlanRevisionId()
publicStringgetBackupPlanRevisionId()
Output only. The user friendly revision ID of the BackupPlanRevision.
Example: v0, v1, v2, etc.
string backup_plan_revision_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The backupPlanRevisionId.
|
getBackupPlanRevisionIdBytes()
publicByteStringgetBackupPlanRevisionIdBytes()
Output only. The user friendly revision ID of the BackupPlanRevision.
Example: v0, v1, v2, etc.
string backup_plan_revision_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for backupPlanRevisionId.
|
getBackupPlanRevisionName()
publicStringgetBackupPlanRevisionName()
Output only. The resource id of the BackupPlanRevision.
Format:
projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision_id}
string backup_plan_revision_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The backupPlanRevisionName.
|
getBackupPlanRevisionNameBytes()
publicByteStringgetBackupPlanRevisionNameBytes()
Output only. The resource id of the BackupPlanRevision.
Format:
projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision_id}
string backup_plan_revision_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for backupPlanRevisionName.
|
getCloudSqlInstanceBackupPlanAssociationProperties()
publicCloudSqlInstanceBackupPlanAssociationPropertiesgetCloudSqlInstanceBackupPlanAssociationProperties()
Output only. Cloud SQL instance's backup plan association properties.
.google.cloud.backupdr.v1.CloudSqlInstanceBackupPlanAssociationProperties cloud_sql_instance_backup_plan_association_properties = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCloudSqlInstanceBackupPlanAssociationPropertiesOrBuilder()
publicCloudSqlInstanceBackupPlanAssociationPropertiesOrBuildergetCloudSqlInstanceBackupPlanAssociationPropertiesOrBuilder()
Output only. Cloud SQL instance's backup plan association properties.
.google.cloud.backupdr.v1.CloudSqlInstanceBackupPlanAssociationProperties cloud_sql_instance_backup_plan_association_properties = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime()
publicTimestampgetCreateTime()
Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
publicTimestampOrBuildergetCreateTimeOrBuilder()
Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDataSource()
publicStringgetDataSource()
Output only. Resource name of data source which will be used as storage
location for backups taken. Format :
projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
string data_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The dataSource.
|
getDataSourceBytes()
publicByteStringgetDataSourceBytes()
Output only. Resource name of data source which will be used as storage
location for backups taken. Format :
projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
string data_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for dataSource.
|
getDefaultInstanceForType()
publicBackupPlanAssociationgetDefaultInstanceForType()
getName()
Output only. Identifier. The resource name of BackupPlanAssociation in
below format Format :
projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
publicByteStringgetNameBytes()
Output only. Identifier. The resource name of BackupPlanAssociation in
below format Format :
projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
publicParser<BackupPlanAssociation>getParserForType()
Overrides
getResource()
publicStringgetResource()
| Returns |
| Type |
Description |
String |
The resource.
|
getResourceBytes()
publicByteStringgetResourceBytes()
| Returns |
| Type |
Description |
ByteString |
The bytes for resource.
|
getResourcePropertiesCase()
publicBackupPlanAssociation.ResourcePropertiesCasegetResourcePropertiesCase()
getResourceType()
publicStringgetResourceType()
Required. Immutable. Resource type of workload on which backupplan is
applied
string resource_type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The resourceType.
|
getResourceTypeBytes()
publicByteStringgetResourceTypeBytes()
Required. Immutable. Resource type of workload on which backupplan is
applied
string resource_type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for resourceType.
|
getRulesConfigInfo(int index)
publicRuleConfigInfogetRulesConfigInfo(intindex)
Output only. The config info related to backup rules.
repeated .google.cloud.backupdr.v1.RuleConfigInfo rules_config_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getRulesConfigInfoCount()
publicintgetRulesConfigInfoCount()
Output only. The config info related to backup rules.
repeated .google.cloud.backupdr.v1.RuleConfigInfo rules_config_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
getRulesConfigInfoList()
publicList<RuleConfigInfo>getRulesConfigInfoList()
Output only. The config info related to backup rules.
repeated .google.cloud.backupdr.v1.RuleConfigInfo rules_config_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRulesConfigInfoOrBuilder(int index)
publicRuleConfigInfoOrBuildergetRulesConfigInfoOrBuilder(intindex)
Output only. The config info related to backup rules.
repeated .google.cloud.backupdr.v1.RuleConfigInfo rules_config_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getRulesConfigInfoOrBuilderList()
publicList<?extendsRuleConfigInfoOrBuilder>getRulesConfigInfoOrBuilderList()
Output only. The config info related to backup rules.
repeated .google.cloud.backupdr.v1.RuleConfigInfo rules_config_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.backupdr.v1.RuleConfigInfoOrBuilder> |
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getState()
publicBackupPlanAssociation.StategetState()
Output only. The BackupPlanAssociation resource state.
.google.cloud.backupdr.v1.BackupPlanAssociation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
Output only. The BackupPlanAssociation resource state.
.google.cloud.backupdr.v1.BackupPlanAssociation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for state.
|
getUpdateTime()
publicTimestampgetUpdateTime()
Output only. The time when the instance was updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
publicTimestampOrBuildergetUpdateTimeOrBuilder()
Output only. The time when the instance was updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCloudSqlInstanceBackupPlanAssociationProperties()
publicbooleanhasCloudSqlInstanceBackupPlanAssociationProperties()
Output only. Cloud SQL instance's backup plan association properties.
.google.cloud.backupdr.v1.CloudSqlInstanceBackupPlanAssociationProperties cloud_sql_instance_backup_plan_association_properties = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the cloudSqlInstanceBackupPlanAssociationProperties field is set.
|
hasCreateTime()
publicbooleanhasCreateTime()
Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
hasUpdateTime()
publicbooleanhasUpdateTime()
Output only. The time when the instance was updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicBackupPlanAssociation.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedBackupPlanAssociation.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicBackupPlanAssociation.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides