Sha256: b8bd2921db3c256d47d34eff5d54e5a0d53a7591be95fc25018f77e4ed458003

Contents?: true

Size: 1.9 KB

Versions: 2

Compression:

Stored size: 1.9 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: grafeas/v1/discovery.proto

require 'google/protobuf/timestamp_pb'
require 'google/rpc/status_pb'
require 'grafeas/v1/common_pb'
require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("grafeas/v1/discovery.proto", :syntax => :proto3) do
    add_message "grafeas.v1.DiscoveryNote" do
      optional :analysis_kind, :enum, 1, "grafeas.v1.NoteKind"
    end
    add_message "grafeas.v1.DiscoveryOccurrence" do
      optional :continuous_analysis, :enum, 1, "grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis"
      optional :analysis_status, :enum, 2, "grafeas.v1.DiscoveryOccurrence.AnalysisStatus"
      optional :analysis_status_error, :message, 3, "google.rpc.Status"
      optional :cpe, :string, 4
      optional :last_scan_time, :message, 5, "google.protobuf.Timestamp"
    end
    add_enum "grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis" do
      value :CONTINUOUS_ANALYSIS_UNSPECIFIED, 0
      value :ACTIVE, 1
      value :INACTIVE, 2
    end
    add_enum "grafeas.v1.DiscoveryOccurrence.AnalysisStatus" do
      value :ANALYSIS_STATUS_UNSPECIFIED, 0
      value :PENDING, 1
      value :SCANNING, 2
      value :FINISHED_SUCCESS, 3
      value :FINISHED_FAILED, 4
      value :FINISHED_UNSUPPORTED, 5
    end
  end
end

module Grafeas
  module V1
    DiscoveryNote = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.DiscoveryNote").msgclass
    DiscoveryOccurrence = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.DiscoveryOccurrence").msgclass
    DiscoveryOccurrence::ContinuousAnalysis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis").enummodule
    DiscoveryOccurrence::AnalysisStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.DiscoveryOccurrence.AnalysisStatus").enummodule
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
grafeas-v1-0.3.1 lib/grafeas/v1/discovery_pb.rb
grafeas-v1-0.3.0 lib/grafeas/v1/discovery_pb.rb