Sha256: 1bd8effbc006ffe9390f7d1a4ab0da529d5f13f051d0fbb789896037f59ff170

Contents?: true

Size: 1.71 KB

Versions: 3

Compression:

Stored size: 1.71 KB

Contents

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

require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("grafeas/v1/common.proto", :syntax => :proto3) do
    add_message "grafeas.v1.RelatedUrl" do
      optional :url, :string, 1
      optional :label, :string, 2
    end
    add_message "grafeas.v1.Signature" do
      optional :signature, :bytes, 1
      optional :public_key_id, :string, 2
    end
    add_message "grafeas.v1.Envelope" do
      optional :payload, :bytes, 1
      optional :payload_type, :string, 2
      repeated :signatures, :message, 3, "grafeas.v1.EnvelopeSignature"
    end
    add_message "grafeas.v1.EnvelopeSignature" do
      optional :sig, :bytes, 1
      optional :keyid, :string, 2
    end
    add_enum "grafeas.v1.NoteKind" do
      value :NOTE_KIND_UNSPECIFIED, 0
      value :VULNERABILITY, 1
      value :BUILD, 2
      value :IMAGE, 3
      value :PACKAGE, 4
      value :DEPLOYMENT, 5
      value :DISCOVERY, 6
      value :ATTESTATION, 7
      value :UPGRADE, 8
      value :COMPLIANCE, 9
      value :DSSE_ATTESTATION, 10
    end
  end
end

module Grafeas
  module V1
    RelatedUrl = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.RelatedUrl").msgclass
    Signature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Signature").msgclass
    Envelope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Envelope").msgclass
    EnvelopeSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.EnvelopeSignature").msgclass
    NoteKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.NoteKind").enummodule
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grafeas-v1-0.4.0 lib/grafeas/v1/common_pb.rb
grafeas-v1-0.3.1 lib/grafeas/v1/common_pb.rb
grafeas-v1-0.3.0 lib/grafeas/v1/common_pb.rb