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

io.opencannabis.schema.oauth.OAuthClient Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2019, Momentum Ideas Co.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: oauth/Client.proto

package io.opencannabis.schema.oauth;

public final class OAuthClient {
  private OAuthClient() {}
  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_opencannabis_oauth_Client_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_opencannabis_oauth_Client_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_opencannabis_oauth_Consent_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_opencannabis_oauth_Consent_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_opencannabis_oauth_ConsentTicket_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_opencannabis_oauth_ConsentTicket_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\022oauth/Client.proto\022\022opencannabis.oauth" +
      "\032\025media/MediaItem.proto\032\026temporal/Instan" +
      "t.proto\032\036oauth/AuthorizationScope.proto\"" +
      "\252\003\n\006Client\022\n\n\002id\030\001 \001(\t\022\016\n\006secret\030\002 \001(\t\022\014" +
      "\n\004name\030\003 \001(\t\022\017\n\007contact\030\004 \003(\t\0222\n\013grant_t" +
      "ypes\030\005 \003(\0162\035.opencannabis.oauth.GrantTyp" +
      "e\022/\n\010branding\030\006 \001(\0132\035.opencannabis.media" +
      ".MediaItem\022\r\n\005owner\030\007 \001(\t\022-\n\006policy\030\010 \001(" +
      "\0132\035.opencannabis.media.MediaItem\022,\n\005term" +
      "s\030\t \001(\0132\035.opencannabis.media.MediaItem\022\016" +
      "\n\006public\030\n \001(\010\022\024\n\014redirect_uri\030\013 \003(\t\0227\n\r" +
      "response_type\030\014 \003(\0162 .opencannabis.oauth" +
      ".ResponseType\0225\n\005scope\030\r \003(\0132&.opencanna" +
      "bis.oauth.AuthorizationScope\"\213\001\n\007Consent" +
      "\022\n\n\002id\030\001 \001(\t\022\021\n\tclient_id\030\002 \001(\t\0222\n\nexpir" +
      "es_at\030\003 \001(\0132\036.opencannabis.temporal.Inst" +
      "ant\022\024\n\014redirect_uri\030\004 \001(\t\022\027\n\017requested_s" +
      "cope\030\005 \003(\t\"i\n\rConsentTicket\022*\n\006client\030\001 " +
      "\001(\0132\032.opencannabis.oauth.Client\022,\n\007conse" +
      "nt\030\002 \001(\0132\033.opencannabis.oauth.Consent*P\n" +
      "\014ResponseType\022\035\n\031UNSPECIFIED_RESPONSE_TY" +
      "PE\020\000\022\t\n\005TOKEN\020\001\022\010\n\004CODE\020\002\022\014\n\010ID_TOKEN\020\003*" +
      "j\n\tGrantType\022\032\n\026UNSPECIFIED_GRANT_TYPE\020\000" +
      "\022\026\n\022AUTHORIZATION_CODE\020\001\022\021\n\rREFRESH_TOKE" +
      "N\020\002\022\026\n\022CLIENT_CREDENTIALS\020\003B5\n\034io.openca" +
      "nnabis.schema.oauthB\013OAuthClientH\001P\001\242\002\003O" +
      "CSb\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          io.opencannabis.schema.media.AttachedMedia.getDescriptor(),
          io.opencannabis.schema.temporal.TemporalInstant.getDescriptor(),
          io.opencannabis.schema.oauth.AuthorizationScopeOuterClass.getDescriptor(),
        }, assigner);
    internal_static_opencannabis_oauth_Client_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_opencannabis_oauth_Client_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_opencannabis_oauth_Client_descriptor,
        new java.lang.String[] { "Id", "Secret", "Name", "Contact", "GrantTypes", "Branding", "Owner", "Policy", "Terms", "Public", "RedirectUri", "ResponseType", "Scope", });
    internal_static_opencannabis_oauth_Consent_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_opencannabis_oauth_Consent_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_opencannabis_oauth_Consent_descriptor,
        new java.lang.String[] { "Id", "ClientId", "ExpiresAt", "RedirectUri", "RequestedScope", });
    internal_static_opencannabis_oauth_ConsentTicket_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_opencannabis_oauth_ConsentTicket_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_opencannabis_oauth_ConsentTicket_descriptor,
        new java.lang.String[] { "Client", "Consent", });
    io.opencannabis.schema.media.AttachedMedia.getDescriptor();
    io.opencannabis.schema.temporal.TemporalInstant.getDescriptor();
    io.opencannabis.schema.oauth.AuthorizationScopeOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy