momento.token.TokenOuterClass 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: token.proto
package momento.token;
public final class TokenOuterClass {
private TokenOuterClass() {}
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_token__GenerateDisposableTokenRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_token__GenerateDisposableTokenRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_token__GenerateDisposableTokenRequest_Expires_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_token__GenerateDisposableTokenRequest_Expires_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_token__GenerateDisposableTokenResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_token__GenerateDisposableTokenResponse_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\013token.proto\022\005token\032\030permissionmessages" +
".proto\"\345\001\n\037_GenerateDisposableTokenReque" +
"st\022?\n\007expires\030\001 \001(\0132..token._GenerateDis" +
"posableTokenRequest.Expires\022\022\n\nauth_toke" +
"n\030\002 \001(\t\0225\n\013permissions\030\003 \001(\0132 .permissio" +
"n_messages.Permissions\022\020\n\010token_id\030\004 \001(\t" +
"\032$\n\007Expires\022\031\n\021valid_for_seconds\030\001 \001(\r\"Z" +
"\n _GenerateDisposableTokenResponse\022\017\n\007ap" +
"i_key\030\001 \001(\t\022\020\n\010endpoint\030\002 \001(\t\022\023\n\013valid_u" +
"ntil\030\003 \001(\0042u\n\005Token\022l\n\027GenerateDisposabl" +
"eToken\022&.token._GenerateDisposableTokenR" +
"equest\032\'.token._GenerateDisposableTokenR" +
"esponse\"\000B`\n\rmomento.tokenP\001Z0github.com" +
"/momentohq/client-sdk-go;client_sdk_go\252\002" +
"\032Momento.Protos.TokenClientb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
grpc.permission_messages.Permissionmessages.getDescriptor(),
});
internal_static_token__GenerateDisposableTokenRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_token__GenerateDisposableTokenRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_token__GenerateDisposableTokenRequest_descriptor,
new java.lang.String[] { "Expires", "AuthToken", "Permissions", "TokenId", });
internal_static_token__GenerateDisposableTokenRequest_Expires_descriptor =
internal_static_token__GenerateDisposableTokenRequest_descriptor.getNestedTypes().get(0);
internal_static_token__GenerateDisposableTokenRequest_Expires_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_token__GenerateDisposableTokenRequest_Expires_descriptor,
new java.lang.String[] { "ValidForSeconds", });
internal_static_token__GenerateDisposableTokenResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_token__GenerateDisposableTokenResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_token__GenerateDisposableTokenResponse_descriptor,
new java.lang.String[] { "ApiKey", "Endpoint", "ValidUntil", });
grpc.permission_messages.Permissionmessages.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}