All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.axoniq.axonserver.grpc.event.RowResponse Maven / Gradle / Ivy

There is a newer version: 2024.1.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: event.proto

package io.axoniq.axonserver.grpc.event;

/**
 * 
 * Message providing Query Result data 
 * 
* * Protobuf type {@code io.axoniq.axonserver.grpc.event.RowResponse} */ public final class RowResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.axoniq.axonserver.grpc.event.RowResponse) RowResponseOrBuilder { private static final long serialVersionUID = 0L; // Use RowResponse.newBuilder() to construct. private RowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RowResponse() { idValues_ = java.util.Collections.emptyList(); sortValues_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RowResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { idValues_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } idValues_.add( input.readMessage(io.axoniq.axonserver.grpc.event.QueryValue.parser(), extensionRegistry)); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { sortValues_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } sortValues_.add( input.readMessage(io.axoniq.axonserver.grpc.event.QueryValue.parser(), extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { values_ = com.google.protobuf.MapField.newMapField( ValuesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000004; } com.google.protobuf.MapEntry values__ = input.readMessage( ValuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); values_.getMutableMap().put( values__.getKey(), values__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { idValues_ = java.util.Collections.unmodifiableList(idValues_); } if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { sortValues_ = java.util.Collections.unmodifiableList(sortValues_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.axoniq.axonserver.grpc.event.EventOuterClass.internal_static_io_axoniq_axonserver_grpc_event_RowResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: return internalGetValues(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.axoniq.axonserver.grpc.event.EventOuterClass.internal_static_io_axoniq_axonserver_grpc_event_RowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.axoniq.axonserver.grpc.event.RowResponse.class, io.axoniq.axonserver.grpc.event.RowResponse.Builder.class); } public static final int ID_VALUES_FIELD_NUMBER = 1; private java.util.List idValues_; /** *
   * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
   * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public java.util.List getIdValuesList() { return idValues_; } /** *
   * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
   * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public java.util.List getIdValuesOrBuilderList() { return idValues_; } /** *
   * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
   * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public int getIdValuesCount() { return idValues_.size(); } /** *
   * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
   * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public io.axoniq.axonserver.grpc.event.QueryValue getIdValues(int index) { return idValues_.get(index); } /** *
   * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
   * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public io.axoniq.axonserver.grpc.event.QueryValueOrBuilder getIdValuesOrBuilder( int index) { return idValues_.get(index); } public static final int SORT_VALUES_FIELD_NUMBER = 2; private java.util.List sortValues_; /** *
   * The sorting values to use when sorting this response compared to the others. 
   * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public java.util.List getSortValuesList() { return sortValues_; } /** *
   * The sorting values to use when sorting this response compared to the others. 
   * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public java.util.List getSortValuesOrBuilderList() { return sortValues_; } /** *
   * The sorting values to use when sorting this response compared to the others. 
   * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public int getSortValuesCount() { return sortValues_.size(); } /** *
   * The sorting values to use when sorting this response compared to the others. 
   * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public io.axoniq.axonserver.grpc.event.QueryValue getSortValues(int index) { return sortValues_.get(index); } /** *
   * The sorting values to use when sorting this response compared to the others. 
   * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public io.axoniq.axonserver.grpc.event.QueryValueOrBuilder getSortValuesOrBuilder( int index) { return sortValues_.get(index); } public static final int VALUES_FIELD_NUMBER = 3; private static final class ValuesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, io.axoniq.axonserver.grpc.event.QueryValue> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.axoniq.axonserver.grpc.event.EventOuterClass.internal_static_io_axoniq_axonserver_grpc_event_RowResponse_ValuesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, io.axoniq.axonserver.grpc.event.QueryValue.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, io.axoniq.axonserver.grpc.event.QueryValue> values_; private com.google.protobuf.MapField internalGetValues() { if (values_ == null) { return com.google.protobuf.MapField.emptyMapField( ValuesDefaultEntryHolder.defaultEntry); } return values_; } public int getValuesCount() { return internalGetValues().getMap().size(); } /** *
   * The actual data values for each of the columns, as a column name -> value mapping 
   * 
* * map<string, .io.axoniq.axonserver.grpc.event.QueryValue> values = 3; */ public boolean containsValues( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetValues().getMap().containsKey(key); } /** * Use {@link #getValuesMap()} instead. */ @java.lang.Deprecated public java.util.Map getValues() { return getValuesMap(); } /** *
   * The actual data values for each of the columns, as a column name -> value mapping 
   * 
* * map<string, .io.axoniq.axonserver.grpc.event.QueryValue> values = 3; */ public java.util.Map getValuesMap() { return internalGetValues().getMap(); } /** *
   * The actual data values for each of the columns, as a column name -> value mapping 
   * 
* * map<string, .io.axoniq.axonserver.grpc.event.QueryValue> values = 3; */ public io.axoniq.axonserver.grpc.event.QueryValue getValuesOrDefault( java.lang.String key, io.axoniq.axonserver.grpc.event.QueryValue defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetValues().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * The actual data values for each of the columns, as a column name -> value mapping 
   * 
* * map<string, .io.axoniq.axonserver.grpc.event.QueryValue> values = 3; */ public io.axoniq.axonserver.grpc.event.QueryValue getValuesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetValues().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < idValues_.size(); i++) { output.writeMessage(1, idValues_.get(i)); } for (int i = 0; i < sortValues_.size(); i++) { output.writeMessage(2, sortValues_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetValues(), ValuesDefaultEntryHolder.defaultEntry, 3); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < idValues_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, idValues_.get(i)); } for (int i = 0; i < sortValues_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, sortValues_.get(i)); } for (java.util.Map.Entry entry : internalGetValues().getMap().entrySet()) { com.google.protobuf.MapEntry values__ = ValuesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, values__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.axoniq.axonserver.grpc.event.RowResponse)) { return super.equals(obj); } io.axoniq.axonserver.grpc.event.RowResponse other = (io.axoniq.axonserver.grpc.event.RowResponse) obj; boolean result = true; result = result && getIdValuesList() .equals(other.getIdValuesList()); result = result && getSortValuesList() .equals(other.getSortValuesList()); result = result && internalGetValues().equals( other.internalGetValues()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getIdValuesCount() > 0) { hash = (37 * hash) + ID_VALUES_FIELD_NUMBER; hash = (53 * hash) + getIdValuesList().hashCode(); } if (getSortValuesCount() > 0) { hash = (37 * hash) + SORT_VALUES_FIELD_NUMBER; hash = (53 * hash) + getSortValuesList().hashCode(); } if (!internalGetValues().getMap().isEmpty()) { hash = (37 * hash) + VALUES_FIELD_NUMBER; hash = (53 * hash) + internalGetValues().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.axoniq.axonserver.grpc.event.RowResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.axoniq.axonserver.grpc.event.RowResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.axoniq.axonserver.grpc.event.RowResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.axoniq.axonserver.grpc.event.RowResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.axoniq.axonserver.grpc.event.RowResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.axoniq.axonserver.grpc.event.RowResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.axoniq.axonserver.grpc.event.RowResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.axoniq.axonserver.grpc.event.RowResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.axoniq.axonserver.grpc.event.RowResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.axoniq.axonserver.grpc.event.RowResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.axoniq.axonserver.grpc.event.RowResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.axoniq.axonserver.grpc.event.RowResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.axoniq.axonserver.grpc.event.RowResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Message providing Query Result data 
   * 
* * Protobuf type {@code io.axoniq.axonserver.grpc.event.RowResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.axoniq.axonserver.grpc.event.RowResponse) io.axoniq.axonserver.grpc.event.RowResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.axoniq.axonserver.grpc.event.EventOuterClass.internal_static_io_axoniq_axonserver_grpc_event_RowResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: return internalGetValues(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 3: return internalGetMutableValues(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.axoniq.axonserver.grpc.event.EventOuterClass.internal_static_io_axoniq_axonserver_grpc_event_RowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.axoniq.axonserver.grpc.event.RowResponse.class, io.axoniq.axonserver.grpc.event.RowResponse.Builder.class); } // Construct using io.axoniq.axonserver.grpc.event.RowResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getIdValuesFieldBuilder(); getSortValuesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (idValuesBuilder_ == null) { idValues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { idValuesBuilder_.clear(); } if (sortValuesBuilder_ == null) { sortValues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { sortValuesBuilder_.clear(); } internalGetMutableValues().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.axoniq.axonserver.grpc.event.EventOuterClass.internal_static_io_axoniq_axonserver_grpc_event_RowResponse_descriptor; } @java.lang.Override public io.axoniq.axonserver.grpc.event.RowResponse getDefaultInstanceForType() { return io.axoniq.axonserver.grpc.event.RowResponse.getDefaultInstance(); } @java.lang.Override public io.axoniq.axonserver.grpc.event.RowResponse build() { io.axoniq.axonserver.grpc.event.RowResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.axoniq.axonserver.grpc.event.RowResponse buildPartial() { io.axoniq.axonserver.grpc.event.RowResponse result = new io.axoniq.axonserver.grpc.event.RowResponse(this); int from_bitField0_ = bitField0_; if (idValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { idValues_ = java.util.Collections.unmodifiableList(idValues_); bitField0_ = (bitField0_ & ~0x00000001); } result.idValues_ = idValues_; } else { result.idValues_ = idValuesBuilder_.build(); } if (sortValuesBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { sortValues_ = java.util.Collections.unmodifiableList(sortValues_); bitField0_ = (bitField0_ & ~0x00000002); } result.sortValues_ = sortValues_; } else { result.sortValues_ = sortValuesBuilder_.build(); } result.values_ = internalGetValues(); result.values_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.axoniq.axonserver.grpc.event.RowResponse) { return mergeFrom((io.axoniq.axonserver.grpc.event.RowResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.axoniq.axonserver.grpc.event.RowResponse other) { if (other == io.axoniq.axonserver.grpc.event.RowResponse.getDefaultInstance()) return this; if (idValuesBuilder_ == null) { if (!other.idValues_.isEmpty()) { if (idValues_.isEmpty()) { idValues_ = other.idValues_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureIdValuesIsMutable(); idValues_.addAll(other.idValues_); } onChanged(); } } else { if (!other.idValues_.isEmpty()) { if (idValuesBuilder_.isEmpty()) { idValuesBuilder_.dispose(); idValuesBuilder_ = null; idValues_ = other.idValues_; bitField0_ = (bitField0_ & ~0x00000001); idValuesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getIdValuesFieldBuilder() : null; } else { idValuesBuilder_.addAllMessages(other.idValues_); } } } if (sortValuesBuilder_ == null) { if (!other.sortValues_.isEmpty()) { if (sortValues_.isEmpty()) { sortValues_ = other.sortValues_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSortValuesIsMutable(); sortValues_.addAll(other.sortValues_); } onChanged(); } } else { if (!other.sortValues_.isEmpty()) { if (sortValuesBuilder_.isEmpty()) { sortValuesBuilder_.dispose(); sortValuesBuilder_ = null; sortValues_ = other.sortValues_; bitField0_ = (bitField0_ & ~0x00000002); sortValuesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSortValuesFieldBuilder() : null; } else { sortValuesBuilder_.addAllMessages(other.sortValues_); } } } internalGetMutableValues().mergeFrom( other.internalGetValues()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.axoniq.axonserver.grpc.event.RowResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.axoniq.axonserver.grpc.event.RowResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List idValues_ = java.util.Collections.emptyList(); private void ensureIdValuesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { idValues_ = new java.util.ArrayList(idValues_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.axoniq.axonserver.grpc.event.QueryValue, io.axoniq.axonserver.grpc.event.QueryValue.Builder, io.axoniq.axonserver.grpc.event.QueryValueOrBuilder> idValuesBuilder_; /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public java.util.List getIdValuesList() { if (idValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(idValues_); } else { return idValuesBuilder_.getMessageList(); } } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public int getIdValuesCount() { if (idValuesBuilder_ == null) { return idValues_.size(); } else { return idValuesBuilder_.getCount(); } } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public io.axoniq.axonserver.grpc.event.QueryValue getIdValues(int index) { if (idValuesBuilder_ == null) { return idValues_.get(index); } else { return idValuesBuilder_.getMessage(index); } } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public Builder setIdValues( int index, io.axoniq.axonserver.grpc.event.QueryValue value) { if (idValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIdValuesIsMutable(); idValues_.set(index, value); onChanged(); } else { idValuesBuilder_.setMessage(index, value); } return this; } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public Builder setIdValues( int index, io.axoniq.axonserver.grpc.event.QueryValue.Builder builderForValue) { if (idValuesBuilder_ == null) { ensureIdValuesIsMutable(); idValues_.set(index, builderForValue.build()); onChanged(); } else { idValuesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public Builder addIdValues(io.axoniq.axonserver.grpc.event.QueryValue value) { if (idValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIdValuesIsMutable(); idValues_.add(value); onChanged(); } else { idValuesBuilder_.addMessage(value); } return this; } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public Builder addIdValues( int index, io.axoniq.axonserver.grpc.event.QueryValue value) { if (idValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIdValuesIsMutable(); idValues_.add(index, value); onChanged(); } else { idValuesBuilder_.addMessage(index, value); } return this; } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public Builder addIdValues( io.axoniq.axonserver.grpc.event.QueryValue.Builder builderForValue) { if (idValuesBuilder_ == null) { ensureIdValuesIsMutable(); idValues_.add(builderForValue.build()); onChanged(); } else { idValuesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public Builder addIdValues( int index, io.axoniq.axonserver.grpc.event.QueryValue.Builder builderForValue) { if (idValuesBuilder_ == null) { ensureIdValuesIsMutable(); idValues_.add(index, builderForValue.build()); onChanged(); } else { idValuesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public Builder addAllIdValues( java.lang.Iterable values) { if (idValuesBuilder_ == null) { ensureIdValuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, idValues_); onChanged(); } else { idValuesBuilder_.addAllMessages(values); } return this; } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public Builder clearIdValues() { if (idValuesBuilder_ == null) { idValues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { idValuesBuilder_.clear(); } return this; } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public Builder removeIdValues(int index) { if (idValuesBuilder_ == null) { ensureIdValuesIsMutable(); idValues_.remove(index); onChanged(); } else { idValuesBuilder_.remove(index); } return this; } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public io.axoniq.axonserver.grpc.event.QueryValue.Builder getIdValuesBuilder( int index) { return getIdValuesFieldBuilder().getBuilder(index); } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public io.axoniq.axonserver.grpc.event.QueryValueOrBuilder getIdValuesOrBuilder( int index) { if (idValuesBuilder_ == null) { return idValues_.get(index); } else { return idValuesBuilder_.getMessageOrBuilder(index); } } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public java.util.List getIdValuesOrBuilderList() { if (idValuesBuilder_ != null) { return idValuesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(idValues_); } } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public io.axoniq.axonserver.grpc.event.QueryValue.Builder addIdValuesBuilder() { return getIdValuesFieldBuilder().addBuilder( io.axoniq.axonserver.grpc.event.QueryValue.getDefaultInstance()); } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public io.axoniq.axonserver.grpc.event.QueryValue.Builder addIdValuesBuilder( int index) { return getIdValuesFieldBuilder().addBuilder( index, io.axoniq.axonserver.grpc.event.QueryValue.getDefaultInstance()); } /** *
     * The values which, when combined, uniquely update this row. Any previously received values with the same identifiers should be replaced with this value 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue id_values = 1; */ public java.util.List getIdValuesBuilderList() { return getIdValuesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.axoniq.axonserver.grpc.event.QueryValue, io.axoniq.axonserver.grpc.event.QueryValue.Builder, io.axoniq.axonserver.grpc.event.QueryValueOrBuilder> getIdValuesFieldBuilder() { if (idValuesBuilder_ == null) { idValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.axoniq.axonserver.grpc.event.QueryValue, io.axoniq.axonserver.grpc.event.QueryValue.Builder, io.axoniq.axonserver.grpc.event.QueryValueOrBuilder>( idValues_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); idValues_ = null; } return idValuesBuilder_; } private java.util.List sortValues_ = java.util.Collections.emptyList(); private void ensureSortValuesIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { sortValues_ = new java.util.ArrayList(sortValues_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.axoniq.axonserver.grpc.event.QueryValue, io.axoniq.axonserver.grpc.event.QueryValue.Builder, io.axoniq.axonserver.grpc.event.QueryValueOrBuilder> sortValuesBuilder_; /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public java.util.List getSortValuesList() { if (sortValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(sortValues_); } else { return sortValuesBuilder_.getMessageList(); } } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public int getSortValuesCount() { if (sortValuesBuilder_ == null) { return sortValues_.size(); } else { return sortValuesBuilder_.getCount(); } } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public io.axoniq.axonserver.grpc.event.QueryValue getSortValues(int index) { if (sortValuesBuilder_ == null) { return sortValues_.get(index); } else { return sortValuesBuilder_.getMessage(index); } } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public Builder setSortValues( int index, io.axoniq.axonserver.grpc.event.QueryValue value) { if (sortValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSortValuesIsMutable(); sortValues_.set(index, value); onChanged(); } else { sortValuesBuilder_.setMessage(index, value); } return this; } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public Builder setSortValues( int index, io.axoniq.axonserver.grpc.event.QueryValue.Builder builderForValue) { if (sortValuesBuilder_ == null) { ensureSortValuesIsMutable(); sortValues_.set(index, builderForValue.build()); onChanged(); } else { sortValuesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public Builder addSortValues(io.axoniq.axonserver.grpc.event.QueryValue value) { if (sortValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSortValuesIsMutable(); sortValues_.add(value); onChanged(); } else { sortValuesBuilder_.addMessage(value); } return this; } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public Builder addSortValues( int index, io.axoniq.axonserver.grpc.event.QueryValue value) { if (sortValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSortValuesIsMutable(); sortValues_.add(index, value); onChanged(); } else { sortValuesBuilder_.addMessage(index, value); } return this; } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public Builder addSortValues( io.axoniq.axonserver.grpc.event.QueryValue.Builder builderForValue) { if (sortValuesBuilder_ == null) { ensureSortValuesIsMutable(); sortValues_.add(builderForValue.build()); onChanged(); } else { sortValuesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public Builder addSortValues( int index, io.axoniq.axonserver.grpc.event.QueryValue.Builder builderForValue) { if (sortValuesBuilder_ == null) { ensureSortValuesIsMutable(); sortValues_.add(index, builderForValue.build()); onChanged(); } else { sortValuesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public Builder addAllSortValues( java.lang.Iterable values) { if (sortValuesBuilder_ == null) { ensureSortValuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, sortValues_); onChanged(); } else { sortValuesBuilder_.addAllMessages(values); } return this; } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public Builder clearSortValues() { if (sortValuesBuilder_ == null) { sortValues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { sortValuesBuilder_.clear(); } return this; } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public Builder removeSortValues(int index) { if (sortValuesBuilder_ == null) { ensureSortValuesIsMutable(); sortValues_.remove(index); onChanged(); } else { sortValuesBuilder_.remove(index); } return this; } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public io.axoniq.axonserver.grpc.event.QueryValue.Builder getSortValuesBuilder( int index) { return getSortValuesFieldBuilder().getBuilder(index); } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public io.axoniq.axonserver.grpc.event.QueryValueOrBuilder getSortValuesOrBuilder( int index) { if (sortValuesBuilder_ == null) { return sortValues_.get(index); } else { return sortValuesBuilder_.getMessageOrBuilder(index); } } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public java.util.List getSortValuesOrBuilderList() { if (sortValuesBuilder_ != null) { return sortValuesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(sortValues_); } } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public io.axoniq.axonserver.grpc.event.QueryValue.Builder addSortValuesBuilder() { return getSortValuesFieldBuilder().addBuilder( io.axoniq.axonserver.grpc.event.QueryValue.getDefaultInstance()); } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public io.axoniq.axonserver.grpc.event.QueryValue.Builder addSortValuesBuilder( int index) { return getSortValuesFieldBuilder().addBuilder( index, io.axoniq.axonserver.grpc.event.QueryValue.getDefaultInstance()); } /** *
     * The sorting values to use when sorting this response compared to the others. 
     * 
* * repeated .io.axoniq.axonserver.grpc.event.QueryValue sort_values = 2; */ public java.util.List getSortValuesBuilderList() { return getSortValuesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.axoniq.axonserver.grpc.event.QueryValue, io.axoniq.axonserver.grpc.event.QueryValue.Builder, io.axoniq.axonserver.grpc.event.QueryValueOrBuilder> getSortValuesFieldBuilder() { if (sortValuesBuilder_ == null) { sortValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.axoniq.axonserver.grpc.event.QueryValue, io.axoniq.axonserver.grpc.event.QueryValue.Builder, io.axoniq.axonserver.grpc.event.QueryValueOrBuilder>( sortValues_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); sortValues_ = null; } return sortValuesBuilder_; } private com.google.protobuf.MapField< java.lang.String, io.axoniq.axonserver.grpc.event.QueryValue> values_; private com.google.protobuf.MapField internalGetValues() { if (values_ == null) { return com.google.protobuf.MapField.emptyMapField( ValuesDefaultEntryHolder.defaultEntry); } return values_; } private com.google.protobuf.MapField internalGetMutableValues() { onChanged();; if (values_ == null) { values_ = com.google.protobuf.MapField.newMapField( ValuesDefaultEntryHolder.defaultEntry); } if (!values_.isMutable()) { values_ = values_.copy(); } return values_; } public int getValuesCount() { return internalGetValues().getMap().size(); } /** *
     * The actual data values for each of the columns, as a column name -> value mapping 
     * 
* * map<string, .io.axoniq.axonserver.grpc.event.QueryValue> values = 3; */ public boolean containsValues( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetValues().getMap().containsKey(key); } /** * Use {@link #getValuesMap()} instead. */ @java.lang.Deprecated public java.util.Map getValues() { return getValuesMap(); } /** *
     * The actual data values for each of the columns, as a column name -> value mapping 
     * 
* * map<string, .io.axoniq.axonserver.grpc.event.QueryValue> values = 3; */ public java.util.Map getValuesMap() { return internalGetValues().getMap(); } /** *
     * The actual data values for each of the columns, as a column name -> value mapping 
     * 
* * map<string, .io.axoniq.axonserver.grpc.event.QueryValue> values = 3; */ public io.axoniq.axonserver.grpc.event.QueryValue getValuesOrDefault( java.lang.String key, io.axoniq.axonserver.grpc.event.QueryValue defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetValues().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The actual data values for each of the columns, as a column name -> value mapping 
     * 
* * map<string, .io.axoniq.axonserver.grpc.event.QueryValue> values = 3; */ public io.axoniq.axonserver.grpc.event.QueryValue getValuesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetValues().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearValues() { internalGetMutableValues().getMutableMap() .clear(); return this; } /** *
     * The actual data values for each of the columns, as a column name -> value mapping 
     * 
* * map<string, .io.axoniq.axonserver.grpc.event.QueryValue> values = 3; */ public Builder removeValues( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableValues().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableValues() { return internalGetMutableValues().getMutableMap(); } /** *
     * The actual data values for each of the columns, as a column name -> value mapping 
     * 
* * map<string, .io.axoniq.axonserver.grpc.event.QueryValue> values = 3; */ public Builder putValues( java.lang.String key, io.axoniq.axonserver.grpc.event.QueryValue value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableValues().getMutableMap() .put(key, value); return this; } /** *
     * The actual data values for each of the columns, as a column name -> value mapping 
     * 
* * map<string, .io.axoniq.axonserver.grpc.event.QueryValue> values = 3; */ public Builder putAllValues( java.util.Map values) { internalGetMutableValues().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:io.axoniq.axonserver.grpc.event.RowResponse) } // @@protoc_insertion_point(class_scope:io.axoniq.axonserver.grpc.event.RowResponse) private static final io.axoniq.axonserver.grpc.event.RowResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.axoniq.axonserver.grpc.event.RowResponse(); } public static io.axoniq.axonserver.grpc.event.RowResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RowResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RowResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.axoniq.axonserver.grpc.event.RowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy