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

io.nats.streaming.protobuf.Protocol 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;

public final class Protocol {
  private Protocol() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_PubMsg_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_PubMsg_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_PubAck_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_PubAck_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_MsgProto_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_MsgProto_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_Ack_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_Ack_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_ConnectRequest_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_ConnectRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_ConnectResponse_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_ConnectResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_SubscriptionRequest_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_SubscriptionRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_SubscriptionResponse_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_SubscriptionResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_UnsubscribeRequest_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_UnsubscribeRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_CloseRequest_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_CloseRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_pb_CloseResponse_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_pb_CloseResponse_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\016protocol.proto\022\002pb\"f\n\006PubMsg\022\020\n\010client" +
      "ID\030\001 \001(\t\022\014\n\004guid\030\002 \001(\t\022\017\n\007subject\030\003 \001(\t\022" +
      "\r\n\005reply\030\004 \001(\t\022\014\n\004data\030\005 \001(\014\022\016\n\006sha256\030\n" +
      " \001(\014\"%\n\006PubAck\022\014\n\004guid\030\001 \001(\t\022\r\n\005error\030\002 " +
      "\001(\t\"\201\001\n\010MsgProto\022\020\n\010sequence\030\001 \001(\004\022\017\n\007su" +
      "bject\030\002 \001(\t\022\r\n\005reply\030\003 \001(\t\022\014\n\004data\030\004 \001(\014" +
      "\022\021\n\ttimestamp\030\005 \001(\003\022\023\n\013redelivered\030\006 \001(\010" +
      "\022\r\n\005CRC32\030\n \001(\r\"(\n\003Ack\022\017\n\007subject\030\001 \001(\t\022" +
      "\020\n\010sequence\030\002 \001(\004\":\n\016ConnectRequest\022\020\n\010c" +
      "lientID\030\001 \001(\t\022\026\n\016heartbeatInbox\030\002 \001(\t\"\243\001" +
      "\n\017ConnectResponse\022\021\n\tpubPrefix\030\001 \001(\t\022\023\n\013" +
      "subRequests\030\002 \001(\t\022\025\n\runsubRequests\030\003 \001(\t" +
      "\022\025\n\rcloseRequests\030\004 \001(\t\022\r\n\005error\030\005 \001(\t\022\030" +
      "\n\020subCloseRequests\030\006 \001(\t\022\021\n\tpublicKey\030d " +
      "\001(\t\"\361\001\n\023SubscriptionRequest\022\020\n\010clientID\030" +
      "\001 \001(\t\022\017\n\007subject\030\002 \001(\t\022\016\n\006qGroup\030\003 \001(\t\022\r" +
      "\n\005inbox\030\004 \001(\t\022\023\n\013maxInFlight\030\005 \001(\005\022\025\n\rac" +
      "kWaitInSecs\030\006 \001(\005\022\023\n\013durableName\030\007 \001(\t\022(" +
      "\n\rstartPosition\030\n \001(\0162\021.pb.StartPosition" +
      "\022\025\n\rstartSequence\030\013 \001(\004\022\026\n\016startTimeDelt" +
      "a\030\014 \001(\003\"7\n\024SubscriptionResponse\022\020\n\010ackIn" +
      "box\030\002 \001(\t\022\r\n\005error\030\003 \001(\t\"[\n\022UnsubscribeR" +
      "equest\022\020\n\010clientID\030\001 \001(\t\022\017\n\007subject\030\002 \001(" +
      "\t\022\r\n\005inbox\030\003 \001(\t\022\023\n\013durableName\030\004 \001(\t\" \n" +
      "\014CloseRequest\022\020\n\010clientID\030\001 \001(\t\"\036\n\rClose" +
      "Response\022\r\n\005error\030\001 \001(\t*`\n\rStartPosition" +
      "\022\013\n\007NewOnly\020\000\022\020\n\014LastReceived\020\001\022\022\n\016TimeD" +
      "eltaStart\020\002\022\021\n\rSequenceStart\020\003\022\t\n\005First\020" +
      "\004B\036\n\032io.nats.streaming.protobufP\001b\006proto" +
      "3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
    internal_static_pb_PubMsg_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_pb_PubMsg_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_PubMsg_descriptor,
        new java.lang.String[] { "ClientID", "Guid", "Subject", "Reply", "Data", "Sha256", });
    internal_static_pb_PubAck_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_pb_PubAck_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_PubAck_descriptor,
        new java.lang.String[] { "Guid", "Error", });
    internal_static_pb_MsgProto_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_pb_MsgProto_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_MsgProto_descriptor,
        new java.lang.String[] { "Sequence", "Subject", "Reply", "Data", "Timestamp", "Redelivered", "CRC32", });
    internal_static_pb_Ack_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_pb_Ack_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_Ack_descriptor,
        new java.lang.String[] { "Subject", "Sequence", });
    internal_static_pb_ConnectRequest_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_pb_ConnectRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_ConnectRequest_descriptor,
        new java.lang.String[] { "ClientID", "HeartbeatInbox", });
    internal_static_pb_ConnectResponse_descriptor =
      getDescriptor().getMessageTypes().get(5);
    internal_static_pb_ConnectResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_ConnectResponse_descriptor,
        new java.lang.String[] { "PubPrefix", "SubRequests", "UnsubRequests", "CloseRequests", "Error", "SubCloseRequests", "PublicKey", });
    internal_static_pb_SubscriptionRequest_descriptor =
      getDescriptor().getMessageTypes().get(6);
    internal_static_pb_SubscriptionRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_SubscriptionRequest_descriptor,
        new java.lang.String[] { "ClientID", "Subject", "QGroup", "Inbox", "MaxInFlight", "AckWaitInSecs", "DurableName", "StartPosition", "StartSequence", "StartTimeDelta", });
    internal_static_pb_SubscriptionResponse_descriptor =
      getDescriptor().getMessageTypes().get(7);
    internal_static_pb_SubscriptionResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_SubscriptionResponse_descriptor,
        new java.lang.String[] { "AckInbox", "Error", });
    internal_static_pb_UnsubscribeRequest_descriptor =
      getDescriptor().getMessageTypes().get(8);
    internal_static_pb_UnsubscribeRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_UnsubscribeRequest_descriptor,
        new java.lang.String[] { "ClientID", "Subject", "Inbox", "DurableName", });
    internal_static_pb_CloseRequest_descriptor =
      getDescriptor().getMessageTypes().get(9);
    internal_static_pb_CloseRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_CloseRequest_descriptor,
        new java.lang.String[] { "ClientID", });
    internal_static_pb_CloseResponse_descriptor =
      getDescriptor().getMessageTypes().get(10);
    internal_static_pb_CloseResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_pb_CloseResponse_descriptor,
        new java.lang.String[] { "Error", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy