Class UpdateTagValueRequest.Builder (1.53.0)

public static final class UpdateTagValueRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateTagValueRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateTagValueRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public UpdateTagValueRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateTagValueRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateTagValueRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateTagValueRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateTagValueRequest.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateTagValueRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateTagValueRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateTagValueRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateTagValueRequest.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateTagValueRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateTagValueRequest.Builder
Overrides

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.