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

io.axoniq.axonserver.grpc.query.SubscriptionQuery Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: query.proto

package io.axoniq.axonserver.grpc.query;

/**
 * 
 * Message that represents a Subscription Query 
 * 
* * Protobuf type {@code io.axoniq.axonserver.grpc.query.SubscriptionQuery} */ public final class SubscriptionQuery extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.axoniq.axonserver.grpc.query.SubscriptionQuery) SubscriptionQueryOrBuilder { private static final long serialVersionUID = 0L; // Use SubscriptionQuery.newBuilder() to construct. private SubscriptionQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscriptionQuery() { subscriptionIdentifier_ = ""; numberOfPermits_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscriptionQuery( 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: { java.lang.String s = input.readStringRequireUtf8(); subscriptionIdentifier_ = s; break; } case 16: { numberOfPermits_ = input.readInt64(); break; } case 26: { io.axoniq.axonserver.grpc.query.QueryRequest.Builder subBuilder = null; if (queryRequest_ != null) { subBuilder = queryRequest_.toBuilder(); } queryRequest_ = input.readMessage(io.axoniq.axonserver.grpc.query.QueryRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryRequest_); queryRequest_ = subBuilder.buildPartial(); } break; } case 34: { io.axoniq.axonserver.grpc.SerializedObject.Builder subBuilder = null; if (updateResponseType_ != null) { subBuilder = updateResponseType_.toBuilder(); } updateResponseType_ = input.readMessage(io.axoniq.axonserver.grpc.SerializedObject.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(updateResponseType_); updateResponseType_ = subBuilder.buildPartial(); } 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.axoniq.axonserver.grpc.query.Query.internal_static_io_axoniq_axonserver_grpc_query_SubscriptionQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.axoniq.axonserver.grpc.query.Query.internal_static_io_axoniq_axonserver_grpc_query_SubscriptionQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( io.axoniq.axonserver.grpc.query.SubscriptionQuery.class, io.axoniq.axonserver.grpc.query.SubscriptionQuery.Builder.class); } public static final int SUBSCRIPTION_IDENTIFIER_FIELD_NUMBER = 1; private volatile java.lang.Object subscriptionIdentifier_; /** *
   * A unique identifier for this subscription 
   * 
* * string subscription_identifier = 1; */ public java.lang.String getSubscriptionIdentifier() { java.lang.Object ref = subscriptionIdentifier_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subscriptionIdentifier_ = s; return s; } } /** *
   * A unique identifier for this subscription 
   * 
* * string subscription_identifier = 1; */ public com.google.protobuf.ByteString getSubscriptionIdentifierBytes() { java.lang.Object ref = subscriptionIdentifier_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); subscriptionIdentifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NUMBER_OF_PERMITS_FIELD_NUMBER = 2; private long numberOfPermits_; /** *
   * The number of messages the Server may send before needing to await additional permits 
   * 
* * int64 number_of_permits = 2; */ public long getNumberOfPermits() { return numberOfPermits_; } public static final int QUERY_REQUEST_FIELD_NUMBER = 3; private io.axoniq.axonserver.grpc.query.QueryRequest queryRequest_; /** *
   * The Query describing the desire for information 
   * 
* * .io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3; */ public boolean hasQueryRequest() { return queryRequest_ != null; } /** *
   * The Query describing the desire for information 
   * 
* * .io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3; */ public io.axoniq.axonserver.grpc.query.QueryRequest getQueryRequest() { return queryRequest_ == null ? io.axoniq.axonserver.grpc.query.QueryRequest.getDefaultInstance() : queryRequest_; } /** *
   * The Query describing the desire for information 
   * 
* * .io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3; */ public io.axoniq.axonserver.grpc.query.QueryRequestOrBuilder getQueryRequestOrBuilder() { return getQueryRequest(); } public static final int UPDATE_RESPONSE_TYPE_FIELD_NUMBER = 4; private io.axoniq.axonserver.grpc.SerializedObject updateResponseType_; /** *
   * A description of the type of Object expected as Update Responses 
   * 
* * .io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4; */ public boolean hasUpdateResponseType() { return updateResponseType_ != null; } /** *
   * A description of the type of Object expected as Update Responses 
   * 
* * .io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4; */ public io.axoniq.axonserver.grpc.SerializedObject getUpdateResponseType() { return updateResponseType_ == null ? io.axoniq.axonserver.grpc.SerializedObject.getDefaultInstance() : updateResponseType_; } /** *
   * A description of the type of Object expected as Update Responses 
   * 
* * .io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4; */ public io.axoniq.axonserver.grpc.SerializedObjectOrBuilder getUpdateResponseTypeOrBuilder() { return getUpdateResponseType(); } 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 { if (!getSubscriptionIdentifierBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscriptionIdentifier_); } if (numberOfPermits_ != 0L) { output.writeInt64(2, numberOfPermits_); } if (queryRequest_ != null) { output.writeMessage(3, getQueryRequest()); } if (updateResponseType_ != null) { output.writeMessage(4, getUpdateResponseType()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSubscriptionIdentifierBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscriptionIdentifier_); } if (numberOfPermits_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, numberOfPermits_); } if (queryRequest_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getQueryRequest()); } if (updateResponseType_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getUpdateResponseType()); } 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.query.SubscriptionQuery)) { return super.equals(obj); } io.axoniq.axonserver.grpc.query.SubscriptionQuery other = (io.axoniq.axonserver.grpc.query.SubscriptionQuery) obj; boolean result = true; result = result && getSubscriptionIdentifier() .equals(other.getSubscriptionIdentifier()); result = result && (getNumberOfPermits() == other.getNumberOfPermits()); result = result && (hasQueryRequest() == other.hasQueryRequest()); if (hasQueryRequest()) { result = result && getQueryRequest() .equals(other.getQueryRequest()); } result = result && (hasUpdateResponseType() == other.hasUpdateResponseType()); if (hasUpdateResponseType()) { result = result && getUpdateResponseType() .equals(other.getUpdateResponseType()); } 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(); hash = (37 * hash) + SUBSCRIPTION_IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getSubscriptionIdentifier().hashCode(); hash = (37 * hash) + NUMBER_OF_PERMITS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNumberOfPermits()); if (hasQueryRequest()) { hash = (37 * hash) + QUERY_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getQueryRequest().hashCode(); } if (hasUpdateResponseType()) { hash = (37 * hash) + UPDATE_RESPONSE_TYPE_FIELD_NUMBER; hash = (53 * hash) + getUpdateResponseType().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.axoniq.axonserver.grpc.query.SubscriptionQuery parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.axoniq.axonserver.grpc.query.SubscriptionQuery 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.query.SubscriptionQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.axoniq.axonserver.grpc.query.SubscriptionQuery 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.query.SubscriptionQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.axoniq.axonserver.grpc.query.SubscriptionQuery parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.axoniq.axonserver.grpc.query.SubscriptionQuery parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.axoniq.axonserver.grpc.query.SubscriptionQuery 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.query.SubscriptionQuery parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.axoniq.axonserver.grpc.query.SubscriptionQuery 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.query.SubscriptionQuery parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.axoniq.axonserver.grpc.query.SubscriptionQuery 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.query.SubscriptionQuery 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 that represents a Subscription Query 
   * 
* * Protobuf type {@code io.axoniq.axonserver.grpc.query.SubscriptionQuery} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.axoniq.axonserver.grpc.query.SubscriptionQuery) io.axoniq.axonserver.grpc.query.SubscriptionQueryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.axoniq.axonserver.grpc.query.Query.internal_static_io_axoniq_axonserver_grpc_query_SubscriptionQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.axoniq.axonserver.grpc.query.Query.internal_static_io_axoniq_axonserver_grpc_query_SubscriptionQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( io.axoniq.axonserver.grpc.query.SubscriptionQuery.class, io.axoniq.axonserver.grpc.query.SubscriptionQuery.Builder.class); } // Construct using io.axoniq.axonserver.grpc.query.SubscriptionQuery.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); subscriptionIdentifier_ = ""; numberOfPermits_ = 0L; if (queryRequestBuilder_ == null) { queryRequest_ = null; } else { queryRequest_ = null; queryRequestBuilder_ = null; } if (updateResponseTypeBuilder_ == null) { updateResponseType_ = null; } else { updateResponseType_ = null; updateResponseTypeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.axoniq.axonserver.grpc.query.Query.internal_static_io_axoniq_axonserver_grpc_query_SubscriptionQuery_descriptor; } @java.lang.Override public io.axoniq.axonserver.grpc.query.SubscriptionQuery getDefaultInstanceForType() { return io.axoniq.axonserver.grpc.query.SubscriptionQuery.getDefaultInstance(); } @java.lang.Override public io.axoniq.axonserver.grpc.query.SubscriptionQuery build() { io.axoniq.axonserver.grpc.query.SubscriptionQuery result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.axoniq.axonserver.grpc.query.SubscriptionQuery buildPartial() { io.axoniq.axonserver.grpc.query.SubscriptionQuery result = new io.axoniq.axonserver.grpc.query.SubscriptionQuery(this); result.subscriptionIdentifier_ = subscriptionIdentifier_; result.numberOfPermits_ = numberOfPermits_; if (queryRequestBuilder_ == null) { result.queryRequest_ = queryRequest_; } else { result.queryRequest_ = queryRequestBuilder_.build(); } if (updateResponseTypeBuilder_ == null) { result.updateResponseType_ = updateResponseType_; } else { result.updateResponseType_ = updateResponseTypeBuilder_.build(); } 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.query.SubscriptionQuery) { return mergeFrom((io.axoniq.axonserver.grpc.query.SubscriptionQuery)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.axoniq.axonserver.grpc.query.SubscriptionQuery other) { if (other == io.axoniq.axonserver.grpc.query.SubscriptionQuery.getDefaultInstance()) return this; if (!other.getSubscriptionIdentifier().isEmpty()) { subscriptionIdentifier_ = other.subscriptionIdentifier_; onChanged(); } if (other.getNumberOfPermits() != 0L) { setNumberOfPermits(other.getNumberOfPermits()); } if (other.hasQueryRequest()) { mergeQueryRequest(other.getQueryRequest()); } if (other.hasUpdateResponseType()) { mergeUpdateResponseType(other.getUpdateResponseType()); } 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.query.SubscriptionQuery parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.axoniq.axonserver.grpc.query.SubscriptionQuery) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object subscriptionIdentifier_ = ""; /** *
     * A unique identifier for this subscription 
     * 
