grpc.cache_client.pubsub.Cachepubsub Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client-protos Show documentation
Show all versions of client-protos Show documentation
Java protobuf protocols that define the Momento gRPC wire format
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cachepubsub.proto
package grpc.cache_client.pubsub;
public final class Cachepubsub {
private Cachepubsub() {}
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_cache_client_pubsub__PublishRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cache_client_pubsub__PublishRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_cache_client_pubsub__SubscriptionRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cache_client_pubsub__SubscriptionRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_cache_client_pubsub__SubscriptionItem_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cache_client_pubsub__SubscriptionItem_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_cache_client_pubsub__TopicItem_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cache_client_pubsub__TopicItem_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_cache_client_pubsub__TopicValue_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cache_client_pubsub__TopicValue_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_cache_client_pubsub__Discontinuity_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cache_client_pubsub__Discontinuity_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_cache_client_pubsub__Heartbeat_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cache_client_pubsub__Heartbeat_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\021cachepubsub.proto\022\023cache_client.pubsub" +
"\032\014common.proto\032\020extensions.proto\"k\n\017_Pub" +
"lishRequest\022\022\n\ncache_name\030\001 \001(\t\022\r\n\005topic" +
"\030\002 \001(\t\022/\n\005value\030\003 \001(\0132 .cache_client.pub" +
"sub._TopicValue:\004\200\265\030\000\"h\n\024_SubscriptionRe" +
"quest\022\022\n\ncache_name\030\001 \001(\t\022\r\n\005topic\030\002 \001(\t" +
"\022\'\n\037resume_at_topic_sequence_number\030\003 \001(" +
"\004:\004\200\265\030\001\"\300\001\n\021_SubscriptionItem\022/\n\004item\030\001 " +
"\001(\0132\037.cache_client.pubsub._TopicItemH\000\022<" +
"\n\rdiscontinuity\030\002 \001(\0132#.cache_client.pub" +
"sub._DiscontinuityH\000\0224\n\theartbeat\030\003 \001(\0132" +
"\037.cache_client.pubsub._HeartbeatH\000B\006\n\004ki" +
"nd\"r\n\n_TopicItem\022\035\n\025topic_sequence_numbe" +
"r\030\001 \001(\004\022/\n\005value\030\002 \001(\0132 .cache_client.pu" +
"bsub._TopicValue\022\024\n\014publisher_id\030\003 \001(\t\"7" +
"\n\013_TopicValue\022\016\n\004text\030\001 \001(\tH\000\022\020\n\006binary\030" +
"\002 \001(\014H\000B\006\n\004kind\"I\n\016_Discontinuity\022\033\n\023las" +
"t_topic_sequence\030\001 \001(\004\022\032\n\022new_topic_sequ" +
"ence\030\002 \001(\004\"\014\n\n_Heartbeat2\253\001\n\006Pubsub\022?\n\007P" +
"ublish\022$.cache_client.pubsub._PublishReq" +
"uest\032\016.common._Empty\022`\n\tSubscribe\022).cach" +
"e_client.pubsub._SubscriptionRequest\032&.c" +
"ache_client.pubsub._SubscriptionItem0\001Br" +
"\n\030grpc.cache_client.pubsubP\001Z0github.com" +
"/momentohq/client-sdk-go;client_sdk_go\252\002" +
"!Momento.Protos.CacheClient.Pubsubb\006prot" +
"o3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
grpc.common.Common.getDescriptor(),
grpc.extensions.Extensions.getDescriptor(),
});
internal_static_cache_client_pubsub__PublishRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_cache_client_pubsub__PublishRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cache_client_pubsub__PublishRequest_descriptor,
new java.lang.String[] { "CacheName", "Topic", "Value", });
internal_static_cache_client_pubsub__SubscriptionRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_cache_client_pubsub__SubscriptionRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cache_client_pubsub__SubscriptionRequest_descriptor,
new java.lang.String[] { "CacheName", "Topic", "ResumeAtTopicSequenceNumber", });
internal_static_cache_client_pubsub__SubscriptionItem_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_cache_client_pubsub__SubscriptionItem_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cache_client_pubsub__SubscriptionItem_descriptor,
new java.lang.String[] { "Item", "Discontinuity", "Heartbeat", "Kind", });
internal_static_cache_client_pubsub__TopicItem_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_cache_client_pubsub__TopicItem_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cache_client_pubsub__TopicItem_descriptor,
new java.lang.String[] { "TopicSequenceNumber", "Value", "PublisherId", });
internal_static_cache_client_pubsub__TopicValue_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_cache_client_pubsub__TopicValue_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cache_client_pubsub__TopicValue_descriptor,
new java.lang.String[] { "Text", "Binary", "Kind", });
internal_static_cache_client_pubsub__Discontinuity_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_cache_client_pubsub__Discontinuity_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cache_client_pubsub__Discontinuity_descriptor,
new java.lang.String[] { "LastTopicSequence", "NewTopicSequence", });
internal_static_cache_client_pubsub__Heartbeat_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_cache_client_pubsub__Heartbeat_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cache_client_pubsub__Heartbeat_descriptor,
new java.lang.String[] { });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(grpc.extensions.Extensions.retrySemantic);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
grpc.common.Common.getDescriptor();
grpc.extensions.Extensions.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}