Package cloud.google.com/go/containeranalysis/apiv1beta1/grafeas/grafeaspb (v0.8.0)

Variables

File_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto

var File_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto protoreflect.FileDescriptor

Functions

func RegisterGrafeasV1Beta1Server

func RegisterGrafeasV1Beta1Server(s *grpc.Server, srv GrafeasV1Beta1Server)

BatchCreateNotesRequest

type BatchCreateNotesRequest struct {
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`

	Notes map[string]*Note "" /* 151 byte string literal not displayed */

}

Request to create notes in batch.

func (*BatchCreateNotesRequest) Descriptor

func (*BatchCreateNotesRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateNotesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateNotesRequest) GetNotes

func (x *BatchCreateNotesRequest) GetNotes() map[string]*Note

func (*BatchCreateNotesRequest) GetParent

func (x *BatchCreateNotesRequest) GetParent() string

func (*BatchCreateNotesRequest) ProtoMessage

func (*BatchCreateNotesRequest) ProtoMessage()

func (*BatchCreateNotesRequest) ProtoReflect

func (x *BatchCreateNotesRequest) ProtoReflect() protoreflect.Message

func (*BatchCreateNotesRequest) Reset

func (x *BatchCreateNotesRequest) Reset()

func (*BatchCreateNotesRequest) String

func (x *BatchCreateNotesRequest) String() string

BatchCreateNotesResponse

type BatchCreateNotesResponse struct {

	// The notes that were created.
	Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

Response for creating notes in batch.

func (*BatchCreateNotesResponse) Descriptor

func (*BatchCreateNotesResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateNotesResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateNotesResponse) GetNotes

func (x *BatchCreateNotesResponse) GetNotes() []*Note

func (*BatchCreateNotesResponse) ProtoMessage

func (*BatchCreateNotesResponse) ProtoMessage()

func (*BatchCreateNotesResponse) ProtoReflect

func (x *BatchCreateNotesResponse) ProtoReflect() protoreflect.Message

func (*BatchCreateNotesResponse) Reset

func (x *BatchCreateNotesResponse) Reset()

func (*BatchCreateNotesResponse) String

func (x *BatchCreateNotesResponse) String() string

BatchCreateOccurrencesRequest

type BatchCreateOccurrencesRequest struct {

	// The name of the project in the form of `projects/[PROJECT_ID]`, under which
	// the occurrences are to be created.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The occurrences to create.
	Occurrences []*Occurrence `protobuf:"bytes,2,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
	// contains filtered or unexported fields
}

Request to create occurrences in batch.

func (*BatchCreateOccurrencesRequest) Descriptor

func (*BatchCreateOccurrencesRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateOccurrencesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateOccurrencesRequest) GetOccurrences

func (x *BatchCreateOccurrencesRequest) GetOccurrences() []*Occurrence

func (*BatchCreateOccurrencesRequest) GetParent

func (x *BatchCreateOccurrencesRequest) GetParent() string

func (*BatchCreateOccurrencesRequest) ProtoMessage

func (*BatchCreateOccurrencesRequest) ProtoMessage()

func (*BatchCreateOccurrencesRequest) ProtoReflect

func (*BatchCreateOccurrencesRequest) Reset

func (x *BatchCreateOccurrencesRequest) Reset()

func (*BatchCreateOccurrencesRequest) String

BatchCreateOccurrencesResponse

type BatchCreateOccurrencesResponse struct {

	// The occurrences that were created.
	Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
	// contains filtered or unexported fields
}

Response for creating occurrences in batch.

func (*BatchCreateOccurrencesResponse) Descriptor

func (*BatchCreateOccurrencesResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateOccurrencesResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateOccurrencesResponse) GetOccurrences

func (x *BatchCreateOccurrencesResponse) GetOccurrences() []*Occurrence

func (*BatchCreateOccurrencesResponse) ProtoMessage

func (*BatchCreateOccurrencesResponse) ProtoMessage()

func (*BatchCreateOccurrencesResponse) ProtoReflect

func (*BatchCreateOccurrencesResponse) Reset

func (x *BatchCreateOccurrencesResponse) Reset()

func (*BatchCreateOccurrencesResponse) String

CreateNoteRequest

