@google-cloud/containeranalysis 6.3.0 → 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -7543,6 +7543,9 @@ export namespace grafeas {
7543
7543
 
7544
7544
  /** DiscoveryOccurrence vulnerabilityAttestation */
7545
7545
  vulnerabilityAttestation?: (grafeas.v1.DiscoveryOccurrence.IVulnerabilityAttestation|null);
7546
+
7547
+ /** DiscoveryOccurrence files */
7548
+ files?: (grafeas.v1.DiscoveryOccurrence.IFile[]|null);
7546
7549
  }
7547
7550
 
7548
7551
  /** Represents a DiscoveryOccurrence. */
@@ -7584,6 +7587,9 @@ export namespace grafeas {
7584
7587
  /** DiscoveryOccurrence vulnerabilityAttestation. */
7585
7588
  public vulnerabilityAttestation?: (grafeas.v1.DiscoveryOccurrence.IVulnerabilityAttestation|null);
7586
7589
 
7590
+ /** DiscoveryOccurrence files. */
7591
+ public files: grafeas.v1.DiscoveryOccurrence.IFile[];
7592
+
7587
7593
  /**
7588
7594
  * Creates a new DiscoveryOccurrence instance using the specified properties.
7589
7595
  * @param [properties] Properties to set
@@ -8010,6 +8016,109 @@ export namespace grafeas {
8010
8016
  FAILURE = 2
8011
8017
  }
8012
8018
  }
8019
+
8020
+ /** Properties of a File. */
8021
+ interface IFile {
8022
+
8023
+ /** File name */
8024
+ name?: (string|null);
8025
+
8026
+ /** File digest */
8027
+ digest?: ({ [k: string]: string }|null);
8028
+ }
8029
+
8030
+ /** Represents a File. */
8031
+ class File implements IFile {
8032
+
8033
+ /**
8034
+ * Constructs a new File.
8035
+ * @param [properties] Properties to set
8036
+ */
8037
+ constructor(properties?: grafeas.v1.DiscoveryOccurrence.IFile);
8038
+
8039
+ /** File name. */
8040
+ public name: string;
8041
+
8042
+ /** File digest. */
8043
+ public digest: { [k: string]: string };
8044
+
8045
+ /**
8046
+ * Creates a new File instance using the specified properties.
8047
+ * @param [properties] Properties to set
8048
+ * @returns File instance
8049
+ */
8050
+ public static create(properties?: grafeas.v1.DiscoveryOccurrence.IFile): grafeas.v1.DiscoveryOccurrence.File;
8051
+
8052
+ /**
8053
+ * Encodes the specified File message. Does not implicitly {@link grafeas.v1.DiscoveryOccurrence.File.verify|verify} messages.
8054
+ * @param message File message or plain object to encode
8055
+ * @param [writer] Writer to encode to
8056
+ * @returns Writer
8057
+ */
8058
+ public static encode(message: grafeas.v1.DiscoveryOccurrence.IFile, writer?: $protobuf.Writer): $protobuf.Writer;
8059
+
8060
+ /**
8061
+ * Encodes the specified File message, length delimited. Does not implicitly {@link grafeas.v1.DiscoveryOccurrence.File.verify|verify} messages.
8062
+ * @param message File message or plain object to encode
8063
+ * @param [writer] Writer to encode to
8064
+ * @returns Writer
8065
+ */
8066
+ public static encodeDelimited(message: grafeas.v1.DiscoveryOccurrence.IFile, writer?: $protobuf.Writer): $protobuf.Writer;
8067
+
8068
+ /**
8069
+ * Decodes a File message from the specified reader or buffer.
8070
+ * @param reader Reader or buffer to decode from
8071
+ * @param [length] Message length if known beforehand
8072
+ * @returns File
8073
+ * @throws {Error} If the payload is not a reader or valid buffer
8074
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8075
+ */
8076
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.DiscoveryOccurrence.File;
8077
+
8078
+ /**
8079
+ * Decodes a File message from the specified reader or buffer, length delimited.
8080
+ * @param reader Reader or buffer to decode from
8081
+ * @returns File
8082
+ * @throws {Error} If the payload is not a reader or valid buffer
8083
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8084
+ */
8085
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.DiscoveryOccurrence.File;
8086
+
8087
+ /**
8088
+ * Verifies a File message.
8089
+ * @param message Plain object to verify
8090
+ * @returns `null` if valid, otherwise the reason why it is not
8091
+ */
8092
+ public static verify(message: { [k: string]: any }): (string|null);
8093
+
8094
+ /**
8095
+ * Creates a File message from a plain object. Also converts values to their respective internal types.
8096
+ * @param object Plain object
8097
+ * @returns File
8098
+ */
8099
+ public static fromObject(object: { [k: string]: any }): grafeas.v1.DiscoveryOccurrence.File;
8100
+
8101
+ /**
8102
+ * Creates a plain object from a File message. Also converts values to other types if specified.
8103
+ * @param message File
8104
+ * @param [options] Conversion options
8105
+ * @returns Plain object
8106
+ */
8107
+ public static toObject(message: grafeas.v1.DiscoveryOccurrence.File, options?: $protobuf.IConversionOptions): { [k: string]: any };
8108
+
8109
+ /**
8110
+ * Converts this File to JSON.
8111
+ * @returns JSON object
8112
+ */
8113
+ public toJSON(): { [k: string]: any };
8114
+
8115
+ /**
8116
+ * Gets the default type url for File
8117
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8118
+ * @returns The default type url
8119
+ */
8120
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8121
+ }
8013
8122
  }
