Class QueryInfo.Builder

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

    public static final class QueryInfo.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<QueryInfo.Builder>
    implements QueryInfoOrBuilder
    Protobuf type io.axoniq.axonserver.grpc.admin.QueryInfo
    • 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<QueryInfo.Builder>
      • clear

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

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

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

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

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

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

        public QueryInfo.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<QueryInfo.Builder>
        Throws:
        IOException
      • getRequestBytes

        public com.google.protobuf.ByteString getRequestBytes()
        string request = 1;
        Specified by:
        getRequestBytes in interface QueryInfoOrBuilder
        Returns:
        The bytes for request.
      • setRequest

        public QueryInfo.Builder setRequest​(String value)
        string request = 1;
        Parameters:
        value - The request to set.
        Returns:
        This builder for chaining.
      • clearRequest

        public QueryInfo.Builder clearRequest()
        string request = 1;
        Returns:
        This builder for chaining.
      • setRequestBytes

        public QueryInfo.Builder setRequestBytes​(com.google.protobuf.ByteString value)
        string request = 1;
        Parameters:
        value - The bytes for request to set.
        Returns:
        This builder for chaining.
      • getResponseTypesList

        public com.google.protobuf.ProtocolStringList getResponseTypesList()
        repeated string responseTypes = 2;
        Specified by:
        getResponseTypesList in interface QueryInfoOrBuilder
        Returns:
        A list containing the responseTypes.
      • getResponseTypesCount

        public int getResponseTypesCount()
        repeated string responseTypes = 2;
        Specified by:
        getResponseTypesCount in interface QueryInfoOrBuilder
        Returns:
        The count of responseTypes.
      • getResponseTypes

        public String getResponseTypes​(int index)
        repeated string responseTypes = 2;
        Specified by:
        getResponseTypes in interface QueryInfoOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The responseTypes at the given index.
      • getResponseTypesBytes

        public com.google.protobuf.ByteString getResponseTypesBytes​(int index)
        repeated string responseTypes = 2;
        Specified by:
        getResponseTypesBytes in interface QueryInfoOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the responseTypes at the given index.
      • setResponseTypes

        public QueryInfo.Builder setResponseTypes​(int index,
                                                  String value)
        repeated string responseTypes = 2;
        Parameters:
        index - The index to set the value at.
        value - The responseTypes to set.
        Returns:
        This builder for chaining.
      • addResponseTypes

        public QueryInfo.Builder addResponseTypes​(String value)
        repeated string responseTypes = 2;
        Parameters:
        value - The responseTypes to add.
        Returns:
        This builder for chaining.
      • addAllResponseTypes

        public QueryInfo.Builder addAllResponseTypes​(Iterable<String> values)
        repeated string responseTypes = 2;
        Parameters:
        values - The responseTypes to add.
        Returns:
        This builder for chaining.
      • clearResponseTypes

        public QueryInfo.Builder clearResponseTypes()
        repeated string responseTypes = 2;
        Returns:
        This builder for chaining.
      • addResponseTypesBytes

        public QueryInfo.Builder addResponseTypesBytes​(com.google.protobuf.ByteString value)
        repeated string responseTypes = 2;
        Parameters:
        value - The bytes of the responseTypes to add.
        Returns:
        This builder for chaining.