@google-cloud/containeranalysis 4.0.0 → 4.1.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.
- package/CHANGELOG.md +12 -0
- package/build/protos/grafeas/v1/common.proto +29 -0
- package/build/protos/grafeas/v1/compliance.proto +3 -0
- package/build/protos/grafeas/v1/cvss.proto +3 -5
- package/build/protos/grafeas/v1/dsse_attestation.proto +1 -1
- package/build/protos/grafeas/v1/intoto_statement.proto +2 -0
- package/build/protos/grafeas/v1/package.proto +72 -12
- package/build/protos/grafeas/v1/slsa_provenance.proto +2 -1
- package/build/protos/grafeas/v1/slsa_provenance_zero_two.proto +82 -0
- package/build/protos/grafeas/v1/vulnerability.proto +3 -0
- package/build/protos/protos.d.ts +1435 -14
- package/build/protos/protos.js +4037 -309
- package/build/protos/protos.json +317 -5
- package/package.json +1 -1
package/build/protos/protos.d.ts
CHANGED
|
@@ -810,6 +810,288 @@ export namespace grafeas {
|
|
|
810
810
|
public toJSON(): { [k: string]: any };
|
|
811
811
|
}
|
|
812
812
|
|
|
813
|
+
/** Properties of a FileLocation. */
|
|
814
|
+
interface IFileLocation {
|
|
815
|
+
|
|
816
|
+
/** FileLocation filePath */
|
|
817
|
+
filePath?: (string|null);
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/** Represents a FileLocation. */
|
|
821
|
+
class FileLocation implements IFileLocation {
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* Constructs a new FileLocation.
|
|
825
|
+
* @param [properties] Properties to set
|
|
826
|
+
*/
|
|
827
|
+
constructor(properties?: grafeas.v1.IFileLocation);
|
|
828
|
+
|
|
829
|
+
/** FileLocation filePath. */
|
|
830
|
+
public filePath: string;
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* Creates a new FileLocation instance using the specified properties.
|
|
834
|
+
* @param [properties] Properties to set
|
|
835
|
+
* @returns FileLocation instance
|
|
836
|
+
*/
|
|
837
|
+
public static create(properties?: grafeas.v1.IFileLocation): grafeas.v1.FileLocation;
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* Encodes the specified FileLocation message. Does not implicitly {@link grafeas.v1.FileLocation.verify|verify} messages.
|
|
841
|
+
* @param message FileLocation message or plain object to encode
|
|
842
|
+
* @param [writer] Writer to encode to
|
|
843
|
+
* @returns Writer
|
|
844
|
+
*/
|
|
845
|
+
public static encode(message: grafeas.v1.IFileLocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* Encodes the specified FileLocation message, length delimited. Does not implicitly {@link grafeas.v1.FileLocation.verify|verify} messages.
|
|
849
|
+
* @param message FileLocation message or plain object to encode
|
|
850
|
+
* @param [writer] Writer to encode to
|
|
851
|
+
* @returns Writer
|
|
852
|
+
*/
|
|
853
|
+
public static encodeDelimited(message: grafeas.v1.IFileLocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* Decodes a FileLocation message from the specified reader or buffer.
|
|
857
|
+
* @param reader Reader or buffer to decode from
|
|
858
|
+
* @param [length] Message length if known beforehand
|
|
859
|
+
* @returns FileLocation
|
|
860
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
861
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
862
|
+
*/
|
|
863
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.FileLocation;
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* Decodes a FileLocation message from the specified reader or buffer, length delimited.
|
|
867
|
+
* @param reader Reader or buffer to decode from
|
|
868
|
+
* @returns FileLocation
|
|
869
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
870
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
871
|
+
*/
|
|
872
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.FileLocation;
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* Verifies a FileLocation message.
|
|
876
|
+
* @param message Plain object to verify
|
|
877
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
878
|
+
*/
|
|
879
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* Creates a FileLocation message from a plain object. Also converts values to their respective internal types.
|
|
883
|
+
* @param object Plain object
|
|
884
|
+
* @returns FileLocation
|
|
885
|
+
*/
|
|
886
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.FileLocation;
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* Creates a plain object from a FileLocation message. Also converts values to other types if specified.
|
|
890
|
+
* @param message FileLocation
|
|
891
|
+
* @param [options] Conversion options
|
|
892
|
+
* @returns Plain object
|
|
893
|
+
*/
|
|
894
|
+
public static toObject(message: grafeas.v1.FileLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* Converts this FileLocation to JSON.
|
|
898
|
+
* @returns JSON object
|
|
899
|
+
*/
|
|
900
|
+
public toJSON(): { [k: string]: any };
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
/** Properties of a License. */
|
|
904
|
+
interface ILicense {
|
|
905
|
+
|
|
906
|
+
/** License expression */
|
|
907
|
+
expression?: (string|null);
|
|
908
|
+
|
|
909
|
+
/** License comments */
|
|
910
|
+
comments?: (string|null);
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
/** Represents a License. */
|
|
914
|
+
class License implements ILicense {
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* Constructs a new License.
|
|
918
|
+
* @param [properties] Properties to set
|
|
919
|
+
*/
|
|
920
|
+
constructor(properties?: grafeas.v1.ILicense);
|
|
921
|
+
|
|
922
|
+
/** License expression. */
|
|
923
|
+
public expression: string;
|
|
924
|
+
|
|
925
|
+
/** License comments. */
|
|
926
|
+
public comments: string;
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Creates a new License instance using the specified properties.
|
|
930
|
+
* @param [properties] Properties to set
|
|
931
|
+
* @returns License instance
|
|
932
|
+
*/
|
|
933
|
+
public static create(properties?: grafeas.v1.ILicense): grafeas.v1.License;
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* Encodes the specified License message. Does not implicitly {@link grafeas.v1.License.verify|verify} messages.
|
|
937
|
+
* @param message License message or plain object to encode
|
|
938
|
+
* @param [writer] Writer to encode to
|
|
939
|
+
* @returns Writer
|
|
940
|
+
*/
|
|
941
|
+
public static encode(message: grafeas.v1.ILicense, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* Encodes the specified License message, length delimited. Does not implicitly {@link grafeas.v1.License.verify|verify} messages.
|
|
945
|
+
* @param message License message or plain object to encode
|
|
946
|
+
* @param [writer] Writer to encode to
|
|
947
|
+
* @returns Writer
|
|
948
|
+
*/
|
|
949
|
+
public static encodeDelimited(message: grafeas.v1.ILicense, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Decodes a License message from the specified reader or buffer.
|
|
953
|
+
* @param reader Reader or buffer to decode from
|
|
954
|
+
* @param [length] Message length if known beforehand
|
|
955
|
+
* @returns License
|
|
956
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
957
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
958
|
+
*/
|
|
959
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.License;
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* Decodes a License message from the specified reader or buffer, length delimited.
|
|
963
|
+
* @param reader Reader or buffer to decode from
|
|
964
|
+
* @returns License
|
|
965
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
966
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
967
|
+
*/
|
|
968
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.License;
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* Verifies a License message.
|
|
972
|
+
* @param message Plain object to verify
|
|
973
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
974
|
+
*/
|
|
975
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* Creates a License message from a plain object. Also converts values to their respective internal types.
|
|
979
|
+
* @param object Plain object
|
|
980
|
+
* @returns License
|
|
981
|
+
*/
|
|
982
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.License;
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* Creates a plain object from a License message. Also converts values to other types if specified.
|
|
986
|
+
* @param message License
|
|
987
|
+
* @param [options] Conversion options
|
|
988
|
+
* @returns Plain object
|
|
989
|
+
*/
|
|
990
|
+
public static toObject(message: grafeas.v1.License, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* Converts this License to JSON.
|
|
994
|
+
* @returns JSON object
|
|
995
|
+
*/
|
|
996
|
+
public toJSON(): { [k: string]: any };
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/** Properties of a Digest. */
|
|
1000
|
+
interface IDigest {
|
|
1001
|
+
|
|
1002
|
+
/** Digest algo */
|
|
1003
|
+
algo?: (string|null);
|
|
1004
|
+
|
|
1005
|
+
/** Digest digestBytes */
|
|
1006
|
+
digestBytes?: (Uint8Array|string|null);
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
/** Represents a Digest. */
|
|
1010
|
+
class Digest implements IDigest {
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* Constructs a new Digest.
|
|
1014
|
+
* @param [properties] Properties to set
|
|
1015
|
+
*/
|
|
1016
|
+
constructor(properties?: grafeas.v1.IDigest);
|
|
1017
|
+
|
|
1018
|
+
/** Digest algo. */
|
|
1019
|
+
public algo: string;
|
|
1020
|
+
|
|
1021
|
+
/** Digest digestBytes. */
|
|
1022
|
+
public digestBytes: (Uint8Array|string);
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* Creates a new Digest instance using the specified properties.
|
|
1026
|
+
* @param [properties] Properties to set
|
|
1027
|
+
* @returns Digest instance
|
|
1028
|
+
*/
|
|
1029
|
+
public static create(properties?: grafeas.v1.IDigest): grafeas.v1.Digest;
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* Encodes the specified Digest message. Does not implicitly {@link grafeas.v1.Digest.verify|verify} messages.
|
|
1033
|
+
* @param message Digest message or plain object to encode
|
|
1034
|
+
* @param [writer] Writer to encode to
|
|
1035
|
+
* @returns Writer
|
|
1036
|
+
*/
|
|
1037
|
+
public static encode(message: grafeas.v1.IDigest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* Encodes the specified Digest message, length delimited. Does not implicitly {@link grafeas.v1.Digest.verify|verify} messages.
|
|
1041
|
+
* @param message Digest message or plain object to encode
|
|
1042
|
+
* @param [writer] Writer to encode to
|
|
1043
|
+
* @returns Writer
|
|
1044
|
+
*/
|
|
1045
|
+
public static encodeDelimited(message: grafeas.v1.IDigest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* Decodes a Digest message from the specified reader or buffer.
|
|
1049
|
+
* @param reader Reader or buffer to decode from
|
|
1050
|
+
* @param [length] Message length if known beforehand
|
|
1051
|
+
* @returns Digest
|
|
1052
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1053
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1054
|
+
*/
|
|
1055
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.Digest;
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* Decodes a Digest message from the specified reader or buffer, length delimited.
|
|
1059
|
+
* @param reader Reader or buffer to decode from
|
|
1060
|
+
* @returns Digest
|
|
1061
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1062
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1063
|
+
*/
|
|
1064
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.Digest;
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* Verifies a Digest message.
|
|
1068
|
+
* @param message Plain object to verify
|
|
1069
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1070
|
+
*/
|
|
1071
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* Creates a Digest message from a plain object. Also converts values to their respective internal types.
|
|
1075
|
+
* @param object Plain object
|
|
1076
|
+
* @returns Digest
|
|
1077
|
+
*/
|
|
1078
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.Digest;
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* Creates a plain object from a Digest message. Also converts values to other types if specified.
|
|
1082
|
+
* @param message Digest
|
|
1083
|
+
* @param [options] Conversion options
|
|
1084
|
+
* @returns Plain object
|
|
1085
|
+
*/
|
|
1086
|
+
public static toObject(message: grafeas.v1.Digest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* Converts this Digest to JSON.
|
|
1090
|
+
* @returns JSON object
|
|
1091
|
+
*/
|
|
1092
|
+
public toJSON(): { [k: string]: any };
|
|
1093
|
+
}
|
|
1094
|
+
|
|
813
1095
|
/** Properties of a BuildNote. */
|
|
814
1096
|
interface IBuildNote {
|
|
815
1097
|
|
|
@@ -1553,6 +1835,9 @@ export namespace grafeas {
|
|
|
1553
1835
|
|
|
1554
1836
|
/** InTotoStatement slsaProvenance */
|
|
1555
1837
|
slsaProvenance?: (grafeas.v1.ISlsaProvenance|null);
|
|
1838
|
+
|
|
1839
|
+
/** InTotoStatement slsaProvenanceZeroTwo */
|
|
1840
|
+
slsaProvenanceZeroTwo?: (grafeas.v1.ISlsaProvenanceZeroTwo|null);
|
|
1556
1841
|
}
|
|
1557
1842
|
|
|
1558
1843
|
/** Represents an InTotoStatement. */
|
|
@@ -1579,8 +1864,11 @@ export namespace grafeas {
|
|
|
1579
1864
|
/** InTotoStatement slsaProvenance. */
|
|
1580
1865
|
public slsaProvenance?: (grafeas.v1.ISlsaProvenance|null);
|
|
1581
1866
|
|
|
1867
|
+
/** InTotoStatement slsaProvenanceZeroTwo. */
|
|
1868
|
+
public slsaProvenanceZeroTwo?: (grafeas.v1.ISlsaProvenanceZeroTwo|null);
|
|
1869
|
+
|
|
1582
1870
|
/** InTotoStatement predicate. */
|
|
1583
|
-
public predicate?: ("provenance"|"slsaProvenance");
|
|
1871
|
+
public predicate?: ("provenance"|"slsaProvenance"|"slsaProvenanceZeroTwo");
|
|
1584
1872
|
|
|
1585
1873
|
/**
|
|
1586
1874
|
* Creates a new InTotoStatement instance using the specified properties.
|
|
@@ -2331,45 +2619,774 @@ export namespace grafeas {
|
|
|
2331
2619
|
* Decodes a Material message from the specified reader or buffer.
|
|
2332
2620
|
* @param reader Reader or buffer to decode from
|
|
2333
2621
|
* @param [length] Message length if known beforehand
|
|
2334
|
-
* @returns Material
|
|
2622
|
+
* @returns Material
|
|
2623
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2624
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2625
|
+
*/
|
|
2626
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SlsaProvenance.Material;
|
|
2627
|
+
|
|
2628
|
+
/**
|
|
2629
|
+
* Decodes a Material message from the specified reader or buffer, length delimited.
|
|
2630
|
+
* @param reader Reader or buffer to decode from
|
|
2631
|
+
* @returns Material
|
|
2632
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2633
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2634
|
+
*/
|
|
2635
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SlsaProvenance.Material;
|
|
2636
|
+
|
|
2637
|
+
/**
|
|
2638
|
+
* Verifies a Material message.
|
|
2639
|
+
* @param message Plain object to verify
|
|
2640
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2641
|
+
*/
|
|
2642
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2643
|
+
|
|
2644
|
+
/**
|
|
2645
|
+
* Creates a Material message from a plain object. Also converts values to their respective internal types.
|
|
2646
|
+
* @param object Plain object
|
|
2647
|
+
* @returns Material
|
|
2648
|
+
*/
|
|
2649
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SlsaProvenance.Material;
|
|
2650
|
+
|
|
2651
|
+
/**
|
|
2652
|
+
* Creates a plain object from a Material message. Also converts values to other types if specified.
|
|
2653
|
+
* @param message Material
|
|
2654
|
+
* @param [options] Conversion options
|
|
2655
|
+
* @returns Plain object
|
|
2656
|
+
*/
|
|
2657
|
+
public static toObject(message: grafeas.v1.SlsaProvenance.Material, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2658
|
+
|
|
2659
|
+
/**
|
|
2660
|
+
* Converts this Material to JSON.
|
|
2661
|
+
* @returns JSON object
|
|
2662
|
+
*/
|
|
2663
|
+
public toJSON(): { [k: string]: any };
|
|
2664
|
+
}
|
|
2665
|
+
}
|
|
2666
|
+
|
|
2667
|
+
/** Properties of a SlsaProvenanceZeroTwo. */
|
|
2668
|
+
interface ISlsaProvenanceZeroTwo {
|
|
2669
|
+
|
|
2670
|
+
/** SlsaProvenanceZeroTwo builder */
|
|
2671
|
+
builder?: (grafeas.v1.SlsaProvenanceZeroTwo.ISlsaBuilder|null);
|
|
2672
|
+
|
|
2673
|
+
/** SlsaProvenanceZeroTwo buildType */
|
|
2674
|
+
buildType?: (string|null);
|
|
2675
|
+
|
|
2676
|
+
/** SlsaProvenanceZeroTwo invocation */
|
|
2677
|
+
invocation?: (grafeas.v1.SlsaProvenanceZeroTwo.ISlsaInvocation|null);
|
|
2678
|
+
|
|
2679
|
+
/** SlsaProvenanceZeroTwo buildConfig */
|
|
2680
|
+
buildConfig?: (google.protobuf.IStruct|null);
|
|
2681
|
+
|
|
2682
|
+
/** SlsaProvenanceZeroTwo metadata */
|
|
2683
|
+
metadata?: (grafeas.v1.SlsaProvenanceZeroTwo.ISlsaMetadata|null);
|
|
2684
|
+
|
|
2685
|
+
/** SlsaProvenanceZeroTwo materials */
|
|
2686
|
+
materials?: (grafeas.v1.SlsaProvenanceZeroTwo.ISlsaMaterial[]|null);
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2689
|
+
/** Represents a SlsaProvenanceZeroTwo. */
|
|
2690
|
+
class SlsaProvenanceZeroTwo implements ISlsaProvenanceZeroTwo {
|
|
2691
|
+
|
|
2692
|
+
/**
|
|
2693
|
+
* Constructs a new SlsaProvenanceZeroTwo.
|
|
2694
|
+
* @param [properties] Properties to set
|
|
2695
|
+
*/
|
|
2696
|
+
constructor(properties?: grafeas.v1.ISlsaProvenanceZeroTwo);
|
|
2697
|
+
|
|
2698
|
+
/** SlsaProvenanceZeroTwo builder. */
|
|
2699
|
+
public builder?: (grafeas.v1.SlsaProvenanceZeroTwo.ISlsaBuilder|null);
|
|
2700
|
+
|
|
2701
|
+
/** SlsaProvenanceZeroTwo buildType. */
|
|
2702
|
+
public buildType: string;
|
|
2703
|
+
|
|
2704
|
+
/** SlsaProvenanceZeroTwo invocation. */
|
|
2705
|
+
public invocation?: (grafeas.v1.SlsaProvenanceZeroTwo.ISlsaInvocation|null);
|
|
2706
|
+
|
|
2707
|
+
/** SlsaProvenanceZeroTwo buildConfig. */
|
|
2708
|
+
public buildConfig?: (google.protobuf.IStruct|null);
|
|
2709
|
+
|
|
2710
|
+
/** SlsaProvenanceZeroTwo metadata. */
|
|
2711
|
+
public metadata?: (grafeas.v1.SlsaProvenanceZeroTwo.ISlsaMetadata|null);
|
|
2712
|
+
|
|
2713
|
+
/** SlsaProvenanceZeroTwo materials. */
|
|
2714
|
+
public materials: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaMaterial[];
|
|
2715
|
+
|
|
2716
|
+
/**
|
|
2717
|
+
* Creates a new SlsaProvenanceZeroTwo instance using the specified properties.
|
|
2718
|
+
* @param [properties] Properties to set
|
|
2719
|
+
* @returns SlsaProvenanceZeroTwo instance
|
|
2720
|
+
*/
|
|
2721
|
+
public static create(properties?: grafeas.v1.ISlsaProvenanceZeroTwo): grafeas.v1.SlsaProvenanceZeroTwo;
|
|
2722
|
+
|
|
2723
|
+
/**
|
|
2724
|
+
* Encodes the specified SlsaProvenanceZeroTwo message. Does not implicitly {@link grafeas.v1.SlsaProvenanceZeroTwo.verify|verify} messages.
|
|
2725
|
+
* @param message SlsaProvenanceZeroTwo message or plain object to encode
|
|
2726
|
+
* @param [writer] Writer to encode to
|
|
2727
|
+
* @returns Writer
|
|
2728
|
+
*/
|
|
2729
|
+
public static encode(message: grafeas.v1.ISlsaProvenanceZeroTwo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2730
|
+
|
|
2731
|
+
/**
|
|
2732
|
+
* Encodes the specified SlsaProvenanceZeroTwo message, length delimited. Does not implicitly {@link grafeas.v1.SlsaProvenanceZeroTwo.verify|verify} messages.
|
|
2733
|
+
* @param message SlsaProvenanceZeroTwo message or plain object to encode
|
|
2734
|
+
* @param [writer] Writer to encode to
|
|
2735
|
+
* @returns Writer
|
|
2736
|
+
*/
|
|
2737
|
+
public static encodeDelimited(message: grafeas.v1.ISlsaProvenanceZeroTwo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2738
|
+
|
|
2739
|
+
/**
|
|
2740
|
+
* Decodes a SlsaProvenanceZeroTwo message from the specified reader or buffer.
|
|
2741
|
+
* @param reader Reader or buffer to decode from
|
|
2742
|
+
* @param [length] Message length if known beforehand
|
|
2743
|
+
* @returns SlsaProvenanceZeroTwo
|
|
2744
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2745
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2746
|
+
*/
|
|
2747
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SlsaProvenanceZeroTwo;
|
|
2748
|
+
|
|
2749
|
+
/**
|
|
2750
|
+
* Decodes a SlsaProvenanceZeroTwo message from the specified reader or buffer, length delimited.
|
|
2751
|
+
* @param reader Reader or buffer to decode from
|
|
2752
|
+
* @returns SlsaProvenanceZeroTwo
|
|
2753
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2754
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2755
|
+
*/
|
|
2756
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SlsaProvenanceZeroTwo;
|
|
2757
|
+
|
|
2758
|
+
/**
|
|
2759
|
+
* Verifies a SlsaProvenanceZeroTwo message.
|
|
2760
|
+
* @param message Plain object to verify
|
|
2761
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2762
|
+
*/
|
|
2763
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2764
|
+
|
|
2765
|
+
/**
|
|
2766
|
+
* Creates a SlsaProvenanceZeroTwo message from a plain object. Also converts values to their respective internal types.
|
|
2767
|
+
* @param object Plain object
|
|
2768
|
+
* @returns SlsaProvenanceZeroTwo
|
|
2769
|
+
*/
|
|
2770
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SlsaProvenanceZeroTwo;
|
|
2771
|
+
|
|
2772
|
+
/**
|
|
2773
|
+
* Creates a plain object from a SlsaProvenanceZeroTwo message. Also converts values to other types if specified.
|
|
2774
|
+
* @param message SlsaProvenanceZeroTwo
|
|
2775
|
+
* @param [options] Conversion options
|
|
2776
|
+
* @returns Plain object
|
|
2777
|
+
*/
|
|
2778
|
+
public static toObject(message: grafeas.v1.SlsaProvenanceZeroTwo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2779
|
+
|
|
2780
|
+
/**
|
|
2781
|
+
* Converts this SlsaProvenanceZeroTwo to JSON.
|
|
2782
|
+
* @returns JSON object
|
|
2783
|
+
*/
|
|
2784
|
+
public toJSON(): { [k: string]: any };
|
|
2785
|
+
}
|
|
2786
|
+
|
|
2787
|
+
namespace SlsaProvenanceZeroTwo {
|
|
2788
|
+
|
|
2789
|
+
/** Properties of a SlsaBuilder. */
|
|
2790
|
+
interface ISlsaBuilder {
|
|
2791
|
+
|
|
2792
|
+
/** SlsaBuilder id */
|
|
2793
|
+
id?: (string|null);
|
|
2794
|
+
}
|
|
2795
|
+
|
|
2796
|
+
/** Represents a SlsaBuilder. */
|
|
2797
|
+
class SlsaBuilder implements ISlsaBuilder {
|
|
2798
|
+
|
|
2799
|
+
/**
|
|
2800
|
+
* Constructs a new SlsaBuilder.
|
|
2801
|
+
* @param [properties] Properties to set
|
|
2802
|
+
*/
|
|
2803
|
+
constructor(properties?: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaBuilder);
|
|
2804
|
+
|
|
2805
|
+
/** SlsaBuilder id. */
|
|
2806
|
+
public id: string;
|
|
2807
|
+
|
|
2808
|
+
/**
|
|
2809
|
+
* Creates a new SlsaBuilder instance using the specified properties.
|
|
2810
|
+
* @param [properties] Properties to set
|
|
2811
|
+
* @returns SlsaBuilder instance
|
|
2812
|
+
*/
|
|
2813
|
+
public static create(properties?: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaBuilder): grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder;
|
|
2814
|
+
|
|
2815
|
+
/**
|
|
2816
|
+
* Encodes the specified SlsaBuilder message. Does not implicitly {@link grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder.verify|verify} messages.
|
|
2817
|
+
* @param message SlsaBuilder message or plain object to encode
|
|
2818
|
+
* @param [writer] Writer to encode to
|
|
2819
|
+
* @returns Writer
|
|
2820
|
+
*/
|
|
2821
|
+
public static encode(message: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaBuilder, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2822
|
+
|
|
2823
|
+
/**
|
|
2824
|
+
* Encodes the specified SlsaBuilder message, length delimited. Does not implicitly {@link grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder.verify|verify} messages.
|
|
2825
|
+
* @param message SlsaBuilder message or plain object to encode
|
|
2826
|
+
* @param [writer] Writer to encode to
|
|
2827
|
+
* @returns Writer
|
|
2828
|
+
*/
|
|
2829
|
+
public static encodeDelimited(message: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaBuilder, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2830
|
+
|
|
2831
|
+
/**
|
|
2832
|
+
* Decodes a SlsaBuilder message from the specified reader or buffer.
|
|
2833
|
+
* @param reader Reader or buffer to decode from
|
|
2834
|
+
* @param [length] Message length if known beforehand
|
|
2835
|
+
* @returns SlsaBuilder
|
|
2836
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2837
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2838
|
+
*/
|
|
2839
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder;
|
|
2840
|
+
|
|
2841
|
+
/**
|
|
2842
|
+
* Decodes a SlsaBuilder message from the specified reader or buffer, length delimited.
|
|
2843
|
+
* @param reader Reader or buffer to decode from
|
|
2844
|
+
* @returns SlsaBuilder
|
|
2845
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2846
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2847
|
+
*/
|
|
2848
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder;
|
|
2849
|
+
|
|
2850
|
+
/**
|
|
2851
|
+
* Verifies a SlsaBuilder message.
|
|
2852
|
+
* @param message Plain object to verify
|
|
2853
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2854
|
+
*/
|
|
2855
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2856
|
+
|
|
2857
|
+
/**
|
|
2858
|
+
* Creates a SlsaBuilder message from a plain object. Also converts values to their respective internal types.
|
|
2859
|
+
* @param object Plain object
|
|
2860
|
+
* @returns SlsaBuilder
|
|
2861
|
+
*/
|
|
2862
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder;
|
|
2863
|
+
|
|
2864
|
+
/**
|
|
2865
|
+
* Creates a plain object from a SlsaBuilder message. Also converts values to other types if specified.
|
|
2866
|
+
* @param message SlsaBuilder
|
|
2867
|
+
* @param [options] Conversion options
|
|
2868
|
+
* @returns Plain object
|
|
2869
|
+
*/
|
|
2870
|
+
public static toObject(message: grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2871
|
+
|
|
2872
|
+
/**
|
|
2873
|
+
* Converts this SlsaBuilder to JSON.
|
|
2874
|
+
* @returns JSON object
|
|
2875
|
+
*/
|
|
2876
|
+
public toJSON(): { [k: string]: any };
|
|
2877
|
+
}
|
|
2878
|
+
|
|
2879
|
+
/** Properties of a SlsaMaterial. */
|
|
2880
|
+
interface ISlsaMaterial {
|
|
2881
|
+
|
|
2882
|
+
/** SlsaMaterial uri */
|
|
2883
|
+
uri?: (string|null);
|
|
2884
|
+
|
|
2885
|
+
/** SlsaMaterial digest */
|
|
2886
|
+
digest?: ({ [k: string]: string }|null);
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
/** Represents a SlsaMaterial. */
|
|
2890
|
+
class SlsaMaterial implements ISlsaMaterial {
|
|
2891
|
+
|
|
2892
|
+
/**
|
|
2893
|
+
* Constructs a new SlsaMaterial.
|
|
2894
|
+
* @param [properties] Properties to set
|
|
2895
|
+
*/
|
|
2896
|
+
constructor(properties?: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaMaterial);
|
|
2897
|
+
|
|
2898
|
+
/** SlsaMaterial uri. */
|
|
2899
|
+
public uri: string;
|
|
2900
|
+
|
|
2901
|
+
/** SlsaMaterial digest. */
|
|
2902
|
+
public digest: { [k: string]: string };
|
|
2903
|
+
|
|
2904
|
+
/**
|
|
2905
|
+
* Creates a new SlsaMaterial instance using the specified properties.
|
|
2906
|
+
* @param [properties] Properties to set
|
|
2907
|
+
* @returns SlsaMaterial instance
|
|
2908
|
+
*/
|
|
2909
|
+
public static create(properties?: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaMaterial): grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial;
|
|
2910
|
+
|
|
2911
|
+
/**
|
|
2912
|
+
* Encodes the specified SlsaMaterial message. Does not implicitly {@link grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial.verify|verify} messages.
|
|
2913
|
+
* @param message SlsaMaterial message or plain object to encode
|
|
2914
|
+
* @param [writer] Writer to encode to
|
|
2915
|
+
* @returns Writer
|
|
2916
|
+
*/
|
|
2917
|
+
public static encode(message: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaMaterial, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2918
|
+
|
|
2919
|
+
/**
|
|
2920
|
+
* Encodes the specified SlsaMaterial message, length delimited. Does not implicitly {@link grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial.verify|verify} messages.
|
|
2921
|
+
* @param message SlsaMaterial message or plain object to encode
|
|
2922
|
+
* @param [writer] Writer to encode to
|
|
2923
|
+
* @returns Writer
|
|
2924
|
+
*/
|
|
2925
|
+
public static encodeDelimited(message: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaMaterial, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2926
|
+
|
|
2927
|
+
/**
|
|
2928
|
+
* Decodes a SlsaMaterial message from the specified reader or buffer.
|
|
2929
|
+
* @param reader Reader or buffer to decode from
|
|
2930
|
+
* @param [length] Message length if known beforehand
|
|
2931
|
+
* @returns SlsaMaterial
|
|
2932
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2933
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2934
|
+
*/
|
|
2935
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial;
|
|
2936
|
+
|
|
2937
|
+
/**
|
|
2938
|
+
* Decodes a SlsaMaterial message from the specified reader or buffer, length delimited.
|
|
2939
|
+
* @param reader Reader or buffer to decode from
|
|
2940
|
+
* @returns SlsaMaterial
|
|
2941
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2942
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2943
|
+
*/
|
|
2944
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial;
|
|
2945
|
+
|
|
2946
|
+
/**
|
|
2947
|
+
* Verifies a SlsaMaterial message.
|
|
2948
|
+
* @param message Plain object to verify
|
|
2949
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2950
|
+
*/
|
|
2951
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2952
|
+
|
|
2953
|
+
/**
|
|
2954
|
+
* Creates a SlsaMaterial message from a plain object. Also converts values to their respective internal types.
|
|
2955
|
+
* @param object Plain object
|
|
2956
|
+
* @returns SlsaMaterial
|
|
2957
|
+
*/
|
|
2958
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial;
|
|
2959
|
+
|
|
2960
|
+
/**
|
|
2961
|
+
* Creates a plain object from a SlsaMaterial message. Also converts values to other types if specified.
|
|
2962
|
+
* @param message SlsaMaterial
|
|
2963
|
+
* @param [options] Conversion options
|
|
2964
|
+
* @returns Plain object
|
|
2965
|
+
*/
|
|
2966
|
+
public static toObject(message: grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2967
|
+
|
|
2968
|
+
/**
|
|
2969
|
+
* Converts this SlsaMaterial to JSON.
|
|
2970
|
+
* @returns JSON object
|
|
2971
|
+
*/
|
|
2972
|
+
public toJSON(): { [k: string]: any };
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2975
|
+
/** Properties of a SlsaInvocation. */
|
|
2976
|
+
interface ISlsaInvocation {
|
|
2977
|
+
|
|
2978
|
+
/** SlsaInvocation configSource */
|
|
2979
|
+
configSource?: (grafeas.v1.SlsaProvenanceZeroTwo.ISlsaConfigSource|null);
|
|
2980
|
+
|
|
2981
|
+
/** SlsaInvocation parameters */
|
|
2982
|
+
parameters?: (google.protobuf.IStruct|null);
|
|
2983
|
+
|
|
2984
|
+
/** SlsaInvocation environment */
|
|
2985
|
+
environment?: (google.protobuf.IStruct|null);
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
/** Represents a SlsaInvocation. */
|
|
2989
|
+
class SlsaInvocation implements ISlsaInvocation {
|
|
2990
|
+
|
|
2991
|
+
/**
|
|
2992
|
+
* Constructs a new SlsaInvocation.
|
|
2993
|
+
* @param [properties] Properties to set
|
|
2994
|
+
*/
|
|
2995
|
+
constructor(properties?: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaInvocation);
|
|
2996
|
+
|
|
2997
|
+
/** SlsaInvocation configSource. */
|
|
2998
|
+
public configSource?: (grafeas.v1.SlsaProvenanceZeroTwo.ISlsaConfigSource|null);
|
|
2999
|
+
|
|
3000
|
+
/** SlsaInvocation parameters. */
|
|
3001
|
+
public parameters?: (google.protobuf.IStruct|null);
|
|
3002
|
+
|
|
3003
|
+
/** SlsaInvocation environment. */
|
|
3004
|
+
public environment?: (google.protobuf.IStruct|null);
|
|
3005
|
+
|
|
3006
|
+
/**
|
|
3007
|
+
* Creates a new SlsaInvocation instance using the specified properties.
|
|
3008
|
+
* @param [properties] Properties to set
|
|
3009
|
+
* @returns SlsaInvocation instance
|
|
3010
|
+
*/
|
|
3011
|
+
public static create(properties?: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaInvocation): grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation;
|
|
3012
|
+
|
|
3013
|
+
/**
|
|
3014
|
+
* Encodes the specified SlsaInvocation message. Does not implicitly {@link grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation.verify|verify} messages.
|
|
3015
|
+
* @param message SlsaInvocation message or plain object to encode
|
|
3016
|
+
* @param [writer] Writer to encode to
|
|
3017
|
+
* @returns Writer
|
|
3018
|
+
*/
|
|
3019
|
+
public static encode(message: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaInvocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3020
|
+
|
|
3021
|
+
/**
|
|
3022
|
+
* Encodes the specified SlsaInvocation message, length delimited. Does not implicitly {@link grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation.verify|verify} messages.
|
|
3023
|
+
* @param message SlsaInvocation message or plain object to encode
|
|
3024
|
+
* @param [writer] Writer to encode to
|
|
3025
|
+
* @returns Writer
|
|
3026
|
+
*/
|
|
3027
|
+
public static encodeDelimited(message: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaInvocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3028
|
+
|
|
3029
|
+
/**
|
|
3030
|
+
* Decodes a SlsaInvocation message from the specified reader or buffer.
|
|
3031
|
+
* @param reader Reader or buffer to decode from
|
|
3032
|
+
* @param [length] Message length if known beforehand
|
|
3033
|
+
* @returns SlsaInvocation
|
|
3034
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3035
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3036
|
+
*/
|
|
3037
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation;
|
|
3038
|
+
|
|
3039
|
+
/**
|
|
3040
|
+
* Decodes a SlsaInvocation message from the specified reader or buffer, length delimited.
|
|
3041
|
+
* @param reader Reader or buffer to decode from
|
|
3042
|
+
* @returns SlsaInvocation
|
|
3043
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3044
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3045
|
+
*/
|
|
3046
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation;
|
|
3047
|
+
|
|
3048
|
+
/**
|
|
3049
|
+
* Verifies a SlsaInvocation message.
|
|
3050
|
+
* @param message Plain object to verify
|
|
3051
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3052
|
+
*/
|
|
3053
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3054
|
+
|
|
3055
|
+
/**
|
|
3056
|
+
* Creates a SlsaInvocation message from a plain object. Also converts values to their respective internal types.
|
|
3057
|
+
* @param object Plain object
|
|
3058
|
+
* @returns SlsaInvocation
|
|
3059
|
+
*/
|
|
3060
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation;
|
|
3061
|
+
|
|
3062
|
+
/**
|
|
3063
|
+
* Creates a plain object from a SlsaInvocation message. Also converts values to other types if specified.
|
|
3064
|
+
* @param message SlsaInvocation
|
|
3065
|
+
* @param [options] Conversion options
|
|
3066
|
+
* @returns Plain object
|
|
3067
|
+
*/
|
|
3068
|
+
public static toObject(message: grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3069
|
+
|
|
3070
|
+
/**
|
|
3071
|
+
* Converts this SlsaInvocation to JSON.
|
|
3072
|
+
* @returns JSON object
|
|
3073
|
+
*/
|
|
3074
|
+
public toJSON(): { [k: string]: any };
|
|
3075
|
+
}
|
|
3076
|
+
|
|
3077
|
+
/** Properties of a SlsaConfigSource. */
|
|
3078
|
+
interface ISlsaConfigSource {
|
|
3079
|
+
|
|
3080
|
+
/** SlsaConfigSource uri */
|
|
3081
|
+
uri?: (string|null);
|
|
3082
|
+
|
|
3083
|
+
/** SlsaConfigSource digest */
|
|
3084
|
+
digest?: ({ [k: string]: string }|null);
|
|
3085
|
+
|
|
3086
|
+
/** SlsaConfigSource entryPoint */
|
|
3087
|
+
entryPoint?: (string|null);
|
|
3088
|
+
}
|
|
3089
|
+
|
|
3090
|
+
/** Represents a SlsaConfigSource. */
|
|
3091
|
+
class SlsaConfigSource implements ISlsaConfigSource {
|
|
3092
|
+
|
|
3093
|
+
/**
|
|
3094
|
+
* Constructs a new SlsaConfigSource.
|
|
3095
|
+
* @param [properties] Properties to set
|
|
3096
|
+
*/
|
|
3097
|
+
constructor(properties?: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaConfigSource);
|
|
3098
|
+
|
|
3099
|
+
/** SlsaConfigSource uri. */
|
|
3100
|
+
public uri: string;
|
|
3101
|
+
|
|
3102
|
+
/** SlsaConfigSource digest. */
|
|
3103
|
+
public digest: { [k: string]: string };
|
|
3104
|
+
|
|
3105
|
+
/** SlsaConfigSource entryPoint. */
|
|
3106
|
+
public entryPoint: string;
|
|
3107
|
+
|
|
3108
|
+
/**
|
|
3109
|
+
* Creates a new SlsaConfigSource instance using the specified properties.
|
|
3110
|
+
* @param [properties] Properties to set
|
|
3111
|
+
* @returns SlsaConfigSource instance
|
|
3112
|
+
*/
|
|
3113
|
+
public static create(properties?: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaConfigSource): grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource;
|
|
3114
|
+
|
|
3115
|
+
/**
|
|
3116
|
+
* Encodes the specified SlsaConfigSource message. Does not implicitly {@link grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource.verify|verify} messages.
|
|
3117
|
+
* @param message SlsaConfigSource message or plain object to encode
|
|
3118
|
+
* @param [writer] Writer to encode to
|
|
3119
|
+
* @returns Writer
|
|
3120
|
+
*/
|
|
3121
|
+
public static encode(message: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaConfigSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3122
|
+
|
|
3123
|
+
/**
|
|
3124
|
+
* Encodes the specified SlsaConfigSource message, length delimited. Does not implicitly {@link grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource.verify|verify} messages.
|
|
3125
|
+
* @param message SlsaConfigSource message or plain object to encode
|
|
3126
|
+
* @param [writer] Writer to encode to
|
|
3127
|
+
* @returns Writer
|
|
3128
|
+
*/
|
|
3129
|
+
public static encodeDelimited(message: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaConfigSource, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3130
|
+
|
|
3131
|
+
/**
|
|
3132
|
+
* Decodes a SlsaConfigSource message from the specified reader or buffer.
|
|
3133
|
+
* @param reader Reader or buffer to decode from
|
|
3134
|
+
* @param [length] Message length if known beforehand
|
|
3135
|
+
* @returns SlsaConfigSource
|
|
3136
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3137
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3138
|
+
*/
|
|
3139
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource;
|
|
3140
|
+
|
|
3141
|
+
/**
|
|
3142
|
+
* Decodes a SlsaConfigSource message from the specified reader or buffer, length delimited.
|
|
3143
|
+
* @param reader Reader or buffer to decode from
|
|
3144
|
+
* @returns SlsaConfigSource
|
|
3145
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3146
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3147
|
+
*/
|
|
3148
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource;
|
|
3149
|
+
|
|
3150
|
+
/**
|
|
3151
|
+
* Verifies a SlsaConfigSource message.
|
|
3152
|
+
* @param message Plain object to verify
|
|
3153
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3154
|
+
*/
|
|
3155
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3156
|
+
|
|
3157
|
+
/**
|
|
3158
|
+
* Creates a SlsaConfigSource message from a plain object. Also converts values to their respective internal types.
|
|
3159
|
+
* @param object Plain object
|
|
3160
|
+
* @returns SlsaConfigSource
|
|
3161
|
+
*/
|
|
3162
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource;
|
|
3163
|
+
|
|
3164
|
+
/**
|
|
3165
|
+
* Creates a plain object from a SlsaConfigSource message. Also converts values to other types if specified.
|
|
3166
|
+
* @param message SlsaConfigSource
|
|
3167
|
+
* @param [options] Conversion options
|
|
3168
|
+
* @returns Plain object
|
|
3169
|
+
*/
|
|
3170
|
+
public static toObject(message: grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3171
|
+
|
|
3172
|
+
/**
|
|
3173
|
+
* Converts this SlsaConfigSource to JSON.
|
|
3174
|
+
* @returns JSON object
|
|
3175
|
+
*/
|
|
3176
|
+
public toJSON(): { [k: string]: any };
|
|
3177
|
+
}
|
|
3178
|
+
|
|
3179
|
+
/** Properties of a SlsaMetadata. */
|
|
3180
|
+
interface ISlsaMetadata {
|
|
3181
|
+
|
|
3182
|
+
/** SlsaMetadata buildInvocationId */
|
|
3183
|
+
buildInvocationId?: (string|null);
|
|
3184
|
+
|
|
3185
|
+
/** SlsaMetadata buildStartedOn */
|
|
3186
|
+
buildStartedOn?: (google.protobuf.ITimestamp|null);
|
|
3187
|
+
|
|
3188
|
+
/** SlsaMetadata buildFinishedOn */
|
|
3189
|
+
buildFinishedOn?: (google.protobuf.ITimestamp|null);
|
|
3190
|
+
|
|
3191
|
+
/** SlsaMetadata completeness */
|
|
3192
|
+
completeness?: (grafeas.v1.SlsaProvenanceZeroTwo.ISlsaCompleteness|null);
|
|
3193
|
+
|
|
3194
|
+
/** SlsaMetadata reproducible */
|
|
3195
|
+
reproducible?: (boolean|null);
|
|
3196
|
+
}
|
|
3197
|
+
|
|
3198
|
+
/** Represents a SlsaMetadata. */
|
|
3199
|
+
class SlsaMetadata implements ISlsaMetadata {
|
|
3200
|
+
|
|
3201
|
+
/**
|
|
3202
|
+
* Constructs a new SlsaMetadata.
|
|
3203
|
+
* @param [properties] Properties to set
|
|
3204
|
+
*/
|
|
3205
|
+
constructor(properties?: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaMetadata);
|
|
3206
|
+
|
|
3207
|
+
/** SlsaMetadata buildInvocationId. */
|
|
3208
|
+
public buildInvocationId: string;
|
|
3209
|
+
|
|
3210
|
+
/** SlsaMetadata buildStartedOn. */
|
|
3211
|
+
public buildStartedOn?: (google.protobuf.ITimestamp|null);
|
|
3212
|
+
|
|
3213
|
+
/** SlsaMetadata buildFinishedOn. */
|
|
3214
|
+
public buildFinishedOn?: (google.protobuf.ITimestamp|null);
|
|
3215
|
+
|
|
3216
|
+
/** SlsaMetadata completeness. */
|
|
3217
|
+
public completeness?: (grafeas.v1.SlsaProvenanceZeroTwo.ISlsaCompleteness|null);
|
|
3218
|
+
|
|
3219
|
+
/** SlsaMetadata reproducible. */
|
|
3220
|
+
public reproducible: boolean;
|
|
3221
|
+
|
|
3222
|
+
/**
|
|
3223
|
+
* Creates a new SlsaMetadata instance using the specified properties.
|
|
3224
|
+
* @param [properties] Properties to set
|
|
3225
|
+
* @returns SlsaMetadata instance
|
|
3226
|
+
*/
|
|
3227
|
+
public static create(properties?: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaMetadata): grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata;
|
|
3228
|
+
|
|
3229
|
+
/**
|
|
3230
|
+
* Encodes the specified SlsaMetadata message. Does not implicitly {@link grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata.verify|verify} messages.
|
|
3231
|
+
* @param message SlsaMetadata message or plain object to encode
|
|
3232
|
+
* @param [writer] Writer to encode to
|
|
3233
|
+
* @returns Writer
|
|
3234
|
+
*/
|
|
3235
|
+
public static encode(message: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3236
|
+
|
|
3237
|
+
/**
|
|
3238
|
+
* Encodes the specified SlsaMetadata message, length delimited. Does not implicitly {@link grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata.verify|verify} messages.
|
|
3239
|
+
* @param message SlsaMetadata message or plain object to encode
|
|
3240
|
+
* @param [writer] Writer to encode to
|
|
3241
|
+
* @returns Writer
|
|
3242
|
+
*/
|
|
3243
|
+
public static encodeDelimited(message: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3244
|
+
|
|
3245
|
+
/**
|
|
3246
|
+
* Decodes a SlsaMetadata message from the specified reader or buffer.
|
|
3247
|
+
* @param reader Reader or buffer to decode from
|
|
3248
|
+
* @param [length] Message length if known beforehand
|
|
3249
|
+
* @returns SlsaMetadata
|
|
3250
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3251
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3252
|
+
*/
|
|
3253
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata;
|
|
3254
|
+
|
|
3255
|
+
/**
|
|
3256
|
+
* Decodes a SlsaMetadata message from the specified reader or buffer, length delimited.
|
|
3257
|
+
* @param reader Reader or buffer to decode from
|
|
3258
|
+
* @returns SlsaMetadata
|
|
3259
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3260
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3261
|
+
*/
|
|
3262
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata;
|
|
3263
|
+
|
|
3264
|
+
/**
|
|
3265
|
+
* Verifies a SlsaMetadata message.
|
|
3266
|
+
* @param message Plain object to verify
|
|
3267
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3268
|
+
*/
|
|
3269
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3270
|
+
|
|
3271
|
+
/**
|
|
3272
|
+
* Creates a SlsaMetadata message from a plain object. Also converts values to their respective internal types.
|
|
3273
|
+
* @param object Plain object
|
|
3274
|
+
* @returns SlsaMetadata
|
|
3275
|
+
*/
|
|
3276
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata;
|
|
3277
|
+
|
|
3278
|
+
/**
|
|
3279
|
+
* Creates a plain object from a SlsaMetadata message. Also converts values to other types if specified.
|
|
3280
|
+
* @param message SlsaMetadata
|
|
3281
|
+
* @param [options] Conversion options
|
|
3282
|
+
* @returns Plain object
|
|
3283
|
+
*/
|
|
3284
|
+
public static toObject(message: grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3285
|
+
|
|
3286
|
+
/**
|
|
3287
|
+
* Converts this SlsaMetadata to JSON.
|
|
3288
|
+
* @returns JSON object
|
|
3289
|
+
*/
|
|
3290
|
+
public toJSON(): { [k: string]: any };
|
|
3291
|
+
}
|
|
3292
|
+
|
|
3293
|
+
/** Properties of a SlsaCompleteness. */
|
|
3294
|
+
interface ISlsaCompleteness {
|
|
3295
|
+
|
|
3296
|
+
/** SlsaCompleteness parameters */
|
|
3297
|
+
parameters?: (boolean|null);
|
|
3298
|
+
|
|
3299
|
+
/** SlsaCompleteness environment */
|
|
3300
|
+
environment?: (boolean|null);
|
|
3301
|
+
|
|
3302
|
+
/** SlsaCompleteness materials */
|
|
3303
|
+
materials?: (boolean|null);
|
|
3304
|
+
}
|
|
3305
|
+
|
|
3306
|
+
/** Represents a SlsaCompleteness. */
|
|
3307
|
+
class SlsaCompleteness implements ISlsaCompleteness {
|
|
3308
|
+
|
|
3309
|
+
/**
|
|
3310
|
+
* Constructs a new SlsaCompleteness.
|
|
3311
|
+
* @param [properties] Properties to set
|
|
3312
|
+
*/
|
|
3313
|
+
constructor(properties?: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaCompleteness);
|
|
3314
|
+
|
|
3315
|
+
/** SlsaCompleteness parameters. */
|
|
3316
|
+
public parameters: boolean;
|
|
3317
|
+
|
|
3318
|
+
/** SlsaCompleteness environment. */
|
|
3319
|
+
public environment: boolean;
|
|
3320
|
+
|
|
3321
|
+
/** SlsaCompleteness materials. */
|
|
3322
|
+
public materials: boolean;
|
|
3323
|
+
|
|
3324
|
+
/**
|
|
3325
|
+
* Creates a new SlsaCompleteness instance using the specified properties.
|
|
3326
|
+
* @param [properties] Properties to set
|
|
3327
|
+
* @returns SlsaCompleteness instance
|
|
3328
|
+
*/
|
|
3329
|
+
public static create(properties?: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaCompleteness): grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness;
|
|
3330
|
+
|
|
3331
|
+
/**
|
|
3332
|
+
* Encodes the specified SlsaCompleteness message. Does not implicitly {@link grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness.verify|verify} messages.
|
|
3333
|
+
* @param message SlsaCompleteness message or plain object to encode
|
|
3334
|
+
* @param [writer] Writer to encode to
|
|
3335
|
+
* @returns Writer
|
|
3336
|
+
*/
|
|
3337
|
+
public static encode(message: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaCompleteness, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3338
|
+
|
|
3339
|
+
/**
|
|
3340
|
+
* Encodes the specified SlsaCompleteness message, length delimited. Does not implicitly {@link grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness.verify|verify} messages.
|
|
3341
|
+
* @param message SlsaCompleteness message or plain object to encode
|
|
3342
|
+
* @param [writer] Writer to encode to
|
|
3343
|
+
* @returns Writer
|
|
3344
|
+
*/
|
|
3345
|
+
public static encodeDelimited(message: grafeas.v1.SlsaProvenanceZeroTwo.ISlsaCompleteness, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3346
|
+
|
|
3347
|
+
/**
|
|
3348
|
+
* Decodes a SlsaCompleteness message from the specified reader or buffer.
|
|
3349
|
+
* @param reader Reader or buffer to decode from
|
|
3350
|
+
* @param [length] Message length if known beforehand
|
|
3351
|
+
* @returns SlsaCompleteness
|
|
2335
3352
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2336
3353
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2337
3354
|
*/
|
|
2338
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.
|
|
3355
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness;
|
|
2339
3356
|
|
|
2340
3357
|
/**
|
|
2341
|
-
* Decodes a
|
|
3358
|
+
* Decodes a SlsaCompleteness message from the specified reader or buffer, length delimited.
|
|
2342
3359
|
* @param reader Reader or buffer to decode from
|
|
2343
|
-
* @returns
|
|
3360
|
+
* @returns SlsaCompleteness
|
|
2344
3361
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2345
3362
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2346
3363
|
*/
|
|
2347
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.
|
|
3364
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness;
|
|
2348
3365
|
|
|
2349
3366
|
/**
|
|
2350
|
-
* Verifies a
|
|
3367
|
+
* Verifies a SlsaCompleteness message.
|
|
2351
3368
|
* @param message Plain object to verify
|
|
2352
3369
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2353
3370
|
*/
|
|
2354
3371
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2355
3372
|
|
|
2356
3373
|
/**
|
|
2357
|
-
* Creates a
|
|
3374
|
+
* Creates a SlsaCompleteness message from a plain object. Also converts values to their respective internal types.
|
|
2358
3375
|
* @param object Plain object
|
|
2359
|
-
* @returns
|
|
3376
|
+
* @returns SlsaCompleteness
|
|
2360
3377
|
*/
|
|
2361
|
-
public static fromObject(object: { [k: string]: any }): grafeas.v1.
|
|
3378
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness;
|
|
2362
3379
|
|
|
2363
3380
|
/**
|
|
2364
|
-
* Creates a plain object from a
|
|
2365
|
-
* @param message
|
|
3381
|
+
* Creates a plain object from a SlsaCompleteness message. Also converts values to other types if specified.
|
|
3382
|
+
* @param message SlsaCompleteness
|
|
2366
3383
|
* @param [options] Conversion options
|
|
2367
3384
|
* @returns Plain object
|
|
2368
3385
|
*/
|
|
2369
|
-
public static toObject(message: grafeas.v1.
|
|
3386
|
+
public static toObject(message: grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2370
3387
|
|
|
2371
3388
|
/**
|
|
2372
|
-
* Converts this
|
|
3389
|
+
* Converts this SlsaCompleteness to JSON.
|
|
2373
3390
|
* @returns JSON object
|
|
2374
3391
|
*/
|
|
2375
3392
|
public toJSON(): { [k: string]: any };
|
|
@@ -4013,6 +5030,9 @@ export namespace grafeas {
|
|
|
4013
5030
|
/** ComplianceVersion cpeUri */
|
|
4014
5031
|
cpeUri?: (string|null);
|
|
4015
5032
|
|
|
5033
|
+
/** ComplianceVersion benchmarkDocument */
|
|
5034
|
+
benchmarkDocument?: (string|null);
|
|
5035
|
+
|
|
4016
5036
|
/** ComplianceVersion version */
|
|
4017
5037
|
version?: (string|null);
|
|
4018
5038
|
}
|
|
@@ -4029,6 +5049,9 @@ export namespace grafeas {
|
|
|
4029
5049
|
/** ComplianceVersion cpeUri. */
|
|
4030
5050
|
public cpeUri: string;
|
|
4031
5051
|
|
|
5052
|
+
/** ComplianceVersion benchmarkDocument. */
|
|
5053
|
+
public benchmarkDocument: string;
|
|
5054
|
+
|
|
4032
5055
|
/** ComplianceVersion version. */
|
|
4033
5056
|
public version: string;
|
|
4034
5057
|
|
|
@@ -8641,6 +9664,33 @@ export namespace grafeas {
|
|
|
8641
9664
|
|
|
8642
9665
|
/** PackageNote distribution */
|
|
8643
9666
|
distribution?: (grafeas.v1.IDistribution[]|null);
|
|
9667
|
+
|
|
9668
|
+
/** PackageNote packageType */
|
|
9669
|
+
packageType?: (string|null);
|
|
9670
|
+
|
|
9671
|
+
/** PackageNote cpeUri */
|
|
9672
|
+
cpeUri?: (string|null);
|
|
9673
|
+
|
|
9674
|
+
/** PackageNote architecture */
|
|
9675
|
+
architecture?: (grafeas.v1.Architecture|keyof typeof grafeas.v1.Architecture|null);
|
|
9676
|
+
|
|
9677
|
+
/** PackageNote version */
|
|
9678
|
+
version?: (grafeas.v1.IVersion|null);
|
|
9679
|
+
|
|
9680
|
+
/** PackageNote maintainer */
|
|
9681
|
+
maintainer?: (string|null);
|
|
9682
|
+
|
|
9683
|
+
/** PackageNote url */
|
|
9684
|
+
url?: (string|null);
|
|
9685
|
+
|
|
9686
|
+
/** PackageNote description */
|
|
9687
|
+
description?: (string|null);
|
|
9688
|
+
|
|
9689
|
+
/** PackageNote license */
|
|
9690
|
+
license?: (grafeas.v1.ILicense|null);
|
|
9691
|
+
|
|
9692
|
+
/** PackageNote digest */
|
|
9693
|
+
digest?: (grafeas.v1.IDigest[]|null);
|
|
8644
9694
|
}
|
|
8645
9695
|
|
|
8646
9696
|
/** Represents a PackageNote. */
|
|
@@ -8658,6 +9708,33 @@ export namespace grafeas {
|
|
|
8658
9708
|
/** PackageNote distribution. */
|
|
8659
9709
|
public distribution: grafeas.v1.IDistribution[];
|
|
8660
9710
|
|
|
9711
|
+
/** PackageNote packageType. */
|
|
9712
|
+
public packageType: string;
|
|
9713
|
+
|
|
9714
|
+
/** PackageNote cpeUri. */
|
|
9715
|
+
public cpeUri: string;
|
|
9716
|
+
|
|
9717
|
+
/** PackageNote architecture. */
|
|
9718
|
+
public architecture: (grafeas.v1.Architecture|keyof typeof grafeas.v1.Architecture);
|
|
9719
|
+
|
|
9720
|
+
/** PackageNote version. */
|
|
9721
|
+
public version?: (grafeas.v1.IVersion|null);
|
|
9722
|
+
|
|
9723
|
+
/** PackageNote maintainer. */
|
|
9724
|
+
public maintainer: string;
|
|
9725
|
+
|
|
9726
|
+
/** PackageNote url. */
|
|
9727
|
+
public url: string;
|
|
9728
|
+
|
|
9729
|
+
/** PackageNote description. */
|
|
9730
|
+
public description: string;
|
|
9731
|
+
|
|
9732
|
+
/** PackageNote license. */
|
|
9733
|
+
public license?: (grafeas.v1.ILicense|null);
|
|
9734
|
+
|
|
9735
|
+
/** PackageNote digest. */
|
|
9736
|
+
public digest: grafeas.v1.IDigest[];
|
|
9737
|
+
|
|
8661
9738
|
/**
|
|
8662
9739
|
* Creates a new PackageNote instance using the specified properties.
|
|
8663
9740
|
* @param [properties] Properties to set
|
|
@@ -8737,6 +9814,21 @@ export namespace grafeas {
|
|
|
8737
9814
|
|
|
8738
9815
|
/** PackageOccurrence location */
|
|
8739
9816
|
location?: (grafeas.v1.ILocation[]|null);
|
|
9817
|
+
|
|
9818
|
+
/** PackageOccurrence packageType */
|
|
9819
|
+
packageType?: (string|null);
|
|
9820
|
+
|
|
9821
|
+
/** PackageOccurrence cpeUri */
|
|
9822
|
+
cpeUri?: (string|null);
|
|
9823
|
+
|
|
9824
|
+
/** PackageOccurrence architecture */
|
|
9825
|
+
architecture?: (grafeas.v1.Architecture|keyof typeof grafeas.v1.Architecture|null);
|
|
9826
|
+
|
|
9827
|
+
/** PackageOccurrence license */
|
|
9828
|
+
license?: (grafeas.v1.ILicense|null);
|
|
9829
|
+
|
|
9830
|
+
/** PackageOccurrence version */
|
|
9831
|
+
version?: (grafeas.v1.IVersion|null);
|
|
8740
9832
|
}
|
|
8741
9833
|
|
|
8742
9834
|
/** Represents a PackageOccurrence. */
|
|
@@ -8754,6 +9846,21 @@ export namespace grafeas {
|
|
|
8754
9846
|
/** PackageOccurrence location. */
|
|
8755
9847
|
public location: grafeas.v1.ILocation[];
|
|
8756
9848
|
|
|
9849
|
+
/** PackageOccurrence packageType. */
|
|
9850
|
+
public packageType: string;
|
|
9851
|
+
|
|
9852
|
+
/** PackageOccurrence cpeUri. */
|
|
9853
|
+
public cpeUri: string;
|
|
9854
|
+
|
|
9855
|
+
/** PackageOccurrence architecture. */
|
|
9856
|
+
public architecture: (grafeas.v1.Architecture|keyof typeof grafeas.v1.Architecture);
|
|
9857
|
+
|
|
9858
|
+
/** PackageOccurrence license. */
|
|
9859
|
+
public license?: (grafeas.v1.ILicense|null);
|
|
9860
|
+
|
|
9861
|
+
/** PackageOccurrence version. */
|
|
9862
|
+
public version?: (grafeas.v1.IVersion|null);
|
|
9863
|
+
|
|
8757
9864
|
/**
|
|
8758
9865
|
* Creates a new PackageOccurrence instance using the specified properties.
|
|
8759
9866
|
* @param [properties] Properties to set
|
|
@@ -10274,6 +11381,9 @@ export namespace grafeas {
|
|
|
10274
11381
|
|
|
10275
11382
|
/** PackageIssue effectiveSeverity */
|
|
10276
11383
|
effectiveSeverity?: (grafeas.v1.Severity|keyof typeof grafeas.v1.Severity|null);
|
|
11384
|
+
|
|
11385
|
+
/** PackageIssue fileLocation */
|
|
11386
|
+
fileLocation?: (grafeas.v1.IFileLocation[]|null);
|
|
10277
11387
|
}
|
|
10278
11388
|
|
|
10279
11389
|
/** Represents a PackageIssue. */
|
|
@@ -10312,6 +11422,9 @@ export namespace grafeas {
|
|
|
10312
11422
|
/** PackageIssue effectiveSeverity. */
|
|
10313
11423
|
public effectiveSeverity: (grafeas.v1.Severity|keyof typeof grafeas.v1.Severity);
|
|
10314
11424
|
|
|
11425
|
+
/** PackageIssue fileLocation. */
|
|
11426
|
+
public fileLocation: grafeas.v1.IFileLocation[];
|
|
11427
|
+
|
|
10315
11428
|
/**
|
|
10316
11429
|
* Creates a new PackageIssue instance using the specified properties.
|
|
10317
11430
|
* @param [properties] Properties to set
|
|
@@ -23756,6 +24869,314 @@ export namespace google {
|
|
|
23756
24869
|
public toJSON(): { [k: string]: any };
|
|
23757
24870
|
}
|
|
23758
24871
|
|
|
24872
|
+
/** Properties of a Struct. */
|
|
24873
|
+
interface IStruct {
|
|
24874
|
+
|
|
24875
|
+
/** Struct fields */
|
|
24876
|
+
fields?: ({ [k: string]: google.protobuf.IValue }|null);
|
|
24877
|
+
}
|
|
24878
|
+
|
|
24879
|
+
/** Represents a Struct. */
|
|
24880
|
+
class Struct implements IStruct {
|
|
24881
|
+
|
|
24882
|
+
/**
|
|
24883
|
+
* Constructs a new Struct.
|
|
24884
|
+
* @param [properties] Properties to set
|
|
24885
|
+
*/
|
|
24886
|
+
constructor(properties?: google.protobuf.IStruct);
|
|
24887
|
+
|
|
24888
|
+
/** Struct fields. */
|
|
24889
|
+
public fields: { [k: string]: google.protobuf.IValue };
|
|
24890
|
+
|
|
24891
|
+
/**
|
|
24892
|
+
* Creates a new Struct instance using the specified properties.
|
|
24893
|
+
* @param [properties] Properties to set
|
|
24894
|
+
* @returns Struct instance
|
|
24895
|
+
*/
|
|
24896
|
+
public static create(properties?: google.protobuf.IStruct): google.protobuf.Struct;
|
|
24897
|
+
|
|
24898
|
+
/**
|
|
24899
|
+
* Encodes the specified Struct message. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
|
|
24900
|
+
* @param message Struct message or plain object to encode
|
|
24901
|
+
* @param [writer] Writer to encode to
|
|
24902
|
+
* @returns Writer
|
|
24903
|
+
*/
|
|
24904
|
+
public static encode(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24905
|
+
|
|
24906
|
+
/**
|
|
24907
|
+
* Encodes the specified Struct message, length delimited. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
|
|
24908
|
+
* @param message Struct message or plain object to encode
|
|
24909
|
+
* @param [writer] Writer to encode to
|
|
24910
|
+
* @returns Writer
|
|
24911
|
+
*/
|
|
24912
|
+
public static encodeDelimited(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24913
|
+
|
|
24914
|
+
/**
|
|
24915
|
+
* Decodes a Struct message from the specified reader or buffer.
|
|
24916
|
+
* @param reader Reader or buffer to decode from
|
|
24917
|
+
* @param [length] Message length if known beforehand
|
|
24918
|
+
* @returns Struct
|
|
24919
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24920
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24921
|
+
*/
|
|
24922
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Struct;
|
|
24923
|
+
|
|
24924
|
+
/**
|
|
24925
|
+
* Decodes a Struct message from the specified reader or buffer, length delimited.
|
|
24926
|
+
* @param reader Reader or buffer to decode from
|
|
24927
|
+
* @returns Struct
|
|
24928
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24929
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24930
|
+
*/
|
|
24931
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Struct;
|
|
24932
|
+
|
|
24933
|
+
/**
|
|
24934
|
+
* Verifies a Struct message.
|
|
24935
|
+
* @param message Plain object to verify
|
|
24936
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24937
|
+
*/
|
|
24938
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24939
|
+
|
|
24940
|
+
/**
|
|
24941
|
+
* Creates a Struct message from a plain object. Also converts values to their respective internal types.
|
|
24942
|
+
* @param object Plain object
|
|
24943
|
+
* @returns Struct
|
|
24944
|
+
*/
|
|
24945
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.Struct;
|
|
24946
|
+
|
|
24947
|
+
/**
|
|
24948
|
+
* Creates a plain object from a Struct message. Also converts values to other types if specified.
|
|
24949
|
+
* @param message Struct
|
|
24950
|
+
* @param [options] Conversion options
|
|
24951
|
+
* @returns Plain object
|
|
24952
|
+
*/
|
|
24953
|
+
public static toObject(message: google.protobuf.Struct, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24954
|
+
|
|
24955
|
+
/**
|
|
24956
|
+
* Converts this Struct to JSON.
|
|
24957
|
+
* @returns JSON object
|
|
24958
|
+
*/
|
|
24959
|
+
public toJSON(): { [k: string]: any };
|
|
24960
|
+
}
|
|
24961
|
+
|
|
24962
|
+
/** Properties of a Value. */
|
|
24963
|
+
interface IValue {
|
|
24964
|
+
|
|
24965
|
+
/** Value nullValue */
|
|
24966
|
+
nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null);
|
|
24967
|
+
|
|
24968
|
+
/** Value numberValue */
|
|
24969
|
+
numberValue?: (number|null);
|
|
24970
|
+
|
|
24971
|
+
/** Value stringValue */
|
|
24972
|
+
stringValue?: (string|null);
|
|
24973
|
+
|
|
24974
|
+
/** Value boolValue */
|
|
24975
|
+
boolValue?: (boolean|null);
|
|
24976
|
+
|
|
24977
|
+
/** Value structValue */
|
|
24978
|
+
structValue?: (google.protobuf.IStruct|null);
|
|
24979
|
+
|
|
24980
|
+
/** Value listValue */
|
|
24981
|
+
listValue?: (google.protobuf.IListValue|null);
|
|
24982
|
+
}
|
|
24983
|
+
|
|
24984
|
+
/** Represents a Value. */
|
|
24985
|
+
class Value implements IValue {
|
|
24986
|
+
|
|
24987
|
+
/**
|
|
24988
|
+
* Constructs a new Value.
|
|
24989
|
+
* @param [properties] Properties to set
|
|
24990
|
+
*/
|
|
24991
|
+
constructor(properties?: google.protobuf.IValue);
|
|
24992
|
+
|
|
24993
|
+
/** Value nullValue. */
|
|
24994
|
+
public nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null);
|
|
24995
|
+
|
|
24996
|
+
/** Value numberValue. */
|
|
24997
|
+
public numberValue?: (number|null);
|
|
24998
|
+
|
|
24999
|
+
/** Value stringValue. */
|
|
25000
|
+
public stringValue?: (string|null);
|
|
25001
|
+
|
|
25002
|
+
/** Value boolValue. */
|
|
25003
|
+
public boolValue?: (boolean|null);
|
|
25004
|
+
|
|
25005
|
+
/** Value structValue. */
|
|
25006
|
+
public structValue?: (google.protobuf.IStruct|null);
|
|
25007
|
+
|
|
25008
|
+
/** Value listValue. */
|
|
25009
|
+
public listValue?: (google.protobuf.IListValue|null);
|
|
25010
|
+
|
|
25011
|
+
/** Value kind. */
|
|
25012
|
+
public kind?: ("nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue");
|
|
25013
|
+
|
|
25014
|
+
/**
|
|
25015
|
+
* Creates a new Value instance using the specified properties.
|
|
25016
|
+
* @param [properties] Properties to set
|
|
25017
|
+
* @returns Value instance
|
|
25018
|
+
*/
|
|
25019
|
+
public static create(properties?: google.protobuf.IValue): google.protobuf.Value;
|
|
25020
|
+
|
|
25021
|
+
/**
|
|
25022
|
+
* Encodes the specified Value message. Does not implicitly {@link google.protobuf.Value.verify|verify} messages.
|
|
25023
|
+
* @param message Value message or plain object to encode
|
|
25024
|
+
* @param [writer] Writer to encode to
|
|
25025
|
+
* @returns Writer
|
|
25026
|
+
*/
|
|
25027
|
+
public static encode(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
25028
|
+
|
|
25029
|
+
/**
|
|
25030
|
+
* Encodes the specified Value message, length delimited. Does not implicitly {@link google.protobuf.Value.verify|verify} messages.
|
|
25031
|
+
* @param message Value message or plain object to encode
|
|
25032
|
+
* @param [writer] Writer to encode to
|
|
25033
|
+
* @returns Writer
|
|
25034
|
+
*/
|
|
25035
|
+
public static encodeDelimited(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
25036
|
+
|
|
25037
|
+
/**
|
|
25038
|
+
* Decodes a Value message from the specified reader or buffer.
|
|
25039
|
+
* @param reader Reader or buffer to decode from
|
|
25040
|
+
* @param [length] Message length if known beforehand
|
|
25041
|
+
* @returns Value
|
|
25042
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25043
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25044
|
+
*/
|
|
25045
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Value;
|
|
25046
|
+
|
|
25047
|
+
/**
|
|
25048
|
+
* Decodes a Value message from the specified reader or buffer, length delimited.
|
|
25049
|
+
* @param reader Reader or buffer to decode from
|
|
25050
|
+
* @returns Value
|
|
25051
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25052
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25053
|
+
*/
|
|
25054
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Value;
|
|
25055
|
+
|
|
25056
|
+
/**
|
|
25057
|
+
* Verifies a Value message.
|
|
25058
|
+
* @param message Plain object to verify
|
|
25059
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
25060
|
+
*/
|
|
25061
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
25062
|
+
|
|
25063
|
+
/**
|
|
25064
|
+
* Creates a Value message from a plain object. Also converts values to their respective internal types.
|
|
25065
|
+
* @param object Plain object
|
|
25066
|
+
* @returns Value
|
|
25067
|
+
*/
|
|
25068
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.Value;
|
|
25069
|
+
|
|
25070
|
+
/**
|
|
25071
|
+
* Creates a plain object from a Value message. Also converts values to other types if specified.
|
|
25072
|
+
* @param message Value
|
|
25073
|
+
* @param [options] Conversion options
|
|
25074
|
+
* @returns Plain object
|
|
25075
|
+
*/
|
|
25076
|
+
public static toObject(message: google.protobuf.Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
25077
|
+
|
|
25078
|
+
/**
|
|
25079
|
+
* Converts this Value to JSON.
|
|
25080
|
+
* @returns JSON object
|
|
25081
|
+
*/
|
|
25082
|
+
public toJSON(): { [k: string]: any };
|
|
25083
|
+
}
|
|
25084
|
+
|
|
25085
|
+
/** NullValue enum. */
|
|
25086
|
+
enum NullValue {
|
|
25087
|
+
NULL_VALUE = 0
|
|
25088
|
+
}
|
|
25089
|
+
|
|
25090
|
+
/** Properties of a ListValue. */
|
|
25091
|
+
interface IListValue {
|
|
25092
|
+
|
|
25093
|
+
/** ListValue values */
|
|
25094
|
+
values?: (google.protobuf.IValue[]|null);
|
|
25095
|
+
}
|
|
25096
|
+
|
|
25097
|
+
/** Represents a ListValue. */
|
|
25098
|
+
class ListValue implements IListValue {
|
|
25099
|
+
|
|
25100
|
+
/**
|
|
25101
|
+
* Constructs a new ListValue.
|
|
25102
|
+
* @param [properties] Properties to set
|
|
25103
|
+
*/
|
|
25104
|
+
constructor(properties?: google.protobuf.IListValue);
|
|
25105
|
+
|
|
25106
|
+
/** ListValue values. */
|
|
25107
|
+
public values: google.protobuf.IValue[];
|
|
25108
|
+
|
|
25109
|
+
/**
|
|
25110
|
+
* Creates a new ListValue instance using the specified properties.
|
|
25111
|
+
* @param [properties] Properties to set
|
|
25112
|
+
* @returns ListValue instance
|
|
25113
|
+
*/
|
|
25114
|
+
public static create(properties?: google.protobuf.IListValue): google.protobuf.ListValue;
|
|
25115
|
+
|
|
25116
|
+
/**
|
|
25117
|
+
* Encodes the specified ListValue message. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages.
|
|
25118
|
+
* @param message ListValue message or plain object to encode
|
|
25119
|
+
* @param [writer] Writer to encode to
|
|
25120
|
+
* @returns Writer
|
|
25121
|
+
*/
|
|
25122
|
+
public static encode(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
25123
|
+
|
|
25124
|
+
/**
|
|
25125
|
+
* Encodes the specified ListValue message, length delimited. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages.
|
|
25126
|
+
* @param message ListValue message or plain object to encode
|
|
25127
|
+
* @param [writer] Writer to encode to
|
|
25128
|
+
* @returns Writer
|
|
25129
|
+
*/
|
|
25130
|
+
public static encodeDelimited(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
25131
|
+
|
|
25132
|
+
/**
|
|
25133
|
+
* Decodes a ListValue message from the specified reader or buffer.
|
|
25134
|
+
* @param reader Reader or buffer to decode from
|
|
25135
|
+
* @param [length] Message length if known beforehand
|
|
25136
|
+
* @returns ListValue
|
|
25137
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25138
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25139
|
+
*/
|
|
25140
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ListValue;
|
|
25141
|
+
|
|
25142
|
+
/**
|
|
25143
|
+
* Decodes a ListValue message from the specified reader or buffer, length delimited.
|
|
25144
|
+
* @param reader Reader or buffer to decode from
|
|
25145
|
+
* @returns ListValue
|
|
25146
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25147
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25148
|
+
*/
|
|
25149
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ListValue;
|
|
25150
|
+
|
|
25151
|
+
/**
|
|
25152
|
+
* Verifies a ListValue message.
|
|
25153
|
+
* @param message Plain object to verify
|
|
25154
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
25155
|
+
*/
|
|
25156
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
25157
|
+
|
|
25158
|
+
/**
|
|
25159
|
+
* Creates a ListValue message from a plain object. Also converts values to their respective internal types.
|
|
25160
|
+
* @param object Plain object
|
|
25161
|
+
* @returns ListValue
|
|
25162
|
+
*/
|
|
25163
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.ListValue;
|
|
25164
|
+
|
|
25165
|
+
/**
|
|
25166
|
+
* Creates a plain object from a ListValue message. Also converts values to other types if specified.
|
|
25167
|
+
* @param message ListValue
|
|
25168
|
+
* @param [options] Conversion options
|
|
25169
|
+
* @returns Plain object
|
|
25170
|
+
*/
|
|
25171
|
+
public static toObject(message: google.protobuf.ListValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
25172
|
+
|
|
25173
|
+
/**
|
|
25174
|
+
* Converts this ListValue to JSON.
|
|
25175
|
+
* @returns JSON object
|
|
25176
|
+
*/
|
|
25177
|
+
public toJSON(): { [k: string]: any };
|
|
25178
|
+
}
|
|
25179
|
+
|
|
23759
25180
|
/** Properties of an Empty. */
|
|
23760
25181
|
interface IEmpty {
|
|
23761
25182
|
}
|