8014
8123
 
8015
8124
  /** Properties of a DSSEAttestationNote. */
@@ -9184,6 +9293,9 @@ export namespace grafeas {
9184
9293
 
9185
9294
  /** ListOccurrencesRequest pageToken */
9186
9295
  pageToken?: (string|null);
9296
+
9297
+ /** ListOccurrencesRequest returnPartialSuccess */
9298
+ returnPartialSuccess?: (boolean|null);
9187
9299
  }
9188
9300
 
9189
9301
  /** Represents a ListOccurrencesRequest. */
@@ -9207,6 +9319,9 @@ export namespace grafeas {
9207
9319
  /** ListOccurrencesRequest pageToken. */
9208
9320
  public pageToken: string;
9209
9321
 
9322
+ /** ListOccurrencesRequest returnPartialSuccess. */
9323
+ public returnPartialSuccess: boolean;
9324
+
9210
9325
  /**
9211
9326
  * Creates a new ListOccurrencesRequest instance using the specified properties.
9212
9327
  * @param [properties] Properties to set
@@ -9293,6 +9408,9 @@ export namespace grafeas {
9293
9408
 
9294
9409
  /** ListOccurrencesResponse nextPageToken */
9295
9410
  nextPageToken?: (string|null);
9411
+
9412
+ /** ListOccurrencesResponse unreachable */
9413
+ unreachable?: (string[]|null);
9296
9414
  }
9297
9415
 
9298
9416
  /** Represents a ListOccurrencesResponse. */
@@ -9310,6 +9428,9 @@ export namespace grafeas {
9310
9428
  /** ListOccurrencesResponse nextPageToken. */
9311
9429
  public nextPageToken: string;
9312
9430
 
9431
+ /** ListOccurrencesResponse unreachable. */
9432
+ public unreachable: string[];
9433
+
9313
9434
  /**
9314
9435
  * Creates a new ListOccurrencesResponse instance using the specified properties.
9315
9436
  * @param [properties] Properties to set
@@ -9905,6 +10026,9 @@ export namespace grafeas {
9905
10026
 
9906
10027
  /** ListNotesRequest pageToken */
9907
10028
  pageToken?: (string|null);
10029
+
10030
+ /** ListNotesRequest returnPartialSuccess */
10031
+ returnPartialSuccess?: (boolean|null);
9908
10032
  }
9909
10033
 
9910
10034
  /** Represents a ListNotesRequest. */
