@google-cloud/containeranalysis 6.3.1 → 6.5.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,12 @@ 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);
7549
+
7550
+ /** DiscoveryOccurrence lastVulnerabilityUpdateTime */
7551
+ lastVulnerabilityUpdateTime?: (google.protobuf.ITimestamp|null);
7546
7552
  }
7547
7553
 
7548
7554
  /** Represents a DiscoveryOccurrence. */
@@ -7584,6 +7590,12 @@ export namespace grafeas {
7584
7590
  /** DiscoveryOccurrence vulnerabilityAttestation. */
7585
7591
  public vulnerabilityAttestation?: (grafeas.v1.DiscoveryOccurrence.IVulnerabilityAttestation|null);
7586
7592
 
7593
+ /** DiscoveryOccurrence files. */
7594
+ public files: grafeas.v1.DiscoveryOccurrence.IFile[];
7595
+
7596
+ /** DiscoveryOccurrence lastVulnerabilityUpdateTime. */
7597
+ public lastVulnerabilityUpdateTime?: (google.protobuf.ITimestamp|null);
7598
+
7587
7599
  /**
7588
7600
  * Creates a new DiscoveryOccurrence instance using the specified properties.
7589
7601
  * @param [properties] Properties to set
@@ -8010,6 +8022,109 @@ export namespace grafeas {
8010
8022
  FAILURE = 2
8011
8023
  }
8012
8024
  }
8025
+
8026
+ /** Properties of a File. */
8027
+ interface IFile {
8028
+
8029
+ /** File name */
8030
+ name?: (string|null);
8031
+
8032
+ /** File digest */
8033
+ digest?: ({ [k: string]: string }|null);
8034
+ }
8035
+
8036
+ /** Represents a File. */
8037
+ class File implements IFile {
8038
+
8039
+ /**
8040
+ * Constructs a new File.
8041
+ * @param [properties] Properties to set
8042
+ */
8043
+ constructor(properties?: grafeas.v1.DiscoveryOccurrence.IFile);
8044
+
8045
+ /** File name. */
8046
+ public name: string;
8047
+
8048
+ /** File digest. */
8049
+ public digest: { [k: string]: string };
8050
+
8051
+ /**
8052
+ * Creates a new File instance using the specified properties.
8053
+ * @param [properties] Properties to set
8054
+ * @returns File instance
8055
+ */
8056
+ public static create(properties?: grafeas.v1.DiscoveryOccurrence.IFile): grafeas.v1.DiscoveryOccurrence.File;
8057
+
8058
+ /**
8059
+ * Encodes the specified File message. Does not implicitly {@link grafeas.v1.DiscoveryOccurrence.File.verify|verify} messages.
8060
+ * @param message File message or plain object to encode
8061
+ * @param [writer] Writer to encode to
8062
+ * @returns Writer
8063
+ */
8064
+ public static encode(message: grafeas.v1.DiscoveryOccurrence.IFile, writer?: $protobuf.Writer): $protobuf.Writer;
8065
+
8066
+ /**
8067
+ * Encodes the specified File message, length delimited. Does not implicitly {@link grafeas.v1.DiscoveryOccurrence.File.verify|verify} messages.
8068
+ * @param message File message or plain object to encode
8069
+ * @param [writer] Writer to encode to
8070
+ * @returns Writer
8071
+ */
8072
+ public static encodeDelimited(message: grafeas.v1.DiscoveryOccurrence.IFile, writer?: $protobuf.Writer): $protobuf.Writer;
8073
+
8074
+ /**
8075
+ * Decodes a File message from the specified reader or buffer.
8076
+ * @param reader Reader or buffer to decode from
8077
+ * @param [length] Message length if known beforehand
8078
+ * @returns File
8079
+ * @throws {Error} If the payload is not a reader or valid buffer
8080
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8081
+ */
8082
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.DiscoveryOccurrence.File;
8083
+
8084
+ /**
8085
+ * Decodes a File message from the specified reader or buffer, length delimited.
8086
+ * @param reader Reader or buffer to decode from
8087
+ * @returns File
8088
+ * @throws {Error} If the payload is not a reader or valid buffer
8089
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8090
+ */
8091
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.DiscoveryOccurrence.File;
8092
+
8093
+ /**
8094
+ * Verifies a File message.
8095
+ * @param message Plain object to verify
8096
+ * @returns `null` if valid, otherwise the reason why it is not
8097
+ */
8098
+ public static verify(message: { [k: string]: any }): (string|null);
8099
+
8100
+ /**
8101
+ * Creates a File message from a plain object. Also converts values to their respective internal types.
8102
+ * @param object Plain object
8103
+ * @returns File
8104
+ */
8105
+ public static fromObject(object: { [k: string]: any }): grafeas.v1.DiscoveryOccurrence.File;
8106
+
8107
+ /**
8108
+ * Creates a plain object from a File message. Also converts values to other types if specified.
8109
+ * @param message File
8110
+ * @param [options] Conversion options
8111
+ * @returns Plain object
8112
+ */
8113
+ public static toObject(message: grafeas.v1.DiscoveryOccurrence.File, options?: $protobuf.IConversionOptions): { [k: string]: any };
8114
+
8115
+ /**
8116
+ * Converts this File to JSON.
8117
+ * @returns JSON object
8118
+ */
8119
+ public toJSON(): { [k: string]: any };
8120
+
8121
+ /**
8122
+ * Gets the default type url for File
8123
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8124
+ * @returns The default type url
8125
+ */
8126
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8127
+ }
8013
8128
  }