type CreateNoteRequest struct {

	// The name of the project in the form of `projects/[PROJECT_ID]`, under which
	// the note is to be created.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The ID to use for this note.
	NoteId string `protobuf:"bytes,2,opt,name=note_id,json=noteId,proto3" json:"note_id,omitempty"`
	// The note to create.
	Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

Request to create a new note.

func (*CreateNoteRequest) Descriptor

func (*CreateNoteRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateNoteRequest.ProtoReflect.Descriptor instead.

func (*CreateNoteRequest) GetNote

func (x *CreateNoteRequest) GetNote() *Note

func (*CreateNoteRequest) GetNoteId

func (x *CreateNoteRequest) GetNoteId() string

func (*CreateNoteRequest) GetParent

func (x *CreateNoteRequest) GetParent() string

func (*CreateNoteRequest) ProtoMessage

func (*CreateNoteRequest) ProtoMessage()

func (*CreateNoteRequest) ProtoReflect

func (x *CreateNoteRequest) ProtoReflect() protoreflect.Message

func (*CreateNoteRequest) Reset

func (x *CreateNoteRequest) Reset()

func (*CreateNoteRequest) String

func (x *CreateNoteRequest) String() string

CreateOccurrenceRequest

type CreateOccurrenceRequest struct {

	// The name of the project in the form of `projects/[PROJECT_ID]`, under which
	// the occurrence is to be created.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The occurrence to create.
	Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
	// contains filtered or unexported fields
}

Request to create a new occurrence.

func (*CreateOccurrenceRequest) Descriptor

func (*CreateOccurrenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateOccurrenceRequest.ProtoReflect.Descriptor instead.

func (*CreateOccurrenceRequest) GetOccurrence

func (x *CreateOccurrenceRequest) GetOccurrence() *Occurrence

func (*CreateOccurrenceRequest) GetParent

func (x *CreateOccurrenceRequest) GetParent() string

func (*CreateOccurrenceRequest) ProtoMessage

func (*CreateOccurrenceRequest) ProtoMessage()

func (*CreateOccurrenceRequest) ProtoReflect

func (x *CreateOccurrenceRequest) ProtoReflect() protoreflect.Message

func (*CreateOccurrenceRequest) Reset

func (x *CreateOccurrenceRequest) Reset()

func (*CreateOccurrenceRequest) String

func (x *CreateOccurrenceRequest) String() string

DeleteNoteRequest

type DeleteNoteRequest struct {

	// The name of the note in the form of
	// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to delete a note.

func (*DeleteNoteRequest) Descriptor

func (*DeleteNoteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNoteRequest.ProtoReflect.Descriptor instead.

func (*DeleteNoteRequest) GetName

func (x *DeleteNoteRequest) GetName() string

func (*DeleteNoteRequest) ProtoMessage

func (*DeleteNoteRequest) ProtoMessage()

func (*DeleteNoteRequest) ProtoReflect

func (x *DeleteNoteRequest) ProtoReflect() protoreflect.Message

func (*DeleteNoteRequest) Reset

func (x *DeleteNoteRequest) Reset()

func (*DeleteNoteRequest) String

func (x *DeleteNoteRequest) String() string

DeleteOccurrenceRequest

type DeleteOccurrenceRequest struct {

	// The name of the occurrence in the form of
	// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to delete a occurrence.

func (*DeleteOccurrenceRequest) Descriptor

func (*DeleteOccurrenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOccurrenceRequest.ProtoReflect.Descriptor instead.

func (*DeleteOccurrenceRequest) GetName

func (x *DeleteOccurrenceRequest) GetName() string

func (*DeleteOccurrenceRequest) ProtoMessage

func (*DeleteOccurrenceRequest) ProtoMessage()

func (*DeleteOccurrenceRequest) ProtoReflect

func (x *DeleteOccurrenceRequest) ProtoReflect() protoreflect.Message

func (*DeleteOccurrenceRequest) Reset

func (x *DeleteOccurrenceRequest) Reset()

func (*DeleteOccurrenceRequest) String

func (x *DeleteOccurrenceRequest) String() string

GetNoteRequest

type GetNoteRequest struct {

	// The name of the note in the form of
	// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to get a note.

func (*GetNoteRequest) Descriptor

func (*GetNoteRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetNoteRequest.ProtoReflect.Descriptor instead.

func (*GetNoteRequest) GetName

func (x *GetNoteRequest) GetName() string

func (*GetNoteRequest) ProtoMessage

func (*GetNoteRequest) ProtoMessage()

func (*GetNoteRequest) ProtoReflect

func (x *GetNoteRequest) ProtoReflect() protoreflect.Message

func (*GetNoteRequest) Reset

func (x *GetNoteRequest) Reset()

func (*GetNoteRequest) String

func (x *GetNoteRequest) String() string

GetOccurrenceNoteRequest

type GetOccurrenceNoteRequest struct {

	// The name of the occurrence in the form of
	// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to get the note to which the specified occurrence is attached.

func (*GetOccurrenceNoteRequest) Descriptor

func (*GetOccurrenceNoteRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOccurrenceNoteRequest.ProtoReflect.Descriptor instead.

func (*GetOccurrenceNoteRequest) GetName

func (x *GetOccurrenceNoteRequest) GetName() string

func (*GetOccurrenceNoteRequest) ProtoMessage

func (*GetOccurrenceNoteRequest) ProtoMessage()

func (*GetOccurrenceNoteRequest) ProtoReflect

func (x *GetOccurrenceNoteRequest) ProtoReflect() protoreflect.Message

func (*GetOccurrenceNoteRequest) Reset

func (x *GetOccurrenceNoteRequest) Reset()

func (*GetOccurrenceNoteRequest) String

func (x *GetOccurrenceNoteRequest) String() string

GetOccurrenceRequest

type GetOccurrenceRequest struct {

	// The name of the occurrence in the form of
	// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to get an occurrence.

func (*GetOccurrenceRequest) Descriptor

func (*GetOccurrenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOccurrenceRequest.ProtoReflect.Descriptor instead.

func (*GetOccurrenceRequest) GetName

func (x *GetOccurrenceRequest) GetName() string

func (*GetOccurrenceRequest) ProtoMessage

func (*GetOccurrenceRequest) ProtoMessage()

func (*GetOccurrenceRequest) ProtoReflect

func (x *GetOccurrenceRequest) ProtoReflect() protoreflect.Message

func (*GetOccurrenceRequest) Reset

func (x *GetOccurrenceRequest) Reset()

func (*GetOccurrenceRequest) String

func (x *GetOccurrenceRequest) String() string

GetVulnerabilityOccurrencesSummaryRequest

type GetVulnerabilityOccurrencesSummaryRequest struct {

	// The name of the project to get a vulnerability summary for in the form of
	// `projects/[PROJECT_ID]`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The filter expression.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Request to get a vulnerability summary for some set of occurrences.

func (*GetVulnerabilityOccurrencesSummaryRequest) Descriptor

func (*GetVulnerabilityOccurrencesSummaryRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVulnerabilityOccurrencesSummaryRequest.ProtoReflect.Descriptor instead.

func (*GetVulnerabilityOccurrencesSummaryRequest) GetFilter

func (*GetVulnerabilityOccurrencesSummaryRequest) GetParent

func (*GetVulnerabilityOccurrencesSummaryRequest) ProtoMessage

func (*GetVulnerabilityOccurrencesSummaryRequest) ProtoReflect

func (*GetVulnerabilityOccurrencesSummaryRequest) Reset

func (*GetVulnerabilityOccurrencesSummaryRequest) String

GrafeasV1Beta1Client

type GrafeasV1Beta1Client interface {
	// Gets the specified occurrence.
	GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
	// Lists occurrences for the specified project.
	ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error)
	// Deletes the specified occurrence. For example, use this method to delete an
	// occurrence when the occurrence is no longer applicable for the given
	// resource.
	DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates a new occurrence.
	CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
	// Creates new occurrences in batch.
	BatchCreateOccurrences(ctx context.Context, in *BatchCreateOccurrencesRequest, opts ...grpc.CallOption) (*BatchCreateOccurrencesResponse, error)
	// Updates the specified occurrence.
	UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
	// Gets the note attached to the specified occurrence. Consumer projects can
	// use this method to get a note that belongs to a provider project.
	GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error)
	// Gets the specified note.
	GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error)
	// Lists notes for the specified project.
	ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error)
	// Deletes the specified note.
	DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates a new note.
	CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error)
	// Creates new notes in batch.
	BatchCreateNotes(ctx context.Context, in *BatchCreateNotesRequest, opts ...grpc.CallOption) (*BatchCreateNotesResponse, error)
	// Updates the specified note.
	UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error)
	// Lists occurrences referencing the specified note. Provider projects can use
	// this method to get all occurrences across consumer projects referencing the
	// specified note.
	ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error)
	// Gets a summary of the number and severity of occurrences.
	GetVulnerabilityOccurrencesSummary(ctx context.Context, in *GetVulnerabilityOccurrencesSummaryRequest, opts ...grpc.CallOption) (*VulnerabilityOccurrencesSummary, error)
}

GrafeasV1Beta1Client is the client API for GrafeasV1Beta1 service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewGrafeasV1Beta1Client

func NewGrafeasV1Beta1Client(cc grpc.ClientConnInterface) GrafeasV1Beta1Client

GrafeasV1Beta1Server

type GrafeasV1Beta1Server interface {
	// Gets the specified occurrence.
	GetOccurrence(context.Context, *GetOccurrenceRequest) (*Occurrence, error)
	// Lists occurrences for the specified project.
	ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error)
	// Deletes the specified occurrence. For example, use this method to delete an
	// occurrence when the occurrence is no longer applicable for the given
	// resource.
	DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*emptypb.Empty, error)
	// Creates a new occurrence.
	CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error)
	// Creates new occurrences in batch.
	BatchCreateOccurrences(context.Context, *BatchCreateOccurrencesRequest) (*BatchCreateOccurrencesResponse, error)
	// Updates the specified occurrence.
	UpdateOccurrence(context.Context, *UpdateOccurrenceRequest) (*Occurrence, error)
	// Gets the note attached to the specified occurrence. Consumer projects can
	// use this method to get a note that belongs to a provider project.
	GetOccurrenceNote(context.Context, *GetOccurrenceNoteRequest) (*Note, error)
	// Gets the specified note.
	GetNote(context.Context, *GetNoteRequest) (*Note, error)
	// Lists notes for the specified project.
	ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error)
	// Deletes the specified note.
	DeleteNote(context.Context, *DeleteNoteRequest) (*emptypb.Empty, error)
	// Creates a new note.
	CreateNote(context.Context, *CreateNoteRequest) (*Note, error)
	// Creates new notes in batch.
	BatchCreateNotes(context.Context, *BatchCreateNotesRequest) (*BatchCreateNotesResponse, error)
	// Updates the specified note.
	UpdateNote(context.Context, *UpdateNoteRequest) (*Note, error)
	// Lists occurrences referencing the specified note. Provider projects can use
	// this method to get all occurrences across consumer projects referencing the
	// specified note.
	ListNoteOccurrences(context.Context, *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error)
	// Gets a summary of the number and severity of occurrences.
	GetVulnerabilityOccurrencesSummary(context.Context, *GetVulnerabilityOccurrencesSummaryRequest) (*VulnerabilityOccurrencesSummary, error)
}

GrafeasV1Beta1Server is the server API for GrafeasV1Beta1 service.

ListNoteOccurrencesRequest

type ListNoteOccurrencesRequest struct {

	// The name of the note to list occurrences for in the form of
	// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The filter expression.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Number of occurrences to return in the list.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token to provide to skip to a particular spot in the list.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request to list occurrences for a note.

func (*ListNoteOccurrencesRequest) Descriptor

func (*ListNoteOccurrencesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNoteOccurrencesRequest.ProtoReflect.Descriptor instead.

func (*ListNoteOccurrencesRequest) GetFilter

func (x *ListNoteOccurrencesRequest) GetFilter() string

func (*ListNoteOccurrencesRequest) GetName

func (x *ListNoteOccurrencesRequest) GetName() string

func (*ListNoteOccurrencesRequest) GetPageSize

func (x *ListNoteOccurrencesRequest) GetPageSize() int32

func (*ListNoteOccurrencesRequest) GetPageToken

func (x *ListNoteOccurrencesRequest) GetPageToken() string

func (*ListNoteOccurrencesRequest) ProtoMessage

func (*ListNoteOccurrencesRequest) ProtoMessage()

func (*ListNoteOccurrencesRequest) ProtoReflect

func (*ListNoteOccurrencesRequest) Reset

func (x *ListNoteOccurrencesRequest) Reset()

func (*ListNoteOccurrencesRequest) String

func (x *ListNoteOccurrencesRequest) String() string

ListNoteOccurrencesResponse

type ListNoteOccurrencesResponse struct {

	// The occurrences attached to the specified note.
	Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
	// Token to provide to skip to a particular spot in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response for listing occurrences for a note.

func (*ListNoteOccurrencesResponse) Descriptor

func (*ListNoteOccurrencesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNoteOccurrencesResponse.ProtoReflect.Descriptor instead.

func (*ListNoteOccurrencesResponse) GetNextPageToken

func (x *ListNoteOccurrencesResponse) GetNextPageToken() string

func (*ListNoteOccurrencesResponse) GetOccurrences

func (x *ListNoteOccurrencesResponse) GetOccurrences() []*Occurrence

func (*ListNoteOccurrencesResponse) ProtoMessage

func (*ListNoteOccurrencesResponse) ProtoMessage()

func (*ListNoteOccurrencesResponse) ProtoReflect

func (*ListNoteOccurrencesResponse) Reset

func (x *ListNoteOccurrencesResponse) Reset()

func (*ListNoteOccurrencesResponse) String

func (x *ListNoteOccurrencesResponse) String() string

ListNotesRequest

type ListNotesRequest struct {

	// The name of the project to list notes for in the form of
	// `projects/[PROJECT_ID]`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The filter expression.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Number of notes to return in the list.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token to provide to skip to a particular spot in the list.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request to list notes.

func (*ListNotesRequest) Descriptor

func (*ListNotesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNotesRequest.ProtoReflect.Descriptor instead.

func (*ListNotesRequest) GetFilter

func (x *ListNotesRequest) GetFilter() string

func (*ListNotesRequest) GetPageSize

func (x *ListNotesRequest) GetPageSize() int32

func (*ListNotesRequest) GetPageToken

func (x *ListNotesRequest) GetPageToken() string

func (*ListNotesRequest) GetParent

func (x *ListNotesRequest) GetParent() string

func (*ListNotesRequest) ProtoMessage

func (*ListNotesRequest) ProtoMessage()

func (*ListNotesRequest) ProtoReflect

func (x *ListNotesRequest) ProtoReflect() protoreflect.Message

func (*ListNotesRequest) Reset

func (x *ListNotesRequest) Reset()

func (*ListNotesRequest) String

func (x *ListNotesRequest) String() string

ListNotesResponse

type ListNotesResponse struct {

	// The notes requested.
	Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"`
	// The next pagination token in the list response. It should be used as
	// `page_token` for the following request. An empty value means no more
	// results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response for listing notes.

func (*ListNotesResponse) Descriptor

func (*ListNotesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNotesResponse.ProtoReflect.Descriptor instead.

func (*ListNotesResponse) GetNextPageToken

func (x *ListNotesResponse) GetNextPageToken() string

func (*ListNotesResponse) GetNotes

func (x *ListNotesResponse) GetNotes() []*Note

func (*ListNotesResponse) ProtoMessage

func (*ListNotesResponse) ProtoMessage()

func (*ListNotesResponse) ProtoReflect

func (x *ListNotesResponse) ProtoReflect() protoreflect.Message

func (*ListNotesResponse) Reset

func (x *ListNotesResponse) Reset()

func (*ListNotesResponse) String

func (x *ListNotesResponse) String() string

ListOccurrencesRequest

type ListOccurrencesRequest struct {

	// The name of the project to list occurrences for in the form of
	// `projects/[PROJECT_ID]`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The filter expression.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Number of occurrences to return in the list.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token to provide to skip to a particular spot in the list.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request to list occurrences.

func (*ListOccurrencesRequest) Descriptor

func (*ListOccurrencesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListOccurrencesRequest.ProtoReflect.Descriptor instead.

func (*ListOccurrencesRequest) GetFilter

func (x *ListOccurrencesRequest) GetFilter() string

func (*ListOccurrencesRequest) GetPageSize

func (x *ListOccurrencesRequest) GetPageSize() int32

func (*ListOccurrencesRequest) GetPageToken

func (x *ListOccurrencesRequest) GetPageToken() string

func (*ListOccurrencesRequest) GetParent

func (x *ListOccurrencesRequest) GetParent() string

func (*ListOccurrencesRequest) ProtoMessage

func (*ListOccurrencesRequest) ProtoMessage()

func (*ListOccurrencesRequest) ProtoReflect

func (x *ListOccurrencesRequest) ProtoReflect() protoreflect.Message

func (*ListOccurrencesRequest) Reset

func (x *ListOccurrencesRequest) Reset()

func (*ListOccurrencesRequest) String

func (x *ListOccurrencesRequest) String() string

ListOccurrencesResponse

type ListOccurrencesResponse struct {

	// The occurrences requested.
	Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
	// The next pagination token in the list response. It should be used as
	// `page_token` for the following request. An empty value means no more
	// results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response for listing occurrences.

func (*ListOccurrencesResponse) Descriptor

func (*ListOccurrencesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListOccurrencesResponse.ProtoReflect.Descriptor instead.

func (*ListOccurrencesResponse) GetNextPageToken

func (x *ListOccurrencesResponse) GetNextPageToken() string

func (*ListOccurrencesResponse) GetOccurrences

func (x *ListOccurrencesResponse) GetOccurrences() []*Occurrence

func (*ListOccurrencesResponse) ProtoMessage

func (*ListOccurrencesResponse) ProtoMessage()

func (*ListOccurrencesResponse) ProtoReflect

func (x *ListOccurrencesResponse) ProtoReflect() protoreflect.Message

func (*ListOccurrencesResponse) Reset

func (x *ListOccurrencesResponse) Reset()

func (*ListOccurrencesResponse) String

func (x *ListOccurrencesResponse) String() string

Note

type Note struct {

	// Output only. The name of the note in the form of
	// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A one sentence description of this note.
	ShortDescription string `protobuf:"bytes,2,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
	// A detailed description of this note.
	LongDescription string `protobuf:"bytes,3,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"`
	// Output only. The type of analysis. This field can be used as a filter in
	// list requests.
	Kind common.NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1beta1.NoteKind" json:"kind,omitempty"`
	// URLs associated with this note.
	RelatedUrl []*common.RelatedUrl `protobuf:"bytes,5,rep,name=related_url,json=relatedUrl,proto3" json:"related_url,omitempty"`
	// Time of expiration for this note. Empty if note does not expire.
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	// Output only. The time this note was created. This field can be used as a
	// filter in list requests.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time this note was last updated. This field can be used as
	// a filter in list requests.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Other notes related to this note.
	RelatedNoteNames []string `protobuf:"bytes,9,rep,name=related_note_names,json=relatedNoteNames,proto3" json:"related_note_names,omitempty"`
	// Required. Immutable. The type of analysis this note represents.
	//
	// Types that are assignable to Type:
	//
	//	*Note_Vulnerability
	//	*Note_Build
	//	*Note_BaseImage
	//	*Note_Package
	//	*Note_Deployable
	//	*Note_Discovery
	//	*Note_AttestationAuthority
	Type isNote_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

A type of analysis that can be done for a resource.

func (*Note) Descriptor

func (*Note) Descriptor() ([]byte, []int)

Deprecated: Use Note.ProtoReflect.Descriptor instead.

func (*Note) GetAttestationAuthority

func (x *Note) GetAttestationAuthority() *attestation.Authority

func (*Note) GetBaseImage

func (x *Note) GetBaseImage() *image.Basis

func (*Note) GetBuild

func (x *Note) GetBuild() *build.Build

func (*Note) GetCreateTime

func (x *Note) GetCreateTime() *timestamppb.Timestamp

func (*Note) GetDeployable

func (x *Note) GetDeployable() *deployment.Deployable

func (*Note) GetDiscovery

func (x *Note) GetDiscovery() *discovery.Discovery

func (*Note) GetExpirationTime

func (x *Note) GetExpirationTime() *timestamppb.Timestamp

func (*Note) GetKind

func (x *Note) GetKind() common.NoteKind

func (*Note) GetLongDescription

func (x *Note) GetLongDescription() string

func (*Note) GetName

func (x *Note) GetName() string

func (*Note) GetPackage

func (x *Note) GetPackage() *_package.Package

func (*Note) GetRelatedNoteNames

func (x *Note) GetRelatedNoteNames() []string

func (*Note) GetRelatedUrl

func (x *Note) GetRelatedUrl() []*common.RelatedUrl

func (*Note) GetShortDescription

func (x *Note) GetShortDescription() string

func (*Note) GetType

func (m *Note) GetType() isNote_Type

func (*Note) GetUpdateTime

func (x *Note) GetUpdateTime() *timestamppb.Timestamp

func (*Note) GetVulnerability

func (x *Note) GetVulnerability() *vulnerability.Vulnerability

func (*Note) ProtoMessage

func (*Note) ProtoMessage()

func (*Note) ProtoReflect

func (x *Note) ProtoReflect() protoreflect.Message

func (*Note) Reset

func (x *Note) Reset()

func (*Note) String

func (x *Note) String() string

Note_AttestationAuthority

type Note_AttestationAuthority struct {
	// A note describing an attestation role.
	AttestationAuthority *attestation.Authority `protobuf:"bytes,16,opt,name=attestation_authority,json=attestationAuthority,proto3,oneof"`
}

Note_BaseImage

type Note_BaseImage struct {
	// A note describing a base image.
	BaseImage *image.Basis `protobuf:"bytes,12,opt,name=base_image,json=baseImage,proto3,oneof"`
}

Note_Build

type Note_Build struct {
	// A note describing build provenance for a verifiable build.
	Build *build.Build `protobuf:"bytes,11,opt,name=build,proto3,oneof"`
}

Note_Deployable

type Note_Deployable struct {
	// A note describing something that can be deployed.
	Deployable *deployment.Deployable `protobuf:"bytes,14,opt,name=deployable,proto3,oneof"`
}

Note_Discovery

type Note_Discovery struct {
	// A note describing the initial analysis of a resource.
	Discovery *discovery.Discovery `protobuf:"bytes,15,opt,name=discovery,proto3,oneof"`
}

Note_Package

type Note_Package struct {
	// A note describing a package hosted by various package managers.
	Package *_package.Package `protobuf:"bytes,13,opt,name=package,proto3,oneof"`
}

Note_Vulnerability

type Note_Vulnerability struct {
	// A note describing a package vulnerability.
	Vulnerability *vulnerability.Vulnerability `protobuf:"bytes,10,opt,name=vulnerability,proto3,oneof"`
}

Occurrence

type Occurrence struct {

	// Output only. The name of the occurrence in the form of
	// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Immutable. The resource for which the occurrence applies.
	Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// Required. Immutable. The analysis note associated with this occurrence, in
	// the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be
	// used as a filter in list requests.
	NoteName string `protobuf:"bytes,3,opt,name=note_name,json=noteName,proto3" json:"note_name,omitempty"`
	// Output only. This explicitly denotes which of the occurrence details are
	// specified. This field can be used as a filter in list requests.
	Kind common.NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1beta1.NoteKind" json:"kind,omitempty"`
	// A description of actions that can be taken to remedy the note.
	Remediation string `protobuf:"bytes,5,opt,name=remediation,proto3" json:"remediation,omitempty"`
	// Output only. The time this occurrence was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time this occurrence was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Required. Immutable. Describes the details of the note kind found on this
	// resource.
	//
	// Types that are assignable to Details:
	//
	//	*Occurrence_Vulnerability
	//	*Occurrence_Build
	//	*Occurrence_DerivedImage
	//	*Occurrence_Installation
	//	*Occurrence_Deployment
	//	*Occurrence_Discovered
	//	*Occurrence_Attestation
	Details isOccurrence_Details `protobuf_oneof:"details"`
	// contains filtered or unexported fields
}

An instance of an analysis type that has been found on a resource.

func (*Occurrence) Descriptor

func (*Occurrence) Descriptor() ([]byte, []int)

Deprecated: Use Occurrence.ProtoReflect.Descriptor instead.

func (*Occurrence) GetAttestation

func (x *Occurrence) GetAttestation() *attestation.Details

func (*Occurrence) GetBuild

func (x *Occurrence) GetBuild() *build.Details

func (*Occurrence) GetCreateTime

func (x *Occurrence) GetCreateTime() *timestamppb.Timestamp

func (*Occurrence) GetDeployment

func (x *Occurrence) GetDeployment() *deployment.Details

func (*Occurrence) GetDerivedImage

func (x *Occurrence) GetDerivedImage() *image.Details

func (*Occurrence) GetDetails

func (m *Occurrence) GetDetails() isOccurrence_Details

func (*Occurrence) GetDiscovered

func (x *Occurrence) GetDiscovered() *discovery.Details

func (*Occurrence) GetInstallation

func (x *Occurrence) GetInstallation() *_package.Details

func (*Occurrence) GetKind

func (x *Occurrence) GetKind() common.NoteKind

func (*Occurrence) GetName

func (x *Occurrence) GetName() string

func (*Occurrence) GetNoteName

func (x *Occurrence) GetNoteName() string

func (*Occurrence) GetRemediation

func (x *Occurrence) GetRemediation() string

func (*Occurrence) GetResource

func (x *Occurrence) GetResource() *Resource

func (*Occurrence) GetUpdateTime

func (x *Occurrence) GetUpdateTime() *timestamppb.Timestamp

func (*Occurrence) GetVulnerability

func (x *Occurrence) GetVulnerability() *vulnerability.Details

func (*Occurrence) ProtoMessage

func (*Occurrence) ProtoMessage()

func (*Occurrence) ProtoReflect

func (x *Occurrence) ProtoReflect() protoreflect.Message

func (*Occurrence) Reset

func (x *Occurrence) Reset()

func (*Occurrence) String

func (x *Occurrence) String() string

Occurrence_Attestation

type Occurrence_Attestation struct {
	// Describes an attestation of an artifact.
	Attestation *attestation.Details `protobuf:"bytes,14,opt,name=attestation,proto3,oneof"`
}

Occurrence_Build

type Occurrence_Build struct {
	// Describes a verifiable build.
	Build *build.Details `protobuf:"bytes,9,opt,name=build,proto3,oneof"`
}

Occurrence_Deployment

type Occurrence_Deployment struct {
	// Describes the deployment of an artifact on a runtime.
	Deployment *deployment.Details `protobuf:"bytes,12,opt,name=deployment,proto3,oneof"`
}

Occurrence_DerivedImage

type Occurrence_DerivedImage struct {
	// Describes how this resource derives from the basis in the associated
	// note.
	DerivedImage *image.Details `protobuf:"bytes,10,opt,name=derived_image,json=derivedImage,proto3,oneof"`
}

Occurrence_Discovered

type Occurrence_Discovered struct {
	// Describes when a resource was discovered.
	Discovered *discovery.Details `protobuf:"bytes,13,opt,name=discovered,proto3,oneof"`
}

Occurrence_Installation

type Occurrence_Installation struct {
	// Describes the installation of a package on the linked resource.
	Installation *_package.Details `protobuf:"bytes,11,opt,name=installation,proto3,oneof"`
}

Occurrence_Vulnerability

type Occurrence_Vulnerability struct {
	// Describes a security vulnerability.
	Vulnerability *vulnerability.Details `protobuf:"bytes,8,opt,name=vulnerability,proto3,oneof"`
}

Resource

type Resource struct {

	// The name of the resource. For example, the name of a Docker image -
	// "Debian".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The unique URI of the resource. For example,
	// `https://gcr.io/project/image@sha256:foo` for a Docker image.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// The hash of the resource content. For example, the Docker digest.
	ContentHash *provenance.Hash `protobuf:"bytes,3,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"`
	// contains filtered or unexported fields
}

An entity that can have metadata. For example, a Docker image.

func (*Resource) Descriptor

func (*Resource) Descriptor() ([]byte, []int)

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetContentHash

func (x *Resource) GetContentHash() *provenance.Hash

func (*Resource) GetName

func (x *Resource) GetName() string

func (*Resource) GetUri

func (x *Resource) GetUri() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

func (x *Resource) ProtoReflect() protoreflect.Message

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

UnimplementedGrafeasV1Beta1Server

type UnimplementedGrafeasV1Beta1Server struct {
}

UnimplementedGrafeasV1Beta1Server can be embedded to have forward compatible implementations.

func (*UnimplementedGrafeasV1Beta1Server) BatchCreateNotes

func (*UnimplementedGrafeasV1Beta1Server) BatchCreateOccurrences

func (*UnimplementedGrafeasV1Beta1Server) CreateNote

func (*UnimplementedGrafeasV1Beta1Server) CreateOccurrence

func (*UnimplementedGrafeasV1Beta1Server) DeleteNote

func (*UnimplementedGrafeasV1Beta1Server) DeleteOccurrence

func (*UnimplementedGrafeasV1Beta1Server) GetNote

func (*UnimplementedGrafeasV1Beta1Server) GetOccurrence

func (*UnimplementedGrafeasV1Beta1Server) GetOccurrenceNote

func (*UnimplementedGrafeasV1Beta1Server) GetVulnerabilityOccurrencesSummary

func (*UnimplementedGrafeasV1Beta1Server) ListNoteOccurrences

func (*UnimplementedGrafeasV1Beta1Server) ListNotes

func (*UnimplementedGrafeasV1Beta1Server) ListOccurrences

func (*UnimplementedGrafeasV1Beta1Server) UpdateNote

func (*UnimplementedGrafeasV1Beta1Server) UpdateOccurrence

UpdateNoteRequest

type UpdateNoteRequest struct {

	// The name of the note in the form of
	// `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The updated note.
	Note *Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"`
	// The fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request to update a note.

func (*UpdateNoteRequest) Descriptor

func (*UpdateNoteRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNoteRequest.ProtoReflect.Descriptor instead.

func (*UpdateNoteRequest) GetName

func (x *UpdateNoteRequest) GetName() string

func (*UpdateNoteRequest) GetNote

func (x *UpdateNoteRequest) GetNote() *Note

func (*UpdateNoteRequest) GetUpdateMask

func (x *UpdateNoteRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateNoteRequest) ProtoMessage

func (*UpdateNoteRequest) ProtoMessage()

func (*UpdateNoteRequest) ProtoReflect

func (x *UpdateNoteRequest) ProtoReflect() protoreflect.Message

func (*UpdateNoteRequest) Reset

func (x *UpdateNoteRequest) Reset()

func (*UpdateNoteRequest) String

func (x *UpdateNoteRequest) String() string

UpdateOccurrenceRequest

type UpdateOccurrenceRequest struct {

	// The name of the occurrence in the form of
	// `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The updated occurrence.
	Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
	// The fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request to update an occurrence.

func (*UpdateOccurrenceRequest) Descriptor

func (*UpdateOccurrenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateOccurrenceRequest.ProtoReflect.Descriptor instead.

func (*UpdateOccurrenceRequest) GetName

func (x *UpdateOccurrenceRequest) GetName() string

func (*UpdateOccurrenceRequest) GetOccurrence

func (x *UpdateOccurrenceRequest) GetOccurrence() *Occurrence

func (*UpdateOccurrenceRequest) GetUpdateMask

func (x *UpdateOccurrenceRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateOccurrenceRequest) ProtoMessage

func (*UpdateOccurrenceRequest) ProtoMessage()

func (*UpdateOccurrenceRequest) ProtoReflect

func (x *UpdateOccurrenceRequest) ProtoReflect() protoreflect.Message

func (*UpdateOccurrenceRequest) Reset

func (x *UpdateOccurrenceRequest) Reset()

func (*UpdateOccurrenceRequest) String

func (x *UpdateOccurrenceRequest) String() string

VulnerabilityOccurrencesSummary

type VulnerabilityOccurrencesSummary struct {

	// A listing by resource of the number of fixable and total vulnerabilities.
	Counts []*VulnerabilityOccurrencesSummary_FixableTotalByDigest `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty"`
	// contains filtered or unexported fields
}

A summary of how many vulnerability occurrences there are per resource and severity type.

func (*VulnerabilityOccurrencesSummary) Descriptor

func (*VulnerabilityOccurrencesSummary) Descriptor() ([]byte, []int)

Deprecated: Use VulnerabilityOccurrencesSummary.ProtoReflect.Descriptor instead.

func (*VulnerabilityOccurrencesSummary) GetCounts

func (*VulnerabilityOccurrencesSummary) ProtoMessage

func (*VulnerabilityOccurrencesSummary) ProtoMessage()

func (*VulnerabilityOccurrencesSummary) ProtoReflect

func (*VulnerabilityOccurrencesSummary) Reset

func (*VulnerabilityOccurrencesSummary) String

VulnerabilityOccurrencesSummary_FixableTotalByDigest

type VulnerabilityOccurrencesSummary_FixableTotalByDigest struct {

	// The affected resource.
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// The severity for this count. SEVERITY_UNSPECIFIED indicates total across
	// all severities.
	Severity vulnerability.Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1beta1.vulnerability.Severity" json:"severity,omitempty"`
	// The number of fixable vulnerabilities associated with this resource.
	FixableCount int64 `protobuf:"varint,3,opt,name=fixable_count,json=fixableCount,proto3" json:"fixable_count,omitempty"`
	// The total number of vulnerabilities associated with this resource.
	TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

Per resource and severity counts of fixable and total vulnerabilities.

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) Descriptor

Deprecated: Use VulnerabilityOccurrencesSummary_FixableTotalByDigest.ProtoReflect.Descriptor instead.

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetFixableCount

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetResource

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetSeverity

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetTotalCount

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) ProtoMessage

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) ProtoReflect

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) Reset

func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) String