Class CreateTagValueRequest.Builder (1.80.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
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.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   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  
      
        otherMessage  
     
  
  
  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  
      
        Name Description  
      
        valueTagValue  
     
  
  
  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];
 
    
      
        Parameter  
      
        Name Description  
      
        valueTagValue  
     
  
  
  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  
      
        valueboolean The validateOnly to set.
 
     
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]