8014
8129
 
8015
8130
  /** Properties of a DSSEAttestationNote. */
@@ -9184,6 +9299,9 @@ export namespace grafeas {
9184
9299
 
9185
9300
  /** ListOccurrencesRequest pageToken */
9186
9301
  pageToken?: (string|null);
9302
+
9303
+ /** ListOccurrencesRequest returnPartialSuccess */
9304
+ returnPartialSuccess?: (boolean|null);
9187
9305
  }
9188
9306
 
9189
9307
  /** Represents a ListOccurrencesRequest. */
@@ -9207,6 +9325,9 @@ export namespace grafeas {
9207
9325
  /** ListOccurrencesRequest pageToken. */
9208
9326
  public pageToken: string;
9209
9327
 
9328
+ /** ListOccurrencesRequest returnPartialSuccess. */
9329
+ public returnPartialSuccess: boolean;
9330
+
9210
9331
  /**
9211
9332
  * Creates a new ListOccurrencesRequest instance using the specified properties.
9212
9333
  * @param [properties] Properties to set
@@ -9293,6 +9414,9 @@ export namespace grafeas {
9293
9414
 
9294
9415
  /** ListOccurrencesResponse nextPageToken */
9295
9416
  nextPageToken?: (string|null);
9417
+
9418
+ /** ListOccurrencesResponse unreachable */
9419
+ unreachable?: (string[]|null);
9296
9420
  }
9297
9421
 
9298
9422
  /** Represents a ListOccurrencesResponse. */
@@ -9310,6 +9434,9 @@ export namespace grafeas {
9310
9434
  /** ListOccurrencesResponse nextPageToken. */
9311
9435
  public nextPageToken: string;
9312
9436
 
9437
+ /** ListOccurrencesResponse unreachable. */
9438
+ public unreachable: string[];
9439
+
9313
9440
  /**
9314
9441
  * Creates a new ListOccurrencesResponse instance using the specified properties.
9315
9442
  * @param [properties] Properties to set
@@ -9905,6 +10032,9 @@ export namespace grafeas {
9905
10032
 
9906
10033
  /** ListNotesRequest pageToken */
9907
10034
  pageToken?: (string|null);
10035
+
10036
+ /** ListNotesRequest returnPartialSuccess */
10037
+ returnPartialSuccess?: (boolean|null);
9908
10038
  }
9909
10039
 
9910
10040
  /** Represents a ListNotesRequest. */
