Class ColumnsResponse.Builder

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

    public static final class ColumnsResponse.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<ColumnsResponse.Builder>
    implements ColumnsResponseOrBuilder
     Message containing the names of the columns returned in a Query 
     
    Protobuf type io.axoniq.axonserver.grpc.event.ColumnsResponse
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ColumnsResponse.Builder addAllColumn​(Iterable<String> values)
      The names of the columns provided in the query
      ColumnsResponse.Builder addColumn​(String value)
      The names of the columns provided in the query
      ColumnsResponse.Builder addColumnBytes​(com.google.protobuf.ByteString value)
      The names of the columns provided in the query
      ColumnsResponse build()  
      ColumnsResponse buildPartial()  
      ColumnsResponse.Builder clear()  
      ColumnsResponse.Builder clearColumn()
      The names of the columns provided in the query
      String getColumn​(int index)
      The names of the columns provided in the query
      com.google.protobuf.ByteString getColumnBytes​(int index)
      The names of the columns provided in the query
      int getColumnCount()
      The names of the columns provided in the query
      com.google.protobuf.ProtocolStringList getColumnList()
      The names of the columns provided in the query
      ColumnsResponse getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      ColumnsResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      ColumnsResponse.Builder mergeFrom​(com.google.protobuf.Message other)  
      ColumnsResponse.Builder mergeFrom​(ColumnsResponse other)  
      ColumnsResponse.Builder setColumn​(int index, String value)
      The names of the columns provided in the query
      • Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

        addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 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<ColumnsResponse.Builder>
      • clear

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

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

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

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

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

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

        public ColumnsResponse.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<ColumnsResponse.Builder>
        Throws:
        IOException
      • getColumnList

        public com.google.protobuf.ProtocolStringList getColumnList()
         The names of the columns provided in the query 
         
        repeated string column = 1;
        Specified by:
        getColumnList in interface ColumnsResponseOrBuilder
        Returns:
        A list containing the column.
      • getColumnCount

        public int getColumnCount()
         The names of the columns provided in the query 
         
        repeated string column = 1;
        Specified by:
        getColumnCount in interface ColumnsResponseOrBuilder
        Returns:
        The count of column.
      • getColumn

        public String getColumn​(int index)
         The names of the columns provided in the query 
         
        repeated string column = 1;
        Specified by:
        getColumn in interface ColumnsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The column at the given index.
      • getColumnBytes

        public com.google.protobuf.ByteString getColumnBytes​(int index)
         The names of the columns provided in the query 
         
        repeated string column = 1;
        Specified by:
        getColumnBytes in interface ColumnsResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the column at the given index.
      • setColumn

        public ColumnsResponse.Builder setColumn​(int index,
                                                 String value)
         The names of the columns provided in the query 
         
        repeated string column = 1;
        Parameters:
        index - The index to set the value at.
        value - The column to set.
        Returns:
        This builder for chaining.
      • addColumn

        public ColumnsResponse.Builder addColumn​(String value)
         The names of the columns provided in the query 
         
        repeated string column = 1;
        Parameters:
        value - The column to add.
        Returns:
        This builder for chaining.
      • addAllColumn

        public ColumnsResponse.Builder addAllColumn​(Iterable<String> values)
         The names of the columns provided in the query 
         
        repeated string column = 1;
        Parameters:
        values - The column to add.
        Returns:
        This builder for chaining.
      • clearColumn

        public ColumnsResponse.Builder clearColumn()
         The names of the columns provided in the query 
         
        repeated string column = 1;
        Returns:
        This builder for chaining.
      • addColumnBytes

        public ColumnsResponse.Builder addColumnBytes​(com.google.protobuf.ByteString value)
         The names of the columns provided in the query 
         
        repeated string column = 1;
        Parameters:
        value - The bytes of the column to add.
        Returns:
        This builder for chaining.