grpc.cache_client.Httpcache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client-protos-jvm Show documentation
Show all versions of client-protos-jvm Show documentation
Kotlin protobuf protocols for the JVM that define the Momento gRPC wire format
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: httpcache.proto
package grpc.cache_client;
public final class Httpcache {
private Httpcache() {}
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__HttpGetRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cache_client__HttpGetRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_cache_client__HttpSetRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cache_client__HttpSetRequest_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\017httpcache.proto\022\014cache_client\032\021cachecl" +
"ient.proto\032\031google/api/httpbody.proto\032\034g" +
"oogle/api/annotations.proto\"G\n\017_HttpGetR" +
"equest\022\022\n\ncache_name\030\001 \001(\t\022\021\n\tcache_key\030" +
"\002 \001(\t\022\r\n\005token\030\003 \001(\t\"\213\001\n\017_HttpSetRequest" +
"\022\022\n\ncache_name\030\001 \001(\t\022\021\n\tcache_key\030\002 \001(\t\022" +
"\030\n\020ttl_milliseconds\030\003 \001(\004\022\r\n\005token\030\004 \001(\t" +
"\022(\n\ncache_body\030\005 \001(\0132\024.google.api.HttpBo" +
"dy2\365\002\n\tHttpCache\022g\n\003Get\022\035.cache_client._" +
"HttpGetRequest\032\024.google.api.HttpBody\"+\202\323" +
"\344\223\002%\022#/cache/get/{cache_name}/{cache_key" +
"}\022y\n\003Set\022\035.cache_client._HttpSetRequest\032" +
"\032.cache_client._SetResponse\"7\202\323\344\223\0021\"#/ca" +
"che/set/{cache_name}/{cache_key}:\ncache_" +
"body\022\203\001\n\rSetButItsAPut\022\035.cache_client._H" +
"ttpSetRequest\032\032.cache_client._SetRespons" +
"e\"7\202\323\344\223\0021\032#/cache/set/{cache_name}/{cach" +
"e_key}:\ncache_bodyBG\n\021grpc.cache_clientP" +
"\001Z0github.com/momentohq/client-sdk-go;cl" +
"ient_sdk_gob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
grpc.cache_client.Cacheclient.getDescriptor(),
com.google.api.HttpBodyProto.getDescriptor(),
com.google.api.AnnotationsProto.getDescriptor(),
});
internal_static_cache_client__HttpGetRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_cache_client__HttpGetRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cache_client__HttpGetRequest_descriptor,
new java.lang.String[] { "CacheName", "CacheKey", "Token", });
internal_static_cache_client__HttpSetRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_cache_client__HttpSetRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cache_client__HttpSetRequest_descriptor,
new java.lang.String[] { "CacheName", "CacheKey", "TtlMilliseconds", "Token", "CacheBody", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.AnnotationsProto.http);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
grpc.cache_client.Cacheclient.getDescriptor();
com.google.api.HttpBodyProto.getDescriptor();
com.google.api.AnnotationsProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}