3 Star 2 Fork 0

Gitee 极速下载 / go-genproto

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/google/go-genproto
克隆/下载
containeranalysis.pb.go 176.91 KB
一键复制 编辑 原始数据 按行查看 历史
Jean de Klerk 提交于 2018-08-15 23:07 . Regen protos (#91)
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/devtools/containeranalysis/v1alpha1/containeranalysis.proto
package containeranalysis // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "github.com/golang/protobuf/ptypes/any"
import empty "github.com/golang/protobuf/ptypes/empty"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import v1 "google.golang.org/genproto/googleapis/iam/v1"
import longrunning "google.golang.org/genproto/googleapis/longrunning"
import status "google.golang.org/genproto/googleapis/rpc/status"
import field_mask "google.golang.org/genproto/protobuf/field_mask"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// This must be 1:1 with members of our oneofs, it can be used for filtering
// Note and Occurrence on their kind.
type Note_Kind int32
const (
// Unknown
Note_KIND_UNSPECIFIED Note_Kind = 0
// The note and occurrence represent a package vulnerability.
Note_PACKAGE_VULNERABILITY Note_Kind = 2
// The note and occurrence assert build provenance.
Note_BUILD_DETAILS Note_Kind = 3
// This represents an image basis relationship.
Note_IMAGE_BASIS Note_Kind = 4
// This represents a package installed via a package manager.
Note_PACKAGE_MANAGER Note_Kind = 5
// The note and occurrence track deployment events.
Note_DEPLOYABLE Note_Kind = 6
// The note and occurrence track the initial discovery status of a resource.
Note_DISCOVERY Note_Kind = 7
// This represents a logical "role" that can attest to artifacts.
Note_ATTESTATION_AUTHORITY Note_Kind = 8
)
var Note_Kind_name = map[int32]string{
0: "KIND_UNSPECIFIED",
2: "PACKAGE_VULNERABILITY",
3: "BUILD_DETAILS",
4: "IMAGE_BASIS",
5: "PACKAGE_MANAGER",
6: "DEPLOYABLE",
7: "DISCOVERY",
8: "ATTESTATION_AUTHORITY",
}
var Note_Kind_value = map[string]int32{
"KIND_UNSPECIFIED": 0,
"PACKAGE_VULNERABILITY": 2,
"BUILD_DETAILS": 3,
"IMAGE_BASIS": 4,
"PACKAGE_MANAGER": 5,
"DEPLOYABLE": 6,
"DISCOVERY": 7,
"ATTESTATION_AUTHORITY": 8,
}
func (x Note_Kind) String() string {
return proto.EnumName(Note_Kind_name, int32(x))
}
func (Note_Kind) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{2, 0}
}
// Types of platforms.
type Deployable_Deployment_Platform int32
const (
// Unknown
Deployable_Deployment_PLATFORM_UNSPECIFIED Deployable_Deployment_Platform = 0
// Google Container Engine
Deployable_Deployment_GKE Deployable_Deployment_Platform = 1
// Google App Engine: Flexible Environment
Deployable_Deployment_FLEX Deployable_Deployment_Platform = 2
// Custom user-defined platform
Deployable_Deployment_CUSTOM Deployable_Deployment_Platform = 3
)
var Deployable_Deployment_Platform_name = map[int32]string{
0: "PLATFORM_UNSPECIFIED",
1: "GKE",
2: "FLEX",
3: "CUSTOM",
}
var Deployable_Deployment_Platform_value = map[string]int32{
"PLATFORM_UNSPECIFIED": 0,
"GKE": 1,
"FLEX": 2,
"CUSTOM": 3,
}
func (x Deployable_Deployment_Platform) String() string {
return proto.EnumName(Deployable_Deployment_Platform_name, int32(x))
}
func (Deployable_Deployment_Platform) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{3, 0, 0}
}
// Analysis status for a resource.
type Discovery_Discovered_AnalysisStatus int32
const (
// Unknown
Discovery_Discovered_ANALYSIS_STATUS_UNSPECIFIED Discovery_Discovered_AnalysisStatus = 0
// Resource is known but no action has been taken yet.
Discovery_Discovered_PENDING Discovery_Discovered_AnalysisStatus = 1
// Resource is being analyzed.
Discovery_Discovered_SCANNING Discovery_Discovered_AnalysisStatus = 2
// Analysis has finished successfully.
Discovery_Discovered_FINISHED_SUCCESS Discovery_Discovered_AnalysisStatus = 3
// Analysis has finished unsuccessfully, the analysis itself is in a bad
// state.
Discovery_Discovered_FINISHED_FAILED Discovery_Discovered_AnalysisStatus = 4
// Analysis will not happen, the resource is not supported.
Discovery_Discovered_UNSUPPORTED_RESOURCE Discovery_Discovered_AnalysisStatus = 5
)
var Discovery_Discovered_AnalysisStatus_name = map[int32]string{
0: "ANALYSIS_STATUS_UNSPECIFIED",
1: "PENDING",
2: "SCANNING",
3: "FINISHED_SUCCESS",
4: "FINISHED_FAILED",
5: "UNSUPPORTED_RESOURCE",
}
var Discovery_Discovered_AnalysisStatus_value = map[string]int32{
"ANALYSIS_STATUS_UNSPECIFIED": 0,
"PENDING": 1,
"SCANNING": 2,
"FINISHED_SUCCESS": 3,
"FINISHED_FAILED": 4,
"UNSUPPORTED_RESOURCE": 5,
}
func (x Discovery_Discovered_AnalysisStatus) String() string {
return proto.EnumName(Discovery_Discovered_AnalysisStatus_name, int32(x))
}
func (Discovery_Discovered_AnalysisStatus) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{4, 0, 0}
}
// Public key formats
type BuildSignature_KeyType int32
const (
// `KeyType` is not set.
BuildSignature_KEY_TYPE_UNSPECIFIED BuildSignature_KeyType = 0
// `PGP ASCII Armored` public key.
BuildSignature_PGP_ASCII_ARMORED BuildSignature_KeyType = 1
// `PKIX PEM` public key.
BuildSignature_PKIX_PEM BuildSignature_KeyType = 2
)
var BuildSignature_KeyType_name = map[int32]string{
0: "KEY_TYPE_UNSPECIFIED",
1: "PGP_ASCII_ARMORED",
2: "PKIX_PEM",
}
var BuildSignature_KeyType_value = map[string]int32{
"KEY_TYPE_UNSPECIFIED": 0,
"PGP_ASCII_ARMORED": 1,
"PKIX_PEM": 2,
}
func (x BuildSignature_KeyType) String() string {
return proto.EnumName(BuildSignature_KeyType_name, int32(x))
}
func (BuildSignature_KeyType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{6, 0}
}
// Type (for example schema) of the attestation payload that was signed.
type PgpSignedAttestation_ContentType int32
const (
// `ContentType` is not set.
PgpSignedAttestation_CONTENT_TYPE_UNSPECIFIED PgpSignedAttestation_ContentType = 0
// Atomic format attestation signature. See
// https://github.com/containers/image/blob/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7/docs/atomic-signature.md
// The payload extracted from `signature` is a JSON blob conforming to the
// linked schema.
PgpSignedAttestation_SIMPLE_SIGNING_JSON PgpSignedAttestation_ContentType = 1
)
var PgpSignedAttestation_ContentType_name = map[int32]string{
0: "CONTENT_TYPE_UNSPECIFIED",
1: "SIMPLE_SIGNING_JSON",
}
var PgpSignedAttestation_ContentType_value = map[string]int32{
"CONTENT_TYPE_UNSPECIFIED": 0,
"SIMPLE_SIGNING_JSON": 1,
}
func (x PgpSignedAttestation_ContentType) String() string {
return proto.EnumName(PgpSignedAttestation_ContentType_name, int32(x))
}
func (PgpSignedAttestation_ContentType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{7, 0}
}
// `Occurrence` includes information about analysis occurrences for an image.
type Occurrence struct {
// Output only. The name of the `Occurrence` in the form
// "projects/{project_id}/occurrences/{OCCURRENCE_ID}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The unique URL of the image or the container for which the `Occurrence`
// applies. For example, https://gcr.io/project/image@sha256:foo This field
// can be used as a filter in list requests.
ResourceUrl string `protobuf:"bytes,2,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"`
// The resource for which the `Occurrence` applies.
Resource *Resource `protobuf:"bytes,17,opt,name=resource,proto3" json:"resource,omitempty"`
// An analysis note associated with this image, in the form
// "providers/{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 Note_Kind `protobuf:"varint,6,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"kind,omitempty"`
// Describes the details of the vulnerability `Note` found in this resource.
//
// Types that are valid to be assigned to Details:
// *Occurrence_VulnerabilityDetails
// *Occurrence_BuildDetails
// *Occurrence_DerivedImage
// *Occurrence_Installation
// *Occurrence_Deployment
// *Occurrence_Discovered
// *Occurrence_Attestation
Details isOccurrence_Details `protobuf_oneof:"details"`
// 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 *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time this `Occurrence` was last updated.
UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Occurrence) Reset() { *m = Occurrence{} }
func (m *Occurrence) String() string { return proto.CompactTextString(m) }
func (*Occurrence) ProtoMessage() {}
func (*Occurrence) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{0}
}
func (m *Occurrence) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Occurrence.Unmarshal(m, b)
}
func (m *Occurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Occurrence.Marshal(b, m, deterministic)
}
func (dst *Occurrence) XXX_Merge(src proto.Message) {
xxx_messageInfo_Occurrence.Merge(dst, src)
}
func (m *Occurrence) XXX_Size() int {
return xxx_messageInfo_Occurrence.Size(m)
}
func (m *Occurrence) XXX_DiscardUnknown() {
xxx_messageInfo_Occurrence.DiscardUnknown(m)
}
var xxx_messageInfo_Occurrence proto.InternalMessageInfo
func (m *Occurrence) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Occurrence) GetResourceUrl() string {
if m != nil {
return m.ResourceUrl
}
return ""
}
func (m *Occurrence) GetResource() *Resource {
if m != nil {
return m.Resource
}
return nil
}
func (m *Occurrence) GetNoteName() string {
if m != nil {
return m.NoteName
}
return ""
}
func (m *Occurrence) GetKind() Note_Kind {
if m != nil {
return m.Kind
}
return Note_KIND_UNSPECIFIED
}
type isOccurrence_Details interface {
isOccurrence_Details()
}
type Occurrence_VulnerabilityDetails struct {
VulnerabilityDetails *VulnerabilityType_VulnerabilityDetails `protobuf:"bytes,8,opt,name=vulnerability_details,json=vulnerabilityDetails,proto3,oneof"`
}
type Occurrence_BuildDetails struct {
BuildDetails *BuildDetails `protobuf:"bytes,7,opt,name=build_details,json=buildDetails,proto3,oneof"`
}
type Occurrence_DerivedImage struct {
DerivedImage *DockerImage_Derived `protobuf:"bytes,11,opt,name=derived_image,json=derivedImage,proto3,oneof"`
}
type Occurrence_Installation struct {
Installation *PackageManager_Installation `protobuf:"bytes,12,opt,name=installation,proto3,oneof"`
}
type Occurrence_Deployment struct {
Deployment *Deployable_Deployment `protobuf:"bytes,14,opt,name=deployment,proto3,oneof"`
}
type Occurrence_Discovered struct {
Discovered *Discovery_Discovered `protobuf:"bytes,15,opt,name=discovered,proto3,oneof"`
}
type Occurrence_Attestation struct {
Attestation *AttestationAuthority_Attestation `protobuf:"bytes,16,opt,name=attestation,proto3,oneof"`
}
func (*Occurrence_VulnerabilityDetails) isOccurrence_Details() {}
func (*Occurrence_BuildDetails) isOccurrence_Details() {}
func (*Occurrence_DerivedImage) isOccurrence_Details() {}
func (*Occurrence_Installation) isOccurrence_Details() {}
func (*Occurrence_Deployment) isOccurrence_Details() {}
func (*Occurrence_Discovered) isOccurrence_Details() {}
func (*Occurrence_Attestation) isOccurrence_Details() {}
func (m *Occurrence) GetDetails() isOccurrence_Details {
if m != nil {
return m.Details
}
return nil
}
func (m *Occurrence) GetVulnerabilityDetails() *VulnerabilityType_VulnerabilityDetails {
if x, ok := m.GetDetails().(*Occurrence_VulnerabilityDetails); ok {
return x.VulnerabilityDetails
}
return nil
}
func (m *Occurrence) GetBuildDetails() *BuildDetails {
if x, ok := m.GetDetails().(*Occurrence_BuildDetails); ok {
return x.BuildDetails
}
return nil
}
func (m *Occurrence) GetDerivedImage() *DockerImage_Derived {
if x, ok := m.GetDetails().(*Occurrence_DerivedImage); ok {
return x.DerivedImage
}
return nil
}
func (m *Occurrence) GetInstallation() *PackageManager_Installation {
if x, ok := m.GetDetails().(*Occurrence_Installation); ok {
return x.Installation
}
return nil
}
func (m *Occurrence) GetDeployment() *Deployable_Deployment {
if x, ok := m.GetDetails().(*Occurrence_Deployment); ok {
return x.Deployment
}
return nil
}
func (m *Occurrence) GetDiscovered() *Discovery_Discovered {
if x, ok := m.GetDetails().(*Occurrence_Discovered); ok {
return x.Discovered
}
return nil
}
func (m *Occurrence) GetAttestation() *AttestationAuthority_Attestation {
if x, ok := m.GetDetails().(*Occurrence_Attestation); ok {
return x.Attestation
}
return nil
}
func (m *Occurrence) GetRemediation() string {
if m != nil {
return m.Remediation
}
return ""
}
func (m *Occurrence) GetCreateTime() *timestamp.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *Occurrence) GetUpdateTime() *timestamp.Timestamp {
if m != nil {
return m.UpdateTime
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*Occurrence) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _Occurrence_OneofMarshaler, _Occurrence_OneofUnmarshaler, _Occurrence_OneofSizer, []interface{}{
(*Occurrence_VulnerabilityDetails)(nil),
(*Occurrence_BuildDetails)(nil),
(*Occurrence_DerivedImage)(nil),
(*Occurrence_Installation)(nil),
(*Occurrence_Deployment)(nil),
(*Occurrence_Discovered)(nil),
(*Occurrence_Attestation)(nil),
}
}
func _Occurrence_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*Occurrence)
// details
switch x := m.Details.(type) {
case *Occurrence_VulnerabilityDetails:
b.EncodeVarint(8<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.VulnerabilityDetails); err != nil {
return err
}
case *Occurrence_BuildDetails:
b.EncodeVarint(7<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BuildDetails); err != nil {
return err
}
case *Occurrence_DerivedImage:
b.EncodeVarint(11<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.DerivedImage); err != nil {
return err
}
case *Occurrence_Installation:
b.EncodeVarint(12<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Installation); err != nil {
return err
}
case *Occurrence_Deployment:
b.EncodeVarint(14<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Deployment); err != nil {
return err
}
case *Occurrence_Discovered:
b.EncodeVarint(15<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Discovered); err != nil {
return err
}
case *Occurrence_Attestation:
b.EncodeVarint(16<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Attestation); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("Occurrence.Details has unexpected type %T", x)
}
return nil
}
func _Occurrence_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*Occurrence)
switch tag {
case 8: // details.vulnerability_details
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(VulnerabilityType_VulnerabilityDetails)
err := b.DecodeMessage(msg)
m.Details = &Occurrence_VulnerabilityDetails{msg}
return true, err
case 7: // details.build_details
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BuildDetails)
err := b.DecodeMessage(msg)
m.Details = &Occurrence_BuildDetails{msg}
return true, err
case 11: // details.derived_image
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(DockerImage_Derived)
err := b.DecodeMessage(msg)
m.Details = &Occurrence_DerivedImage{msg}
return true, err
case 12: // details.installation
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(PackageManager_Installation)
err := b.DecodeMessage(msg)
m.Details = &Occurrence_Installation{msg}
return true, err
case 14: // details.deployment
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(Deployable_Deployment)
err := b.DecodeMessage(msg)
m.Details = &Occurrence_Deployment{msg}
return true, err
case 15: // details.discovered
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(Discovery_Discovered)
err := b.DecodeMessage(msg)
m.Details = &Occurrence_Discovered{msg}
return true, err
case 16: // details.attestation
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(AttestationAuthority_Attestation)
err := b.DecodeMessage(msg)
m.Details = &Occurrence_Attestation{msg}
return true, err
default:
return false, nil
}
}
func _Occurrence_OneofSizer(msg proto.Message) (n int) {
m := msg.(*Occurrence)
// details
switch x := m.Details.(type) {
case *Occurrence_VulnerabilityDetails:
s := proto.Size(x.VulnerabilityDetails)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Occurrence_BuildDetails:
s := proto.Size(x.BuildDetails)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Occurrence_DerivedImage:
s := proto.Size(x.DerivedImage)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Occurrence_Installation:
s := proto.Size(x.Installation)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Occurrence_Deployment:
s := proto.Size(x.Deployment)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Occurrence_Discovered:
s := proto.Size(x.Discovered)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Occurrence_Attestation:
s := proto.Size(x.Attestation)
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
// Resource is an entity that can have metadata. E.g., a Docker image.
type Resource struct {
// The name of the resource. E.g., the name of a Docker image - "Debian".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The unique URI of the resource. E.g.,
// "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. E.g., the Docker digest.
ContentHash *Hash `protobuf:"bytes,3,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Resource) Reset() { *m = Resource{} }
func (m *Resource) String() string { return proto.CompactTextString(m) }
func (*Resource) ProtoMessage() {}
func (*Resource) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{1}
}
func (m *Resource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Resource.Unmarshal(m, b)
}
func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Resource.Marshal(b, m, deterministic)
}
func (dst *Resource) XXX_Merge(src proto.Message) {
xxx_messageInfo_Resource.Merge(dst, src)
}
func (m *Resource) XXX_Size() int {
return xxx_messageInfo_Resource.Size(m)
}
func (m *Resource) XXX_DiscardUnknown() {
xxx_messageInfo_Resource.DiscardUnknown(m)
}
var xxx_messageInfo_Resource proto.InternalMessageInfo
func (m *Resource) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Resource) GetUri() string {
if m != nil {
return m.Uri
}
return ""
}
func (m *Resource) GetContentHash() *Hash {
if m != nil {
return m.ContentHash
}
return nil
}
// Provides a detailed description of a `Note`.
type Note struct {
// The name of the note in the form
// "providers/{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,3,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
// A detailed description of this `Note`.
LongDescription string `protobuf:"bytes,4,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"`
// Output only. This explicitly denotes which kind of note is specified. This
// field can be used as a filter in list requests.
Kind Note_Kind `protobuf:"varint,9,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"kind,omitempty"`
// The type of note.
//
// Types that are valid to be assigned to NoteType:
// *Note_VulnerabilityType
// *Note_BuildType
// *Note_BaseImage
// *Note_Package
// *Note_Deployable
// *Note_Discovery
// *Note_AttestationAuthority
NoteType isNote_NoteType `protobuf_oneof:"note_type"`
// URLs associated with this note
RelatedUrl []*Note_RelatedUrl `protobuf:"bytes,7,rep,name=related_url,json=relatedUrl,proto3" json:"related_url,omitempty"`
// Time of expiration for this note, null if note does not expire.
ExpirationTime *timestamp.Timestamp `protobuf:"bytes,10,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 *timestamp.Timestamp `protobuf:"bytes,11,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 *timestamp.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Note) Reset() { *m = Note{} }
func (m *Note) String() string { return proto.CompactTextString(m) }
func (*Note) ProtoMessage() {}
func (*Note) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{2}
}
func (m *Note) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Note.Unmarshal(m, b)
}
func (m *Note) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Note.Marshal(b, m, deterministic)
}
func (dst *Note) XXX_Merge(src proto.Message) {
xxx_messageInfo_Note.Merge(dst, src)
}
func (m *Note) XXX_Size() int {
return xxx_messageInfo_Note.Size(m)
}
func (m *Note) XXX_DiscardUnknown() {
xxx_messageInfo_Note.DiscardUnknown(m)
}
var xxx_messageInfo_Note proto.InternalMessageInfo
func (m *Note) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Note) GetShortDescription() string {
if m != nil {
return m.ShortDescription
}
return ""
}
func (m *Note) GetLongDescription() string {
if m != nil {
return m.LongDescription
}
return ""
}
func (m *Note) GetKind() Note_Kind {
if m != nil {
return m.Kind
}
return Note_KIND_UNSPECIFIED
}
type isNote_NoteType interface {
isNote_NoteType()
}
type Note_VulnerabilityType struct {
VulnerabilityType *VulnerabilityType `protobuf:"bytes,6,opt,name=vulnerability_type,json=vulnerabilityType,proto3,oneof"`
}
type Note_BuildType struct {
BuildType *BuildType `protobuf:"bytes,8,opt,name=build_type,json=buildType,proto3,oneof"`
}
type Note_BaseImage struct {
BaseImage *DockerImage_Basis `protobuf:"bytes,13,opt,name=base_image,json=baseImage,proto3,oneof"`
}
type Note_Package struct {
Package *PackageManager_Package `protobuf:"bytes,14,opt,name=package,proto3,oneof"`
}
type Note_Deployable struct {
Deployable *Deployable `protobuf:"bytes,17,opt,name=deployable,proto3,oneof"`
}
type Note_Discovery struct {
Discovery *Discovery `protobuf:"bytes,18,opt,name=discovery,proto3,oneof"`
}
type Note_AttestationAuthority struct {
AttestationAuthority *AttestationAuthority `protobuf:"bytes,19,opt,name=attestation_authority,json=attestationAuthority,proto3,oneof"`
}
func (*Note_VulnerabilityType) isNote_NoteType() {}
func (*Note_BuildType) isNote_NoteType() {}
func (*Note_BaseImage) isNote_NoteType() {}
func (*Note_Package) isNote_NoteType() {}
func (*Note_Deployable) isNote_NoteType() {}
func (*Note_Discovery) isNote_NoteType() {}
func (*Note_AttestationAuthority) isNote_NoteType() {}
func (m *Note) GetNoteType() isNote_NoteType {
if m != nil {
return m.NoteType
}
return nil
}
func (m *Note) GetVulnerabilityType() *VulnerabilityType {
if x, ok := m.GetNoteType().(*Note_VulnerabilityType); ok {
return x.VulnerabilityType
}
return nil
}
func (m *Note) GetBuildType() *BuildType {
if x, ok := m.GetNoteType().(*Note_BuildType); ok {
return x.BuildType
}
return nil
}
func (m *Note) GetBaseImage() *DockerImage_Basis {
if x, ok := m.GetNoteType().(*Note_BaseImage); ok {
return x.BaseImage
}
return nil
}
func (m *Note) GetPackage() *PackageManager_Package {
if x, ok := m.GetNoteType().(*Note_Package); ok {
return x.Package
}
return nil
}
func (m *Note) GetDeployable() *Deployable {
if x, ok := m.GetNoteType().(*Note_Deployable); ok {
return x.Deployable
}
return nil
}
func (m *Note) GetDiscovery() *Discovery {
if x, ok := m.GetNoteType().(*Note_Discovery); ok {
return x.Discovery
}
return nil
}
func (m *Note) GetAttestationAuthority() *AttestationAuthority {
if x, ok := m.GetNoteType().(*Note_AttestationAuthority); ok {
return x.AttestationAuthority
}
return nil
}
func (m *Note) GetRelatedUrl() []*Note_RelatedUrl {
if m != nil {
return m.RelatedUrl
}
return nil
}
func (m *Note) GetExpirationTime() *timestamp.Timestamp {
if m != nil {
return m.ExpirationTime
}
return nil
}
func (m *Note) GetCreateTime() *timestamp.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *Note) GetUpdateTime() *timestamp.Timestamp {
if m != nil {
return m.UpdateTime
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*Note) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _Note_OneofMarshaler, _Note_OneofUnmarshaler, _Note_OneofSizer, []interface{}{
(*Note_VulnerabilityType)(nil),
(*Note_BuildType)(nil),
(*Note_BaseImage)(nil),
(*Note_Package)(nil),
(*Note_Deployable)(nil),
(*Note_Discovery)(nil),
(*Note_AttestationAuthority)(nil),
}
}
func _Note_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*Note)
// note_type
switch x := m.NoteType.(type) {
case *Note_VulnerabilityType:
b.EncodeVarint(6<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.VulnerabilityType); err != nil {
return err
}
case *Note_BuildType:
b.EncodeVarint(8<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BuildType); err != nil {
return err
}
case *Note_BaseImage:
b.EncodeVarint(13<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BaseImage); err != nil {
return err
}
case *Note_Package:
b.EncodeVarint(14<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Package); err != nil {
return err
}
case *Note_Deployable:
b.EncodeVarint(17<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Deployable); err != nil {
return err
}
case *Note_Discovery:
b.EncodeVarint(18<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Discovery); err != nil {
return err
}
case *Note_AttestationAuthority:
b.EncodeVarint(19<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.AttestationAuthority); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("Note.NoteType has unexpected type %T", x)
}
return nil
}
func _Note_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*Note)
switch tag {
case 6: // note_type.vulnerability_type
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(VulnerabilityType)
err := b.DecodeMessage(msg)
m.NoteType = &Note_VulnerabilityType{msg}
return true, err
case 8: // note_type.build_type
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BuildType)
err := b.DecodeMessage(msg)
m.NoteType = &Note_BuildType{msg}
return true, err
case 13: // note_type.base_image
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(DockerImage_Basis)
err := b.DecodeMessage(msg)
m.NoteType = &Note_BaseImage{msg}
return true, err
case 14: // note_type.package
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(PackageManager_Package)
err := b.DecodeMessage(msg)
m.NoteType = &Note_Package{msg}
return true, err
case 17: // note_type.deployable
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(Deployable)
err := b.DecodeMessage(msg)
m.NoteType = &Note_Deployable{msg}
return true, err
case 18: // note_type.discovery
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(Discovery)
err := b.DecodeMessage(msg)
m.NoteType = &Note_Discovery{msg}
return true, err
case 19: // note_type.attestation_authority
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(AttestationAuthority)
err := b.DecodeMessage(msg)
m.NoteType = &Note_AttestationAuthority{msg}
return true, err
default:
return false, nil
}
}
func _Note_OneofSizer(msg proto.Message) (n int) {
m := msg.(*Note)
// note_type
switch x := m.NoteType.(type) {
case *Note_VulnerabilityType:
s := proto.Size(x.VulnerabilityType)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Note_BuildType:
s := proto.Size(x.BuildType)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Note_BaseImage:
s := proto.Size(x.BaseImage)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Note_Package:
s := proto.Size(x.Package)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Note_Deployable:
s := proto.Size(x.Deployable)
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Note_Discovery:
s := proto.Size(x.Discovery)
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Note_AttestationAuthority:
s := proto.Size(x.AttestationAuthority)
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
// Metadata for any related URL information
type Note_RelatedUrl struct {
// Specific URL to associate with the note
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// Label to describe usage of the URL
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Note_RelatedUrl) Reset() { *m = Note_RelatedUrl{} }
func (m *Note_RelatedUrl) String() string { return proto.CompactTextString(m) }
func (*Note_RelatedUrl) ProtoMessage() {}
func (*Note_RelatedUrl) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{2, 0}
}
func (m *Note_RelatedUrl) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Note_RelatedUrl.Unmarshal(m, b)
}
func (m *Note_RelatedUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Note_RelatedUrl.Marshal(b, m, deterministic)
}
func (dst *Note_RelatedUrl) XXX_Merge(src proto.Message) {
xxx_messageInfo_Note_RelatedUrl.Merge(dst, src)
}
func (m *Note_RelatedUrl) XXX_Size() int {
return xxx_messageInfo_Note_RelatedUrl.Size(m)
}
func (m *Note_RelatedUrl) XXX_DiscardUnknown() {
xxx_messageInfo_Note_RelatedUrl.DiscardUnknown(m)
}
var xxx_messageInfo_Note_RelatedUrl proto.InternalMessageInfo
func (m *Note_RelatedUrl) GetUrl() string {
if m != nil {
return m.Url
}
return ""
}
func (m *Note_RelatedUrl) GetLabel() string {
if m != nil {
return m.Label
}
return ""
}
// An artifact that can be deployed in some runtime.
type Deployable struct {
// Resource URI for the artifact being deployed.
ResourceUri []string `protobuf:"bytes,1,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Deployable) Reset() { *m = Deployable{} }
func (m *Deployable) String() string { return proto.CompactTextString(m) }
func (*Deployable) ProtoMessage() {}
func (*Deployable) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{3}
}
func (m *Deployable) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Deployable.Unmarshal(m, b)
}
func (m *Deployable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Deployable.Marshal(b, m, deterministic)
}
func (dst *Deployable) XXX_Merge(src proto.Message) {
xxx_messageInfo_Deployable.Merge(dst, src)
}
func (m *Deployable) XXX_Size() int {
return xxx_messageInfo_Deployable.Size(m)
}
func (m *Deployable) XXX_DiscardUnknown() {
xxx_messageInfo_Deployable.DiscardUnknown(m)
}
var xxx_messageInfo_Deployable proto.InternalMessageInfo
func (m *Deployable) GetResourceUri() []string {
if m != nil {
return m.ResourceUri
}
return nil
}
// The period during which some deployable was active in a runtime.
type Deployable_Deployment struct {
// Identity of the user that triggered this deployment.
UserEmail string `protobuf:"bytes,1,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
// Beginning of the lifetime of this deployment.
DeployTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=deploy_time,json=deployTime,proto3" json:"deploy_time,omitempty"`
// End of the lifetime of this deployment.
UndeployTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=undeploy_time,json=undeployTime,proto3" json:"undeploy_time,omitempty"`
// Configuration used to create this deployment.
Config string `protobuf:"bytes,8,opt,name=config,proto3" json:"config,omitempty"`
// Address of the runtime element hosting this deployment.
Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
// Output only. Resource URI for the artifact being deployed taken from the
// deployable field with the same name.
ResourceUri []string `protobuf:"bytes,6,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
// Platform hosting this deployment.
Platform Deployable_Deployment_Platform `protobuf:"varint,7,opt,name=platform,proto3,enum=google.devtools.containeranalysis.v1alpha1.Deployable_Deployment_Platform" json:"platform,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Deployable_Deployment) Reset() { *m = Deployable_Deployment{} }
func (m *Deployable_Deployment) String() string { return proto.CompactTextString(m) }
func (*Deployable_Deployment) ProtoMessage() {}
func (*Deployable_Deployment) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{3, 0}
}
func (m *Deployable_Deployment) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Deployable_Deployment.Unmarshal(m, b)
}
func (m *Deployable_Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Deployable_Deployment.Marshal(b, m, deterministic)
}
func (dst *Deployable_Deployment) XXX_Merge(src proto.Message) {
xxx_messageInfo_Deployable_Deployment.Merge(dst, src)
}
func (m *Deployable_Deployment) XXX_Size() int {
return xxx_messageInfo_Deployable_Deployment.Size(m)
}
func (m *Deployable_Deployment) XXX_DiscardUnknown() {
xxx_messageInfo_Deployable_Deployment.DiscardUnknown(m)
}
var xxx_messageInfo_Deployable_Deployment proto.InternalMessageInfo
func (m *Deployable_Deployment) GetUserEmail() string {
if m != nil {
return m.UserEmail
}
return ""
}
func (m *Deployable_Deployment) GetDeployTime() *timestamp.Timestamp {
if m != nil {
return m.DeployTime
}
return nil
}
func (m *Deployable_Deployment) GetUndeployTime() *timestamp.Timestamp {
if m != nil {
return m.UndeployTime
}
return nil
}
func (m *Deployable_Deployment) GetConfig() string {
if m != nil {
return m.Config
}
return ""
}
func (m *Deployable_Deployment) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
func (m *Deployable_Deployment) GetResourceUri() []string {
if m != nil {
return m.ResourceUri
}
return nil
}
func (m *Deployable_Deployment) GetPlatform() Deployable_Deployment_Platform {
if m != nil {
return m.Platform
}
return Deployable_Deployment_PLATFORM_UNSPECIFIED
}
// A note that indicates a type of analysis a provider would perform. This note
// exists in a provider's project. A `Discovery` occurrence is created in a
// consumer's project at the start of analysis. The occurrence's operation will
// indicate the status of the analysis. Absence of an occurrence linked to this
// note for a resource indicates that analysis hasn't started.
type Discovery struct {
// The kind of analysis that is handled by this discovery.
AnalysisKind Note_Kind `protobuf:"varint,1,opt,name=analysis_kind,json=analysisKind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"analysis_kind,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Discovery) Reset() { *m = Discovery{} }
func (m *Discovery) String() string { return proto.CompactTextString(m) }
func (*Discovery) ProtoMessage() {}
func (*Discovery) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{4}
}
func (m *Discovery) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Discovery.Unmarshal(m, b)
}
func (m *Discovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Discovery.Marshal(b, m, deterministic)
}
func (dst *Discovery) XXX_Merge(src proto.Message) {
xxx_messageInfo_Discovery.Merge(dst, src)
}
func (m *Discovery) XXX_Size() int {
return xxx_messageInfo_Discovery.Size(m)
}
func (m *Discovery) XXX_DiscardUnknown() {
xxx_messageInfo_Discovery.DiscardUnknown(m)
}
var xxx_messageInfo_Discovery proto.InternalMessageInfo
func (m *Discovery) GetAnalysisKind() Note_Kind {
if m != nil {
return m.AnalysisKind
}
return Note_KIND_UNSPECIFIED
}
// Provides information about the scan status of a discovered resource.
type Discovery_Discovered struct {
// Output only. An operation that indicates the status of the current scan.
Operation *longrunning.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
// The status of discovery for the resource.
AnalysisStatus Discovery_Discovered_AnalysisStatus `protobuf:"varint,5,opt,name=analysis_status,json=analysisStatus,proto3,enum=google.devtools.containeranalysis.v1alpha1.Discovery_Discovered_AnalysisStatus" json:"analysis_status,omitempty"`
// When an error is encountered this will contain a LocalizedMessage under
// details to show to the user. The LocalizedMessage output only and
// populated by the API.
AnalysisStatusError *status.Status `protobuf:"bytes,6,opt,name=analysis_status_error,json=analysisStatusError,proto3" json:"analysis_status_error,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Discovery_Discovered) Reset() { *m = Discovery_Discovered{} }
func (m *Discovery_Discovered) String() string { return proto.CompactTextString(m) }
func (*Discovery_Discovered) ProtoMessage() {}
func (*Discovery_Discovered) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{4, 0}
}
func (m *Discovery_Discovered) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Discovery_Discovered.Unmarshal(m, b)
}
func (m *Discovery_Discovered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Discovery_Discovered.Marshal(b, m, deterministic)
}
func (dst *Discovery_Discovered) XXX_Merge(src proto.Message) {
xxx_messageInfo_Discovery_Discovered.Merge(dst, src)
}
func (m *Discovery_Discovered) XXX_Size() int {
return xxx_messageInfo_Discovery_Discovered.Size(m)
}
func (m *Discovery_Discovered) XXX_DiscardUnknown() {
xxx_messageInfo_Discovery_Discovered.DiscardUnknown(m)
}
var xxx_messageInfo_Discovery_Discovered proto.InternalMessageInfo
func (m *Discovery_Discovered) GetOperation() *longrunning.Operation {
if m != nil {
return m.Operation
}
return nil
}
func (m *Discovery_Discovered) GetAnalysisStatus() Discovery_Discovered_AnalysisStatus {
if m != nil {
return m.AnalysisStatus
}
return Discovery_Discovered_ANALYSIS_STATUS_UNSPECIFIED
}
func (m *Discovery_Discovered) GetAnalysisStatusError() *status.Status {
if m != nil {
return m.AnalysisStatusError
}
return nil
}
// Note holding the version of the provider's builder and the signature of
// the provenance message in linked BuildDetails.
type BuildType struct {
// Version of the builder which produced this Note.
BuilderVersion string `protobuf:"bytes,1,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"`
// Signature of the build in Occurrences pointing to the Note containing this
// `BuilderDetails`.
Signature *BuildSignature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BuildType) Reset() { *m = BuildType{} }
func (m *BuildType) String() string { return proto.CompactTextString(m) }
func (*BuildType) ProtoMessage() {}
func (*BuildType) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{5}
}
func (m *BuildType) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BuildType.Unmarshal(m, b)
}
func (m *BuildType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BuildType.Marshal(b, m, deterministic)
}
func (dst *BuildType) XXX_Merge(src proto.Message) {
xxx_messageInfo_BuildType.Merge(dst, src)
}
func (m *BuildType) XXX_Size() int {
return xxx_messageInfo_BuildType.Size(m)
}
func (m *BuildType) XXX_DiscardUnknown() {
xxx_messageInfo_BuildType.DiscardUnknown(m)
}
var xxx_messageInfo_BuildType proto.InternalMessageInfo
func (m *BuildType) GetBuilderVersion() string {
if m != nil {
return m.BuilderVersion
}
return ""
}
func (m *BuildType) GetSignature() *BuildSignature {
if m != nil {
return m.Signature
}
return nil
}
// Message encapsulating the signature of the verified build.
type BuildSignature struct {
// Public key of the builder which can be used to verify that the related
// findings are valid and unchanged. If `key_type` is empty, this defaults
// to PEM encoded public keys.
//
// This field may be empty if `key_id` references an external key.
//
// For Cloud Build based signatures, this is a PEM encoded public
// key. To verify the Cloud Build signature, place the contents of
// this field into a file (public.pem). The signature field is base64-decoded
// into its binary representation in signature.bin, and the provenance bytes
// from `BuildDetails` are base64-decoded into a binary representation in
// signed.bin. OpenSSL can then verify the signature:
// `openssl sha256 -verify public.pem -signature signature.bin signed.bin`
PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// Signature of the related `BuildProvenance`, encoded in a base64 string.
Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
// An Id for the key used to sign. This could be either an Id for the key
// stored in `public_key` (such as the Id or fingerprint for a PGP key, or the
// CN for a cert), or a reference to an external key (such as a reference to a
// key in Cloud Key Management Service).
KeyId string `protobuf:"bytes,3,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
// The type of the key, either stored in `public_key` or referenced in
// `key_id`
KeyType BuildSignature_KeyType `protobuf:"varint,4,opt,name=key_type,json=keyType,proto3,enum=google.devtools.containeranalysis.v1alpha1.BuildSignature_KeyType" json:"key_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BuildSignature) Reset() { *m = BuildSignature{} }
func (m *BuildSignature) String() string { return proto.CompactTextString(m) }
func (*BuildSignature) ProtoMessage() {}
func (*BuildSignature) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{6}
}
func (m *BuildSignature) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BuildSignature.Unmarshal(m, b)
}
func (m *BuildSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BuildSignature.Marshal(b, m, deterministic)
}
func (dst *BuildSignature) XXX_Merge(src proto.Message) {
xxx_messageInfo_BuildSignature.Merge(dst, src)
}
func (m *BuildSignature) XXX_Size() int {
return xxx_messageInfo_BuildSignature.Size(m)
}
func (m *BuildSignature) XXX_DiscardUnknown() {
xxx_messageInfo_BuildSignature.DiscardUnknown(m)
}
var xxx_messageInfo_BuildSignature proto.InternalMessageInfo
func (m *BuildSignature) GetPublicKey() string {
if m != nil {
return m.PublicKey
}
return ""
}
func (m *BuildSignature) GetSignature() string {
if m != nil {
return m.Signature
}
return ""
}
func (m *BuildSignature) GetKeyId() string {
if m != nil {
return m.KeyId
}
return ""
}
func (m *BuildSignature) GetKeyType() BuildSignature_KeyType {
if m != nil {
return m.KeyType
}
return BuildSignature_KEY_TYPE_UNSPECIFIED
}
// An attestation wrapper with a PGP-compatible signature.
// This message only supports `ATTACHED` signatures, where the payload that is
// signed is included alongside the signature itself in the same file.
type PgpSignedAttestation struct {
// The raw content of the signature, as output by GNU Privacy Guard (GPG) or
// equivalent. Since this message only supports attached signatures, the
// payload that was signed must be attached. While the signature format
// supported is dependent on the verification implementation, currently only
// ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than
// `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor
// --output=signature.gpg payload.json` will create the signature content
// expected in this field in `signature.gpg` for the `payload.json`
// attestation payload.
Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
// Type (for example schema) of the attestation payload that was signed.
// The verifier must ensure that the provided type is one that the verifier
// supports, and that the attestation payload is a valid instantiation of that
// type (for example by validating a JSON schema).
ContentType PgpSignedAttestation_ContentType `protobuf:"varint,3,opt,name=content_type,json=contentType,proto3,enum=google.devtools.containeranalysis.v1alpha1.PgpSignedAttestation_ContentType" json:"content_type,omitempty"`
// This field is used by verifiers to select the public key used to validate
// the signature. Note that the policy of the verifier ultimately determines
// which public keys verify a signature based on the context of the
// verification. There is no guarantee validation will succeed if the
// verifier has no key matching this ID, even if it has a key under a
// different ID that would verify the signature. Note that this ID should also
// be present in the signature content above, but that is not expected to be
// used by the verifier.
//
// Types that are valid to be assigned to KeyId:
// *PgpSignedAttestation_PgpKeyId
KeyId isPgpSignedAttestation_KeyId `protobuf_oneof:"key_id"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PgpSignedAttestation) Reset() { *m = PgpSignedAttestation{} }
func (m *PgpSignedAttestation) String() string { return proto.CompactTextString(m) }
func (*PgpSignedAttestation) ProtoMessage() {}
func (*PgpSignedAttestation) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{7}
}
func (m *PgpSignedAttestation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PgpSignedAttestation.Unmarshal(m, b)
}
func (m *PgpSignedAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PgpSignedAttestation.Marshal(b, m, deterministic)
}
func (dst *PgpSignedAttestation) XXX_Merge(src proto.Message) {
xxx_messageInfo_PgpSignedAttestation.Merge(dst, src)
}
func (m *PgpSignedAttestation) XXX_Size() int {
return xxx_messageInfo_PgpSignedAttestation.Size(m)
}
func (m *PgpSignedAttestation) XXX_DiscardUnknown() {
xxx_messageInfo_PgpSignedAttestation.DiscardUnknown(m)
}
var xxx_messageInfo_PgpSignedAttestation proto.InternalMessageInfo
func (m *PgpSignedAttestation) GetSignature() string {
if m != nil {
return m.Signature
}
return ""
}
func (m *PgpSignedAttestation) GetContentType() PgpSignedAttestation_ContentType {
if m != nil {
return m.ContentType
}
return PgpSignedAttestation_CONTENT_TYPE_UNSPECIFIED
}
type isPgpSignedAttestation_KeyId interface {
isPgpSignedAttestation_KeyId()
}
type PgpSignedAttestation_PgpKeyId struct {
PgpKeyId string `protobuf:"bytes,2,opt,name=pgp_key_id,json=pgpKeyId,proto3,oneof"`
}
func (*PgpSignedAttestation_PgpKeyId) isPgpSignedAttestation_KeyId() {}
func (m *PgpSignedAttestation) GetKeyId() isPgpSignedAttestation_KeyId {
if m != nil {
return m.KeyId
}
return nil
}
func (m *PgpSignedAttestation) GetPgpKeyId() string {
if x, ok := m.GetKeyId().(*PgpSignedAttestation_PgpKeyId); ok {
return x.PgpKeyId
}
return ""
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*PgpSignedAttestation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _PgpSignedAttestation_OneofMarshaler, _PgpSignedAttestation_OneofUnmarshaler, _PgpSignedAttestation_OneofSizer, []interface{}{
(*PgpSignedAttestation_PgpKeyId)(nil),
}
}
func _PgpSignedAttestation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*PgpSignedAttestation)
// key_id
switch x := m.KeyId.(type) {
case *PgpSignedAttestation_PgpKeyId:
b.EncodeVarint(2<<3 | proto.WireBytes)
b.EncodeStringBytes(x.PgpKeyId)
case nil:
default:
return fmt.Errorf("PgpSignedAttestation.KeyId has unexpected type %T", x)
}
return nil
}
func _PgpSignedAttestation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*PgpSignedAttestation)
switch tag {
case 2: // key_id.pgp_key_id
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeStringBytes()
m.KeyId = &PgpSignedAttestation_PgpKeyId{x}
return true, err
default:
return false, nil
}
}
func _PgpSignedAttestation_OneofSizer(msg proto.Message) (n int) {
m := msg.(*PgpSignedAttestation)
// key_id
switch x := m.KeyId.(type) {
case *PgpSignedAttestation_PgpKeyId:
n += 1 // tag and wire
n += proto.SizeVarint(uint64(len(x.PgpKeyId)))
n += len(x.PgpKeyId)
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
// Note kind that represents a logical attestation "role" or "authority". For
// example, an organization might have one `AttestationAuthority` for "QA" and
// one for "build". This Note is intended to act strictly as a grouping
// mechanism for the attached Occurrences (Attestations). This grouping
// mechanism also provides a security boundary, since IAM ACLs gate the ability
// for a principle to attach an Occurrence to a given Note. It also provides a
// single point of lookup to find all attached Attestation Occurrences, even if
// they don't all live in the same project.
type AttestationAuthority struct {
Hint *AttestationAuthority_AttestationAuthorityHint `protobuf:"bytes,1,opt,name=hint,proto3" json:"hint,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AttestationAuthority) Reset() { *m = AttestationAuthority{} }
func (m *AttestationAuthority) String() string { return proto.CompactTextString(m) }
func (*AttestationAuthority) ProtoMessage() {}
func (*AttestationAuthority) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{8}
}
func (m *AttestationAuthority) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AttestationAuthority.Unmarshal(m, b)
}
func (m *AttestationAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AttestationAuthority.Marshal(b, m, deterministic)
}
func (dst *AttestationAuthority) XXX_Merge(src proto.Message) {
xxx_messageInfo_AttestationAuthority.Merge(dst, src)
}
func (m *AttestationAuthority) XXX_Size() int {
return xxx_messageInfo_AttestationAuthority.Size(m)
}
func (m *AttestationAuthority) XXX_DiscardUnknown() {
xxx_messageInfo_AttestationAuthority.DiscardUnknown(m)
}
var xxx_messageInfo_AttestationAuthority proto.InternalMessageInfo
func (m *AttestationAuthority) GetHint() *AttestationAuthority_AttestationAuthorityHint {
if m != nil {
return m.Hint
}
return nil
}
// This submessage provides human-readable hints about the purpose of the
// AttestationAuthority. Because the name of a Note acts as its resource
// reference, it is important to disambiguate the canonical name of the Note
// (which might be a UUID for security purposes) from "readable" names more
// suitable for debug output. Note that these hints should NOT be used to
// look up AttestationAuthorities in security sensitive contexts, such as when
// looking up Attestations to verify.
type AttestationAuthority_AttestationAuthorityHint struct {
// The human readable name of this Attestation Authority, for example "qa".
HumanReadableName string `protobuf:"bytes,1,opt,name=human_readable_name,json=humanReadableName,proto3" json:"human_readable_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AttestationAuthority_AttestationAuthorityHint) Reset() {
*m = AttestationAuthority_AttestationAuthorityHint{}
}
func (m *AttestationAuthority_AttestationAuthorityHint) String() string {
return proto.CompactTextString(m)
}
func (*AttestationAuthority_AttestationAuthorityHint) ProtoMessage() {}
func (*AttestationAuthority_AttestationAuthorityHint) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{8, 0}
}
func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.Unmarshal(m, b)
}
func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.Marshal(b, m, deterministic)
}
func (dst *AttestationAuthority_AttestationAuthorityHint) XXX_Merge(src proto.Message) {
xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.Merge(dst, src)
}
func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Size() int {
return xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.Size(m)
}
func (m *AttestationAuthority_AttestationAuthorityHint) XXX_DiscardUnknown() {
xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.DiscardUnknown(m)
}
var xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint proto.InternalMessageInfo
func (m *AttestationAuthority_AttestationAuthorityHint) GetHumanReadableName() string {
if m != nil {
return m.HumanReadableName
}
return ""
}
// Occurrence that represents a single "attestation". The authenticity of an
// Attestation can be verified using the attached signature. If the verifier
// trusts the public key of the signer, then verifying the signature is
// sufficient to establish trust. In this circumstance, the
// AttestationAuthority to which this Attestation is attached is primarily
// useful for look-up (how to find this Attestation if you already know the
// Authority and artifact to be verified) and intent (which authority was this
// attestation intended to sign for).
type AttestationAuthority_Attestation struct {
// The signature, generally over the `resource_url`, that verifies this
// attestation. The semantics of the signature veracity are ultimately
// determined by the verification engine.
//
// Types that are valid to be assigned to Signature:
// *AttestationAuthority_Attestation_PgpSignedAttestation
Signature isAttestationAuthority_Attestation_Signature `protobuf_oneof:"signature"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AttestationAuthority_Attestation) Reset() { *m = AttestationAuthority_Attestation{} }
func (m *AttestationAuthority_Attestation) String() string { return proto.CompactTextString(m) }
func (*AttestationAuthority_Attestation) ProtoMessage() {}
func (*AttestationAuthority_Attestation) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{8, 1}
}
func (m *AttestationAuthority_Attestation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AttestationAuthority_Attestation.Unmarshal(m, b)
}
func (m *AttestationAuthority_Attestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AttestationAuthority_Attestation.Marshal(b, m, deterministic)
}
func (dst *AttestationAuthority_Attestation) XXX_Merge(src proto.Message) {
xxx_messageInfo_AttestationAuthority_Attestation.Merge(dst, src)
}
func (m *AttestationAuthority_Attestation) XXX_Size() int {
return xxx_messageInfo_AttestationAuthority_Attestation.Size(m)
}
func (m *AttestationAuthority_Attestation) XXX_DiscardUnknown() {
xxx_messageInfo_AttestationAuthority_Attestation.DiscardUnknown(m)
}
var xxx_messageInfo_AttestationAuthority_Attestation proto.InternalMessageInfo
type isAttestationAuthority_Attestation_Signature interface {
isAttestationAuthority_Attestation_Signature()
}
type AttestationAuthority_Attestation_PgpSignedAttestation struct {
PgpSignedAttestation *PgpSignedAttestation `protobuf:"bytes,1,opt,name=pgp_signed_attestation,json=pgpSignedAttestation,proto3,oneof"`
}
func (*AttestationAuthority_Attestation_PgpSignedAttestation) isAttestationAuthority_Attestation_Signature() {
}
func (m *AttestationAuthority_Attestation) GetSignature() isAttestationAuthority_Attestation_Signature {
if m != nil {
return m.Signature
}
return nil
}
func (m *AttestationAuthority_Attestation) GetPgpSignedAttestation() *PgpSignedAttestation {
if x, ok := m.GetSignature().(*AttestationAuthority_Attestation_PgpSignedAttestation); ok {
return x.PgpSignedAttestation
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*AttestationAuthority_Attestation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _AttestationAuthority_Attestation_OneofMarshaler, _AttestationAuthority_Attestation_OneofUnmarshaler, _AttestationAuthority_Attestation_OneofSizer, []interface{}{
(*AttestationAuthority_Attestation_PgpSignedAttestation)(nil),
}
}
func _AttestationAuthority_Attestation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*AttestationAuthority_Attestation)
// signature
switch x := m.Signature.(type) {
case *AttestationAuthority_Attestation_PgpSignedAttestation:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.PgpSignedAttestation); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("AttestationAuthority_Attestation.Signature has unexpected type %T", x)
}
return nil
}
func _AttestationAuthority_Attestation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*AttestationAuthority_Attestation)
switch tag {
case 1: // signature.pgp_signed_attestation
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(PgpSignedAttestation)
err := b.DecodeMessage(msg)
m.Signature = &AttestationAuthority_Attestation_PgpSignedAttestation{msg}
return true, err
default:
return false, nil
}
}
func _AttestationAuthority_Attestation_OneofSizer(msg proto.Message) (n int) {
m := msg.(*AttestationAuthority_Attestation)
// signature
switch x := m.Signature.(type) {
case *AttestationAuthority_Attestation_PgpSignedAttestation:
s := proto.Size(x.PgpSignedAttestation)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
// Message encapsulating build provenance details.
type BuildDetails struct {
// The actual provenance
Provenance *BuildProvenance `protobuf:"bytes,1,opt,name=provenance,proto3" json:"provenance,omitempty"`
// Serialized JSON representation of the provenance, used in generating the
// `BuildSignature` in the corresponding Result. After verifying the
// signature, `provenance_bytes` can be unmarshalled and compared to the
// provenance to confirm that it is unchanged. A base64-encoded string
// representation of the provenance bytes is used for the signature in order
// to interoperate with openssl which expects this format for signature
// verification.
//
// The serialized form is captured both to avoid ambiguity in how the
// provenance is marshalled to json as well to prevent incompatibilities with
// future changes.
ProvenanceBytes string `protobuf:"bytes,2,opt,name=provenance_bytes,json=provenanceBytes,proto3" json:"provenance_bytes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BuildDetails) Reset() { *m = BuildDetails{} }
func (m *BuildDetails) String() string { return proto.CompactTextString(m) }
func (*BuildDetails) ProtoMessage() {}
func (*BuildDetails) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{9}
}
func (m *BuildDetails) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BuildDetails.Unmarshal(m, b)
}
func (m *BuildDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BuildDetails.Marshal(b, m, deterministic)
}
func (dst *BuildDetails) XXX_Merge(src proto.Message) {
xxx_messageInfo_BuildDetails.Merge(dst, src)
}
func (m *BuildDetails) XXX_Size() int {
return xxx_messageInfo_BuildDetails.Size(m)
}
func (m *BuildDetails) XXX_DiscardUnknown() {
xxx_messageInfo_BuildDetails.DiscardUnknown(m)
}
var xxx_messageInfo_BuildDetails proto.InternalMessageInfo
func (m *BuildDetails) GetProvenance() *BuildProvenance {
if m != nil {
return m.Provenance
}
return nil
}
func (m *BuildDetails) GetProvenanceBytes() string {
if m != nil {
return m.ProvenanceBytes
}
return ""
}
// Indicates various scans and whether they are turned on or off.
type ScanConfig struct {
// Output only. The name of the ScanConfig in the form
// “projects/{project_id}/ScanConfigs/{ScanConfig_id}".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. A human-readable description of what the `ScanConfig` does.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Indicates whether the Scan is enabled.
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ScanConfig) Reset() { *m = ScanConfig{} }
func (m *ScanConfig) String() string { return proto.CompactTextString(m) }
func (*ScanConfig) ProtoMessage() {}
func (*ScanConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{10}
}
func (m *ScanConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ScanConfig.Unmarshal(m, b)
}
func (m *ScanConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ScanConfig.Marshal(b, m, deterministic)
}
func (dst *ScanConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_ScanConfig.Merge(dst, src)
}
func (m *ScanConfig) XXX_Size() int {
return xxx_messageInfo_ScanConfig.Size(m)
}
func (m *ScanConfig) XXX_DiscardUnknown() {
xxx_messageInfo_ScanConfig.DiscardUnknown(m)
}
var xxx_messageInfo_ScanConfig proto.InternalMessageInfo
func (m *ScanConfig) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ScanConfig) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *ScanConfig) GetEnabled() bool {
if m != nil {
return m.Enabled
}
return false
}
// Request to get a Occurrence.
type GetOccurrenceRequest struct {
// The name of the occurrence of the form
// "projects/{project_id}/occurrences/{OCCURRENCE_ID}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetOccurrenceRequest) Reset() { *m = GetOccurrenceRequest{} }
func (m *GetOccurrenceRequest) String() string { return proto.CompactTextString(m) }
func (*GetOccurrenceRequest) ProtoMessage() {}
func (*GetOccurrenceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{11}
}
func (m *GetOccurrenceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetOccurrenceRequest.Unmarshal(m, b)
}
func (m *GetOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetOccurrenceRequest.Marshal(b, m, deterministic)
}
func (dst *GetOccurrenceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetOccurrenceRequest.Merge(dst, src)
}
func (m *GetOccurrenceRequest) XXX_Size() int {
return xxx_messageInfo_GetOccurrenceRequest.Size(m)
}
func (m *GetOccurrenceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetOccurrenceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetOccurrenceRequest proto.InternalMessageInfo
func (m *GetOccurrenceRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Request to list occurrences.
type ListOccurrencesRequest struct {
// The name field contains the project Id. For example:
// "projects/{project_id}
// @Deprecated
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// This contains the project Id for example: projects/{project_id}.
Parent string `protobuf:"bytes,5,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"`
// The kind of occurrences to filter on.
Kind Note_Kind `protobuf:"varint,6,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"kind,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListOccurrencesRequest) Reset() { *m = ListOccurrencesRequest{} }
func (m *ListOccurrencesRequest) String() string { return proto.CompactTextString(m) }
func (*ListOccurrencesRequest) ProtoMessage() {}
func (*ListOccurrencesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{12}
}
func (m *ListOccurrencesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListOccurrencesRequest.Unmarshal(m, b)
}
func (m *ListOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListOccurrencesRequest.Marshal(b, m, deterministic)
}
func (dst *ListOccurrencesRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListOccurrencesRequest.Merge(dst, src)
}
func (m *ListOccurrencesRequest) XXX_Size() int {
return xxx_messageInfo_ListOccurrencesRequest.Size(m)
}
func (m *ListOccurrencesRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListOccurrencesRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListOccurrencesRequest proto.InternalMessageInfo
func (m *ListOccurrencesRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ListOccurrencesRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *ListOccurrencesRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *ListOccurrencesRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListOccurrencesRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
func (m *ListOccurrencesRequest) GetKind() Note_Kind {
if m != nil {
return m.Kind
}
return Note_KIND_UNSPECIFIED
}
// Response including listed active occurrences.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListOccurrencesResponse) Reset() { *m = ListOccurrencesResponse{} }
func (m *ListOccurrencesResponse) String() string { return proto.CompactTextString(m) }
func (*ListOccurrencesResponse) ProtoMessage() {}
func (*ListOccurrencesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{13}
}
func (m *ListOccurrencesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListOccurrencesResponse.Unmarshal(m, b)
}
func (m *ListOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListOccurrencesResponse.Marshal(b, m, deterministic)
}
func (dst *ListOccurrencesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListOccurrencesResponse.Merge(dst, src)
}
func (m *ListOccurrencesResponse) XXX_Size() int {
return xxx_messageInfo_ListOccurrencesResponse.Size(m)
}
func (m *ListOccurrencesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListOccurrencesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListOccurrencesResponse proto.InternalMessageInfo
func (m *ListOccurrencesResponse) GetOccurrences() []*Occurrence {
if m != nil {
return m.Occurrences
}
return nil
}
func (m *ListOccurrencesResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// Request to delete a occurrence
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteOccurrenceRequest) Reset() { *m = DeleteOccurrenceRequest{} }
func (m *DeleteOccurrenceRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteOccurrenceRequest) ProtoMessage() {}
func (*DeleteOccurrenceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{14}
}
func (m *DeleteOccurrenceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteOccurrenceRequest.Unmarshal(m, b)
}
func (m *DeleteOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteOccurrenceRequest.Marshal(b, m, deterministic)
}
func (dst *DeleteOccurrenceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteOccurrenceRequest.Merge(dst, src)
}
func (m *DeleteOccurrenceRequest) XXX_Size() int {
return xxx_messageInfo_DeleteOccurrenceRequest.Size(m)
}
func (m *DeleteOccurrenceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteOccurrenceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteOccurrenceRequest proto.InternalMessageInfo
func (m *DeleteOccurrenceRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Request to insert a new occurrence.
type CreateOccurrenceRequest struct {
// The name of the project. Should be of the form "projects/{project_id}".
// @Deprecated
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// This field contains the project Id for example: "projects/{project_id}"
Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
// The occurrence to be inserted
Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateOccurrenceRequest) Reset() { *m = CreateOccurrenceRequest{} }
func (m *CreateOccurrenceRequest) String() string { return proto.CompactTextString(m) }
func (*CreateOccurrenceRequest) ProtoMessage() {}
func (*CreateOccurrenceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{15}
}
func (m *CreateOccurrenceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateOccurrenceRequest.Unmarshal(m, b)
}
func (m *CreateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateOccurrenceRequest.Marshal(b, m, deterministic)
}
func (dst *CreateOccurrenceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateOccurrenceRequest.Merge(dst, src)
}
func (m *CreateOccurrenceRequest) XXX_Size() int {
return xxx_messageInfo_CreateOccurrenceRequest.Size(m)
}
func (m *CreateOccurrenceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateOccurrenceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateOccurrenceRequest proto.InternalMessageInfo
func (m *CreateOccurrenceRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CreateOccurrenceRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *CreateOccurrenceRequest) GetOccurrence() *Occurrence {
if m != nil {
return m.Occurrence
}
return nil
}
// Request to update an existing occurrence
type UpdateOccurrenceRequest struct {
// The name of the occurrence.
// Should be of the form "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 *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateOccurrenceRequest) Reset() { *m = UpdateOccurrenceRequest{} }
func (m *UpdateOccurrenceRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateOccurrenceRequest) ProtoMessage() {}
func (*UpdateOccurrenceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{16}
}
func (m *UpdateOccurrenceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateOccurrenceRequest.Unmarshal(m, b)
}
func (m *UpdateOccurrenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateOccurrenceRequest.Marshal(b, m, deterministic)
}
func (dst *UpdateOccurrenceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateOccurrenceRequest.Merge(dst, src)
}
func (m *UpdateOccurrenceRequest) XXX_Size() int {
return xxx_messageInfo_UpdateOccurrenceRequest.Size(m)
}
func (m *UpdateOccurrenceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateOccurrenceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateOccurrenceRequest proto.InternalMessageInfo
func (m *UpdateOccurrenceRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *UpdateOccurrenceRequest) GetOccurrence() *Occurrence {
if m != nil {
return m.Occurrence
}
return nil
}
func (m *UpdateOccurrenceRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
// Request to get a Note.
type GetNoteRequest struct {
// The name of the note in the form of
// "providers/{provider_id}/notes/{NOTE_ID}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetNoteRequest) Reset() { *m = GetNoteRequest{} }
func (m *GetNoteRequest) String() string { return proto.CompactTextString(m) }
func (*GetNoteRequest) ProtoMessage() {}
func (*GetNoteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{17}
}
func (m *GetNoteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetNoteRequest.Unmarshal(m, b)
}
func (m *GetNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetNoteRequest.Marshal(b, m, deterministic)
}
func (dst *GetNoteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetNoteRequest.Merge(dst, src)
}
func (m *GetNoteRequest) XXX_Size() int {
return xxx_messageInfo_GetNoteRequest.Size(m)
}
func (m *GetNoteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetNoteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetNoteRequest proto.InternalMessageInfo
func (m *GetNoteRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Request to get the note to which this occurrence is attached.
type GetOccurrenceNoteRequest struct {
// The name of the occurrence in the form
// "projects/{project_id}/occurrences/{OCCURRENCE_ID}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetOccurrenceNoteRequest) Reset() { *m = GetOccurrenceNoteRequest{} }
func (m *GetOccurrenceNoteRequest) String() string { return proto.CompactTextString(m) }
func (*GetOccurrenceNoteRequest) ProtoMessage() {}
func (*GetOccurrenceNoteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{18}
}
func (m *GetOccurrenceNoteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetOccurrenceNoteRequest.Unmarshal(m, b)
}
func (m *GetOccurrenceNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetOccurrenceNoteRequest.Marshal(b, m, deterministic)
}
func (dst *GetOccurrenceNoteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetOccurrenceNoteRequest.Merge(dst, src)
}
func (m *GetOccurrenceNoteRequest) XXX_Size() int {
return xxx_messageInfo_GetOccurrenceNoteRequest.Size(m)
}
func (m *GetOccurrenceNoteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetOccurrenceNoteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetOccurrenceNoteRequest proto.InternalMessageInfo
func (m *GetOccurrenceNoteRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Request to list notes.
type ListNotesRequest struct {
// The name field will contain the project Id for example:
// "providers/{provider_id}
// @Deprecated
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// This field contains the project Id for example: "projects/{PROJECT_ID}".
Parent string `protobuf:"bytes,5,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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListNotesRequest) Reset() { *m = ListNotesRequest{} }
func (m *ListNotesRequest) String() string { return proto.CompactTextString(m) }
func (*ListNotesRequest) ProtoMessage() {}
func (*ListNotesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{19}
}
func (m *ListNotesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListNotesRequest.Unmarshal(m, b)
}
func (m *ListNotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListNotesRequest.Marshal(b, m, deterministic)
}
func (dst *ListNotesRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListNotesRequest.Merge(dst, src)
}
func (m *ListNotesRequest) XXX_Size() int {
return xxx_messageInfo_ListNotesRequest.Size(m)
}
func (m *ListNotesRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListNotesRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListNotesRequest proto.InternalMessageInfo
func (m *ListNotesRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ListNotesRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *ListNotesRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *ListNotesRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListNotesRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
// Response including listed notes.
type ListNotesResponse struct {
// The occurrences 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 result.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListNotesResponse) Reset() { *m = ListNotesResponse{} }
func (m *ListNotesResponse) String() string { return proto.CompactTextString(m) }
func (*ListNotesResponse) ProtoMessage() {}
func (*ListNotesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{20}
}
func (m *ListNotesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListNotesResponse.Unmarshal(m, b)
}
func (m *ListNotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListNotesResponse.Marshal(b, m, deterministic)
}
func (dst *ListNotesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListNotesResponse.Merge(dst, src)
}
func (m *ListNotesResponse) XXX_Size() int {
return xxx_messageInfo_ListNotesResponse.Size(m)
}
func (m *ListNotesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListNotesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListNotesResponse proto.InternalMessageInfo
func (m *ListNotesResponse) GetNotes() []*Note {
if m != nil {
return m.Notes
}
return nil
}
func (m *ListNotesResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// Request to delete a note
type DeleteNoteRequest struct {
// The name of the note in the form of
// "providers/{provider_id}/notes/{NOTE_ID}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteNoteRequest) Reset() { *m = DeleteNoteRequest{} }
func (m *DeleteNoteRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteNoteRequest) ProtoMessage() {}
func (*DeleteNoteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{21}
}
func (m *DeleteNoteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteNoteRequest.Unmarshal(m, b)
}
func (m *DeleteNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteNoteRequest.Marshal(b, m, deterministic)
}
func (dst *DeleteNoteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteNoteRequest.Merge(dst, src)
}
func (m *DeleteNoteRequest) XXX_Size() int {
return xxx_messageInfo_DeleteNoteRequest.Size(m)
}
func (m *DeleteNoteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteNoteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteNoteRequest proto.InternalMessageInfo
func (m *DeleteNoteRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Request to insert a new note
type CreateNoteRequest struct {
// The name of the project.
// Should be of the form "providers/{provider_id}".
// @Deprecated
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// This field contains the project Id for example:
// "projects/{project_id}
Parent string `protobuf:"bytes,4,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 be inserted
Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateNoteRequest) Reset() { *m = CreateNoteRequest{} }
func (m *CreateNoteRequest) String() string { return proto.CompactTextString(m) }
func (*CreateNoteRequest) ProtoMessage() {}
func (*CreateNoteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{22}
}
func (m *CreateNoteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateNoteRequest.Unmarshal(m, b)
}
func (m *CreateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateNoteRequest.Marshal(b, m, deterministic)
}
func (dst *CreateNoteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateNoteRequest.Merge(dst, src)
}
func (m *CreateNoteRequest) XXX_Size() int {
return xxx_messageInfo_CreateNoteRequest.Size(m)
}
func (m *CreateNoteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateNoteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateNoteRequest proto.InternalMessageInfo
func (m *CreateNoteRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CreateNoteRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *CreateNoteRequest) GetNoteId() string {
if m != nil {
return m.NoteId
}
return ""
}
func (m *CreateNoteRequest) GetNote() *Note {
if m != nil {
return m.Note
}
return nil
}
// Request to update an existing note
type UpdateNoteRequest struct {
// The name of the note.
// Should be of the form "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 *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateNoteRequest) Reset() { *m = UpdateNoteRequest{} }
func (m *UpdateNoteRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateNoteRequest) ProtoMessage() {}
func (*UpdateNoteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{23}
}
func (m *UpdateNoteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateNoteRequest.Unmarshal(m, b)
}
func (m *UpdateNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateNoteRequest.Marshal(b, m, deterministic)
}
func (dst *UpdateNoteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateNoteRequest.Merge(dst, src)
}
func (m *UpdateNoteRequest) XXX_Size() int {
return xxx_messageInfo_UpdateNoteRequest.Size(m)
}
func (m *UpdateNoteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateNoteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateNoteRequest proto.InternalMessageInfo
func (m *UpdateNoteRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *UpdateNoteRequest) GetNote() *Note {
if m != nil {
return m.Note
}
return nil
}
func (m *UpdateNoteRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
// Request to list occurrences.
type ListNoteOccurrencesRequest struct {
// The name field will contain the note name for example:
// "provider/{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 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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListNoteOccurrencesRequest) Reset() { *m = ListNoteOccurrencesRequest{} }
func (m *ListNoteOccurrencesRequest) String() string { return proto.CompactTextString(m) }
func (*ListNoteOccurrencesRequest) ProtoMessage() {}
func (*ListNoteOccurrencesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{24}
}
func (m *ListNoteOccurrencesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListNoteOccurrencesRequest.Unmarshal(m, b)
}
func (m *ListNoteOccurrencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListNoteOccurrencesRequest.Marshal(b, m, deterministic)
}
func (dst *ListNoteOccurrencesRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListNoteOccurrencesRequest.Merge(dst, src)
}
func (m *ListNoteOccurrencesRequest) XXX_Size() int {
return xxx_messageInfo_ListNoteOccurrencesRequest.Size(m)
}
func (m *ListNoteOccurrencesRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListNoteOccurrencesRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListNoteOccurrencesRequest proto.InternalMessageInfo
func (m *ListNoteOccurrencesRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ListNoteOccurrencesRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *ListNoteOccurrencesRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListNoteOccurrencesRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
// Response including listed occurrences for a note.
type ListNoteOccurrencesResponse struct {
// The occurrences attached to the specified note.
Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
// Token to receive the next page of notes.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListNoteOccurrencesResponse) Reset() { *m = ListNoteOccurrencesResponse{} }
func (m *ListNoteOccurrencesResponse) String() string { return proto.CompactTextString(m) }
func (*ListNoteOccurrencesResponse) ProtoMessage() {}
func (*ListNoteOccurrencesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{25}
}
func (m *ListNoteOccurrencesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListNoteOccurrencesResponse.Unmarshal(m, b)
}
func (m *ListNoteOccurrencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListNoteOccurrencesResponse.Marshal(b, m, deterministic)
}
func (dst *ListNoteOccurrencesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListNoteOccurrencesResponse.Merge(dst, src)
}
func (m *ListNoteOccurrencesResponse) XXX_Size() int {
return xxx_messageInfo_ListNoteOccurrencesResponse.Size(m)
}
func (m *ListNoteOccurrencesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListNoteOccurrencesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListNoteOccurrencesResponse proto.InternalMessageInfo
func (m *ListNoteOccurrencesResponse) GetOccurrences() []*Occurrence {
if m != nil {
return m.Occurrences
}
return nil
}
func (m *ListNoteOccurrencesResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// Request for creating an operation
type CreateOperationRequest struct {
// The project Id that this operation should be created under.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The ID to use for this operation.
OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
// The operation to create.
Operation *longrunning.Operation `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateOperationRequest) Reset() { *m = CreateOperationRequest{} }
func (m *CreateOperationRequest) String() string { return proto.CompactTextString(m) }
func (*CreateOperationRequest) ProtoMessage() {}
func (*CreateOperationRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{26}
}
func (m *CreateOperationRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateOperationRequest.Unmarshal(m, b)
}
func (m *CreateOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateOperationRequest.Marshal(b, m, deterministic)
}
func (dst *CreateOperationRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateOperationRequest.Merge(dst, src)
}
func (m *CreateOperationRequest) XXX_Size() int {
return xxx_messageInfo_CreateOperationRequest.Size(m)
}
func (m *CreateOperationRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateOperationRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateOperationRequest proto.InternalMessageInfo
func (m *CreateOperationRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *CreateOperationRequest) GetOperationId() string {
if m != nil {
return m.OperationId
}
return ""
}
func (m *CreateOperationRequest) GetOperation() *longrunning.Operation {
if m != nil {
return m.Operation
}
return nil
}
// Request for updating an existing operation
type UpdateOperationRequest struct {
// The name of the Operation.
// Should be of the form "projects/{provider_id}/operations/{operation_id}".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The operation to create.
Operation *longrunning.Operation `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"`
UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateOperationRequest) Reset() { *m = UpdateOperationRequest{} }
func (m *UpdateOperationRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateOperationRequest) ProtoMessage() {}
func (*UpdateOperationRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{27}
}
func (m *UpdateOperationRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateOperationRequest.Unmarshal(m, b)
}
func (m *UpdateOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateOperationRequest.Marshal(b, m, deterministic)
}
func (dst *UpdateOperationRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateOperationRequest.Merge(dst, src)
}
func (m *UpdateOperationRequest) XXX_Size() int {
return xxx_messageInfo_UpdateOperationRequest.Size(m)
}
func (m *UpdateOperationRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateOperationRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateOperationRequest proto.InternalMessageInfo
func (m *UpdateOperationRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *UpdateOperationRequest) GetOperation() *longrunning.Operation {
if m != nil {
return m.Operation
}
return nil
}
func (m *UpdateOperationRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
// Metadata for all operations used and required for all operations
// that created by Container Analysis Providers
type OperationMetadata struct {
// Output only. The time this operation was created.
CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time that this operation was marked completed or failed.
EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *OperationMetadata) Reset() { *m = OperationMetadata{} }
func (m *OperationMetadata) String() string { return proto.CompactTextString(m) }
func (*OperationMetadata) ProtoMessage() {}
func (*OperationMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{28}
}
func (m *OperationMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_OperationMetadata.Unmarshal(m, b)
}
func (m *OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_OperationMetadata.Marshal(b, m, deterministic)
}
func (dst *OperationMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_OperationMetadata.Merge(dst, src)
}
func (m *OperationMetadata) XXX_Size() int {
return xxx_messageInfo_OperationMetadata.Size(m)
}
func (m *OperationMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_OperationMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_OperationMetadata proto.InternalMessageInfo
func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *OperationMetadata) GetEndTime() *timestamp.Timestamp {
if m != nil {
return m.EndTime
}
return nil
}
// Request to get the vulnz summary for some set of vulnerability Occurrences.
type GetVulnzOccurrencesSummaryRequest struct {
// This contains the project Id for example: 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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetVulnzOccurrencesSummaryRequest) Reset() { *m = GetVulnzOccurrencesSummaryRequest{} }
func (m *GetVulnzOccurrencesSummaryRequest) String() string { return proto.CompactTextString(m) }
func (*GetVulnzOccurrencesSummaryRequest) ProtoMessage() {}
func (*GetVulnzOccurrencesSummaryRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{29}
}
func (m *GetVulnzOccurrencesSummaryRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.Unmarshal(m, b)
}
func (m *GetVulnzOccurrencesSummaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.Marshal(b, m, deterministic)
}
func (dst *GetVulnzOccurrencesSummaryRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.Merge(dst, src)
}
func (m *GetVulnzOccurrencesSummaryRequest) XXX_Size() int {
return xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.Size(m)
}
func (m *GetVulnzOccurrencesSummaryRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetVulnzOccurrencesSummaryRequest proto.InternalMessageInfo
func (m *GetVulnzOccurrencesSummaryRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *GetVulnzOccurrencesSummaryRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
// A summary of how many vulnz occurrences there are per severity type.
// counts by groups, or if we should have different summary messages
// like this.
type GetVulnzOccurrencesSummaryResponse struct {
// A map of how many occurrences were found for each severity.
Counts []*GetVulnzOccurrencesSummaryResponse_SeverityCount `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetVulnzOccurrencesSummaryResponse) Reset() { *m = GetVulnzOccurrencesSummaryResponse{} }
func (m *GetVulnzOccurrencesSummaryResponse) String() string { return proto.CompactTextString(m) }
func (*GetVulnzOccurrencesSummaryResponse) ProtoMessage() {}
func (*GetVulnzOccurrencesSummaryResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{30}
}
func (m *GetVulnzOccurrencesSummaryResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.Unmarshal(m, b)
}
func (m *GetVulnzOccurrencesSummaryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.Marshal(b, m, deterministic)
}
func (dst *GetVulnzOccurrencesSummaryResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.Merge(dst, src)
}
func (m *GetVulnzOccurrencesSummaryResponse) XXX_Size() int {
return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.Size(m)
}
func (m *GetVulnzOccurrencesSummaryResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetVulnzOccurrencesSummaryResponse proto.InternalMessageInfo
func (m *GetVulnzOccurrencesSummaryResponse) GetCounts() []*GetVulnzOccurrencesSummaryResponse_SeverityCount {
if m != nil {
return m.Counts
}
return nil
}
// The number of occurrences created for a specific severity.
type GetVulnzOccurrencesSummaryResponse_SeverityCount struct {
// The severity of the occurrences.
Severity VulnerabilityType_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=google.devtools.containeranalysis.v1alpha1.VulnerabilityType_Severity" json:"severity,omitempty"`
// The number of occurrences with the severity.
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) Reset() {
*m = GetVulnzOccurrencesSummaryResponse_SeverityCount{}
}
func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) String() string {
return proto.CompactTextString(m)
}
func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) ProtoMessage() {}
func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{30, 0}
}
func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.Unmarshal(m, b)
}
func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.Marshal(b, m, deterministic)
}
func (dst *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.Merge(dst, src)
}
func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Size() int {
return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.Size(m)
}
func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_DiscardUnknown() {
xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.DiscardUnknown(m)
}
var xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount proto.InternalMessageInfo
func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) GetSeverity() VulnerabilityType_Severity {
if m != nil {
return m.Severity
}
return VulnerabilityType_SEVERITY_UNSPECIFIED
}
func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) GetCount() int64 {
if m != nil {
return m.Count
}
return 0
}
// Request to get a ScanConfig.
type GetScanConfigRequest struct {
// The name of the ScanConfig in the form
// projects/{project_id}/scan_configs/{ScanConfig_id}
// instead.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetScanConfigRequest) Reset() { *m = GetScanConfigRequest{} }
func (m *GetScanConfigRequest) String() string { return proto.CompactTextString(m) }
func (*GetScanConfigRequest) ProtoMessage() {}
func (*GetScanConfigRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{31}
}
func (m *GetScanConfigRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetScanConfigRequest.Unmarshal(m, b)
}
func (m *GetScanConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetScanConfigRequest.Marshal(b, m, deterministic)
}
func (dst *GetScanConfigRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetScanConfigRequest.Merge(dst, src)
}
func (m *GetScanConfigRequest) XXX_Size() int {
return xxx_messageInfo_GetScanConfigRequest.Size(m)
}
func (m *GetScanConfigRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetScanConfigRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetScanConfigRequest proto.InternalMessageInfo
func (m *GetScanConfigRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Request to list the available scan configurations.
type ListScanConfigsRequest struct {
// This containers the project Id i.e.: projects/{project_id}
// instead.
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"`
// The number of items to return.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page token to use for the next request.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListScanConfigsRequest) Reset() { *m = ListScanConfigsRequest{} }
func (m *ListScanConfigsRequest) String() string { return proto.CompactTextString(m) }
func (*ListScanConfigsRequest) ProtoMessage() {}
func (*ListScanConfigsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{32}
}
func (m *ListScanConfigsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListScanConfigsRequest.Unmarshal(m, b)
}
func (m *ListScanConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListScanConfigsRequest.Marshal(b, m, deterministic)
}
func (dst *ListScanConfigsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListScanConfigsRequest.Merge(dst, src)
}
func (m *ListScanConfigsRequest) XXX_Size() int {
return xxx_messageInfo_ListScanConfigsRequest.Size(m)
}
func (m *ListScanConfigsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListScanConfigsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListScanConfigsRequest proto.InternalMessageInfo
func (m *ListScanConfigsRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *ListScanConfigsRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *ListScanConfigsRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListScanConfigsRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
// A list of ScanConfigs for the project.
type ListScanConfigsResponse struct {
// The set of scan configs
ScanConfigs []*ScanConfig `protobuf:"bytes,1,rep,name=scan_configs,json=scanConfigs,proto3" json:"scan_configs,omitempty"`
// A page token to pass in order to get more scans.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListScanConfigsResponse) Reset() { *m = ListScanConfigsResponse{} }
func (m *ListScanConfigsResponse) String() string { return proto.CompactTextString(m) }
func (*ListScanConfigsResponse) ProtoMessage() {}
func (*ListScanConfigsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{33}
}
func (m *ListScanConfigsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListScanConfigsResponse.Unmarshal(m, b)
}
func (m *ListScanConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListScanConfigsResponse.Marshal(b, m, deterministic)
}
func (dst *ListScanConfigsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListScanConfigsResponse.Merge(dst, src)
}
func (m *ListScanConfigsResponse) XXX_Size() int {
return xxx_messageInfo_ListScanConfigsResponse.Size(m)
}
func (m *ListScanConfigsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListScanConfigsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListScanConfigsResponse proto.InternalMessageInfo
func (m *ListScanConfigsResponse) GetScanConfigs() []*ScanConfig {
if m != nil {
return m.ScanConfigs
}
return nil
}
func (m *ListScanConfigsResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// A request to update a ScanConfig.
type UpdateScanConfigRequest struct {
// The scan config to update of the form
// projects/{project_id}/scan_configs/{ScanConfig_id}
// instead.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The new scan configuration
ScanConfig *ScanConfig `protobuf:"bytes,2,opt,name=scan_config,json=scanConfig,proto3" json:"scan_config,omitempty"`
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateScanConfigRequest) Reset() { *m = UpdateScanConfigRequest{} }
func (m *UpdateScanConfigRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateScanConfigRequest) ProtoMessage() {}
func (*UpdateScanConfigRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_containeranalysis_7302a99efbbe81f1, []int{34}
}
func (m *UpdateScanConfigRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateScanConfigRequest.Unmarshal(m, b)
}
func (m *UpdateScanConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateScanConfigRequest.Marshal(b, m, deterministic)
}
func (dst *UpdateScanConfigRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateScanConfigRequest.Merge(dst, src)
}
func (m *UpdateScanConfigRequest) XXX_Size() int {
return xxx_messageInfo_UpdateScanConfigRequest.Size(m)
}
func (m *UpdateScanConfigRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateScanConfigRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateScanConfigRequest proto.InternalMessageInfo
func (m *UpdateScanConfigRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *UpdateScanConfigRequest) GetScanConfig() *ScanConfig {
if m != nil {
return m.ScanConfig
}
return nil
}
func (m *UpdateScanConfigRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
func init() {
proto.RegisterType((*Occurrence)(nil), "google.devtools.containeranalysis.v1alpha1.Occurrence")
proto.RegisterType((*Resource)(nil), "google.devtools.containeranalysis.v1alpha1.Resource")
proto.RegisterType((*Note)(nil), "google.devtools.containeranalysis.v1alpha1.Note")
proto.RegisterType((*Note_RelatedUrl)(nil), "google.devtools.containeranalysis.v1alpha1.Note.RelatedUrl")
proto.RegisterType((*Deployable)(nil), "google.devtools.containeranalysis.v1alpha1.Deployable")
proto.RegisterType((*Deployable_Deployment)(nil), "google.devtools.containeranalysis.v1alpha1.Deployable.Deployment")
proto.RegisterType((*Discovery)(nil), "google.devtools.containeranalysis.v1alpha1.Discovery")
proto.RegisterType((*Discovery_Discovered)(nil), "google.devtools.containeranalysis.v1alpha1.Discovery.Discovered")
proto.RegisterType((*BuildType)(nil), "google.devtools.containeranalysis.v1alpha1.BuildType")
proto.RegisterType((*BuildSignature)(nil), "google.devtools.containeranalysis.v1alpha1.BuildSignature")
proto.RegisterType((*PgpSignedAttestation)(nil), "google.devtools.containeranalysis.v1alpha1.PgpSignedAttestation")
proto.RegisterType((*AttestationAuthority)(nil), "google.devtools.containeranalysis.v1alpha1.AttestationAuthority")
proto.RegisterType((*AttestationAuthority_AttestationAuthorityHint)(nil), "google.devtools.containeranalysis.v1alpha1.AttestationAuthority.AttestationAuthorityHint")
proto.RegisterType((*AttestationAuthority_Attestation)(nil), "google.devtools.containeranalysis.v1alpha1.AttestationAuthority.Attestation")
proto.RegisterType((*BuildDetails)(nil), "google.devtools.containeranalysis.v1alpha1.BuildDetails")
proto.RegisterType((*ScanConfig)(nil), "google.devtools.containeranalysis.v1alpha1.ScanConfig")
proto.RegisterType((*GetOccurrenceRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetOccurrenceRequest")
proto.RegisterType((*ListOccurrencesRequest)(nil), "google.devtools.containeranalysis.v1alpha1.ListOccurrencesRequest")
proto.RegisterType((*ListOccurrencesResponse)(nil), "google.devtools.containeranalysis.v1alpha1.ListOccurrencesResponse")
proto.RegisterType((*DeleteOccurrenceRequest)(nil), "google.devtools.containeranalysis.v1alpha1.DeleteOccurrenceRequest")
proto.RegisterType((*CreateOccurrenceRequest)(nil), "google.devtools.containeranalysis.v1alpha1.CreateOccurrenceRequest")
proto.RegisterType((*UpdateOccurrenceRequest)(nil), "google.devtools.containeranalysis.v1alpha1.UpdateOccurrenceRequest")
proto.RegisterType((*GetNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetNoteRequest")
proto.RegisterType((*GetOccurrenceNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetOccurrenceNoteRequest")
proto.RegisterType((*ListNotesRequest)(nil), "google.devtools.containeranalysis.v1alpha1.ListNotesRequest")
proto.RegisterType((*ListNotesResponse)(nil), "google.devtools.containeranalysis.v1alpha1.ListNotesResponse")
proto.RegisterType((*DeleteNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.DeleteNoteRequest")
proto.RegisterType((*CreateNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.CreateNoteRequest")
proto.RegisterType((*UpdateNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.UpdateNoteRequest")
proto.RegisterType((*ListNoteOccurrencesRequest)(nil), "google.devtools.containeranalysis.v1alpha1.ListNoteOccurrencesRequest")
proto.RegisterType((*ListNoteOccurrencesResponse)(nil), "google.devtools.containeranalysis.v1alpha1.ListNoteOccurrencesResponse")
proto.RegisterType((*CreateOperationRequest)(nil), "google.devtools.containeranalysis.v1alpha1.CreateOperationRequest")
proto.RegisterType((*UpdateOperationRequest)(nil), "google.devtools.containeranalysis.v1alpha1.UpdateOperationRequest")
proto.RegisterType((*OperationMetadata)(nil), "google.devtools.containeranalysis.v1alpha1.OperationMetadata")
proto.RegisterType((*GetVulnzOccurrencesSummaryRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetVulnzOccurrencesSummaryRequest")
proto.RegisterType((*GetVulnzOccurrencesSummaryResponse)(nil), "google.devtools.containeranalysis.v1alpha1.GetVulnzOccurrencesSummaryResponse")
proto.RegisterType((*GetVulnzOccurrencesSummaryResponse_SeverityCount)(nil), "google.devtools.containeranalysis.v1alpha1.GetVulnzOccurrencesSummaryResponse.SeverityCount")
proto.RegisterType((*GetScanConfigRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetScanConfigRequest")
proto.RegisterType((*ListScanConfigsRequest)(nil), "google.devtools.containeranalysis.v1alpha1.ListScanConfigsRequest")
proto.RegisterType((*ListScanConfigsResponse)(nil), "google.devtools.containeranalysis.v1alpha1.ListScanConfigsResponse")
proto.RegisterType((*UpdateScanConfigRequest)(nil), "google.devtools.containeranalysis.v1alpha1.UpdateScanConfigRequest")
proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.Note_Kind", Note_Kind_name, Note_Kind_value)
proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.Deployable_Deployment_Platform", Deployable_Deployment_Platform_name, Deployable_Deployment_Platform_value)
proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.Discovery_Discovered_AnalysisStatus", Discovery_Discovered_AnalysisStatus_name, Discovery_Discovered_AnalysisStatus_value)
proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.BuildSignature_KeyType", BuildSignature_KeyType_name, BuildSignature_KeyType_value)
proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.PgpSignedAttestation_ContentType", PgpSignedAttestation_ContentType_name, PgpSignedAttestation_ContentType_value)
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// ContainerAnalysisClient is the client API for ContainerAnalysis service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ContainerAnalysisClient interface {
// Returns the requested `Occurrence`.
GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
// Lists active `Occurrences` for a given project matching the filters.
ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error)
// Deletes the given `Occurrence` from the system. Use this when
// an `Occurrence` is no longer applicable for the given resource.
DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error)
// Creates a new `Occurrence`. Use this method to create `Occurrences`
// for a resource.
CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
// Updates an existing occurrence.
UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error)
// Gets the `Note` attached to the given `Occurrence`.
GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error)
// Returns the requested `Note`.
GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error)
// Lists all `Notes` for a given project.
ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error)
// Deletes the given `Note` from the system.
DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
// Creates a new `Note`.
CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error)
// Updates an existing `Note`.
UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error)
// Lists `Occurrences` referencing the specified `Note`. Use this method to
// get all occurrences referencing your `Note` across all your customer
// projects.
ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error)
// Gets a summary of the number and severity of occurrences.
GetVulnzOccurrencesSummary(ctx context.Context, in *GetVulnzOccurrencesSummaryRequest, opts ...grpc.CallOption) (*GetVulnzOccurrencesSummaryResponse, error)
// Sets the access control policy on the specified `Note` or `Occurrence`.
// Requires `containeranalysis.notes.setIamPolicy` or
// `containeranalysis.occurrences.setIamPolicy` permission if the resource is
// a `Note` or an `Occurrence`, respectively.
// Attempting to call this method without these permissions will result in a `
// `PERMISSION_DENIED` error.
// Attempting to call this method on a non-existent resource will result in a
// `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission
// on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or
// a `PERMISSION_DENIED` error otherwise. The resource takes the following
// formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences
// and projects/{projectid}/notes/{noteid} for notes
SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
// Gets the access control policy for a note or an `Occurrence` resource.
// Requires `containeranalysis.notes.setIamPolicy` or
// `containeranalysis.occurrences.setIamPolicy` permission if the resource is
// a note or occurrence, respectively.
// Attempting to call this method on a resource without the required
// permission will result in a `PERMISSION_DENIED` error. Attempting to call
// this method on a non-existent resource will result in a `NOT_FOUND` error
// if the user has list permission on the project, or a `PERMISSION_DENIED`
// error otherwise. The resource takes the following formats:
// `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and
// projects/{PROJECT_ID}/notes/{NOTE_ID} for notes
GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
// Returns the permissions that a caller has on the specified note or
// occurrence resource. Requires list permission on the project (for example,
// "storage.objects.list" on the containing bucket for testing permission of
// an object). Attempting to call this method on a non-existent resource will
// result in a `NOT_FOUND` error if the user has list permission on the
// project, or a `PERMISSION_DENIED` error otherwise. The resource takes the
// following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for
// `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`
TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
// Creates a new `Operation`.
CreateOperation(ctx context.Context, in *CreateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Updates an existing operation returns an error if operation
// does not exist. The only valid operations are to update mark the done bit
// change the result.
UpdateOperation(ctx context.Context, in *UpdateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Gets a specific scan configuration for a project.
GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error)
// Lists scan configurations for a project.
ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error)
// Updates the scan configuration to a new value.
UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error)
}
type containerAnalysisClient struct {
cc *grpc.ClientConn
}
func NewContainerAnalysisClient(cc *grpc.ClientConn) ContainerAnalysisClient {
return &containerAnalysisClient{cc}
}
func (c *containerAnalysisClient) GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) {
out := new(Occurrence)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetOccurrence", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error) {
out := new(ListOccurrencesResponse)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListOccurrences", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/DeleteOccurrence", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) {
out := new(Occurrence)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateOccurrence", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) {
out := new(Occurrence)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateOccurrence", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error) {
out := new(Note)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetOccurrenceNote", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error) {
out := new(Note)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetNote", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) {
out := new(ListNotesResponse)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListNotes", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/DeleteNote", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error) {
out := new(Note)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateNote", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error) {
out := new(Note)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateNote", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error) {
out := new(ListNoteOccurrencesResponse)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListNoteOccurrences", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) GetVulnzOccurrencesSummary(ctx context.Context, in *GetVulnzOccurrencesSummaryRequest, opts ...grpc.CallOption) (*GetVulnzOccurrencesSummaryResponse, error) {
out := new(GetVulnzOccurrencesSummaryResponse)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetVulnzOccurrencesSummary", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) {
out := new(v1.Policy)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/SetIamPolicy", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) {
out := new(v1.Policy)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetIamPolicy", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) {
out := new(v1.TestIamPermissionsResponse)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/TestIamPermissions", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) CreateOperation(ctx context.Context, in *CreateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
out := new(longrunning.Operation)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateOperation", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) UpdateOperation(ctx context.Context, in *UpdateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
out := new(longrunning.Operation)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateOperation", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) {
out := new(ScanConfig)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetScanConfig", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) {
out := new(ListScanConfigsResponse)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListScanConfigs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *containerAnalysisClient) UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) {
out := new(ScanConfig)
err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateScanConfig", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// ContainerAnalysisServer is the server API for ContainerAnalysis service.
type ContainerAnalysisServer interface {
// Returns the requested `Occurrence`.
GetOccurrence(context.Context, *GetOccurrenceRequest) (*Occurrence, error)
// Lists active `Occurrences` for a given project matching the filters.
ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error)
// Deletes the given `Occurrence` from the system. Use this when
// an `Occurrence` is no longer applicable for the given resource.
DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*empty.Empty, error)
// Creates a new `Occurrence`. Use this method to create `Occurrences`
// for a resource.
CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error)
// Updates an existing occurrence.
UpdateOccurrence(context.Context, *UpdateOccurrenceRequest) (*Occurrence, error)
// Gets the `Note` attached to the given `Occurrence`.
GetOccurrenceNote(context.Context, *GetOccurrenceNoteRequest) (*Note, error)
// Returns the requested `Note`.
GetNote(context.Context, *GetNoteRequest) (*Note, error)
// Lists all `Notes` for a given project.
ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error)
// Deletes the given `Note` from the system.
DeleteNote(context.Context, *DeleteNoteRequest) (*empty.Empty, error)
// Creates a new `Note`.
CreateNote(context.Context, *CreateNoteRequest) (*Note, error)
// Updates an existing `Note`.
UpdateNote(context.Context, *UpdateNoteRequest) (*Note, error)
// Lists `Occurrences` referencing the specified `Note`. Use this method to
// get all occurrences referencing your `Note` across all your customer
// projects.
ListNoteOccurrences(context.Context, *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error)
// Gets a summary of the number and severity of occurrences.
GetVulnzOccurrencesSummary(context.Context, *GetVulnzOccurrencesSummaryRequest) (*GetVulnzOccurrencesSummaryResponse, error)
// Sets the access control policy on the specified `Note` or `Occurrence`.
// Requires `containeranalysis.notes.setIamPolicy` or
// `containeranalysis.occurrences.setIamPolicy` permission if the resource is
// a `Note` or an `Occurrence`, respectively.
// Attempting to call this method without these permissions will result in a `
// `PERMISSION_DENIED` error.
// Attempting to call this method on a non-existent resource will result in a
// `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission
// on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or
// a `PERMISSION_DENIED` error otherwise. The resource takes the following
// formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences
// and projects/{projectid}/notes/{noteid} for notes
SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
// Gets the access control policy for a note or an `Occurrence` resource.
// Requires `containeranalysis.notes.setIamPolicy` or
// `containeranalysis.occurrences.setIamPolicy` permission if the resource is
// a note or occurrence, respectively.
// Attempting to call this method on a resource without the required
// permission will result in a `PERMISSION_DENIED` error. Attempting to call
// this method on a non-existent resource will result in a `NOT_FOUND` error
// if the user has list permission on the project, or a `PERMISSION_DENIED`
// error otherwise. The resource takes the following formats:
// `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and
// projects/{PROJECT_ID}/notes/{NOTE_ID} for notes
GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
// Returns the permissions that a caller has on the specified note or
// occurrence resource. Requires list permission on the project (for example,
// "storage.objects.list" on the containing bucket for testing permission of
// an object). Attempting to call this method on a non-existent resource will
// result in a `NOT_FOUND` error if the user has list permission on the
// project, or a `PERMISSION_DENIED` error otherwise. The resource takes the
// following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for
// `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`
TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
// Creates a new `Operation`.
CreateOperation(context.Context, *CreateOperationRequest) (*longrunning.Operation, error)
// Updates an existing operation returns an error if operation
// does not exist. The only valid operations are to update mark the done bit
// change the result.
UpdateOperation(context.Context, *UpdateOperationRequest) (*longrunning.Operation, error)
// Gets a specific scan configuration for a project.
GetScanConfig(context.Context, *GetScanConfigRequest) (*ScanConfig, error)
// Lists scan configurations for a project.
ListScanConfigs(context.Context, *ListScanConfigsRequest) (*ListScanConfigsResponse, error)
// Updates the scan configuration to a new value.
UpdateScanConfig(context.Context, *UpdateScanConfigRequest) (*ScanConfig, error)
}
func RegisterContainerAnalysisServer(s *grpc.Server, srv ContainerAnalysisServer) {
s.RegisterService(&_ContainerAnalysis_serviceDesc, srv)
}
func _ContainerAnalysis_GetOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetOccurrenceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).GetOccurrence(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetOccurrence",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).GetOccurrence(ctx, req.(*GetOccurrenceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_ListOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListOccurrencesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).ListOccurrences(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListOccurrences",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).ListOccurrences(ctx, req.(*ListOccurrencesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_DeleteOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteOccurrenceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).DeleteOccurrence(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/DeleteOccurrence",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).DeleteOccurrence(ctx, req.(*DeleteOccurrenceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_CreateOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateOccurrenceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).CreateOccurrence(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateOccurrence",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).CreateOccurrence(ctx, req.(*CreateOccurrenceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_UpdateOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateOccurrenceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).UpdateOccurrence(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateOccurrence",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).UpdateOccurrence(ctx, req.(*UpdateOccurrenceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_GetOccurrenceNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetOccurrenceNoteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).GetOccurrenceNote(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetOccurrenceNote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).GetOccurrenceNote(ctx, req.(*GetOccurrenceNoteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_GetNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetNoteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).GetNote(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetNote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).GetNote(ctx, req.(*GetNoteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_ListNotes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListNotesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).ListNotes(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListNotes",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).ListNotes(ctx, req.(*ListNotesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_DeleteNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteNoteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).DeleteNote(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/DeleteNote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).DeleteNote(ctx, req.(*DeleteNoteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_CreateNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateNoteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).CreateNote(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateNote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).CreateNote(ctx, req.(*CreateNoteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_UpdateNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateNoteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).UpdateNote(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateNote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).UpdateNote(ctx, req.(*UpdateNoteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_ListNoteOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListNoteOccurrencesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).ListNoteOccurrences(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListNoteOccurrences",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).ListNoteOccurrences(ctx, req.(*ListNoteOccurrencesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_GetVulnzOccurrencesSummary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetVulnzOccurrencesSummaryRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).GetVulnzOccurrencesSummary(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetVulnzOccurrencesSummary",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).GetVulnzOccurrencesSummary(ctx, req.(*GetVulnzOccurrencesSummaryRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.SetIamPolicyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).SetIamPolicy(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/SetIamPolicy",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.GetIamPolicyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).GetIamPolicy(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetIamPolicy",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.TestIamPermissionsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).TestIamPermissions(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/TestIamPermissions",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_CreateOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateOperationRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).CreateOperation(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateOperation",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).CreateOperation(ctx, req.(*CreateOperationRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_UpdateOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateOperationRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).UpdateOperation(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateOperation",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).UpdateOperation(ctx, req.(*UpdateOperationRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_GetScanConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetScanConfigRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).GetScanConfig(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetScanConfig",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).GetScanConfig(ctx, req.(*GetScanConfigRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_ListScanConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListScanConfigsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).ListScanConfigs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListScanConfigs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).ListScanConfigs(ctx, req.(*ListScanConfigsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ContainerAnalysis_UpdateScanConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateScanConfigRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ContainerAnalysisServer).UpdateScanConfig(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateScanConfig",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ContainerAnalysisServer).UpdateScanConfig(ctx, req.(*UpdateScanConfigRequest))
}
return interceptor(ctx, in, info, handler)
}
var _ContainerAnalysis_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.devtools.containeranalysis.v1alpha1.ContainerAnalysis",
HandlerType: (*ContainerAnalysisServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetOccurrence",
Handler: _ContainerAnalysis_GetOccurrence_Handler,
},
{
MethodName: "ListOccurrences",
Handler: _ContainerAnalysis_ListOccurrences_Handler,
},
{
MethodName: "DeleteOccurrence",
Handler: _ContainerAnalysis_DeleteOccurrence_Handler,
},
{
MethodName: "CreateOccurrence",
Handler: _ContainerAnalysis_CreateOccurrence_Handler,
},
{
MethodName: "UpdateOccurrence",
Handler: _ContainerAnalysis_UpdateOccurrence_Handler,
},
{
MethodName: "GetOccurrenceNote",
Handler: _ContainerAnalysis_GetOccurrenceNote_Handler,
},
{
MethodName: "GetNote",
Handler: _ContainerAnalysis_GetNote_Handler,
},
{
MethodName: "ListNotes",
Handler: _ContainerAnalysis_ListNotes_Handler,
},
{
MethodName: "DeleteNote",
Handler: _ContainerAnalysis_DeleteNote_Handler,
},
{
MethodName: "CreateNote",
Handler: _ContainerAnalysis_CreateNote_Handler,
},
{
MethodName: "UpdateNote",
Handler: _ContainerAnalysis_UpdateNote_Handler,
},
{
MethodName: "ListNoteOccurrences",
Handler: _ContainerAnalysis_ListNoteOccurrences_Handler,
},
{
MethodName: "GetVulnzOccurrencesSummary",
Handler: _ContainerAnalysis_GetVulnzOccurrencesSummary_Handler,
},
{
MethodName: "SetIamPolicy",
Handler: _ContainerAnalysis_SetIamPolicy_Handler,
},
{
MethodName: "GetIamPolicy",
Handler: _ContainerAnalysis_GetIamPolicy_Handler,
},
{
MethodName: "TestIamPermissions",
Handler: _ContainerAnalysis_TestIamPermissions_Handler,
},
{
MethodName: "CreateOperation",
Handler: _ContainerAnalysis_CreateOperation_Handler,
},
{
MethodName: "UpdateOperation",
Handler: _ContainerAnalysis_UpdateOperation_Handler,
},
{
MethodName: "GetScanConfig",
Handler: _ContainerAnalysis_GetScanConfig_Handler,
},
{
MethodName: "ListScanConfigs",
Handler: _ContainerAnalysis_ListScanConfigs_Handler,
},
{
MethodName: "UpdateScanConfig",
Handler: _ContainerAnalysis_UpdateScanConfig_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/devtools/containeranalysis/v1alpha1/containeranalysis.proto",
}
func init() {
proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/containeranalysis.proto", fileDescriptor_containeranalysis_7302a99efbbe81f1)
}
var fileDescriptor_containeranalysis_7302a99efbbe81f1 = []byte{
// 3256 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5b, 0xdb, 0x6f, 0x23, 0x57,
0x19, 0xdf, 0xc9, 0xd5, 0xfe, 0x9c, 0x8b, 0x73, 0x36, 0xbb, 0xeb, 0x7a, 0x7b, 0x49, 0xa7, 0x94,
0x6e, 0x53, 0x6a, 0x77, 0xd3, 0x96, 0xc2, 0x6e, 0x97, 0x5d, 0xc7, 0x76, 0x12, 0x37, 0x89, 0x63,
0xcd, 0x38, 0x61, 0xd3, 0x96, 0x8e, 0xc6, 0xf6, 0x89, 0x33, 0x64, 0x3c, 0x33, 0xcc, 0x8c, 0xc3,
0x66, 0x51, 0x25, 0x44, 0x0b, 0xa8, 0x12, 0x45, 0xe5, 0xfa, 0xc2, 0xa5, 0x52, 0x41, 0x95, 0x80,
0x17, 0x5e, 0x78, 0x83, 0x17, 0x40, 0x3c, 0x01, 0x42, 0xe2, 0x19, 0xf1, 0x00, 0x0f, 0xfc, 0x0b,
0x48, 0x3c, 0xa0, 0x73, 0xe6, 0x9c, 0x99, 0xf1, 0x25, 0x89, 0xc7, 0xde, 0x4a, 0x7d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xa5, 0x3d, 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff,
0xb3, 0xe0, 0xe0, 0x39, 0xcf, 0x33, 0x00, 0x00,
}
1
https://gitee.com/mirrors/go-genproto.git
git@gitee.com:mirrors/go-genproto.git
mirrors
go-genproto
go-genproto
c66870c02cf8

搜索帮助