public static final class CreateTagValueRequest.Builder extends GeneratedMessageV3.Builder<CreateTagValueRequest.Builder> implements CreateTagValueRequestOrBuilder
The request message for creating a TagValue.
Protobuf type google.cloud.resourcemanager.v3.CreateTagValueRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTagValueRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateTagValueRequest build()
Returns
buildPartial()
public CreateTagValueRequest buildPartial()
Returns
clear()
public CreateTagValueRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateTagValueRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTagValueRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTagValue()
public CreateTagValueRequest.Builder clearTagValue()
Required. The TagValue to be created. Only fields short_name
, description
,
and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearValidateOnly()
public CreateTagValueRequest.Builder clearValidateOnly()
Optional. Set as true to perform the validations necessary for creating the resource,
but not actually perform the action.
bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clone()
public CreateTagValueRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateTagValueRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getTagValue()
public TagValue getTagValue()
Required. The TagValue to be created. Only fields short_name
, description
,
and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getTagValueBuilder()
public TagValue.Builder getTagValueBuilder()
Required. The TagValue to be created. Only fields short_name
, description
,
and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getTagValueOrBuilder()
public TagValueOrBuilder getTagValueOrBuilder()
Required. The TagValue to be created. Only fields short_name
, description
,
and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getValidateOnly()
public boolean getValidateOnly()
Optional. Set as true to perform the validations necessary for creating the resource,
but not actually perform the action.
bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | The validateOnly.
|
hasTagValue()
public boolean hasTagValue()
Required. The TagValue to be created. Only fields short_name
, description
,
and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the tagValue field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateTagValueRequest other)
public CreateTagValueRequest.Builder mergeFrom(CreateTagValueRequest other)
Parameter
Returns
public CreateTagValueRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateTagValueRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeTagValue(TagValue value)
public CreateTagValueRequest.Builder mergeTagValue(TagValue value)
Required. The TagValue to be created. Only fields short_name
, description
,
and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagValueRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTagValueRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTagValueRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTagValue(TagValue value)
public CreateTagValueRequest.Builder setTagValue(TagValue value)
Required. The TagValue to be created. Only fields short_name
, description
,
and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setTagValue(TagValue.Builder builderForValue)
public CreateTagValueRequest.Builder setTagValue(TagValue.Builder builderForValue)
Required. The TagValue to be created. Only fields short_name
, description
,
and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagValueRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setValidateOnly(boolean value)
public CreateTagValueRequest.Builder setValidateOnly(boolean value)
Optional. Set as true to perform the validations necessary for creating the resource,
but not actually perform the action.
bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | boolean
The validateOnly to set.
|
Returns