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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateTagValueRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateTagValueRequest build()
Returns
buildPartial()
public UpdateTagValueRequest buildPartial()
Returns
clear()
public UpdateTagValueRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateTagValueRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateTagValueRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clearUpdateMask()
public UpdateTagValueRequest.Builder clearUpdateMask()
Optional. Fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
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
clone()
public UpdateTagValueRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateTagValueRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
getUpdateMask()
public FieldMask getUpdateMask()
Optional. Fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. Fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
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,
FAILED_PRECONDITION
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateTagValueRequest other)
public UpdateTagValueRequest.Builder mergeFrom(UpdateTagValueRequest other)
Parameter
Returns
public UpdateTagValueRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateTagValueRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTagValueRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateTagValueRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateTagValueRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTagValueRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
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