@@ -9928,6 +10058,9 @@ export namespace grafeas {
9928
10058
  /** ListNotesRequest pageToken. */
9929
10059
  public pageToken: string;
9930
10060
 
10061
+ /** ListNotesRequest returnPartialSuccess. */
10062
+ public returnPartialSuccess: boolean;
10063
+
9931
10064
  /**
9932
10065
  * Creates a new ListNotesRequest instance using the specified properties.
9933
10066
  * @param [properties] Properties to set
@@ -10014,6 +10147,9 @@ export namespace grafeas {
10014
10147
 
10015
10148
  /** ListNotesResponse nextPageToken */
10016
10149
  nextPageToken?: (string|null);
10150
+
10151
+ /** ListNotesResponse unreachable */
10152
+ unreachable?: (string[]|null);
10017
10153
  }
10018
10154
 
10019
10155
  /** Represents a ListNotesResponse. */
@@ -10031,6 +10167,9 @@ export namespace grafeas {
10031
10167
  /** ListNotesResponse nextPageToken. */
10032
10168
  public nextPageToken: string;
10033
10169
 
10170
+ /** ListNotesResponse unreachable. */
10171
+ public unreachable: string[];
10172
+
10034
10173
  /**
10035
10174
  * Creates a new ListNotesResponse instance using the specified properties.
10036
10175
  * @param [properties] Properties to set
@@ -12687,6 +12826,12 @@ export namespace grafeas {
12687
12826
 
12688
12827
  /** SecretOccurrence statuses */
12689
12828
  statuses?: (grafeas.v1.ISecretStatus[]|null);
12829
+
12830
+ /** SecretOccurrence data */
12831
+ data?: (google.protobuf.IAny|null);
12832
+
12833
+ /** SecretOccurrence digest */
12834
+ digest?: (grafeas.v1.IDigest|null);
12690
12835
  }
12691
12836
 
12692
12837
  /** Represents a SecretOccurrence. */
