grpc.permission_messages.Permissionmessages 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: permissionmessages.proto
package grpc.permission_messages;
public final class Permissionmessages {
private Permissionmessages() {}
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_permission_messages_Permissions_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_permission_messages_Permissions_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_permission_messages_ExplicitPermissions_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_permission_messages_ExplicitPermissions_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_permission_messages_PermissionsType_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_permission_messages_PermissionsType_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_permission_messages_PermissionsType_All_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_permission_messages_PermissionsType_All_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_permission_messages_PermissionsType_CacheSelector_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_permission_messages_PermissionsType_CacheSelector_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_permission_messages_PermissionsType_CacheItemSelector_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_permission_messages_PermissionsType_CacheItemSelector_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_permission_messages_PermissionsType_CachePermissions_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_permission_messages_PermissionsType_CachePermissions_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_permission_messages_PermissionsType_TopicSelector_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_permission_messages_PermissionsType_TopicSelector_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_permission_messages_PermissionsType_TopicPermissions_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_permission_messages_PermissionsType_TopicPermissions_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\030permissionmessages.proto\022\023permission_m" +
"essages\"\224\001\n\013Permissions\022?\n\nsuper_user\030\001 " +
"\001(\0162).permission_messages.SuperUserPermi" +
"ssionsH\000\022<\n\010explicit\030\002 \001(\0132(.permission_" +
"messages.ExplicitPermissionsH\000B\006\n\004kind\"P" +
"\n\023ExplicitPermissions\0229\n\013permissions\030\001 \003" +
"(\0132$.permission_messages.PermissionsType" +
"\"\356\010\n\017PermissionsType\022R\n\021cache_permission" +
"s\030\001 \001(\01325.permission_messages.Permission" +
"sType.CachePermissionsH\000\022R\n\021topic_permis" +
"sions\030\002 \001(\01325.permission_messages.Permis" +
"sionsType.TopicPermissionsH\000\032\005\n\003All\032-\n\rC" +
"acheSelector\022\024\n\ncache_name\030\001 \001(\tH\000B\006\n\004ki" +
"nd\032@\n\021CacheItemSelector\022\r\n\003key\030\001 \001(\014H\000\022\024" +
"\n\nkey_prefix\030\002 \001(\014H\000B\006\n\004kind\032\365\002\n\020CachePe" +
"rmissions\022,\n\004role\030\001 \001(\0162\036.permission_mes" +
"sages.CacheRole\022>\n\nall_caches\030\002 \001(\0132(.pe" +
"rmission_messages.PermissionsType.AllH\000\022" +
"L\n\016cache_selector\030\003 \001(\01322.permission_mes" +
"sages.PermissionsType.CacheSelectorH\000\022=\n" +
"\tall_items\030\004 \001(\0132(.permission_messages.P" +
"ermissionsType.AllH\001\022O\n\ritem_selector\030\005 " +
"\001(\01326.permission_messages.PermissionsTyp" +
"e.CacheItemSelectorH\001B\007\n\005cacheB\014\n\ncache_" +
"item\032J\n\rTopicSelector\022\024\n\ntopic_name\030\001 \001(" +
"\tH\000\022\033\n\021topic_name_prefix\030\002 \001(\tH\000B\006\n\004kind" +
"\032\356\002\n\020TopicPermissions\022,\n\004role\030\001 \001(\0162\036.pe" +
"rmission_messages.TopicRole\022>\n\nall_cache" +
"s\030\002 \001(\0132(.permission_messages.Permission" +
"sType.AllH\000\022L\n\016cache_selector\030\003 \001(\01322.pe" +
"rmission_messages.PermissionsType.CacheS" +
"electorH\000\022>\n\nall_topics\030\004 \001(\0132(.permissi" +
"on_messages.PermissionsType.AllH\001\022L\n\016top" +
"ic_selector\030\005 \001(\01322.permission_messages." +
"PermissionsType.TopicSelectorH\001B\007\n\005cache" +
"B\007\n\005topicB\006\n\004kind*[\n\tCacheRole\022\023\n\017CacheP" +
"ermitNone\020\000\022\022\n\016CacheReadWrite\020\001\022\021\n\rCache" +
"ReadOnly\020\002\022\022\n\016CacheWriteOnly\020\003*[\n\tTopicR" +
"ole\022\023\n\017TopicPermitNone\020\000\022\022\n\016TopicReadWri" +
"te\020\001\022\021\n\rTopicReadOnly\020\002\022\022\n\016TopicWriteOnl" +
"y\020\003*%\n\024SuperUserPermissions\022\r\n\tSuperUser" +
"\020\000Br\n\030grpc.permission_messagesP\001Z0github" +
".com/momentohq/client-sdk-go;client_sdk_" +
"go\252\002!Momento.Protos.PermissionMessagesb\006" +
"proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_permission_messages_Permissions_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_permission_messages_Permissions_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_permission_messages_Permissions_descriptor,
new java.lang.String[] { "SuperUser", "Explicit", "Kind", });
internal_static_permission_messages_ExplicitPermissions_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_permission_messages_ExplicitPermissions_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_permission_messages_ExplicitPermissions_descriptor,
new java.lang.String[] { "Permissions", });
internal_static_permission_messages_PermissionsType_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_permission_messages_PermissionsType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_permission_messages_PermissionsType_descriptor,
new java.lang.String[] { "CachePermissions", "TopicPermissions", "Kind", });
internal_static_permission_messages_PermissionsType_All_descriptor =
internal_static_permission_messages_PermissionsType_descriptor.getNestedTypes().get(0);
internal_static_permission_messages_PermissionsType_All_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_permission_messages_PermissionsType_All_descriptor,
new java.lang.String[] { });
internal_static_permission_messages_PermissionsType_CacheSelector_descriptor =
internal_static_permission_messages_PermissionsType_descriptor.getNestedTypes().get(1);
internal_static_permission_messages_PermissionsType_CacheSelector_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_permission_messages_PermissionsType_CacheSelector_descriptor,
new java.lang.String[] { "CacheName", "Kind", });
internal_static_permission_messages_PermissionsType_CacheItemSelector_descriptor =
internal_static_permission_messages_PermissionsType_descriptor.getNestedTypes().get(2);
internal_static_permission_messages_PermissionsType_CacheItemSelector_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_permission_messages_PermissionsType_CacheItemSelector_descriptor,
new java.lang.String[] { "Key", "KeyPrefix", "Kind", });
internal_static_permission_messages_PermissionsType_CachePermissions_descriptor =
internal_static_permission_messages_PermissionsType_descriptor.getNestedTypes().get(3);
internal_static_permission_messages_PermissionsType_CachePermissions_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_permission_messages_PermissionsType_CachePermissions_descriptor,
new java.lang.String[] { "Role", "AllCaches", "CacheSelector", "AllItems", "ItemSelector", "Cache", "CacheItem", });
internal_static_permission_messages_PermissionsType_TopicSelector_descriptor =
internal_static_permission_messages_PermissionsType_descriptor.getNestedTypes().get(4);
internal_static_permission_messages_PermissionsType_TopicSelector_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_permission_messages_PermissionsType_TopicSelector_descriptor,
new java.lang.String[] { "TopicName", "TopicNamePrefix", "Kind", });
internal_static_permission_messages_PermissionsType_TopicPermissions_descriptor =
internal_static_permission_messages_PermissionsType_descriptor.getNestedTypes().get(5);
internal_static_permission_messages_PermissionsType_TopicPermissions_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_permission_messages_PermissionsType_TopicPermissions_descriptor,
new java.lang.String[] { "Role", "AllCaches", "CacheSelector", "AllTopics", "TopicSelector", "Cache", "Topic", });
}
// @@protoc_insertion_point(outer_class_scope)
}