Package io.axoniq.axonserver.grpc.event
Class ColumnsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<ColumnsResponse.Builder>
-
- io.axoniq.axonserver.grpc.event.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 typeio.axoniq.axonserver.grpc.event.ColumnsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnsResponse.BuilderaddAllColumn(Iterable<String> values)The names of the columns provided in the queryColumnsResponse.BuilderaddColumn(String value)The names of the columns provided in the queryColumnsResponse.BuilderaddColumnBytes(com.google.protobuf.ByteString value)The names of the columns provided in the queryColumnsResponsebuild()ColumnsResponsebuildPartial()ColumnsResponse.Builderclear()ColumnsResponse.BuilderclearColumn()The names of the columns provided in the queryStringgetColumn(int index)The names of the columns provided in the querycom.google.protobuf.ByteStringgetColumnBytes(int index)The names of the columns provided in the queryintgetColumnCount()The names of the columns provided in the querycom.google.protobuf.ProtocolStringListgetColumnList()The names of the columns provided in the queryColumnsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ColumnsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ColumnsResponse.BuildermergeFrom(com.google.protobuf.Message other)ColumnsResponse.BuildermergeFrom(ColumnsResponse other)ColumnsResponse.BuildersetColumn(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 class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ColumnsResponse.Builder>
-
clear
public ColumnsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ColumnsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ColumnsResponse.Builder>
-
getDefaultInstanceForType
public ColumnsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ColumnsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ColumnsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ColumnsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ColumnsResponse.Builder>
-
mergeFrom
public ColumnsResponse.Builder mergeFrom(ColumnsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getColumnListin interfaceColumnsResponseOrBuilder- 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:
getColumnCountin interfaceColumnsResponseOrBuilder- 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:
getColumnin interfaceColumnsResponseOrBuilder- 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:
getColumnBytesin interfaceColumnsResponseOrBuilder- 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.
-
-