Class UpdateTagValueRequest.Builder (1.85.0)

public static final class UpdateTagValueRequest.Builder extends GeneratedMessage.Builder<UpdateTagValueRequest.Builder> implements UpdateTagValueRequestOrBuilder

The request message for updating a TagValue.

Protobuf type google.cloud.resourcemanager.v3.UpdateTagValueRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UpdateTagValueRequest build()
Returns
Type Description
UpdateTagValueRequest

buildPartial()

public UpdateTagValueRequest buildPartial()
Returns
Type Description
UpdateTagValueRequest

clear()

public UpdateTagValueRequest.Builder clear()
Returns
Type Description
UpdateTagValueRequest.Builder
Overrides

clearTagValue()

public UpdateTagValueRequest.Builder clearTagValue()

Required. The new definition of the TagValue. Only fields description and etag fields can be updated by this request. If the etag field is nonempty, it must match the etag field of the existing ControlGroup. Otherwise, ABORTED will be returned.

.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateTagValueRequest.Builder

clearUpdateMask()

public UpdateTagValueRequest.Builder clearUpdateMask()

Optional. Fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateTagValueRequest.Builder

clearValidateOnly()

public UpdateTagValueRequest.Builder clearValidateOnly()

Optional. True to perform validations necessary for updating the resource, but not actually perform the action.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateTagValueRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public UpdateTagValueRequest getDefaultInstanceForType()
Returns
Type Description
UpdateTagValueRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTagValue()

public TagValue getTagValue()

Required. The new definition of the TagValue. Only fields description and etag fields can be updated by this request. If the etag field is nonempty, it must match the etag field of the existing ControlGroup. Otherwise, ABORTED will be returned.

.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TagValue

The tagValue.

getTagValueBuilder()

public TagValue.Builder getTagValueBuilder()

Required. The new definition of the TagValue. Only fields description and etag fields can be updated by this request. If the etag field is nonempty, it must match the etag field of the existing ControlGroup. Otherwise, ABORTED will be returned.

.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TagValue.Builder

getTagValueOrBuilder()

public TagValueOrBuilder getTagValueOrBuilder()

Required. The new definition of the TagValue. Only fields description and etag fields can be updated by this request. If the etag field is nonempty, it must match the etag field of the existing ControlGroup. Otherwise, ABORTED will be returned.

.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TagValueOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. Fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Optional. True to perform validations necessary for updating the resource, but not actually perform the action.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasTagValue()

public boolean hasTagValue()

Required. The new definition of the TagValue. Only fields description and etag fields can be updated by this request. If the etag field is nonempty, it must match the etag field of the existing ControlGroup. Otherwise, ABORTED will be returned.

.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the tagValue field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateTagValueRequest other)

public UpdateTagValueRequest.Builder mergeFrom(UpdateTagValueRequest other)
Parameter
Name Description
other UpdateTagValueRequest
Returns
Type Description
UpdateTagValueRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateTagValueRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateTagValueRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateTagValueRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateTagValueRequest.Builder
Overrides

mergeTagValue(TagValue value)

public UpdateTagValueRequest.Builder mergeTagValue(TagValue value)

Required. The new definition of the TagValue. Only fields description and etag fields can be updated by this request. If the etag field is nonempty, it must match the etag field of the existing ControlGroup. Otherwise, ABORTED will be returned.

.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TagValue
Returns
Type Description
UpdateTagValueRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateTagValueRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateTagValueRequest.Builder

setTagValue(TagValue value)

public UpdateTagValueRequest.Builder setTagValue(TagValue value)

Required. The new definition of the TagValue. Only fields description and etag fields can be updated by this request. If the etag field is nonempty, it must match the etag field of the existing ControlGroup. Otherwise, ABORTED will be returned.

.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TagValue
Returns
Type Description
UpdateTagValueRequest.Builder

setTagValue(TagValue.Builder builderForValue)

public UpdateTagValueRequest.Builder setTagValue(TagValue.Builder builderForValue)

Required. The new definition of the TagValue. Only fields description and etag fields can be updated by this request. If the etag field is nonempty, it must match the etag field of the existing ControlGroup. Otherwise, ABORTED will be returned.

.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TagValue.Builder
Returns
Type Description
UpdateTagValueRequest.Builder

setUpdateMask(FieldMask value)

public UpdateTagValueRequest.Builder setUpdateMask(FieldMask value)

Optional. Fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateTagValueRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateTagValueRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateTagValueRequest.Builder

setValidateOnly(boolean value)

public UpdateTagValueRequest.Builder setValidateOnly(boolean value)

Optional. True to perform validations necessary for updating the resource, but not actually perform the action.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
UpdateTagValueRequest.Builder

This builder for chaining.