Common.java

/*
 * Copyright 2019 The Grafeas Authors. All rights reserved.
 *
 * 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
 *
 *     https://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: grafeas/v1/common.proto

package io.grafeas.v1;

public final class Common {
  private Common() {}

  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_grafeas_v1_RelatedUrl_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grafeas_v1_RelatedUrl_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_grafeas_v1_Signature_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grafeas_v1_Signature_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_grafeas_v1_Envelope_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grafeas_v1_Envelope_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_grafeas_v1_EnvelopeSignature_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grafeas_v1_EnvelopeSignature_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_grafeas_v1_FileLocation_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grafeas_v1_FileLocation_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_grafeas_v1_License_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grafeas_v1_License_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_grafeas_v1_Digest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grafeas_v1_Digest_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\027grafeas/v1/common.proto\022\ngrafeas.v1\"(\n"
          + "\nRelatedUrl\022\013\n\003url\030\001 \001(\t\022\r\n\005label\030\002 \001(\t\""
          + "5\n\tSignature\022\021\n\tsignature\030\001 \001(\014\022\025\n\rpubli"
          + "c_key_id\030\002 \001(\t\"d\n\010Envelope\022\017\n\007payload\030\001 "
          + "\001(\014\022\024\n\014payload_type\030\002 \001(\t\0221\n\nsignatures\030"
          + "\003 \003(\0132\035.grafeas.v1.EnvelopeSignature\"/\n\021"
          + "EnvelopeSignature\022\013\n\003sig\030\001 \001(\014\022\r\n\005keyid\030"
          + "\002 \001(\t\"!\n\014FileLocation\022\021\n\tfile_path\030\001 \001(\t"
          + "\"/\n\007License\022\022\n\nexpression\030\001 \001(\t\022\020\n\010comme"
          + "nts\030\002 \001(\t\",\n\006Digest\022\014\n\004algo\030\001 \001(\t\022\024\n\014dig"
          + "est_bytes\030\002 \001(\014*\276\001\n\010NoteKind\022\031\n\025NOTE_KIN"
          + "D_UNSPECIFIED\020\000\022\021\n\rVULNERABILITY\020\001\022\t\n\005BU"
          + "ILD\020\002\022\t\n\005IMAGE\020\003\022\013\n\007PACKAGE\020\004\022\016\n\nDEPLOYM"
          + "ENT\020\005\022\r\n\tDISCOVERY\020\006\022\017\n\013ATTESTATION\020\007\022\013\n"
          + "\007UPGRADE\020\010\022\016\n\nCOMPLIANCE\020\t\022\024\n\020DSSE_ATTES"
          + "TATION\020\nBQ\n\rio.grafeas.v1P\001Z8google.gola"
          + "ng.org/genproto/googleapis/grafeas/v1;gr"
          + "afeas\242\002\003GRAb\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
    internal_static_grafeas_v1_RelatedUrl_descriptor = getDescriptor().getMessageTypes().get(0);
    internal_static_grafeas_v1_RelatedUrl_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_grafeas_v1_RelatedUrl_descriptor,
            new java.lang.String[] {
              "Url", "Label",
            });
    internal_static_grafeas_v1_Signature_descriptor = getDescriptor().getMessageTypes().get(1);
    internal_static_grafeas_v1_Signature_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_grafeas_v1_Signature_descriptor,
            new java.lang.String[] {
              "Signature", "PublicKeyId",
            });
    internal_static_grafeas_v1_Envelope_descriptor = getDescriptor().getMessageTypes().get(2);
    internal_static_grafeas_v1_Envelope_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_grafeas_v1_Envelope_descriptor,
            new java.lang.String[] {
              "Payload", "PayloadType", "Signatures",
            });
    internal_static_grafeas_v1_EnvelopeSignature_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_grafeas_v1_EnvelopeSignature_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_grafeas_v1_EnvelopeSignature_descriptor,
            new java.lang.String[] {
              "Sig", "Keyid",
            });
    internal_static_grafeas_v1_FileLocation_descriptor = getDescriptor().getMessageTypes().get(4);
    internal_static_grafeas_v1_FileLocation_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_grafeas_v1_FileLocation_descriptor,
            new java.lang.String[] {
              "FilePath",
            });
    internal_static_grafeas_v1_License_descriptor = getDescriptor().getMessageTypes().get(5);
    internal_static_grafeas_v1_License_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_grafeas_v1_License_descriptor,
            new java.lang.String[] {
              "Expression", "Comments",
            });
    internal_static_grafeas_v1_Digest_descriptor = getDescriptor().getMessageTypes().get(6);
    internal_static_grafeas_v1_Digest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_grafeas_v1_Digest_descriptor,
            new java.lang.String[] {
              "Algo", "DigestBytes",
            });
  }

  // @@protoc_insertion_point(outer_class_scope)
}