Class UpdateNamespaceTagsRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
      • internalGetMutableMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)
        Overrides:
        internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceTagsRequest.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<UpdateNamespaceTagsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

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

        public UpdateNamespaceTagsRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws java.io.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<UpdateNamespaceTagsRequest.Builder>
        Throws:
        java.io.IOException
      • setNamespace

        public UpdateNamespaceTagsRequest.Builder setNamespace​(java.lang.String value)
         The namespace to set tags for.
         
        string namespace = 1;
        Parameters:
        value - The namespace to set.
        Returns:
        This builder for chaining.
      • setNamespaceBytes

        public UpdateNamespaceTagsRequest.Builder setNamespaceBytes​(com.google.protobuf.ByteString value)
         The namespace to set tags for.
         
        string namespace = 1;
        Parameters:
        value - The bytes for namespace to set.
        Returns:
        This builder for chaining.
      • containsTagsToUpsert

        public boolean containsTagsToUpsert​(java.lang.String key)
         A list of tags to add or update. 
         If a key of an existing tag is added, the tag's value is updated. 
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        map<string, string> tags_to_upsert = 2;
        Specified by:
        containsTagsToUpsert in interface UpdateNamespaceTagsRequestOrBuilder
      • getTagsToUpsertMap

        public java.util.Map<java.lang.String,​java.lang.String> getTagsToUpsertMap()
         A list of tags to add or update. 
         If a key of an existing tag is added, the tag's value is updated. 
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        map<string, string> tags_to_upsert = 2;
        Specified by:
        getTagsToUpsertMap in interface UpdateNamespaceTagsRequestOrBuilder
      • getTagsToUpsertOrDefault

        public java.lang.String getTagsToUpsertOrDefault​(java.lang.String key,
                                                         java.lang.String defaultValue)
         A list of tags to add or update. 
         If a key of an existing tag is added, the tag's value is updated. 
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        map<string, string> tags_to_upsert = 2;
        Specified by:
        getTagsToUpsertOrDefault in interface UpdateNamespaceTagsRequestOrBuilder
      • getTagsToUpsertOrThrow

        public java.lang.String getTagsToUpsertOrThrow​(java.lang.String key)
         A list of tags to add or update. 
         If a key of an existing tag is added, the tag's value is updated. 
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        map<string, string> tags_to_upsert = 2;
        Specified by:
        getTagsToUpsertOrThrow in interface UpdateNamespaceTagsRequestOrBuilder
      • removeTagsToUpsert

        public UpdateNamespaceTagsRequest.Builder removeTagsToUpsert​(java.lang.String key)
         A list of tags to add or update. 
         If a key of an existing tag is added, the tag's value is updated. 
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        map<string, string> tags_to_upsert = 2;
      • getMutableTagsToUpsert

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.String> getMutableTagsToUpsert()
        Deprecated.
        Use alternate mutation accessors instead.
      • putTagsToUpsert

        public UpdateNamespaceTagsRequest.Builder putTagsToUpsert​(java.lang.String key,
                                                                  java.lang.String value)
         A list of tags to add or update. 
         If a key of an existing tag is added, the tag's value is updated. 
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        map<string, string> tags_to_upsert = 2;
      • putAllTagsToUpsert

        public UpdateNamespaceTagsRequest.Builder putAllTagsToUpsert​(java.util.Map<java.lang.String,​java.lang.String> values)
         A list of tags to add or update. 
         If a key of an existing tag is added, the tag's value is updated. 
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        map<string, string> tags_to_upsert = 2;
      • getTagsToRemoveList

        public com.google.protobuf.ProtocolStringList getTagsToRemoveList()
         A list of tag keys to remove. 
         If a tag key doesn't exist, it is silently ignored.
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        repeated string tags_to_remove = 3;
        Specified by:
        getTagsToRemoveList in interface UpdateNamespaceTagsRequestOrBuilder
        Returns:
        A list containing the tagsToRemove.
      • getTagsToRemoveCount

        public int getTagsToRemoveCount()
         A list of tag keys to remove. 
         If a tag key doesn't exist, it is silently ignored.
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        repeated string tags_to_remove = 3;
        Specified by:
        getTagsToRemoveCount in interface UpdateNamespaceTagsRequestOrBuilder
        Returns:
        The count of tagsToRemove.
      • getTagsToRemove

        public java.lang.String getTagsToRemove​(int index)
         A list of tag keys to remove. 
         If a tag key doesn't exist, it is silently ignored.
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        repeated string tags_to_remove = 3;
        Specified by:
        getTagsToRemove in interface UpdateNamespaceTagsRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The tagsToRemove at the given index.
      • getTagsToRemoveBytes

        public com.google.protobuf.ByteString getTagsToRemoveBytes​(int index)
         A list of tag keys to remove. 
         If a tag key doesn't exist, it is silently ignored.
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        repeated string tags_to_remove = 3;
        Specified by:
        getTagsToRemoveBytes in interface UpdateNamespaceTagsRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tagsToRemove at the given index.
      • setTagsToRemove

        public UpdateNamespaceTagsRequest.Builder setTagsToRemove​(int index,
                                                                  java.lang.String value)
         A list of tag keys to remove. 
         If a tag key doesn't exist, it is silently ignored.
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        repeated string tags_to_remove = 3;
        Parameters:
        index - The index to set the value at.
        value - The tagsToRemove to set.
        Returns:
        This builder for chaining.
      • addTagsToRemove

        public UpdateNamespaceTagsRequest.Builder addTagsToRemove​(java.lang.String value)
         A list of tag keys to remove. 
         If a tag key doesn't exist, it is silently ignored.
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        repeated string tags_to_remove = 3;
        Parameters:
        value - The tagsToRemove to add.
        Returns:
        This builder for chaining.
      • addAllTagsToRemove

        public UpdateNamespaceTagsRequest.Builder addAllTagsToRemove​(java.lang.Iterable<java.lang.String> values)
         A list of tag keys to remove. 
         If a tag key doesn't exist, it is silently ignored.
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        repeated string tags_to_remove = 3;
        Parameters:
        values - The tagsToRemove to add.
        Returns:
        This builder for chaining.
      • clearTagsToRemove

        public UpdateNamespaceTagsRequest.Builder clearTagsToRemove()
         A list of tag keys to remove. 
         If a tag key doesn't exist, it is silently ignored.
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        repeated string tags_to_remove = 3;
        Returns:
        This builder for chaining.
      • addTagsToRemoveBytes

        public UpdateNamespaceTagsRequest.Builder addTagsToRemoveBytes​(com.google.protobuf.ByteString value)
         A list of tag keys to remove. 
         If a tag key doesn't exist, it is silently ignored.
         At least one of tags_to_upsert or tags_to_remove must be specified.
         
        repeated string tags_to_remove = 3;
        Parameters:
        value - The bytes of the tagsToRemove to add.
        Returns:
        This builder for chaining.
      • getAsyncOperationIdBytes

        public com.google.protobuf.ByteString getAsyncOperationIdBytes()
         The id to use for this async operation - optional.
         
        string async_operation_id = 4;
        Specified by:
        getAsyncOperationIdBytes in interface UpdateNamespaceTagsRequestOrBuilder
        Returns:
        The bytes for asyncOperationId.
      • setAsyncOperationId

        public UpdateNamespaceTagsRequest.Builder setAsyncOperationId​(java.lang.String value)
         The id to use for this async operation - optional.
         
        string async_operation_id = 4;
        Parameters:
        value - The asyncOperationId to set.
        Returns:
        This builder for chaining.
      • clearAsyncOperationId

        public UpdateNamespaceTagsRequest.Builder clearAsyncOperationId()
         The id to use for this async operation - optional.
         
        string async_operation_id = 4;
        Returns:
        This builder for chaining.
      • setAsyncOperationIdBytes

        public UpdateNamespaceTagsRequest.Builder setAsyncOperationIdBytes​(com.google.protobuf.ByteString value)
         The id to use for this async operation - optional.
         
        string async_operation_id = 4;
        Parameters:
        value - The bytes for asyncOperationId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final UpdateNamespaceTagsRequest.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<UpdateNamespaceTagsRequest.Builder>
      • mergeUnknownFields

        public final UpdateNamespaceTagsRequest.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<UpdateNamespaceTagsRequest.Builder>