選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

153 行
5.9 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/devtools/containeranalysis/v1beta1/common/common.proto
  3. package common // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. // Kind represents the kinds of notes supported.
  17. type NoteKind int32
  18. const (
  19. // Unknown.
  20. NoteKind_NOTE_KIND_UNSPECIFIED NoteKind = 0
  21. // The note and occurrence represent a package vulnerability.
  22. NoteKind_VULNERABILITY NoteKind = 1
  23. // The note and occurrence assert build provenance.
  24. NoteKind_BUILD NoteKind = 2
  25. // This represents an image basis relationship.
  26. NoteKind_IMAGE NoteKind = 3
  27. // This represents a package installed via a package manager.
  28. NoteKind_PACKAGE NoteKind = 4
  29. // The note and occurrence track deployment events.
  30. NoteKind_DEPLOYMENT NoteKind = 5
  31. // The note and occurrence track the initial discovery status of a resource.
  32. NoteKind_DISCOVERY NoteKind = 6
  33. // This represents a logical "role" that can attest to artifacts.
  34. NoteKind_ATTESTATION NoteKind = 7
  35. )
  36. var NoteKind_name = map[int32]string{
  37. 0: "NOTE_KIND_UNSPECIFIED",
  38. 1: "VULNERABILITY",
  39. 2: "BUILD",
  40. 3: "IMAGE",
  41. 4: "PACKAGE",
  42. 5: "DEPLOYMENT",
  43. 6: "DISCOVERY",
  44. 7: "ATTESTATION",
  45. }
  46. var NoteKind_value = map[string]int32{
  47. "NOTE_KIND_UNSPECIFIED": 0,
  48. "VULNERABILITY": 1,
  49. "BUILD": 2,
  50. "IMAGE": 3,
  51. "PACKAGE": 4,
  52. "DEPLOYMENT": 5,
  53. "DISCOVERY": 6,
  54. "ATTESTATION": 7,
  55. }
  56. func (x NoteKind) String() string {
  57. return proto.EnumName(NoteKind_name, int32(x))
  58. }
  59. func (NoteKind) EnumDescriptor() ([]byte, []int) {
  60. return fileDescriptor_common_bcbfdeee4a2611b3, []int{0}
  61. }
  62. // Metadata for any related URL information.
  63. type RelatedUrl struct {
  64. // Specific URL associated with the resource.
  65. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
  66. // Label to describe usage of the URL.
  67. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
  68. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  69. XXX_unrecognized []byte `json:"-"`
  70. XXX_sizecache int32 `json:"-"`
  71. }
  72. func (m *RelatedUrl) Reset() { *m = RelatedUrl{} }
  73. func (m *RelatedUrl) String() string { return proto.CompactTextString(m) }
  74. func (*RelatedUrl) ProtoMessage() {}
  75. func (*RelatedUrl) Descriptor() ([]byte, []int) {
  76. return fileDescriptor_common_bcbfdeee4a2611b3, []int{0}
  77. }
  78. func (m *RelatedUrl) XXX_Unmarshal(b []byte) error {
  79. return xxx_messageInfo_RelatedUrl.Unmarshal(m, b)
  80. }
  81. func (m *RelatedUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  82. return xxx_messageInfo_RelatedUrl.Marshal(b, m, deterministic)
  83. }
  84. func (dst *RelatedUrl) XXX_Merge(src proto.Message) {
  85. xxx_messageInfo_RelatedUrl.Merge(dst, src)
  86. }
  87. func (m *RelatedUrl) XXX_Size() int {
  88. return xxx_messageInfo_RelatedUrl.Size(m)
  89. }
  90. func (m *RelatedUrl) XXX_DiscardUnknown() {
  91. xxx_messageInfo_RelatedUrl.DiscardUnknown(m)
  92. }
  93. var xxx_messageInfo_RelatedUrl proto.InternalMessageInfo
  94. func (m *RelatedUrl) GetUrl() string {
  95. if m != nil {
  96. return m.Url
  97. }
  98. return ""
  99. }
  100. func (m *RelatedUrl) GetLabel() string {
  101. if m != nil {
  102. return m.Label
  103. }
  104. return ""
  105. }
  106. func init() {
  107. proto.RegisterType((*RelatedUrl)(nil), "grafeas.v1beta1.RelatedUrl")
  108. proto.RegisterEnum("grafeas.v1beta1.NoteKind", NoteKind_name, NoteKind_value)
  109. }
  110. func init() {
  111. proto.RegisterFile("google/devtools/containeranalysis/v1beta1/common/common.proto", fileDescriptor_common_bcbfdeee4a2611b3)
  112. }
  113. var fileDescriptor_common_bcbfdeee4a2611b3 = []byte{
  114. // 322 bytes of a gzipped FileDescriptorProto
  115. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x41, 0x6b, 0xea, 0x40,
  116. 0x14, 0x85, 0x5f, 0xf4, 0xa9, 0xcf, 0x2b, 0x3e, 0xa7, 0x43, 0x0b, 0xba, 0x2b, 0x5d, 0x95, 0x2e,
  117. 0x12, 0xa4, 0xdd, 0x95, 0x2e, 0xa2, 0x99, 0xca, 0x60, 0x9c, 0x84, 0x38, 0x11, 0xec, 0x46, 0x46,
  118. 0x9d, 0x0e, 0x81, 0x71, 0x46, 0x92, 0x54, 0x28, 0xfd, 0x09, 0xfd, 0x17, 0xfd, 0xa5, 0x45, 0xe3,
  119. 0xaa, 0xab, 0xae, 0xce, 0x39, 0xf7, 0x5e, 0x2e, 0x9c, 0x0f, 0x9e, 0x94, 0xb5, 0x4a, 0x4b, 0x6f,
  120. 0x2b, 0x0f, 0xa5, 0xb5, 0xba, 0xf0, 0x36, 0xd6, 0x94, 0x22, 0x33, 0x32, 0x17, 0x46, 0xe8, 0xf7,
  121. 0x22, 0x2b, 0xbc, 0xc3, 0x70, 0x2d, 0x4b, 0x31, 0xf4, 0x36, 0x76, 0xb7, 0xb3, 0xe6, 0x2c, 0xee,
  122. 0x3e, 0xb7, 0xa5, 0xc5, 0x3d, 0x95, 0x8b, 0x57, 0x29, 0x0a, 0xf7, 0x7c, 0x74, 0xf3, 0x00, 0x90,
  123. 0x48, 0x2d, 0x4a, 0xb9, 0x4d, 0x73, 0x8d, 0x11, 0xd4, 0xdf, 0x72, 0xdd, 0x77, 0xae, 0x9d, 0xdb,
  124. 0x76, 0x72, 0xb4, 0xf8, 0x12, 0x1a, 0x5a, 0xac, 0xa5, 0xee, 0xd7, 0x4e, 0xb3, 0x2a, 0xdc, 0x7d,
  125. 0x3a, 0xf0, 0x8f, 0xd9, 0x52, 0x4e, 0x33, 0xb3, 0xc5, 0x03, 0xb8, 0x62, 0x11, 0x27, 0xab, 0x29,
  126. 0x65, 0xc1, 0x2a, 0x65, 0xf3, 0x98, 0x8c, 0xe9, 0x33, 0x25, 0x01, 0xfa, 0x83, 0x2f, 0xa0, 0xbb,
  127. 0x48, 0x43, 0x46, 0x12, 0x7f, 0x44, 0x43, 0xca, 0x97, 0xc8, 0xc1, 0x6d, 0x68, 0x8c, 0x52, 0x1a,
  128. 0x06, 0xa8, 0x76, 0xb4, 0x74, 0xe6, 0x4f, 0x08, 0xaa, 0xe3, 0x0e, 0xb4, 0x62, 0x7f, 0x3c, 0x3d,
  129. 0x86, 0xbf, 0xf8, 0x3f, 0x40, 0x40, 0xe2, 0x30, 0x5a, 0xce, 0x08, 0xe3, 0xa8, 0x81, 0xbb, 0xd0,
  130. 0x0e, 0xe8, 0x7c, 0x1c, 0x2d, 0x48, 0xb2, 0x44, 0x4d, 0xdc, 0x83, 0x8e, 0xcf, 0x39, 0x99, 0x73,
  131. 0x9f, 0xd3, 0x88, 0xa1, 0xd6, 0xe8, 0x03, 0x06, 0x99, 0x75, 0x7f, 0x34, 0x73, 0xab, 0xde, 0xb1,
  132. 0xf3, 0xb2, 0xa8, 0x90, 0xb9, 0xca, 0x6a, 0x61, 0x94, 0x6b, 0x73, 0xe5, 0x29, 0x69, 0x4e, 0x3c,
  133. 0xbc, 0x6a, 0x25, 0xf6, 0x59, 0xf1, 0x7b, 0xa2, 0x8f, 0x95, 0x7c, 0xd5, 0xea, 0x93, 0xc4, 0x5f,
  134. 0x37, 0x4f, 0x8f, 0xee, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x0a, 0x57, 0x94, 0x99, 0x01,
  135. 0x00, 0x00,
  136. }