Class UpdateTagKeyRequest.Builder

    • Method Detail

      • getDescriptor

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

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

        public UpdateTagKeyRequest.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.GeneratedMessageV3.Builder<UpdateTagKeyRequest.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.GeneratedMessageV3.Builder<UpdateTagKeyRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public UpdateTagKeyRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTagKeyRequest.Builder>
      • setField

        public UpdateTagKeyRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTagKeyRequest.Builder>
      • clearField

        public UpdateTagKeyRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTagKeyRequest.Builder>
      • clearOneof

        public UpdateTagKeyRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTagKeyRequest.Builder>
      • setRepeatedField

        public UpdateTagKeyRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTagKeyRequest.Builder>
      • addRepeatedField

        public UpdateTagKeyRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTagKeyRequest.Builder>
      • mergeFrom

        public UpdateTagKeyRequest.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<UpdateTagKeyRequest.Builder>
      • isInitialized

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

        public UpdateTagKeyRequest.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<UpdateTagKeyRequest.Builder>
        Throws:
        IOException
      • hasTagKey

        public boolean hasTagKey()
         Required. The new definition of the TagKey. Only the `description` and
         `etag` fields can be updated by this request. If the `etag` field is not
         empty, it must match the `etag` field of the existing tag key. Otherwise,
         `ABORTED` will be returned.
         
        .google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasTagKey in interface UpdateTagKeyRequestOrBuilder
        Returns:
        Whether the tagKey field is set.
      • getTagKey

        public TagKey getTagKey()
         Required. The new definition of the TagKey. Only the `description` and
         `etag` fields can be updated by this request. If the `etag` field is not
         empty, it must match the `etag` field of the existing tag key. Otherwise,
         `ABORTED` will be returned.
         
        .google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTagKey in interface UpdateTagKeyRequestOrBuilder
        Returns:
        The tagKey.
      • setTagKey

        public UpdateTagKeyRequest.Builder setTagKey​(TagKey value)
         Required. The new definition of the TagKey. Only the `description` and
         `etag` fields can be updated by this request. If the `etag` field is not
         empty, it must match the `etag` field of the existing tag key. Otherwise,
         `ABORTED` will be returned.
         
        .google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
      • setTagKey

        public UpdateTagKeyRequest.Builder setTagKey​(TagKey.Builder builderForValue)
         Required. The new definition of the TagKey. Only the `description` and
         `etag` fields can be updated by this request. If the `etag` field is not
         empty, it must match the `etag` field of the existing tag key. Otherwise,
         `ABORTED` will be returned.
         
        .google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
      • mergeTagKey

        public UpdateTagKeyRequest.Builder mergeTagKey​(TagKey value)
         Required. The new definition of the TagKey. Only the `description` and
         `etag` fields can be updated by this request. If the `etag` field is not
         empty, it must match the `etag` field of the existing tag key. Otherwise,
         `ABORTED` will be returned.
         
        .google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearTagKey

        public UpdateTagKeyRequest.Builder clearTagKey()
         Required. The new definition of the TagKey. Only the `description` and
         `etag` fields can be updated by this request. If the `etag` field is not
         empty, it must match the `etag` field of the existing tag key. Otherwise,
         `ABORTED` will be returned.
         
        .google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
      • getTagKeyBuilder

        public TagKey.Builder getTagKeyBuilder()
         Required. The new definition of the TagKey. Only the `description` and
         `etag` fields can be updated by this request. If the `etag` field is not
         empty, it must match the `etag` field of the existing tag key. Otherwise,
         `ABORTED` will be returned.
         
        .google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
      • getTagKeyOrBuilder

        public TagKeyOrBuilder getTagKeyOrBuilder()
         Required. The new definition of the TagKey. Only the `description` and
         `etag` fields can be updated by this request. If the `etag` field is not
         empty, it must match the `etag` field of the existing tag key. Otherwise,
         `ABORTED` will be returned.
         
        .google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTagKeyOrBuilder in interface UpdateTagKeyRequestOrBuilder
      • hasUpdateMask

        public boolean hasUpdateMask()
         Fields to be updated. The mask may only contain `description` or
         `etag`. If omitted entirely, both `description` and `etag` are assumed to
         be significant.
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        hasUpdateMask in interface UpdateTagKeyRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Fields to be updated. The mask may only contain `description` or
         `etag`. If omitted entirely, both `description` and `etag` are assumed to
         be significant.
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        getUpdateMask in interface UpdateTagKeyRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateTagKeyRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Fields to be updated. The mask may only contain `description` or
         `etag`. If omitted entirely, both `description` and `etag` are assumed to
         be significant.
         
        .google.protobuf.FieldMask update_mask = 2;
      • setUpdateMask

        public UpdateTagKeyRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Fields to be updated. The mask may only contain `description` or
         `etag`. If omitted entirely, both `description` and `etag` are assumed to
         be significant.
         
        .google.protobuf.FieldMask update_mask = 2;
      • mergeUpdateMask

        public UpdateTagKeyRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Fields to be updated. The mask may only contain `description` or
         `etag`. If omitted entirely, both `description` and `etag` are assumed to
         be significant.
         
        .google.protobuf.FieldMask update_mask = 2;
      • clearUpdateMask

        public UpdateTagKeyRequest.Builder clearUpdateMask()
         Fields to be updated. The mask may only contain `description` or
         `etag`. If omitted entirely, both `description` and `etag` are assumed to
         be significant.
         
        .google.protobuf.FieldMask update_mask = 2;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Fields to be updated. The mask may only contain `description` or
         `etag`. If omitted entirely, both `description` and `etag` are assumed to
         be significant.
         
        .google.protobuf.FieldMask update_mask = 2;
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Fields to be updated. The mask may only contain `description` or
         `etag`. If omitted entirely, both `description` and `etag` are assumed to
         be significant.
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateTagKeyRequestOrBuilder
      • getValidateOnly

        public boolean getValidateOnly()
         Set as true to perform validations necessary for updating the resource, but
         not actually perform the action.
         
        bool validate_only = 3;
        Specified by:
        getValidateOnly in interface UpdateTagKeyRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public UpdateTagKeyRequest.Builder setValidateOnly​(boolean value)
         Set as true to perform validations necessary for updating the resource, but
         not actually perform the action.
         
        bool validate_only = 3;
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public UpdateTagKeyRequest.Builder clearValidateOnly()
         Set as true to perform validations necessary for updating the resource, but
         not actually perform the action.
         
        bool validate_only = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final UpdateTagKeyRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTagKeyRequest.Builder>
      • mergeUnknownFields

        public final UpdateTagKeyRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTagKeyRequest.Builder>