io.nats.stan.protobuf.Protocol Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-nats-streaming Show documentation
Show all versions of java-nats-streaming Show documentation
Client library for working with the NATS messaging system.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: protocol.proto
package io.nats.stan.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\"\211\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\021" +
"\n\tpublicKey\030d \001(\t\"\361\001\n\023SubscriptionReques" +
"t\022\020\n\010clientID\030\001 \001(\t\022\017\n\007subject\030\002 \001(\t\022\016\n\006" +
"qGroup\030\003 \001(\t\022\r\n\005inbox\030\004 \001(\t\022\023\n\013maxInFlig" +
"ht\030\005 \001(\005\022\025\n\rackWaitInSecs\030\006 \001(\005\022\023\n\013durab" +
"leName\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" +
"\016startTimeDelta\030\014 \001(\003\"7\n\024SubscriptionRes",
"ponse\022\020\n\010ackInbox\030\002 \001(\t\022\r\n\005error\030\003 \001(\t\"[" +
"\n\022UnsubscribeRequest\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\013durabl" +
"eName\030\004 \001(\t\" \n\014CloseRequest\022\020\n\010clientID\030" +
"\001 \001(\t\"\036\n\rCloseResponse\022\r\n\005error\030\001 \001(\t*`\n" +
"\rStartPosition\022\013\n\007NewOnly\020\000\022\020\n\014LastRecei" +
"ved\020\001\022\022\n\016TimeDeltaStart\020\002\022\021\n\rSequenceSta" +
"rt\020\003\022\t\n\005First\020\004B\031\n\025io.nats.stan.protobuf" +
"P\001b\006proto3"
};
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", "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