Class UpdateBackupPlanAssociationRequest.Builder (0.32.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass UpdateBackupPlanAssociationRequest.BuilderextendsGeneratedMessageV3.Builder<UpdateBackupPlanAssociationRequest.Builder>implementsUpdateBackupPlanAssociationRequestOrBuilderRequest message for updating a backup plan association.
Protobuf type google.cloud.backupdr.v1.UpdateBackupPlanAssociationRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateBackupPlanAssociationRequest.BuilderImplements
UpdateBackupPlanAssociationRequestOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicUpdateBackupPlanAssociationRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
build()
publicUpdateBackupPlanAssociationRequestbuild()| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest |
|
buildPartial()
publicUpdateBackupPlanAssociationRequestbuildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest |
|
clear()
publicUpdateBackupPlanAssociationRequest.Builderclear()| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
clearBackupPlanAssociation()
publicUpdateBackupPlanAssociationRequest.BuilderclearBackupPlanAssociation()Required. The resource being updated
.google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_association = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicUpdateBackupPlanAssociationRequest.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicUpdateBackupPlanAssociationRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
clearRequestId()
publicUpdateBackupPlanAssociationRequest.BuilderclearRequestId()Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
This builder for chaining. |
clearUpdateMask()
publicUpdateBackupPlanAssociationRequest.BuilderclearUpdateMask()Required. The list of fields to update. Field mask is used to specify the fields to be overwritten in the BackupPlanAssociation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail. Currently backup_plan_association.backup_plan is the only supported field.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
clone()
publicUpdateBackupPlanAssociationRequest.Builderclone()| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
getBackupPlanAssociation()
publicBackupPlanAssociationgetBackupPlanAssociation()Required. The resource being updated
.google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_association = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BackupPlanAssociation |
The backupPlanAssociation. |
getBackupPlanAssociationBuilder()
publicBackupPlanAssociation.BuildergetBackupPlanAssociationBuilder()Required. The resource being updated
.google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_association = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BackupPlanAssociation.Builder |
|
getBackupPlanAssociationOrBuilder()
publicBackupPlanAssociationOrBuildergetBackupPlanAssociationOrBuilder()Required. The resource being updated
.google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_association = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BackupPlanAssociationOrBuilder |
|
getDefaultInstanceForType()
publicUpdateBackupPlanAssociationRequestgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRequestId()
publicStringgetRequestId()Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
publicByteStringgetRequestIdBytes()Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
getUpdateMask()
publicFieldMaskgetUpdateMask()Required. The list of fields to update. Field mask is used to specify the fields to be overwritten in the BackupPlanAssociation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail. Currently backup_plan_association.backup_plan is the only supported field.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
publicFieldMask.BuildergetUpdateMaskBuilder()Required. The list of fields to update. Field mask is used to specify the fields to be overwritten in the BackupPlanAssociation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail. Currently backup_plan_association.backup_plan is the only supported field.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
publicFieldMaskOrBuildergetUpdateMaskOrBuilder()Required. The list of fields to update. Field mask is used to specify the fields to be overwritten in the BackupPlanAssociation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail. Currently backup_plan_association.backup_plan is the only supported field.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasBackupPlanAssociation()
publicbooleanhasBackupPlanAssociation()Required. The resource being updated
.google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_association = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupPlanAssociation field is set. |
hasUpdateMask()
publicbooleanhasUpdateMask()Required. The list of fields to update. Field mask is used to specify the fields to be overwritten in the BackupPlanAssociation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail. Currently backup_plan_association.backup_plan is the only supported field.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBackupPlanAssociation(BackupPlanAssociation value)
publicUpdateBackupPlanAssociationRequest.BuildermergeBackupPlanAssociation(BackupPlanAssociationvalue)Required. The resource being updated
.google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_association = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupPlanAssociation |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
mergeFrom(UpdateBackupPlanAssociationRequest other)
publicUpdateBackupPlanAssociationRequest.BuildermergeFrom(UpdateBackupPlanAssociationRequestother)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateBackupPlanAssociationRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicUpdateBackupPlanAssociationRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicUpdateBackupPlanAssociationRequest.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalUpdateBackupPlanAssociationRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
mergeUpdateMask(FieldMask value)
publicUpdateBackupPlanAssociationRequest.BuildermergeUpdateMask(FieldMaskvalue)Required. The list of fields to update. Field mask is used to specify the fields to be overwritten in the BackupPlanAssociation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail. Currently backup_plan_association.backup_plan is the only supported field.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
setBackupPlanAssociation(BackupPlanAssociation value)
publicUpdateBackupPlanAssociationRequest.BuildersetBackupPlanAssociation(BackupPlanAssociationvalue)Required. The resource being updated
.google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_association = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupPlanAssociation |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
setBackupPlanAssociation(BackupPlanAssociation.Builder builderForValue)
publicUpdateBackupPlanAssociationRequest.BuildersetBackupPlanAssociation(BackupPlanAssociation.BuilderbuilderForValue)Required. The resource being updated
.google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_association = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BackupPlanAssociation.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicUpdateBackupPlanAssociationRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicUpdateBackupPlanAssociationRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
setRequestId(String value)
publicUpdateBackupPlanAssociationRequest.BuildersetRequestId(Stringvalue)Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
String The requestId to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
publicUpdateBackupPlanAssociationRequest.BuildersetRequestIdBytes(ByteStringvalue)Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalUpdateBackupPlanAssociationRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
setUpdateMask(FieldMask value)
publicUpdateBackupPlanAssociationRequest.BuildersetUpdateMask(FieldMaskvalue)Required. The list of fields to update. Field mask is used to specify the fields to be overwritten in the BackupPlanAssociation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail. Currently backup_plan_association.backup_plan is the only supported field.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
publicUpdateBackupPlanAssociationRequest.BuildersetUpdateMask(FieldMask.BuilderbuilderForValue)Required. The list of fields to update. Field mask is used to specify the fields to be overwritten in the BackupPlanAssociation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail. Currently backup_plan_association.backup_plan is the only supported field.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateBackupPlanAssociationRequest.Builder |
|