@@ -12707,6 +12852,12 @@ export namespace grafeas {
12707
12852
  /** SecretOccurrence statuses. */
12708
12853
  public statuses: grafeas.v1.ISecretStatus[];
12709
12854
 
12855
+ /** SecretOccurrence data. */
12856
+ public data?: (google.protobuf.IAny|null);
12857
+
12858
+ /** SecretOccurrence digest. */
12859
+ public digest?: (grafeas.v1.IDigest|null);
12860
+
12710
12861
  /**
12711
12862
  * Creates a new SecretOccurrence instance using the specified properties.
12712
12863
  * @param [properties] Properties to set
@@ -13009,7 +13160,27 @@ export namespace grafeas {
13009
13160
  enum SecretKind {
13010
13161
  SECRET_KIND_UNSPECIFIED = 0,
13011
13162
  SECRET_KIND_UNKNOWN = 1,
13012
- SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY = 2
13163
+ SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY = 2,
13164
+ SECRET_KIND_GCP_API_KEY = 3,
13165
+ SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS = 4,
13166
+ SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN = 5,
13167
+ SECRET_KIND_ANTHROPIC_ADMIN_API_KEY = 6,
13168
+ SECRET_KIND_ANTHROPIC_API_KEY = 7,
13169
+ SECRET_KIND_AZURE_ACCESS_TOKEN = 8,
13170
+ SECRET_KIND_AZURE_IDENTITY_TOKEN = 9,
13171
+ SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN = 10,
13172
+ SECRET_KIND_GITHUB_APP_REFRESH_TOKEN = 11,
13173
+ SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN = 12,
13174
+ SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN = 13,
13175
+ SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN = 14,
13176
+ SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN = 15,
13177
+ SECRET_KIND_GITHUB_OAUTH_TOKEN = 16,
13178
+ SECRET_KIND_HUGGINGFACE_API_KEY = 17,
13179
+ SECRET_KIND_OPENAI_API_KEY = 18,
13180
+ SECRET_KIND_PERPLEXITY_API_KEY = 19,
13181
+ SECRET_KIND_STRIPE_SECRET_KEY = 20,
13182
+ SECRET_KIND_STRIPE_RESTRICTED_KEY = 21,
13183
+ SECRET_KIND_STRIPE_WEBHOOK_SECRET = 22
13013
13184
  }
13014
13185
 
13015
13186
  /** Properties of an UpgradeNote. */
@@ -15033,6 +15204,9 @@ export namespace grafeas {
15033
15204
 
15034
15205
  /** VulnerabilityOccurrence extraDetails */
15035
15206
  extraDetails?: (string|null);
15207
+
15208
+ /** VulnerabilityOccurrence risk */
15209
+ risk?: (grafeas.v1.IRisk|null);
15036
15210
  }
15037
15211
 
15038
15212
  /** Represents a VulnerabilityOccurrence. */
@@ -15086,6 +15260,9 @@ export namespace grafeas {
15086
15260
  /** VulnerabilityOccurrence extraDetails. */
15087
15261
  public extraDetails: string;
15088
15262
 
15263
+ /** VulnerabilityOccurrence risk. */
15264
+ public risk?: (grafeas.v1.IRisk|null);
15265
+
15089
15266
  /**
15090
15267
  * Creates a new VulnerabilityOccurrence instance using the specified properties.
15091
15268
  * @param [properties] Properties to set
@@ -15456,6 +15633,309 @@ export namespace grafeas {
15456
15633
  public static getTypeUrl(typeUrlPrefix?: string): string;
15457
15634
  }
15458
15635
  }
15636
+
15637
+ /** Properties of a Risk. */
15638
+ interface IRisk {
15639
+
15640
+ /** Risk cisaKev */
15641
+ cisaKev?: (grafeas.v1.ICISAKnownExploitedVulnerabilities|null);
15642
+
15643
+ /** Risk epss */
15644
+ epss?: (grafeas.v1.IExploitPredictionScoringSystem|null);
15645
+ }
15646
+
15647
+ /** Represents a Risk. */
15648
+ class Risk implements IRisk {
15649
+
15650
+ /**
15651
+ * Constructs a new Risk.
15652
+ * @param [properties] Properties to set
15653
+ */
15654
+ constructor(properties?: grafeas.v1.IRisk);
15655
+
15656
+ /** Risk cisaKev. */
15657
+ public cisaKev?: (grafeas.v1.ICISAKnownExploitedVulnerabilities|null);
15658
+
15659
+ /** Risk epss. */
15660
+ public epss?: (grafeas.v1.IExploitPredictionScoringSystem|null);
15661
+
15662
+ /**
15663
+ * Creates a new Risk instance using the specified properties.
15664
+ * @param [properties] Properties to set
15665
+ * @returns Risk instance
15666
+ */
15667
+ public static create(properties?: grafeas.v1.IRisk): grafeas.v1.Risk;
15668
+
15669
+ /**
15670
+ * Encodes the specified Risk message. Does not implicitly {@link grafeas.v1.Risk.verify|verify} messages.
15671
+ * @param message Risk message or plain object to encode
15672
+ * @param [writer] Writer to encode to
15673
+ * @returns Writer
15674
+ */
15675
+ public static encode(message: grafeas.v1.IRisk, writer?: $protobuf.Writer): $protobuf.Writer;
15676
+
15677
+ /**
15678
+ * Encodes the specified Risk message, length delimited. Does not implicitly {@link grafeas.v1.Risk.verify|verify} messages.
15679
+ * @param message Risk message or plain object to encode
15680
+ * @param [writer] Writer to encode to
15681
+ * @returns Writer
15682
+ */
15683
+ public static encodeDelimited(message: grafeas.v1.IRisk, writer?: $protobuf.Writer): $protobuf.Writer;
15684
+
15685
+ /**
15686
+ * Decodes a Risk message from the specified reader or buffer.
15687
+ * @param reader Reader or buffer to decode from
15688
+ * @param [length] Message length if known beforehand
15689
+ * @returns Risk
15690
+ * @throws {Error} If the payload is not a reader or valid buffer
15691
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15692
+ */
15693
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.Risk;
15694
+
15695
+ /**
15696
+ * Decodes a Risk message from the specified reader or buffer, length delimited.
15697
+ * @param reader Reader or buffer to decode from
15698
+ * @returns Risk
15699
+ * @throws {Error} If the payload is not a reader or valid buffer
15700
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15701
+ */
15702
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.Risk;
15703
+
15704
+ /**
15705
+ * Verifies a Risk message.
15706
+ * @param message Plain object to verify
15707
+ * @returns `null` if valid, otherwise the reason why it is not
15708
+ */
15709
+ public static verify(message: { [k: string]: any }): (string|null);
15710
+
15711
+ /**
15712
+ * Creates a Risk message from a plain object. Also converts values to their respective internal types.
15713
+ * @param object Plain object
15714
+ * @returns Risk
15715
+ */
15716
+ public static fromObject(object: { [k: string]: any }): grafeas.v1.Risk;
15717
+
15718
+ /**
15719
+ * Creates a plain object from a Risk message. Also converts values to other types if specified.
15720
+ * @param message Risk
15721
+ * @param [options] Conversion options
15722
+ * @returns Plain object
15723
+ */
15724
+ public static toObject(message: grafeas.v1.Risk, options?: $protobuf.IConversionOptions): { [k: string]: any };
15725
+
15726
+ /**
15727
+ * Converts this Risk to JSON.
15728
+ * @returns JSON object
15729
+ */
15730
+ public toJSON(): { [k: string]: any };
15731
+
15732
+ /**
15733
+ * Gets the default type url for Risk
15734
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15735
+ * @returns The default type url
15736
+ */
15737
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15738
+ }
15739
+
15740
+ /** Properties of a CISAKnownExploitedVulnerabilities. */
15741
+ interface ICISAKnownExploitedVulnerabilities {
15742
+
15743
+ /** CISAKnownExploitedVulnerabilities knownRansomwareCampaignUse */
15744
+ knownRansomwareCampaignUse?: (string|null);
15745
+ }
15746
+
15747
+ /** Represents a CISAKnownExploitedVulnerabilities. */
15748
+ class CISAKnownExploitedVulnerabilities implements ICISAKnownExploitedVulnerabilities {
15749
+
15750
+ /**
15751
+ * Constructs a new CISAKnownExploitedVulnerabilities.
15752
+ * @param [properties] Properties to set
15753
+ */
15754
+ constructor(properties?: grafeas.v1.ICISAKnownExploitedVulnerabilities);
15755
+
15756
+ /** CISAKnownExploitedVulnerabilities knownRansomwareCampaignUse. */
15757
+ public knownRansomwareCampaignUse: string;
15758
+
15759
+ /**
15760
+ * Creates a new CISAKnownExploitedVulnerabilities instance using the specified properties.
15761
+ * @param [properties] Properties to set
15762
+ * @returns CISAKnownExploitedVulnerabilities instance
15763
+ */
15764
+ public static create(properties?: grafeas.v1.ICISAKnownExploitedVulnerabilities): grafeas.v1.CISAKnownExploitedVulnerabilities;
15765
+
15766
+ /**
15767
+ * Encodes the specified CISAKnownExploitedVulnerabilities message. Does not implicitly {@link grafeas.v1.CISAKnownExploitedVulnerabilities.verify|verify} messages.
15768
+ * @param message CISAKnownExploitedVulnerabilities message or plain object to encode
15769
+ * @param [writer] Writer to encode to
15770
+ * @returns Writer
15771
+ */
15772
+ public static encode(message: grafeas.v1.ICISAKnownExploitedVulnerabilities, writer?: $protobuf.Writer): $protobuf.Writer;
15773
+
15774
+ /**
15775
+ * Encodes the specified CISAKnownExploitedVulnerabilities message, length delimited. Does not implicitly {@link grafeas.v1.CISAKnownExploitedVulnerabilities.verify|verify} messages.
15776
+ * @param message CISAKnownExploitedVulnerabilities message or plain object to encode
15777
+ * @param [writer] Writer to encode to
15778
+ * @returns Writer
15779
+ */
15780
+ public static encodeDelimited(message: grafeas.v1.ICISAKnownExploitedVulnerabilities, writer?: $protobuf.Writer): $protobuf.Writer;
15781
+
15782
+ /**
15783
+ * Decodes a CISAKnownExploitedVulnerabilities message from the specified reader or buffer.
15784
+ * @param reader Reader or buffer to decode from
15785
+ * @param [length] Message length if known beforehand
15786
+ * @returns CISAKnownExploitedVulnerabilities
15787
+ * @throws {Error} If the payload is not a reader or valid buffer
15788
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15789
+ */
15790
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.CISAKnownExploitedVulnerabilities;
15791
+
15792
+ /**
15793
+ * Decodes a CISAKnownExploitedVulnerabilities message from the specified reader or buffer, length delimited.
15794
+ * @param reader Reader or buffer to decode from
15795
+ * @returns CISAKnownExploitedVulnerabilities
15796
+ * @throws {Error} If the payload is not a reader or valid buffer
15797
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15798
+ */
15799
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.CISAKnownExploitedVulnerabilities;
15800
+
15801
+ /**
15802
+ * Verifies a CISAKnownExploitedVulnerabilities message.
15803
+ * @param message Plain object to verify
15804
+ * @returns `null` if valid, otherwise the reason why it is not
15805
+ */
15806
+ public static verify(message: { [k: string]: any }): (string|null);
15807
+
15808
+ /**
15809
+ * Creates a CISAKnownExploitedVulnerabilities message from a plain object. Also converts values to their respective internal types.
15810
+ * @param object Plain object
15811
+ * @returns CISAKnownExploitedVulnerabilities
15812
+ */
15813
+ public static fromObject(object: { [k: string]: any }): grafeas.v1.CISAKnownExploitedVulnerabilities;
15814
+
15815
+ /**
15816
+ * Creates a plain object from a CISAKnownExploitedVulnerabilities message. Also converts values to other types if specified.
15817
+ * @param message CISAKnownExploitedVulnerabilities
15818
+ * @param [options] Conversion options
15819
+ * @returns Plain object
15820
+ */
15821
+ public static toObject(message: grafeas.v1.CISAKnownExploitedVulnerabilities, options?: $protobuf.IConversionOptions): { [k: string]: any };
15822
+
15823
+ /**
15824
+ * Converts this CISAKnownExploitedVulnerabilities to JSON.
15825
+ * @returns JSON object
15826
+ */
15827
+ public toJSON(): { [k: string]: any };
15828
+
15829
+ /**
15830
+ * Gets the default type url for CISAKnownExploitedVulnerabilities
15831
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15832
+ * @returns The default type url
15833
+ */
15834
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15835
+ }
15836
+
15837
+ /** Properties of an ExploitPredictionScoringSystem. */
15838
+ interface IExploitPredictionScoringSystem {
15839
+
15840
+ /** ExploitPredictionScoringSystem percentile */
15841
+ percentile?: (number|null);
15842
+
15843
+ /** ExploitPredictionScoringSystem score */
15844
+ score?: (number|null);
15845
+ }
15846
+
15847
+ /** Represents an ExploitPredictionScoringSystem. */
15848
+ class ExploitPredictionScoringSystem implements IExploitPredictionScoringSystem {
15849
+
15850
+ /**
15851
+ * Constructs a new ExploitPredictionScoringSystem.
15852
+ * @param [properties] Properties to set
15853
+ */
15854
+ constructor(properties?: grafeas.v1.IExploitPredictionScoringSystem);
15855
+
15856
+ /** ExploitPredictionScoringSystem percentile. */
15857
+ public percentile: number;
15858
+
15859
+ /** ExploitPredictionScoringSystem score. */
15860
+ public score: number;
15861
+
15862
+ /**
15863
+ * Creates a new ExploitPredictionScoringSystem instance using the specified properties.
15864
+ * @param [properties] Properties to set
15865
+ * @returns ExploitPredictionScoringSystem instance
15866
+ */
15867
+ public static create(properties?: grafeas.v1.IExploitPredictionScoringSystem): grafeas.v1.ExploitPredictionScoringSystem;
15868
+
15869
+ /**
15870
+ * Encodes the specified ExploitPredictionScoringSystem message. Does not implicitly {@link grafeas.v1.ExploitPredictionScoringSystem.verify|verify} messages.
15871
+ * @param message ExploitPredictionScoringSystem message or plain object to encode
15872
+ * @param [writer] Writer to encode to
15873
+ * @returns Writer
15874
+ */
15875
+ public static encode(message: grafeas.v1.IExploitPredictionScoringSystem, writer?: $protobuf.Writer): $protobuf.Writer;
15876
+
15877
+ /**
15878
+ * Encodes the specified ExploitPredictionScoringSystem message, length delimited. Does not implicitly {@link grafeas.v1.ExploitPredictionScoringSystem.verify|verify} messages.
15879
+ * @param message ExploitPredictionScoringSystem message or plain object to encode
15880
+ * @param [writer] Writer to encode to
15881
+ * @returns Writer
15882
+ */
15883
+ public static encodeDelimited(message: grafeas.v1.IExploitPredictionScoringSystem, writer?: $protobuf.Writer): $protobuf.Writer;
15884
+
15885
+ /**
15886
+ * Decodes an ExploitPredictionScoringSystem message from the specified reader or buffer.
15887
+ * @param reader Reader or buffer to decode from
15888
+ * @param [length] Message length if known beforehand
15889
+ * @returns ExploitPredictionScoringSystem
15890
+ * @throws {Error} If the payload is not a reader or valid buffer
15891
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15892
+ */
15893
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.ExploitPredictionScoringSystem;
15894
+
15895
+ /**
15896
+ * Decodes an ExploitPredictionScoringSystem message from the specified reader or buffer, length delimited.
15897
+ * @param reader Reader or buffer to decode from
15898
+ * @returns ExploitPredictionScoringSystem
15899
+ * @throws {Error} If the payload is not a reader or valid buffer
15900
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15901
+ */
15902
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.ExploitPredictionScoringSystem;
15903
+
15904
+ /**
15905
+ * Verifies an ExploitPredictionScoringSystem message.
15906
+ * @param message Plain object to verify
15907
+ * @returns `null` if valid, otherwise the reason why it is not
15908
+ */
15909
+ public static verify(message: { [k: string]: any }): (string|null);
15910
+
15911
+ /**
15912
+ * Creates an ExploitPredictionScoringSystem message from a plain object. Also converts values to their respective internal types.
15913
+ * @param object Plain object
15914
+ * @returns ExploitPredictionScoringSystem
15915
+ */
15916
+ public static fromObject(object: { [k: string]: any }): grafeas.v1.ExploitPredictionScoringSystem;
15917
+
15918
+ /**
15919
+ * Creates a plain object from an ExploitPredictionScoringSystem message. Also converts values to other types if specified.
15920
+ * @param message ExploitPredictionScoringSystem
15921
+ * @param [options] Conversion options
15922
+ * @returns Plain object
15923
+ */
15924
+ public static toObject(message: grafeas.v1.ExploitPredictionScoringSystem, options?: $protobuf.IConversionOptions): { [k: string]: any };
15925
+
15926
+ /**
15927
+ * Converts this ExploitPredictionScoringSystem to JSON.
15928
+ * @returns JSON object
15929
+ */
15930
+ public toJSON(): { [k: string]: any };
15931
+
15932
+ /**
15933
+ * Gets the default type url for ExploitPredictionScoringSystem
15934
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15935
+ * @returns The default type url
15936
+ */
15937
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15938
+ }
15459
15939
  }
15460
15940
 
15461
15941
  /** Namespace v1beta1. */