* * string subscription_identifier = 1; */ public java.lang.String getSubscriptionIdentifier() { java.lang.Object ref = subscriptionIdentifier_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subscriptionIdentifier_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * A unique identifier for this subscription 
     * 
* * string subscription_identifier = 1; */ public com.google.protobuf.ByteString getSubscriptionIdentifierBytes() { java.lang.Object ref = subscriptionIdentifier_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); subscriptionIdentifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * A unique identifier for this subscription 
     * 
* * string subscription_identifier = 1; */ public Builder setSubscriptionIdentifier( java.lang.String value) { if (value == null) { throw new NullPointerException(); } subscriptionIdentifier_ = value; onChanged(); return this; } /** *
     * A unique identifier for this subscription 
     * 
* * string subscription_identifier = 1; */ public Builder clearSubscriptionIdentifier() { subscriptionIdentifier_ = getDefaultInstance().getSubscriptionIdentifier(); onChanged(); return this; } /** *
     * A unique identifier for this subscription 
     * 
* * string subscription_identifier = 1; */ public Builder setSubscriptionIdentifierBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); subscriptionIdentifier_ = value; onChanged(); return this; } private long numberOfPermits_ ; /** *
     * The number of messages the Server may send before needing to await additional permits 
     * 
* * int64 number_of_permits = 2; */ public long getNumberOfPermits() { return numberOfPermits_; } /** *
     * The number of messages the Server may send before needing to await additional permits 
     * 
* * int64 number_of_permits = 2; */ public Builder setNumberOfPermits(long value) { numberOfPermits_ = value; onChanged(); return this; } /** *
     * The number of messages the Server may send before needing to await additional permits 
     * 
* * int64 number_of_permits = 2; */ public Builder clearNumberOfPermits() { numberOfPermits_ = 0L; onChanged(); return this; } private io.axoniq.axonserver.grpc.query.QueryRequest queryRequest_ = null; private com.google.protobuf.SingleFieldBuilderV3< io.axoniq.axonserver.grpc.query.QueryRequest, io.axoniq.axonserver.grpc.query.QueryRequest.Builder, io.axoniq.axonserver.grpc.query.QueryRequestOrBuilder> queryRequestBuilder_; /** *
     * The Query describing the desire for information 
     * 
* * .io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3; */ public boolean hasQueryRequest() { return queryRequestBuilder_ != null || queryRequest_ != null; } /** *
     * The Query describing the desire for information 
     * 
* * .io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3; */ public io.axoniq.axonserver.grpc.query.QueryRequest getQueryRequest() { if (queryRequestBuilder_ == null) { return queryRequest_ == null ? io.axoniq.axonserver.grpc.query.QueryRequest.getDefaultInstance() : queryRequest_; } else { return queryRequestBuilder_.getMessage(); } } /** *
     * The Query describing the desire for information 
     * 
* * .io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3; */ public Builder setQueryRequest(io.axoniq.axonserver.grpc.query.QueryRequest value) { if (queryRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryRequest_ = value; onChanged(); } else { queryRequestBuilder_.setMessage(value); } return this; } /** *
     * The Query describing the desire for information 
     * 
* * .io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3; */ public Builder setQueryRequest( io.axoniq.axonserver.grpc.query.QueryRequest.Builder builderForValue) { if (queryRequestBuilder_ == null) { queryRequest_ = builderForValue.build(); onChanged(); } else { queryRequestBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The Query describing the desire for information 
     * 
* * .io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3; */ public Builder mergeQueryRequest(io.axoniq.axonserver.grpc.query.QueryRequest value) { if (queryRequestBuilder_ == null) { if (queryRequest_ != null) { queryRequest_ = io.axoniq.axonserver.grpc.query.QueryRequest.newBuilder(queryRequest_).mergeFrom(value).buildPartial(); } else { queryRequest_ = value; } onChanged(); } else { queryRequestBuilder_.mergeFrom(value); } return this; } /** *
     * The Query describing the desire for information 
     * 
* * .io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3; */ public Builder clearQueryRequest() { if (queryRequestBuilder_ == null) { queryRequest_ = null; onChanged(); } else { queryRequest_ = null; queryRequestBuilder_ = null; } return this; } /** *
     * The Query describing the desire for information 
     * 
* * .io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3; */ public io.axoniq.axonserver.grpc.query.QueryRequest.Builder getQueryRequestBuilder() { onChanged(); return getQueryRequestFieldBuilder().getBuilder(); } /** *
     * The Query describing the desire for information 
     * 
* * .io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3; */ public io.axoniq.axonserver.grpc.query.QueryRequestOrBuilder getQueryRequestOrBuilder() { if (queryRequestBuilder_ != null) { return queryRequestBuilder_.getMessageOrBuilder(); } else { return queryRequest_ == null ? io.axoniq.axonserver.grpc.query.QueryRequest.getDefaultInstance() : queryRequest_; } } /** *
     * The Query describing the desire for information 
     * 
* * .io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.axoniq.axonserver.grpc.query.QueryRequest, io.axoniq.axonserver.grpc.query.QueryRequest.Builder, io.axoniq.axonserver.grpc.query.QueryRequestOrBuilder> getQueryRequestFieldBuilder() { if (queryRequestBuilder_ == null) { queryRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.axoniq.axonserver.grpc.query.QueryRequest, io.axoniq.axonserver.grpc.query.QueryRequest.Builder, io.axoniq.axonserver.grpc.query.QueryRequestOrBuilder>( getQueryRequest(), getParentForChildren(), isClean()); queryRequest_ = null; } return queryRequestBuilder_; } private io.axoniq.axonserver.grpc.SerializedObject updateResponseType_ = null; private com.google.protobuf.SingleFieldBuilderV3< io.axoniq.axonserver.grpc.SerializedObject, io.axoniq.axonserver.grpc.SerializedObject.Builder, io.axoniq.axonserver.grpc.SerializedObjectOrBuilder> updateResponseTypeBuilder_; /** *
     * A description of the type of Object expected as Update Responses 
     * 
* * .io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4; */ public boolean hasUpdateResponseType() { return updateResponseTypeBuilder_ != null || updateResponseType_ != null; } /** *
     * A description of the type of Object expected as Update Responses 
     * 
* * .io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4; */ public io.axoniq.axonserver.grpc.SerializedObject getUpdateResponseType() { if (updateResponseTypeBuilder_ == null) { return updateResponseType_ == null ? io.axoniq.axonserver.grpc.SerializedObject.getDefaultInstance() : updateResponseType_; } else { return updateResponseTypeBuilder_.getMessage(); } } /** *
     * A description of the type of Object expected as Update Responses 
     * 
* * .io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4; */ public Builder setUpdateResponseType(io.axoniq.axonserver.grpc.SerializedObject value) { if (updateResponseTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } updateResponseType_ = value; onChanged(); } else { updateResponseTypeBuilder_.setMessage(value); } return this; } /** *
     * A description of the type of Object expected as Update Responses 
     * 
* * .io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4; */ public Builder setUpdateResponseType( io.axoniq.axonserver.grpc.SerializedObject.Builder builderForValue) { if (updateResponseTypeBuilder_ == null) { updateResponseType_ = builderForValue.build(); onChanged(); } else { updateResponseTypeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * A description of the type of Object expected as Update Responses 
     * 
* * .io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4; */ public Builder mergeUpdateResponseType(io.axoniq.axonserver.grpc.SerializedObject value) { if (updateResponseTypeBuilder_ == null) { if (updateResponseType_ != null) { updateResponseType_ = io.axoniq.axonserver.grpc.SerializedObject.newBuilder(updateResponseType_).mergeFrom(value).buildPartial(); } else { updateResponseType_ = value; } onChanged(); } else { updateResponseTypeBuilder_.mergeFrom(value); } return this; } /** *
     * A description of the type of Object expected as Update Responses 
     * 
* * .io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4; */ public Builder clearUpdateResponseType() { if (updateResponseTypeBuilder_ == null) { updateResponseType_ = null; onChanged(); } else { updateResponseType_ = null; updateResponseTypeBuilder_ = null; } return this; } /** *
     * A description of the type of Object expected as Update Responses 
     * 
* * .io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4; */ public io.axoniq.axonserver.grpc.SerializedObject.Builder getUpdateResponseTypeBuilder() { onChanged(); return getUpdateResponseTypeFieldBuilder().getBuilder(); } /** *
     * A description of the type of Object expected as Update Responses 
     * 
* * .io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4; */ public io.axoniq.axonserver.grpc.SerializedObjectOrBuilder getUpdateResponseTypeOrBuilder() { if (updateResponseTypeBuilder_ != null) { return updateResponseTypeBuilder_.getMessageOrBuilder(); } else { return updateResponseType_ == null ? io.axoniq.axonserver.grpc.SerializedObject.getDefaultInstance() : updateResponseType_; } } /** *
     * A description of the type of Object expected as Update Responses 
     * 
* * .io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.axoniq.axonserver.grpc.SerializedObject, io.axoniq.axonserver.grpc.SerializedObject.Builder, io.axoniq.axonserver.grpc.SerializedObjectOrBuilder> getUpdateResponseTypeFieldBuilder() { if (updateResponseTypeBuilder_ == null) { updateResponseTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.axoniq.axonserver.grpc.SerializedObject, io.axoniq.axonserver.grpc.SerializedObject.Builder, io.axoniq.axonserver.grpc.SerializedObjectOrBuilder>( getUpdateResponseType(), getParentForChildren(), isClean()); updateResponseType_ = null; } return updateResponseTypeBuilder_; } @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.query.SubscriptionQuery) } // @@protoc_insertion_point(class_scope:io.axoniq.axonserver.grpc.query.SubscriptionQuery) private static final io.axoniq.axonserver.grpc.query.SubscriptionQuery DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.axoniq.axonserver.grpc.query.SubscriptionQuery(); } public static io.axoniq.axonserver.grpc.query.SubscriptionQuery getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscriptionQuery parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscriptionQuery(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.query.SubscriptionQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy