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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 CreateTagValueRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateTagValueRequest build()
buildPartial()
public CreateTagValueRequest buildPartial()
clear()
public CreateTagValueRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateTagValueRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTagValueRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
clone()
public CreateTagValueRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateTagValueRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
TagValue | The tagValue.
|
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateTagValueRequest other)
public CreateTagValueRequest.Builder mergeFrom(CreateTagValueRequest other)
public CreateTagValueRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateTagValueRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagValueRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTagValueRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTagValueRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagValueRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|