Class UpdateTagValueRequest.Builder (1.5.4)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateTagValueRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateTagValueRequest.Builder
Overrides

build()

public UpdateTagValueRequest build()
Returns
TypeDescription
UpdateTagValueRequest

buildPartial()

public UpdateTagValueRequest buildPartial()
Returns
TypeDescription
UpdateTagValueRequest

clear()

public UpdateTagValueRequest.Builder clear()
Returns
TypeDescription
UpdateTagValueRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateTagValueRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateTagValueRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateTagValueRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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, FAILED_PRECONDITION will be returned.

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

Returns
TypeDescription
UpdateTagValueRequest.Builder

clearUpdateMask()

public UpdateTagValueRequest.Builder clearUpdateMask()

Optional. Fields to be updated.

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

Returns
TypeDescription
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
TypeDescription
UpdateTagValueRequest.Builder

This builder for chaining.

clone()

public UpdateTagValueRequest.Builder clone()
Returns
TypeDescription
UpdateTagValueRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateTagValueRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateTagValueRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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, FAILED_PRECONDITION will be returned.

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

Returns
TypeDescription
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, FAILED_PRECONDITION will be returned.

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

Returns
TypeDescription
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, FAILED_PRECONDITION will be returned.

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

Returns
TypeDescription
TagValueOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Fields to be updated.

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

Returns
TypeDescription
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
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Fields to be updated.

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

Returns
TypeDescription
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
TypeDescription
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, FAILED_PRECONDITION will be returned.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateTagValueRequest other)

public UpdateTagValueRequest.Builder mergeFrom(UpdateTagValueRequest other)
Parameter
NameDescription
otherUpdateTagValueRequest
Returns
TypeDescription
UpdateTagValueRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateTagValueRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateTagValueRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateTagValueRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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, FAILED_PRECONDITION will be returned.

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

Parameter
NameDescription
valueTagValue
Returns
TypeDescription
UpdateTagValueRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateTagValueRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateTagValueRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateTagValueRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateTagValueRequest.Builder
Overrides

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

public UpdateTagValueRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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, FAILED_PRECONDITION will be returned.

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

Parameter
NameDescription
valueTagValue
Returns
TypeDescription
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, FAILED_PRECONDITION will be returned.

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

Parameter
NameDescription
builderForValueTagValue.Builder
Returns
TypeDescription
UpdateTagValueRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateTagValueRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
UpdateTagValueRequest.Builder

This builder for chaining.