@@ -9928,6 +10052,9 @@ export namespace grafeas {
9928
10052
  /** ListNotesRequest pageToken. */
9929
10053
  public pageToken: string;
9930
10054
 
10055
+ /** ListNotesRequest returnPartialSuccess. */
10056
+ public returnPartialSuccess: boolean;
10057
+
9931
10058
  /**
9932
10059
  * Creates a new ListNotesRequest instance using the specified properties.
9933
10060
  * @param [properties] Properties to set
@@ -10014,6 +10141,9 @@ export namespace grafeas {
10014
10141
 
10015
10142
  /** ListNotesResponse nextPageToken */
10016
10143
  nextPageToken?: (string|null);
10144
+
10145
+ /** ListNotesResponse unreachable */
10146
+ unreachable?: (string[]|null);
10017
10147
  }
10018
10148
 
10019
10149
  /** Represents a ListNotesResponse. */
@@ -10031,6 +10161,9 @@ export namespace grafeas {
10031
10161
  /** ListNotesResponse nextPageToken. */
10032
10162
  public nextPageToken: string;
10033
10163
 
10164
+ /** ListNotesResponse unreachable. */
10165
+ public unreachable: string[];
10166
+
10034
10167
  /**
10035
10168
  * Creates a new ListNotesResponse instance using the specified properties.
10036
10169
  * @param [properties] Properties to set
@@ -12687,6 +12820,12 @@ export namespace grafeas {
12687
12820
 
12688
12821
  /** SecretOccurrence statuses */
12689
12822
  statuses?: (grafeas.v1.ISecretStatus[]|null);
12823
+
12824
+ /** SecretOccurrence data */
12825
+ data?: (google.protobuf.IAny|null);
12826
+
12827
+ /** SecretOccurrence digest */
12828
+ digest?: (grafeas.v1.IDigest|null);
12690
12829
  }
12691
12830
 
12692
12831
  /** Represents a SecretOccurrence. */
