public final class BackupPlanAssociation extends GeneratedMessageV3 implements BackupPlanAssociationOrBuilder
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
public static final int BACKUP_PLAN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DATA_SOURCE_FIELD_NUMBER
public static final int DATA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RULES_CONFIG_INFO_FIELD_NUMBER
public static final int RULES_CONFIG_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BackupPlanAssociation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BackupPlanAssociation.Builder newBuilder()
newBuilder(BackupPlanAssociation prototype)
public static BackupPlanAssociation.Builder newBuilder(BackupPlanAssociation prototype)
public static BackupPlanAssociation parseDelimitedFrom(InputStream input)
public static BackupPlanAssociation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BackupPlanAssociation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackupPlanAssociation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BackupPlanAssociation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupPlanAssociation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupPlanAssociation parseFrom(CodedInputStream input)
public static BackupPlanAssociation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupPlanAssociation parseFrom(InputStream input)
public static BackupPlanAssociation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BackupPlanAssociation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackupPlanAssociation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BackupPlanAssociation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBackupPlan()
public String getBackupPlan()
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()
public ByteString getBackupPlanBytes()
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.
|
getCreateTime()
public Timestamp getCreateTime()
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()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDataSource()
public String getDataSource()
Output only. 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()
public ByteString getDataSourceBytes()
Output only. 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()
public BackupPlanAssociation getDefaultInstanceForType()
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()
public ByteString getNameBytes()
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()
public Parser<BackupPlanAssociation> getParserForType()
Overrides
getResource()
public String getResource()
Required. Immutable. Resource name of workload on which backupplan is
applied
string resource = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The resource.
|
getResourceBytes()
public ByteString getResourceBytes()
Required. Immutable. Resource name of workload on which backupplan is
applied
string resource = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for resource.
|
getResourceType()
public String getResourceType()
Optional. Resource type of workload on which backupplan is applied
string resource_type = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The resourceType.
|
getResourceTypeBytes()
public ByteString getResourceTypeBytes()
Optional. Resource type of workload on which backupplan is applied
string resource_type = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for resourceType.
|
getRulesConfigInfo(int index)
public RuleConfigInfo getRulesConfigInfo(int index)
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()
public int getRulesConfigInfoCount()
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()
public List<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)
public RuleConfigInfoOrBuilder getRulesConfigInfoOrBuilder(int index)
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()
public List<? extends RuleConfigInfoOrBuilder> 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()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getState()
public BackupPlanAssociation.State getState()
Output only. The BackupPlanAssociation resource state.
.google.cloud.backupdr.v1.BackupPlanAssociation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int 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()
public Timestamp getUpdateTime()
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()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the instance was updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
public boolean hasCreateTime()
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()
public boolean hasUpdateTime()
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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BackupPlanAssociation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BackupPlanAssociation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BackupPlanAssociation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides