public final class GcpBackupConfig extends GeneratedMessageV3 implements GcpBackupConfigOrBuilder
GcpBackupConfig captures the Backup configuration details for Google Cloud
resources. All Google Cloud resources regardless of type are protected with
backup plan associations.
Protobuf type google.cloud.backupdr.v1.GcpBackupConfig
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_ASSOCIATION_FIELD_NUMBER
public static final int BACKUP_PLAN_ASSOCIATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BACKUP_PLAN_DESCRIPTION_FIELD_NUMBER
public static final int BACKUP_PLAN_DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BACKUP_PLAN_FIELD_NUMBER
public static final int BACKUP_PLAN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BACKUP_PLAN_RULES_FIELD_NUMBER
public static final int BACKUP_PLAN_RULES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GcpBackupConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GcpBackupConfig.Builder newBuilder()
newBuilder(GcpBackupConfig prototype)
public static GcpBackupConfig.Builder newBuilder(GcpBackupConfig prototype)
public static GcpBackupConfig parseDelimitedFrom(InputStream input)
public static GcpBackupConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GcpBackupConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GcpBackupConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GcpBackupConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GcpBackupConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GcpBackupConfig parseFrom(CodedInputStream input)
public static GcpBackupConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GcpBackupConfig parseFrom(InputStream input)
public static GcpBackupConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GcpBackupConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GcpBackupConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GcpBackupConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBackupPlan()
public String getBackupPlan()
The name of the backup plan.
string backup_plan = 1 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The backupPlan.
|
getBackupPlanAssociation()
public String getBackupPlanAssociation()
The name of the backup plan association.
string backup_plan_association = 3 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The backupPlanAssociation.
|
getBackupPlanAssociationBytes()
public ByteString getBackupPlanAssociationBytes()
The name of the backup plan association.
string backup_plan_association = 3 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for backupPlanAssociation.
|
getBackupPlanBytes()
public ByteString getBackupPlanBytes()
The name of the backup plan.
string backup_plan = 1 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for backupPlan.
|
getBackupPlanDescription()
public String getBackupPlanDescription()
The description of the backup plan.
string backup_plan_description = 2;
Returns |
Type |
Description |
String |
The backupPlanDescription.
|
getBackupPlanDescriptionBytes()
public ByteString getBackupPlanDescriptionBytes()
The description of the backup plan.
string backup_plan_description = 2;
Returns |
Type |
Description |
ByteString |
The bytes for backupPlanDescription.
|
getBackupPlanRules(int index)
public String getBackupPlanRules(int index)
The names of the backup plan rules which point to this backupvault
repeated string backup_plan_rules = 4;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The backupPlanRules at the given index.
|
getBackupPlanRulesBytes(int index)
public ByteString getBackupPlanRulesBytes(int index)
The names of the backup plan rules which point to this backupvault
repeated string backup_plan_rules = 4;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the backupPlanRules at the given index.
|
getBackupPlanRulesCount()
public int getBackupPlanRulesCount()
The names of the backup plan rules which point to this backupvault
repeated string backup_plan_rules = 4;
Returns |
Type |
Description |
int |
The count of backupPlanRules.
|
getBackupPlanRulesList()
public ProtocolStringList getBackupPlanRulesList()
The names of the backup plan rules which point to this backupvault
repeated string backup_plan_rules = 4;
getDefaultInstanceForType()
public GcpBackupConfig getDefaultInstanceForType()
getParserForType()
public Parser<GcpBackupConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GcpBackupConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GcpBackupConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public GcpBackupConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides