Class AddTagsRequest.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AddTagsRequestOrBuilder, Cloneable
    Enclosing class:
    AddTagsRequest

    public static final class AddTagsRequest.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<AddTagsRequest.Builder>
    implements AddTagsRequestOrBuilder
     The request to add tags to the event. 
     
    Protobuf type io.axoniq.axonserver.grpc.event.dcb.AddTagsRequest
    • Method Detail

      • 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<AddTagsRequest.Builder>
      • clear

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

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

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

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

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

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

        public AddTagsRequest.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<AddTagsRequest.Builder>
        Throws:
        IOException
      • getSequence

        public long getSequence()
         The sequence of the event whose tags list will be expanded with the tags from the request. 
         
        int64 sequence = 1;
        Specified by:
        getSequence in interface AddTagsRequestOrBuilder
        Returns:
        The sequence.
      • setSequence

        public AddTagsRequest.Builder setSequence​(long value)
         The sequence of the event whose tags list will be expanded with the tags from the request. 
         
        int64 sequence = 1;
        Parameters:
        value - The sequence to set.
        Returns:
        This builder for chaining.
      • clearSequence

        public AddTagsRequest.Builder clearSequence()
         The sequence of the event whose tags list will be expanded with the tags from the request. 
         
        int64 sequence = 1;
        Returns:
        This builder for chaining.
      • getTagList

        public List<Tag> getTagList()
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
        Specified by:
        getTagList in interface AddTagsRequestOrBuilder
      • getTagCount

        public int getTagCount()
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
        Specified by:
        getTagCount in interface AddTagsRequestOrBuilder
      • getTag

        public Tag getTag​(int index)
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
        Specified by:
        getTag in interface AddTagsRequestOrBuilder
      • setTag

        public AddTagsRequest.Builder setTag​(int index,
                                             Tag value)
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
      • setTag

        public AddTagsRequest.Builder setTag​(int index,
                                             Tag.Builder builderForValue)
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
      • addTag

        public AddTagsRequest.Builder addTag​(Tag value)
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
      • addTag

        public AddTagsRequest.Builder addTag​(int index,
                                             Tag value)
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
      • addTag

        public AddTagsRequest.Builder addTag​(Tag.Builder builderForValue)
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
      • addTag

        public AddTagsRequest.Builder addTag​(int index,
                                             Tag.Builder builderForValue)
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
      • addAllTag

        public AddTagsRequest.Builder addAllTag​(Iterable<? extends Tag> values)
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
      • clearTag

        public AddTagsRequest.Builder clearTag()
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
      • removeTag

        public AddTagsRequest.Builder removeTag​(int index)
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
      • getTagBuilder

        public Tag.Builder getTagBuilder​(int index)
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
      • getTagOrBuilder

        public TagOrBuilder getTagOrBuilder​(int index)
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
        Specified by:
        getTagOrBuilder in interface AddTagsRequestOrBuilder
      • getTagOrBuilderList

        public List<? extends TagOrBuilder> getTagOrBuilderList()
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
        Specified by:
        getTagOrBuilderList in interface AddTagsRequestOrBuilder
      • addTagBuilder

        public Tag.Builder addTagBuilder()
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
      • addTagBuilder

        public Tag.Builder addTagBuilder​(int index)
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
      • getTagBuilderList

        public List<Tag.Builder> getTagBuilderList()
         The tags to be added to the event. If the event already contains a tag from the same list
         (with the same key and the value) the new one will be ignored. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;