- 0.62.0 (latest)
- 0.61.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
public static final class BackupPlanBinding.Builder extends GeneratedMessageV3.Builder<BackupPlanBinding.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackupPlanBinding.BuilderImplements
BackupPlanBindingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackupPlanBinding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
build()
public BackupPlanBinding build()
Returns | |
---|---|
Type | Description |
BackupPlanBinding |
buildPartial()
public BackupPlanBinding buildPartial()
Returns | |
---|---|
Type | Description |
BackupPlanBinding |
clear()
public BackupPlanBinding.Builder clear()
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
clearBackupPlan()
public BackupPlanBinding.Builder clearBackupPlan()
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 |
BackupPlanBinding.Builder |
This builder for chaining. |
clearBackupPlanDetails()
public BackupPlanBinding.Builder clearBackupPlanDetails()
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 |
BackupPlanBinding.Builder |
clearCluster()
public BackupPlanBinding.Builder clearCluster()
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 |
BackupPlanBinding.Builder |
This builder for chaining. |
clearCreateTime()
public BackupPlanBinding.Builder clearCreateTime()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
clearEtag()
public BackupPlanBinding.Builder clearEtag()
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 |
BackupPlanBinding.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BackupPlanBinding.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
clearName()
public BackupPlanBinding.Builder clearName()
Identifier. The fully qualified name of the BackupPlanBinding.
projects/*/locations/*/backupChannels/*/backupPlanBindings/*
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BackupPlanBinding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
clearUid()
public BackupPlanBinding.Builder clearUid()
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 |
BackupPlanBinding.Builder |
This builder for chaining. |
clearUpdateTime()
public BackupPlanBinding.Builder clearUpdateTime()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
clone()
public BackupPlanBinding.Builder clone()
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
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];
Returns | |
---|---|
Type | Description |
BackupPlanBinding.BackupPlanDetails |
The backupPlanDetails. |
getBackupPlanDetailsBuilder()
public BackupPlanBinding.BackupPlanDetails.Builder getBackupPlanDetailsBuilder()
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 |
BackupPlanBinding.BackupPlanDetails.Builder |
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];
Returns | |
---|---|
Type | Description |
BackupPlanBinding.BackupPlanDetailsOrBuilder |
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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public BackupPlanBinding getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BackupPlanBinding |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEtag()
public String 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()
public String 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. |
getUid()
public String 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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeBackupPlanDetails(BackupPlanBinding.BackupPlanDetails value)
public BackupPlanBinding.Builder mergeBackupPlanDetails(BackupPlanBinding.BackupPlanDetails value)
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];
Parameter | |
---|---|
Name | Description |
value |
BackupPlanBinding.BackupPlanDetails |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
mergeCreateTime(Timestamp value)
public BackupPlanBinding.Builder mergeCreateTime(Timestamp value)
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
mergeFrom(BackupPlanBinding other)
public BackupPlanBinding.Builder mergeFrom(BackupPlanBinding other)
Parameter | |
---|---|
Name | Description |
other |
BackupPlanBinding |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupPlanBinding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BackupPlanBinding.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackupPlanBinding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
mergeUpdateTime(Timestamp value)
public BackupPlanBinding.Builder mergeUpdateTime(Timestamp value)
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
setBackupPlan(String value)
public BackupPlanBinding.Builder setBackupPlan(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The backupPlan to set. |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
This builder for chaining. |
setBackupPlanBytes(ByteString value)
public BackupPlanBinding.Builder setBackupPlanBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for backupPlan to set. |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
This builder for chaining. |
setBackupPlanDetails(BackupPlanBinding.BackupPlanDetails value)
public BackupPlanBinding.Builder setBackupPlanDetails(BackupPlanBinding.BackupPlanDetails value)
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];
Parameter | |
---|---|
Name | Description |
value |
BackupPlanBinding.BackupPlanDetails |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
setBackupPlanDetails(BackupPlanBinding.BackupPlanDetails.Builder builderForValue)
public BackupPlanBinding.Builder setBackupPlanDetails(BackupPlanBinding.BackupPlanDetails.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
BackupPlanBinding.BackupPlanDetails.Builder |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
setCluster(String value)
public BackupPlanBinding.Builder setCluster(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The cluster to set. |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
This builder for chaining. |
setClusterBytes(ByteString value)
public BackupPlanBinding.Builder setClusterBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for cluster to set. |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public BackupPlanBinding.Builder setCreateTime(Timestamp value)
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public BackupPlanBinding.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
setEtag(String value)
public BackupPlanBinding.Builder setEtag(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The etag to set. |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public BackupPlanBinding.Builder setEtagBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BackupPlanBinding.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
setName(String value)
public BackupPlanBinding.Builder setName(String value)
Identifier. The fully qualified name of the BackupPlanBinding.
projects/*/locations/*/backupChannels/*/backupPlanBindings/*
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public BackupPlanBinding.Builder setNameBytes(ByteString value)
Identifier. The fully qualified name of the BackupPlanBinding.
projects/*/locations/*/backupChannels/*/backupPlanBindings/*
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackupPlanBinding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
setUid(String value)
public BackupPlanBinding.Builder setUid(String value)
Output only. Server generated global unique identifier of UUID4
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The uid to set. |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
This builder for chaining. |
setUidBytes(ByteString value)
public BackupPlanBinding.Builder setUidBytes(ByteString value)
Output only. Server generated global unique identifier of UUID4
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uid to set. |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BackupPlanBinding.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
setUpdateTime(Timestamp value)
public BackupPlanBinding.Builder setUpdateTime(Timestamp value)
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public BackupPlanBinding.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The timestamp when this binding was created.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
BackupPlanBinding.Builder |