@@ -12707,6 +12846,12 @@ export namespace grafeas {
12707
12846
  /** SecretOccurrence statuses. */
12708
12847
  public statuses: grafeas.v1.ISecretStatus[];
12709
12848
 
12849
+ /** SecretOccurrence data. */
12850
+ public data?: (google.protobuf.IAny|null);
12851
+
12852
+ /** SecretOccurrence digest. */
12853
+ public digest?: (grafeas.v1.IDigest|null);
12854
+
12710
12855
  /**
12711
12856
  * Creates a new SecretOccurrence instance using the specified properties.
12712
12857
  * @param [properties] Properties to set
@@ -13009,7 +13154,27 @@ export namespace grafeas {
13009
13154
  enum SecretKind {
13010
13155
  SECRET_KIND_UNSPECIFIED = 0,
13011
13156
  SECRET_KIND_UNKNOWN = 1,
13012
- SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY = 2
13157
+ SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY = 2,
13158
+ SECRET_KIND_GCP_API_KEY = 3,
13159
+ SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS = 4,
13160
+ SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN = 5,
13161
+ SECRET_KIND_ANTHROPIC_ADMIN_API_KEY = 6,
13162
+ SECRET_KIND_ANTHROPIC_API_KEY = 7,
13163
+ SECRET_KIND_AZURE_ACCESS_TOKEN = 8,
13164
+ SECRET_KIND_AZURE_IDENTITY_TOKEN = 9,
13165
+ SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN = 10,
13166
+ SECRET_KIND_GITHUB_APP_REFRESH_TOKEN = 11,
13167
+ SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN = 12,
13168
+ SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN = 13,
13169
+ SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN = 14,
13170
+ SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN = 15,
13171
+ SECRET_KIND_GITHUB_OAUTH_TOKEN = 16,
13172
+ SECRET_KIND_HUGGINGFACE_API_KEY = 17,
13173
+ SECRET_KIND_OPENAI_API_KEY = 18,
13174
+ SECRET_KIND_PERPLEXITY_API_KEY = 19,
13175
+ SECRET_KIND_STRIPE_SECRET_KEY = 20,
13176
+ SECRET_KIND_STRIPE_RESTRICTED_KEY = 21,
13177
+ SECRET_KIND_STRIPE_WEBHOOK_SECRET = 22
13013
13178
  }
13014
13179
 
13015
13180
  /** Properties of an UpgradeNote. */
@@ -15033,6 +15198,9 @@ export namespace grafeas {
15033
15198
 
15034
15199
  /** VulnerabilityOccurrence extraDetails */
15035
15200
  extraDetails?: (string|null);
15201
+
15202
+ /** VulnerabilityOccurrence risk */
15203
+ risk?: (grafeas.v1.IRisk|null);
15036
15204
  }
15037
15205
 
15038
15206
  /** Represents a VulnerabilityOccurrence. */
@@ -15086,6 +15254,9 @@ export namespace grafeas {
15086
15254
  /** VulnerabilityOccurrence extraDetails. */
15087
15255
  public extraDetails: string;
15088
15256
 
15257
+ /** VulnerabilityOccurrence risk. */
15258
+ public risk?: (grafeas.v1.IRisk|null);
15259
+
15089
15260
  /**
15090
15261
  * Creates a new VulnerabilityOccurrence instance using the specified properties.
15091
15262
  * @param [properties] Properties to set
@@ -15456,6 +15627,309 @@ export namespace grafeas {
15456
15627
  public static getTypeUrl(typeUrlPrefix?: string): string;
15457
15628
  }
15458
15629
  }
15630
+
15631
+ /** Properties of a Risk. */
15632
+ interface IRisk {
15633
+
15634
+ /** Risk cisaKev */
15635
+ cisaKev?: (grafeas.v1.ICISAKnownExploitedVulnerabilities|null);
15636
+
15637
+ /** Risk epss */
15638
+ epss?: (grafeas.v1.IExploitPredictionScoringSystem|null);
15639
+ }
15640
+
15641
+ /** Represents a Risk. */
15642
+ class Risk implements IRisk {
15643
+
15644
+ /**
15645
+ * Constructs a new Risk.
15646
+ * @param [properties] Properties to set
15647
+ */
15648
+ constructor(properties?: grafeas.v1.IRisk);
15649
+
15650
+ /** Risk cisaKev. */
15651
+ public cisaKev?: (grafeas.v1.ICISAKnownExploitedVulnerabilities|null);
15652
+
15653
+ /** Risk epss. */
15654
+ public epss?: (grafeas.v1.IExploitPredictionScoringSystem|null);
15655
+
15656
+ /**
15657
+ * Creates a new Risk instance using the specified properties.
15658
+ * @param [properties] Properties to set
15659
+ * @returns Risk instance
15660
+ */
15661
+ public static create(properties?: grafeas.v1.IRisk): grafeas.v1.Risk;
15662
+
15663
+ /**
15664
+ * Encodes the specified Risk message. Does not implicitly {@link grafeas.v1.Risk.verify|verify} messages.
15665
+ * @param message Risk message or plain object to encode
15666
+ * @param [writer] Writer to encode to
15667
+ * @returns Writer
15668
+ */
15669
+ public static encode(message: grafeas.v1.IRisk, writer?: $protobuf.Writer): $protobuf.Writer;
15670
+
15671
+ /**
15672
+ * Encodes the specified Risk message, length delimited. Does not implicitly {@link grafeas.v1.Risk.verify|verify} messages.
15673
+ * @param message Risk message or plain object to encode
15674
+ * @param [writer] Writer to encode to
15675
+ * @returns Writer
15676
+ */
15677
+ public static encodeDelimited(message: grafeas.v1.IRisk, writer?: $protobuf.Writer): $protobuf.Writer;
15678
+
15679
+ /**
15680
+ * Decodes a Risk message from the specified reader or buffer.
15681
+ * @param reader Reader or buffer to decode from
15682
+ * @param [length] Message length if known beforehand
15683
+ * @returns Risk
15684
+ * @throws {Error} If the payload is not a reader or valid buffer
15685
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15686
+ */
15687
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.Risk;
15688
+
15689
+ /**
15690
+ * Decodes a Risk message from the specified reader or buffer, length delimited.
15691
+ * @param reader Reader or buffer to decode from
15692
+ * @returns Risk
15693
+ * @throws {Error} If the payload is not a reader or valid buffer
15694
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15695
+ */
15696
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.Risk;
15697
+
15698
+ /**
15699
+ * Verifies a Risk message.
15700
+ * @param message Plain object to verify
15701
+ * @returns `null` if valid, otherwise the reason why it is not
15702
+ */
15703
+ public static verify(message: { [k: string]: any }): (string|null);
15704
+
15705
+ /**
15706
+ * Creates a Risk message from a plain object. Also converts values to their respective internal types.
15707
+ * @param object Plain object
15708
+ * @returns Risk
15709
+ */
15710
+ public static fromObject(object: { [k: string]: any }): grafeas.v1.Risk;
15711
+
15712
+ /**
15713
+ * Creates a plain object from a Risk message. Also converts values to other types if specified.
15714
+ * @param message Risk
15715
+ * @param [options] Conversion options
15716
+ * @returns Plain object
15717
+ */
15718
+ public static toObject(message: grafeas.v1.Risk, options?: $protobuf.IConversionOptions): { [k: string]: any };
15719
+
15720
+ /**
15721
+ * Converts this Risk to JSON.
15722
+ * @returns JSON object
15723
+ */
15724
+ public toJSON(): { [k: string]: any };
15725
+
15726
+ /**
15727
+ * Gets the default type url for Risk
15728
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15729
+ * @returns The default type url
15730
+ */
15731
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15732
+ }
15733
+
15734
+ /** Properties of a CISAKnownExploitedVulnerabilities. */
15735
+ interface ICISAKnownExploitedVulnerabilities {
15736
+
15737
+ /** CISAKnownExploitedVulnerabilities knownRansomwareCampaignUse */
15738
+ knownRansomwareCampaignUse?: (string|null);
15739
+ }
15740
+
15741
+ /** Represents a CISAKnownExploitedVulnerabilities. */
15742
+ class CISAKnownExploitedVulnerabilities implements ICISAKnownExploitedVulnerabilities {
15743
+
15744
+ /**
15745
+ * Constructs a new CISAKnownExploitedVulnerabilities.
15746
+ * @param [properties] Properties to set
15747
+ */
15748
+ constructor(properties?: grafeas.v1.ICISAKnownExploitedVulnerabilities);
15749
+
15750
+ /** CISAKnownExploitedVulnerabilities knownRansomwareCampaignUse. */
15751
+ public knownRansomwareCampaignUse: string;
15752
+
15753
+ /**
15754
+ * Creates a new CISAKnownExploitedVulnerabilities instance using the specified properties.
15755
+ * @param [properties] Properties to set
15756
+ * @returns CISAKnownExploitedVulnerabilities instance
15757
+ */
15758
+ public static create(properties?: grafeas.v1.ICISAKnownExploitedVulnerabilities): grafeas.v1.CISAKnownExploitedVulnerabilities;
15759
+
15760
+ /**
15761
+ * Encodes the specified CISAKnownExploitedVulnerabilities message. Does not implicitly {@link grafeas.v1.CISAKnownExploitedVulnerabilities.verify|verify} messages.
15762
+ * @param message CISAKnownExploitedVulnerabilities message or plain object to encode
15763
+ * @param [writer] Writer to encode to
15764
+ * @returns Writer
15765
+ */
15766
+ public static encode(message: grafeas.v1.ICISAKnownExploitedVulnerabilities, writer?: $protobuf.Writer): $protobuf.Writer;
15767
+
15768
+ /**
15769
+ * Encodes the specified CISAKnownExploitedVulnerabilities message, length delimited. Does not implicitly {@link grafeas.v1.CISAKnownExploitedVulnerabilities.verify|verify} messages.
15770
+ * @param message CISAKnownExploitedVulnerabilities message or plain object to encode
15771
+ * @param [writer] Writer to encode to
15772
+ * @returns Writer
15773
+ */
15774
+ public static encodeDelimited(message: grafeas.v1.ICISAKnownExploitedVulnerabilities, writer?: $protobuf.Writer): $protobuf.Writer;
15775
+
15776
+ /**
15777
+ * Decodes a CISAKnownExploitedVulnerabilities message from the specified reader or buffer.
15778
+ * @param reader Reader or buffer to decode from
15779
+ * @param [length] Message length if known beforehand
15780
+ * @returns CISAKnownExploitedVulnerabilities
15781
+ * @throws {Error} If the payload is not a reader or valid buffer
15782
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15783
+ */
15784
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.CISAKnownExploitedVulnerabilities;
15785
+
15786
+ /**
15787
+ * Decodes a CISAKnownExploitedVulnerabilities message from the specified reader or buffer, length delimited.
15788
+ * @param reader Reader or buffer to decode from
15789
+ * @returns CISAKnownExploitedVulnerabilities
15790
+ * @throws {Error} If the payload is not a reader or valid buffer
15791
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15792
+ */
15793
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.CISAKnownExploitedVulnerabilities;
15794
+
15795
+ /**
15796
+ * Verifies a CISAKnownExploitedVulnerabilities message.
15797
+ * @param message Plain object to verify
15798
+ * @returns `null` if valid, otherwise the reason why it is not
15799
+ */
15800
+ public static verify(message: { [k: string]: any }): (string|null);
15801
+
15802
+ /**
15803
+ * Creates a CISAKnownExploitedVulnerabilities message from a plain object. Also converts values to their respective internal types.
15804
+ * @param object Plain object
15805
+ * @returns CISAKnownExploitedVulnerabilities
15806
+ */
15807
+ public static fromObject(object: { [k: string]: any }): grafeas.v1.CISAKnownExploitedVulnerabilities;
15808
+
15809
+ /**
15810
+ * Creates a plain object from a CISAKnownExploitedVulnerabilities message. Also converts values to other types if specified.
15811
+ * @param message CISAKnownExploitedVulnerabilities
15812
+ * @param [options] Conversion options
15813
+ * @returns Plain object
15814
+ */
15815
+ public static toObject(message: grafeas.v1.CISAKnownExploitedVulnerabilities, options?: $protobuf.IConversionOptions): { [k: string]: any };
15816
+
15817
+ /**
15818
+ * Converts this CISAKnownExploitedVulnerabilities to JSON.
15819
+ * @returns JSON object
15820
+ */
15821
+ public toJSON(): { [k: string]: any };
15822
+
15823
+ /**
15824
+ * Gets the default type url for CISAKnownExploitedVulnerabilities
15825
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15826
+ * @returns The default type url
15827
+ */
15828
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15829
+ }
15830
+
15831
+ /** Properties of an ExploitPredictionScoringSystem. */
15832
+ interface IExploitPredictionScoringSystem {
15833
+
15834
+ /** ExploitPredictionScoringSystem percentile */
15835
+ percentile?: (number|null);
15836
+
15837
+ /** ExploitPredictionScoringSystem score */
15838
+ score?: (number|null);
15839
+ }
15840
+
15841
+ /** Represents an ExploitPredictionScoringSystem. */
15842
+ class ExploitPredictionScoringSystem implements IExploitPredictionScoringSystem {
15843
+
15844
+ /**
15845
+ * Constructs a new ExploitPredictionScoringSystem.
15846
+ * @param [properties] Properties to set
15847
+ */
15848
+ constructor(properties?: grafeas.v1.IExploitPredictionScoringSystem);
15849
+
15850
+ /** ExploitPredictionScoringSystem percentile. */
15851
+ public percentile: number;
15852
+
15853
+ /** ExploitPredictionScoringSystem score. */
15854
+ public score: number;
15855
+
15856
+ /**
15857
+ * Creates a new ExploitPredictionScoringSystem instance using the specified properties.
15858
+ * @param [properties] Properties to set
15859
+ * @returns ExploitPredictionScoringSystem instance
15860
+ */
15861
+ public static create(properties?: grafeas.v1.IExploitPredictionScoringSystem): grafeas.v1.ExploitPredictionScoringSystem;
15862
+
15863
+ /**
15864
+ * Encodes the specified ExploitPredictionScoringSystem message. Does not implicitly {@link grafeas.v1.ExploitPredictionScoringSystem.verify|verify} messages.
15865
+ * @param message ExploitPredictionScoringSystem message or plain object to encode
15866
+ * @param [writer] Writer to encode to
15867
+ * @returns Writer
15868
+ */
15869
+ public static encode(message: grafeas.v1.IExploitPredictionScoringSystem, writer?: $protobuf.Writer): $protobuf.Writer;
15870
+
15871
+ /**
15872
+ * Encodes the specified ExploitPredictionScoringSystem message, length delimited. Does not implicitly {@link grafeas.v1.ExploitPredictionScoringSystem.verify|verify} messages.
15873
+ * @param message ExploitPredictionScoringSystem message or plain object to encode
15874
+ * @param [writer] Writer to encode to
15875
+ * @returns Writer
15876
+ */
15877
+ public static encodeDelimited(message: grafeas.v1.IExploitPredictionScoringSystem, writer?: $protobuf.Writer): $protobuf.Writer;
15878
+
15879
+ /**
15880
+ * Decodes an ExploitPredictionScoringSystem message from the specified reader or buffer.
15881
+ * @param reader Reader or buffer to decode from
15882
+ * @param [length] Message length if known beforehand
15883
+ * @returns ExploitPredictionScoringSystem
15884
+ * @throws {Error} If the payload is not a reader or valid buffer
15885
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15886
+ */
15887
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.ExploitPredictionScoringSystem;
15888
+
15889
+ /**
15890
+ * Decodes an ExploitPredictionScoringSystem message from the specified reader or buffer, length delimited.
15891
+ * @param reader Reader or buffer to decode from
15892
+ * @returns ExploitPredictionScoringSystem
15893
+ * @throws {Error} If the payload is not a reader or valid buffer
15894
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15895
+ */
15896
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.ExploitPredictionScoringSystem;
15897
+
15898
+ /**
15899
+ * Verifies an ExploitPredictionScoringSystem message.
15900
+ * @param message Plain object to verify
15901
+ * @returns `null` if valid, otherwise the reason why it is not
15902
+ */
15903
+ public static verify(message: { [k: string]: any }): (string|null);
15904
+
15905
+ /**
15906
+ * Creates an ExploitPredictionScoringSystem message from a plain object. Also converts values to their respective internal types.
15907
+ * @param object Plain object
15908
+ * @returns ExploitPredictionScoringSystem
15909
+ */
15910
+ public static fromObject(object: { [k: string]: any }): grafeas.v1.ExploitPredictionScoringSystem;
15911
+
15912
+ /**
15913
+ * Creates a plain object from an ExploitPredictionScoringSystem message. Also converts values to other types if specified.
15914
+ * @param message ExploitPredictionScoringSystem
15915
+ * @param [options] Conversion options
15916
+ * @returns Plain object
15917
+ */
15918
+ public static toObject(message: grafeas.v1.ExploitPredictionScoringSystem, options?: $protobuf.IConversionOptions): { [k: string]: any };
15919
+
15920
+ /**
15921
+ * Converts this ExploitPredictionScoringSystem to JSON.
15922
+ * @returns JSON object
15923
+ */
15924
+ public toJSON(): { [k: string]: any };
15925
+
15926
+ /**
15927
+ * Gets the default type url for ExploitPredictionScoringSystem
15928
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15929
+ * @returns The default type url
15930
+ */
15931
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15932
+ }
15459
15933
  }
15460
15934
 
15461
15935
  /** Namespace v1beta1. */