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

io.nats.streaming.protobuf.UnsubscribeRequest Maven / Gradle / Ivy

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

package io.nats.streaming.protobuf;

/**
 * 
 * Protocol for a clients to unsubscribe. Will return a SubscriptionResponse
 * 
* * Protobuf type {@code pb.UnsubscribeRequest} */ public final class UnsubscribeRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:pb.UnsubscribeRequest) UnsubscribeRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UnsubscribeRequest.newBuilder() to construct. private UnsubscribeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UnsubscribeRequest() { clientID_ = ""; subject_ = ""; inbox_ = ""; durableName_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UnsubscribeRequest( 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(); clientID_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); subject_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); inbox_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); durableName_ = s; 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.nats.streaming.protobuf.Protocol.internal_static_pb_UnsubscribeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.nats.streaming.protobuf.Protocol.internal_static_pb_UnsubscribeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.nats.streaming.protobuf.UnsubscribeRequest.class, io.nats.streaming.protobuf.UnsubscribeRequest.Builder.class); } public static final int CLIENTID_FIELD_NUMBER = 1; private volatile java.lang.Object clientID_; /** *
   * ClientID
   * 
* * string clientID = 1; */ public java.lang.String getClientID() { java.lang.Object ref = clientID_; 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(); clientID_ = s; return s; } } /** *
   * ClientID
   * 
* * string clientID = 1; */ public com.google.protobuf.ByteString getClientIDBytes() { java.lang.Object ref = clientID_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SUBJECT_FIELD_NUMBER = 2; private volatile java.lang.Object subject_; /** *
   * subject for the subscription
   * 
* * string subject = 2; */ public java.lang.String getSubject() { java.lang.Object ref = subject_; 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(); subject_ = s; return s; } } /** *
   * subject for the subscription
   * 
* * string subject = 2; */ public com.google.protobuf.ByteString getSubjectBytes() { java.lang.Object ref = subject_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); subject_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INBOX_FIELD_NUMBER = 3; private volatile java.lang.Object inbox_; /** *
   * Inbox subject to identify subscription
   * 
* * string inbox = 3; */ public java.lang.String getInbox() { java.lang.Object ref = inbox_; 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(); inbox_ = s; return s; } } /** *
   * Inbox subject to identify subscription
   * 
* * string inbox = 3; */ public com.google.protobuf.ByteString getInboxBytes() { java.lang.Object ref = inbox_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); inbox_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DURABLENAME_FIELD_NUMBER = 4; private volatile java.lang.Object durableName_; /** *
   * Optional durable name which survives client restarts
   * 
* * string durableName = 4; */ public java.lang.String getDurableName() { java.lang.Object ref = durableName_; 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(); durableName_ = s; return s; } } /** *
   * Optional durable name which survives client restarts
   * 
* * string durableName = 4; */ public com.google.protobuf.ByteString getDurableNameBytes() { java.lang.Object ref = durableName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); durableName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!getClientIDBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clientID_); } if (!getSubjectBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, subject_); } if (!getInboxBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, inbox_); } if (!getDurableNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, durableName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getClientIDBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clientID_); } if (!getSubjectBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subject_); } if (!getInboxBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inbox_); } if (!getDurableNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, durableName_); } 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.nats.streaming.protobuf.UnsubscribeRequest)) { return super.equals(obj); } io.nats.streaming.protobuf.UnsubscribeRequest other = (io.nats.streaming.protobuf.UnsubscribeRequest) obj; boolean result = true; result = result && getClientID() .equals(other.getClientID()); result = result && getSubject() .equals(other.getSubject()); result = result && getInbox() .equals(other.getInbox()); result = result && getDurableName() .equals(other.getDurableName()); 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) + CLIENTID_FIELD_NUMBER; hash = (53 * hash) + getClientID().hashCode(); hash = (37 * hash) + SUBJECT_FIELD_NUMBER; hash = (53 * hash) + getSubject().hashCode(); hash = (37 * hash) + INBOX_FIELD_NUMBER; hash = (53 * hash) + getInbox().hashCode(); hash = (37 * hash) + DURABLENAME_FIELD_NUMBER; hash = (53 * hash) + getDurableName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.nats.streaming.protobuf.UnsubscribeRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.nats.streaming.protobuf.UnsubscribeRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.nats.streaming.protobuf.UnsubscribeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.nats.streaming.protobuf.UnsubscribeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.nats.streaming.protobuf.UnsubscribeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.nats.streaming.protobuf.UnsubscribeRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.nats.streaming.protobuf.UnsubscribeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.nats.streaming.protobuf.UnsubscribeRequest 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.nats.streaming.protobuf.UnsubscribeRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.nats.streaming.protobuf.UnsubscribeRequest 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.nats.streaming.protobuf.UnsubscribeRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.nats.streaming.protobuf.UnsubscribeRequest 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.nats.streaming.protobuf.UnsubscribeRequest 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; } /** *
   * Protocol for a clients to unsubscribe. Will return a SubscriptionResponse
   * 
* * Protobuf type {@code pb.UnsubscribeRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:pb.UnsubscribeRequest) io.nats.streaming.protobuf.UnsubscribeRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.nats.streaming.protobuf.Protocol.internal_static_pb_UnsubscribeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.nats.streaming.protobuf.Protocol.internal_static_pb_UnsubscribeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.nats.streaming.protobuf.UnsubscribeRequest.class, io.nats.streaming.protobuf.UnsubscribeRequest.Builder.class); } // Construct using io.nats.streaming.protobuf.UnsubscribeRequest.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(); clientID_ = ""; subject_ = ""; inbox_ = ""; durableName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.nats.streaming.protobuf.Protocol.internal_static_pb_UnsubscribeRequest_descriptor; } @java.lang.Override public io.nats.streaming.protobuf.UnsubscribeRequest getDefaultInstanceForType() { return io.nats.streaming.protobuf.UnsubscribeRequest.getDefaultInstance(); } @java.lang.Override public io.nats.streaming.protobuf.UnsubscribeRequest build() { io.nats.streaming.protobuf.UnsubscribeRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.nats.streaming.protobuf.UnsubscribeRequest buildPartial() { io.nats.streaming.protobuf.UnsubscribeRequest result = new io.nats.streaming.protobuf.UnsubscribeRequest(this); result.clientID_ = clientID_; result.subject_ = subject_; result.inbox_ = inbox_; result.durableName_ = durableName_; 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.nats.streaming.protobuf.UnsubscribeRequest) { return mergeFrom((io.nats.streaming.protobuf.UnsubscribeRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.nats.streaming.protobuf.UnsubscribeRequest other) { if (other == io.nats.streaming.protobuf.UnsubscribeRequest.getDefaultInstance()) return this; if (!other.getClientID().isEmpty()) { clientID_ = other.clientID_; onChanged(); } if (!other.getSubject().isEmpty()) { subject_ = other.subject_; onChanged(); } if (!other.getInbox().isEmpty()) { inbox_ = other.inbox_; onChanged(); } if (!other.getDurableName().isEmpty()) { durableName_ = other.durableName_; onChanged(); } 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.nats.streaming.protobuf.UnsubscribeRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.nats.streaming.protobuf.UnsubscribeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object clientID_ = ""; /** *
     * ClientID
     * 
* * string clientID = 1; */ public java.lang.String getClientID() { java.lang.Object ref = clientID_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientID_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * ClientID
     * 
* * string clientID = 1; */ public com.google.protobuf.ByteString getClientIDBytes() { java.lang.Object ref = clientID_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * ClientID
     * 
* * string clientID = 1; */ public Builder setClientID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientID_ = value; onChanged(); return this; } /** *
     * ClientID
     * 
* * string clientID = 1; */ public Builder clearClientID() { clientID_ = getDefaultInstance().getClientID(); onChanged(); return this; } /** *
     * ClientID
     * 
* * string clientID = 1; */ public Builder setClientIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clientID_ = value; onChanged(); return this; } private java.lang.Object subject_ = ""; /** *
     * subject for the subscription
     * 
* * string subject = 2; */ public java.lang.String getSubject() { java.lang.Object ref = subject_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subject_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * subject for the subscription
     * 
* * string subject = 2; */ public com.google.protobuf.ByteString getSubjectBytes() { java.lang.Object ref = subject_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); subject_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * subject for the subscription
     * 
* * string subject = 2; */ public Builder setSubject( java.lang.String value) { if (value == null) { throw new NullPointerException(); } subject_ = value; onChanged(); return this; } /** *
     * subject for the subscription
     * 
* * string subject = 2; */ public Builder clearSubject() { subject_ = getDefaultInstance().getSubject(); onChanged(); return this; } /** *
     * subject for the subscription
     * 
* * string subject = 2; */ public Builder setSubjectBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); subject_ = value; onChanged(); return this; } private java.lang.Object inbox_ = ""; /** *
     * Inbox subject to identify subscription
     * 
* * string inbox = 3; */ public java.lang.String getInbox() { java.lang.Object ref = inbox_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inbox_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Inbox subject to identify subscription
     * 
* * string inbox = 3; */ public com.google.protobuf.ByteString getInboxBytes() { java.lang.Object ref = inbox_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); inbox_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Inbox subject to identify subscription
     * 
* * string inbox = 3; */ public Builder setInbox( java.lang.String value) { if (value == null) { throw new NullPointerException(); } inbox_ = value; onChanged(); return this; } /** *
     * Inbox subject to identify subscription
     * 
* * string inbox = 3; */ public Builder clearInbox() { inbox_ = getDefaultInstance().getInbox(); onChanged(); return this; } /** *
     * Inbox subject to identify subscription
     * 
* * string inbox = 3; */ public Builder setInboxBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); inbox_ = value; onChanged(); return this; } private java.lang.Object durableName_ = ""; /** *
     * Optional durable name which survives client restarts
     * 
* * string durableName = 4; */ public java.lang.String getDurableName() { java.lang.Object ref = durableName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); durableName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Optional durable name which survives client restarts
     * 
* * string durableName = 4; */ public com.google.protobuf.ByteString getDurableNameBytes() { java.lang.Object ref = durableName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); durableName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Optional durable name which survives client restarts
     * 
* * string durableName = 4; */ public Builder setDurableName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } durableName_ = value; onChanged(); return this; } /** *
     * Optional durable name which survives client restarts
     * 
* * string durableName = 4; */ public Builder clearDurableName() { durableName_ = getDefaultInstance().getDurableName(); onChanged(); return this; } /** *
     * Optional durable name which survives client restarts
     * 
* * string durableName = 4; */ public Builder setDurableNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); durableName_ = value; onChanged(); 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:pb.UnsubscribeRequest) } // @@protoc_insertion_point(class_scope:pb.UnsubscribeRequest) private static final io.nats.streaming.protobuf.UnsubscribeRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.nats.streaming.protobuf.UnsubscribeRequest(); } public static io.nats.streaming.protobuf.UnsubscribeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UnsubscribeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UnsubscribeRequest(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.nats.streaming.protobuf.UnsubscribeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy