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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateTagValueRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateTagValueRequest build()
buildPartial()
public UpdateTagValueRequest buildPartial()
clear()
public UpdateTagValueRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateTagValueRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateTagValueRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clearUpdateMask()
public UpdateTagValueRequest.Builder clearUpdateMask()
Optional. Fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
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];
clone()
public UpdateTagValueRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateTagValueRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateTagValueRequest other)
public UpdateTagValueRequest.Builder mergeFrom(UpdateTagValueRequest other)
public UpdateTagValueRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateTagValueRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTagValueRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateTagValueRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateTagValueRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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
|
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTagValueRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|
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.
|