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

io.opencannabis.schema.device.DeviceOuterClass 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: device/Device.proto

package io.opencannabis.schema.device;

public final class DeviceOuterClass {
  private DeviceOuterClass() {}
  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_device_Device_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_opencannabis_device_Device_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_opencannabis_device_DeviceFlags_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_opencannabis_device_DeviceFlags_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_opencannabis_device_DeviceCredentials_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_opencannabis_device_DeviceCredentials_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\023device/Device.proto\022\023opencannabis.devi" +
      "ce\032\016bq_field.proto\"\263\002\n\006Device\022?\n\004uuid\030\001 " +
      "\001(\tB1\[email protected] unique identifier fo" +
      "r this device.\022F\n\004type\030\002 \001(\0162\037.opencanna" +
      "bis.device.DeviceTypeB\027\212@\024Type of this d" +
      "evice.\022J\n\005flags\030\003 \001(\0132 .opencannabis.dev" +
      "ice.DeviceFlagsB\031\212@\026Flags for this devic" +
      "e.\022T\n\003key\030\004 \001(\0132&.opencannabis.device.De" +
      "viceCredentialsB\037\212@\034Credentials for this" +
      " device.\"\266\001\n\013DeviceFlags\022a\n\tephemeral\030\001 " +
      "\001(\010BN\212@KFlag to mark a device as ephemer" +
      "al, i.e. attached to a disposable identi" +
      "ty.\022D\n\007managed\030\002 \001(\010B3\212@0Flag to mark a " +
      "device as managed by EMM systems.\"\264\001\n\021De" +
      "viceCredentials\022\027\n\npublic_key\030\001 \001(\014B\003\200@\001" +
      "\022\030\n\013private_key\030\002 \001(\014B\003\200@\001\022;\n\006sha256\030\003 \001" +
      "(\tB+\212@(SHA256 hash of this device\'s publ" +
      "ic key.\022\025\n\010identity\030\004 \001(\tB\003\200@\001\022\030\n\013author" +
      "ities\030\005 \003(\014B\003\200@\001*k\n\nDeviceType\022\027\n\023UNKNOW" +
      "N_DEVICE_TYPE\020\000\022\013\n\007DESKTOP\020\001\022\t\n\005PHONE\020\002\022" +
      "\n\n\006TABLET\020\003\022\006\n\002TV\020\004\022\014\n\010EMBEDDED\020\005\022\n\n\006SER" +
      "VER\020\006B)\n\035io.opencannabis.schema.deviceH\001" +
      "P\001\242\002\003OCSb\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[] {
          gen_bq_schema.BqField.getDescriptor(),
        }, assigner);
    internal_static_opencannabis_device_Device_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_opencannabis_device_Device_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_opencannabis_device_Device_descriptor,
        new java.lang.String[] { "Uuid", "Type", "Flags", "Key", });
    internal_static_opencannabis_device_DeviceFlags_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_opencannabis_device_DeviceFlags_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_opencannabis_device_DeviceFlags_descriptor,
        new java.lang.String[] { "Ephemeral", "Managed", });
    internal_static_opencannabis_device_DeviceCredentials_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_opencannabis_device_DeviceCredentials_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_opencannabis_device_DeviceCredentials_descriptor,
        new java.lang.String[] { "PublicKey", "PrivateKey", "Sha256", "Identity", "Authorities", });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(gen_bq_schema.BqField.description);
    registry.add(gen_bq_schema.BqField.ignore);
    com.google.protobuf.Descriptors.FileDescriptor
        .internalUpdateFileDescriptor(descriptor, registry);
    gen_bq_schema.BqField.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy