All Downloads are FREE. Search and download functionalities are using the official Maven repository.

momento.auth.AuthOuterClass Maven / Gradle / Ivy

There is a newer version: 0.117.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: auth.proto

package momento.auth;

public final class AuthOuterClass {
  private AuthOuterClass() {}
  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_auth__LoginRequest_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_auth__LoginRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_auth__LoginResponse_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_auth__LoginResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_auth__LoginResponse_LoggedIn_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_auth__LoginResponse_LoggedIn_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_auth__LoginResponse_Error_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_auth__LoginResponse_Error_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_auth__LoginResponse_DirectBrowser_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_auth__LoginResponse_DirectBrowser_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_auth__LoginResponse_Message_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_auth__LoginResponse_Message_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_auth__GenerateApiTokenRequest_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_auth__GenerateApiTokenRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_auth__GenerateApiTokenRequest_Never_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_auth__GenerateApiTokenRequest_Never_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_auth__GenerateApiTokenRequest_Expires_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_auth__GenerateApiTokenRequest_Expires_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_auth__GenerateApiTokenResponse_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_auth__GenerateApiTokenResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_auth__RefreshApiTokenRequest_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_auth__RefreshApiTokenRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_auth__RefreshApiTokenResponse_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_auth__RefreshApiTokenResponse_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\nauth.proto\022\004auth\032\030permissionmessages.p" +
      "roto\"\017\n\r_LoginRequest\"\374\002\n\016_LoginResponse" +
      "\022<\n\016direct_browser\030\001 \001(\0132\".auth._LoginRe" +
      "sponse.DirectBrowserH\000\0222\n\tlogged_in\030\002 \001(" +
      "\0132\035.auth._LoginResponse.LoggedInH\000\022/\n\007me" +
      "ssage\030\003 \001(\0132\034.auth._LoginResponse.Messag" +
      "eH\000\022+\n\005error\030\004 \001(\0132\032.auth._LoginResponse" +
      ".ErrorH\000\032<\n\010LoggedIn\022\025\n\rsession_token\030\001 " +
      "\001(\t\022\031\n\021valid_for_seconds\030\002 \001(\r\032\034\n\005Error\022" +
      "\023\n\013description\030\001 \001(\t\032\034\n\rDirectBrowser\022\013\n" +
      "\003url\030\001 \001(\t\032\027\n\007Message\022\014\n\004text\030\001 \001(\tB\007\n\005s" +
      "tate\"\267\002\n\030_GenerateApiTokenRequest\0225\n\005nev" +
      "er\030\001 \001(\0132$.auth._GenerateApiTokenRequest" +
      ".NeverH\000\0229\n\007expires\030\002 \001(\0132&.auth._Genera" +
      "teApiTokenRequest.ExpiresH\000\022\022\n\nauth_toke" +
      "n\030\003 \001(\t\0225\n\013permissions\030\004 \001(\0132 .permissio" +
      "n_messages.Permissions\022\020\n\010token_id\030\005 \001(\t" +
      "\022\023\n\013description\030\006 \001(\t\032\007\n\005Never\032$\n\007Expire" +
      "s\022\031\n\021valid_for_seconds\030\001 \001(\rB\010\n\006expiry\"j" +
      "\n\031_GenerateApiTokenResponse\022\017\n\007api_key\030\001" +
      " \001(\t\022\025\n\rrefresh_token\030\002 \001(\t\022\020\n\010endpoint\030" +
      "\003 \001(\t\022\023\n\013valid_until\030\004 \001(\004\"A\n\027_RefreshAp" +
      "iTokenRequest\022\017\n\007api_key\030\001 \001(\t\022\025\n\rrefres" +
      "h_token\030\002 \001(\t\"i\n\030_RefreshApiTokenRespons" +
      "e\022\017\n\007api_key\030\001 \001(\t\022\025\n\rrefresh_token\030\002 \001(" +
      "\t\022\020\n\010endpoint\030\003 \001(\t\022\023\n\013valid_until\030\004 \001(\004" +
      "2\351\001\n\004Auth\0226\n\005Login\022\023.auth._LoginRequest\032" +
      "\024.auth._LoginResponse\"\0000\001\022U\n\020GenerateApi" +
      "Token\022\036.auth._GenerateApiTokenRequest\032\037." +
      "auth._GenerateApiTokenResponse\"\000\022R\n\017Refr" +
      "eshApiToken\022\035.auth._RefreshApiTokenReque" +
      "st\032\036.auth._RefreshApiTokenResponse\"\000BB\n\014" +
      "momento.authP\001Z0github.com/momentohq/cli" +
      "ent-sdk-go;client_sdk_gob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          grpc.permission_messages.Permissionmessages.getDescriptor(),
        });
    internal_static_auth__LoginRequest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_auth__LoginRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_auth__LoginRequest_descriptor,
        new java.lang.String[] { });
    internal_static_auth__LoginResponse_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_auth__LoginResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_auth__LoginResponse_descriptor,
        new java.lang.String[] { "DirectBrowser", "LoggedIn", "Message", "Error", "State", });
    internal_static_auth__LoginResponse_LoggedIn_descriptor =
      internal_static_auth__LoginResponse_descriptor.getNestedTypes().get(0);
    internal_static_auth__LoginResponse_LoggedIn_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_auth__LoginResponse_LoggedIn_descriptor,
        new java.lang.String[] { "SessionToken", "ValidForSeconds", });
    internal_static_auth__LoginResponse_Error_descriptor =
      internal_static_auth__LoginResponse_descriptor.getNestedTypes().get(1);
    internal_static_auth__LoginResponse_Error_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_auth__LoginResponse_Error_descriptor,
        new java.lang.String[] { "Description", });
    internal_static_auth__LoginResponse_DirectBrowser_descriptor =
      internal_static_auth__LoginResponse_descriptor.getNestedTypes().get(2);
    internal_static_auth__LoginResponse_DirectBrowser_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_auth__LoginResponse_DirectBrowser_descriptor,
        new java.lang.String[] { "Url", });
    internal_static_auth__LoginResponse_Message_descriptor =
      internal_static_auth__LoginResponse_descriptor.getNestedTypes().get(3);
    internal_static_auth__LoginResponse_Message_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_auth__LoginResponse_Message_descriptor,
        new java.lang.String[] { "Text", });
    internal_static_auth__GenerateApiTokenRequest_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_auth__GenerateApiTokenRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_auth__GenerateApiTokenRequest_descriptor,
        new java.lang.String[] { "Never", "Expires", "AuthToken", "Permissions", "TokenId", "Description", "Expiry", });
    internal_static_auth__GenerateApiTokenRequest_Never_descriptor =
      internal_static_auth__GenerateApiTokenRequest_descriptor.getNestedTypes().get(0);
    internal_static_auth__GenerateApiTokenRequest_Never_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_auth__GenerateApiTokenRequest_Never_descriptor,
        new java.lang.String[] { });
    internal_static_auth__GenerateApiTokenRequest_Expires_descriptor =
      internal_static_auth__GenerateApiTokenRequest_descriptor.getNestedTypes().get(1);
    internal_static_auth__GenerateApiTokenRequest_Expires_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_auth__GenerateApiTokenRequest_Expires_descriptor,
        new java.lang.String[] { "ValidForSeconds", });
    internal_static_auth__GenerateApiTokenResponse_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_auth__GenerateApiTokenResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_auth__GenerateApiTokenResponse_descriptor,
        new java.lang.String[] { "ApiKey", "RefreshToken", "Endpoint", "ValidUntil", });
    internal_static_auth__RefreshApiTokenRequest_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_auth__RefreshApiTokenRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_auth__RefreshApiTokenRequest_descriptor,
        new java.lang.String[] { "ApiKey", "RefreshToken", });
    internal_static_auth__RefreshApiTokenResponse_descriptor =
      getDescriptor().getMessageTypes().get(5);
    internal_static_auth__RefreshApiTokenResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_auth__RefreshApiTokenResponse_descriptor,
        new java.lang.String[] { "ApiKey", "RefreshToken", "Endpoint", "ValidUntil", });
    grpc.permission_messages.Permissionmessages.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy