Class UpdateTagValueRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateTagValueRequest.Builder>
com.google.cloud.resourcemanager.v3.UpdateTagValueRequest.Builder
All Implemented Interfaces:
UpdateTagValueRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateTagValueRequest

public static final class UpdateTagValueRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateTagValueRequest.Builder> implements UpdateTagValueRequestOrBuilder
 The request message for updating a TagValue.
 
Protobuf type google.cloud.resourcemanager.v3.UpdateTagValueRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateTagValueRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UpdateTagValueRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdateTagValueRequest.Builder>
    • getDefaultInstanceForType

      public UpdateTagValueRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public UpdateTagValueRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateTagValueRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdateTagValueRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateTagValueRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdateTagValueRequest.Builder>
    • mergeFrom

      public UpdateTagValueRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateTagValueRequest.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      hasTagValue in interface UpdateTagValueRequestOrBuilder
      Returns:
      Whether the tagValue field is set.
    • 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];
      Specified by:
      getTagValue in interface UpdateTagValueRequestOrBuilder
      Returns:
      The tagValue.
    • setTagValue

      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];
    • setTagValue

      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];
    • mergeTagValue

      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];
    • 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];
    • 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];
      Specified by:
      getTagValueOrBuilder in interface UpdateTagValueRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. Fields to be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateTagValueRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. Fields to be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateTagValueRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateTagValueRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Fields to be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateTagValueRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. Fields to be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateTagValueRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Fields to be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateTagValueRequest.Builder clearUpdateMask()
       Optional. Fields to be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. Fields to be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. Fields to be updated.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateTagValueRequestOrBuilder
    • 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];
      Specified by:
      getValidateOnly in interface UpdateTagValueRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      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];
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.