public final class BackupPlanBinding extends GeneratedMessageV3 implements BackupPlanBindingOrBuilder
A BackupPlanBinding binds a BackupPlan with a BackupChannel.
This resource is created automatically when a BackupPlan is created using a
BackupChannel. This also serves as a holder for cross-project fields
that need to be displayed in the current project.
Protobuf type google.cloud.gkebackup.v1.BackupPlanBinding
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_DETAILS_FIELD_NUMBER
public static final int BACKUP_PLAN_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BACKUP_PLAN_FIELD_NUMBER
public static final int BACKUP_PLAN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UID_FIELD_NUMBER
public static final int UID_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 BackupPlanBinding getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BackupPlanBinding.Builder newBuilder()
newBuilder(BackupPlanBinding prototype)
public static BackupPlanBinding.Builder newBuilder(BackupPlanBinding prototype)
public static BackupPlanBinding parseDelimitedFrom(InputStream input)
public static BackupPlanBinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BackupPlanBinding parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackupPlanBinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BackupPlanBinding parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupPlanBinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupPlanBinding parseFrom(CodedInputStream input)
public static BackupPlanBinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupPlanBinding parseFrom(InputStream input)
public static BackupPlanBinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BackupPlanBinding parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackupPlanBinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BackupPlanBinding> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBackupPlan()
public String getBackupPlan()
Output only. Immutable. The fully qualified name of the BackupPlan bound
with the parent BackupChannel.
projects/*/locations/*/backupPlans/{backup_plan}
string backup_plan = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The backupPlan.
|
getBackupPlanBytes()
public ByteString getBackupPlanBytes()
Output only. Immutable. The fully qualified name of the BackupPlan bound
with the parent BackupChannel.
projects/*/locations/*/backupPlans/{backup_plan}
string backup_plan = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for backupPlan.
|
getBackupPlanDetails()
public BackupPlanBinding.BackupPlanDetails getBackupPlanDetails()
Output only. Contains details about the backup plan/backup.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails backup_plan_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getBackupPlanDetailsOrBuilder()
public BackupPlanBinding.BackupPlanDetailsOrBuilder getBackupPlanDetailsOrBuilder()
Output only. Contains details about the backup plan/backup.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails backup_plan_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCluster()
public String getCluster()
Output only. Immutable. The fully qualified name of the cluster that is
being backed up Valid formats:
projects/*/locations/*/clusters/*
projects/*/zones/*/clusters/*
string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The cluster.
|
getClusterBytes()
public ByteString getClusterBytes()
Output only. Immutable. The fully qualified name of the cluster that is
being backed up Valid formats:
projects/*/locations/*/clusters/*
projects/*/zones/*/clusters/*
string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for cluster.
|
getCreateTime()
public Timestamp getCreateTime()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public BackupPlanBinding getDefaultInstanceForType()
getEtag()
Output only. etag
is used for optimistic concurrency control as a way to
help prevent simultaneous updates of a BackupPlanBinding from overwriting
each other. It is strongly suggested that systems make use of the 'etag' in
the read-modify-write cycle to perform BackupPlanBinding updates in
order to avoid race conditions: An etag
is returned in the response to
GetBackupPlanBinding
, and systems are expected to put that etag in
the request to UpdateBackupPlanBinding
or
DeleteBackupPlanBinding
to ensure that their change will be applied
to the same version of the resource.
string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The etag.
|
getEtagBytes()
public ByteString getEtagBytes()
Output only. etag
is used for optimistic concurrency control as a way to
help prevent simultaneous updates of a BackupPlanBinding from overwriting
each other. It is strongly suggested that systems make use of the 'etag' in
the read-modify-write cycle to perform BackupPlanBinding updates in
order to avoid race conditions: An etag
is returned in the response to
GetBackupPlanBinding
, and systems are expected to put that etag in
the request to UpdateBackupPlanBinding
or
DeleteBackupPlanBinding
to ensure that their change will be applied
to the same version of the resource.
string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for etag.
|
getName()
Identifier. The fully qualified name of the BackupPlanBinding.
projects/*/locations/*/backupChannels/*/backupPlanBindings/*
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. The fully qualified name of the BackupPlanBinding.
projects/*/locations/*/backupChannels/*/backupPlanBindings/*
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<BackupPlanBinding> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUid()
Output only. Server generated global unique identifier of
UUID4
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Returns |
Type |
Description |
String |
The uid.
|
getUidBytes()
public ByteString getUidBytes()
Output only. Server generated global unique identifier of
UUID4
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for uid.
|
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasBackupPlanDetails()
public boolean hasBackupPlanDetails()
Output only. Contains details about the backup plan/backup.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails backup_plan_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the backupPlanDetails field is set.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp update_time = 4 [(.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 BackupPlanBinding.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BackupPlanBinding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BackupPlanBinding.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides