Upgrade.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/upgrade.proto

package io.grafeas.v1;

public final class Upgrade {
  private Upgrade() {}

  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_UpgradeNote_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grafeas_v1_UpgradeNote_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_grafeas_v1_UpgradeDistribution_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grafeas_v1_UpgradeDistribution_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_grafeas_v1_WindowsUpdate_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grafeas_v1_WindowsUpdate_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_grafeas_v1_WindowsUpdate_Identity_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grafeas_v1_WindowsUpdate_Identity_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_grafeas_v1_WindowsUpdate_Category_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grafeas_v1_WindowsUpdate_Category_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_grafeas_v1_UpgradeOccurrence_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grafeas_v1_UpgradeOccurrence_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\030grafeas/v1/upgrade.proto\022\ngrafeas.v1\032\037"
          + "google/protobuf/timestamp.proto\032\030grafeas"
          + "/v1/package.proto\"\257\001\n\013UpgradeNote\022\017\n\007pac"
          + "kage\030\001 \001(\t\022$\n\007version\030\002 \001(\0132\023.grafeas.v1"
          + ".Version\0226\n\rdistributions\030\003 \003(\0132\037.grafea"
          + "s.v1.UpgradeDistribution\0221\n\016windows_upda"
          + "te\030\004 \001(\0132\031.grafeas.v1.WindowsUpdate\"]\n\023U"
          + "pgradeDistribution\022\017\n\007cpe_uri\030\001 \001(\t\022\026\n\016c"
          + "lassification\030\002 \001(\t\022\020\n\010severity\030\003 \001(\t\022\013\n"
          + "\003cve\030\004 \003(\t\"\354\002\n\rWindowsUpdate\0224\n\010identity"
          + "\030\001 \001(\0132\".grafeas.v1.WindowsUpdate.Identi"
          + "ty\022\r\n\005title\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\0226"
          + "\n\ncategories\030\004 \003(\0132\".grafeas.v1.WindowsU"
          + "pdate.Category\022\026\n\016kb_article_ids\030\005 \003(\t\022\023"
          + "\n\013support_url\030\006 \001(\t\022<\n\030last_published_ti"
          + "mestamp\030\007 \001(\0132\032.google.protobuf.Timestam"
          + "p\032/\n\010Identity\022\021\n\tupdate_id\030\001 \001(\t\022\020\n\010revi"
          + "sion\030\002 \001(\005\032-\n\010Category\022\023\n\013category_id\030\001 "
          + "\001(\t\022\014\n\004name\030\002 \001(\t\"\273\001\n\021UpgradeOccurrence\022"
          + "\017\n\007package\030\001 \001(\t\022+\n\016parsed_version\030\003 \001(\013"
          + "2\023.grafeas.v1.Version\0225\n\014distribution\030\004 "
          + "\001(\0132\037.grafeas.v1.UpgradeDistribution\0221\n\016"
          + "windows_update\030\005 \001(\0132\031.grafeas.v1.Window"
          + "sUpdateBQ\n\rio.grafeas.v1P\001Z8google.golan"
          + "g.org/genproto/googleapis/grafeas/v1;gra"
          + "feas\242\002\003GRAb\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.protobuf.TimestampProto.getDescriptor(),
              io.grafeas.v1.Package.getDescriptor(),
            });
    internal_static_grafeas_v1_UpgradeNote_descriptor = getDescriptor().getMessageTypes().get(0);
    internal_static_grafeas_v1_UpgradeNote_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_grafeas_v1_UpgradeNote_descriptor,
            new java.lang.String[] {
              "Package", "Version", "Distributions", "WindowsUpdate",
            });
    internal_static_grafeas_v1_UpgradeDistribution_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_grafeas_v1_UpgradeDistribution_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_grafeas_v1_UpgradeDistribution_descriptor,
            new java.lang.String[] {
              "CpeUri", "Classification", "Severity", "Cve",
            });
    internal_static_grafeas_v1_WindowsUpdate_descriptor = getDescriptor().getMessageTypes().get(2);
    internal_static_grafeas_v1_WindowsUpdate_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_grafeas_v1_WindowsUpdate_descriptor,
            new java.lang.String[] {
              "Identity",
              "Title",
              "Description",
              "Categories",
              "KbArticleIds",
              "SupportUrl",
              "LastPublishedTimestamp",
            });
    internal_static_grafeas_v1_WindowsUpdate_Identity_descriptor =
        internal_static_grafeas_v1_WindowsUpdate_descriptor.getNestedTypes().get(0);
    internal_static_grafeas_v1_WindowsUpdate_Identity_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_grafeas_v1_WindowsUpdate_Identity_descriptor,
            new java.lang.String[] {
              "UpdateId", "Revision",
            });
    internal_static_grafeas_v1_WindowsUpdate_Category_descriptor =
        internal_static_grafeas_v1_WindowsUpdate_descriptor.getNestedTypes().get(1);
    internal_static_grafeas_v1_WindowsUpdate_Category_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_grafeas_v1_WindowsUpdate_Category_descriptor,
            new java.lang.String[] {
              "CategoryId", "Name",
            });
    internal_static_grafeas_v1_UpgradeOccurrence_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_grafeas_v1_UpgradeOccurrence_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_grafeas_v1_UpgradeOccurrence_descriptor,
            new java.lang.String[] {
              "Package", "ParsedVersion", "Distribution", "WindowsUpdate",
            });
    com.google.protobuf.TimestampProto.getDescriptor();
    io.grafeas.v1.Package.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}