@google-cloud/containeranalysis 3.2.0 → 3.3.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 +7 -0
- package/build/protos/grafeas/v1/attestation.proto +17 -0
- package/build/protos/grafeas/v1/build.proto +13 -1
- package/build/protos/grafeas/v1/common.proto +20 -2
- package/build/protos/grafeas/v1/compliance.proto +79 -0
- package/build/protos/grafeas/v1/dsse_attestation.proto +52 -0
- package/build/protos/grafeas/v1/grafeas.proto +13 -0
- package/build/protos/grafeas/v1/intoto_provenance.proto +112 -0
- package/build/protos/grafeas/v1/intoto_statement.proto +49 -0
- package/build/protos/grafeas/v1/package.proto +9 -1
- package/build/protos/grafeas/v1/slsa_provenance.proto +114 -0
- package/build/protos/grafeas/v1/vulnerability.proto +35 -0
- package/build/protos/protos.d.ts +3288 -645
- package/build/protos/protos.js +8742 -1992
- package/build/protos/protos.json +516 -4
- package/build/src/v1/container_analysis_client.d.ts +107 -0
- package/build/src/v1/container_analysis_client.js +0 -107
- package/build/src/v1/container_analysis_client.js.map +1 -1
- package/build/src/v1beta1/container_analysis_v1_beta1_client.d.ts +154 -5
- package/build/src/v1beta1/container_analysis_v1_beta1_client.js +6 -160
- package/build/src/v1beta1/container_analysis_v1_beta1_client.js.map +1 -1
- package/build/src/v1beta1/grafeas_v1_beta1_client.d.ts +328 -15
- package/build/src/v1beta1/grafeas_v1_beta1_client.js +18 -346
- package/build/src/v1beta1/grafeas_v1_beta1_client.js.map +1 -1
- package/package.json +3 -3
package/build/protos/protos.d.ts
CHANGED
|
@@ -190,6 +190,12 @@ export namespace grafeas {
|
|
|
190
190
|
|
|
191
191
|
/** Detail sourceUpdateTime */
|
|
192
192
|
sourceUpdateTime?: (google.protobuf.ITimestamp|null);
|
|
193
|
+
|
|
194
|
+
/** Detail source */
|
|
195
|
+
source?: (string|null);
|
|
196
|
+
|
|
197
|
+
/** Detail vendor */
|
|
198
|
+
vendor?: (string|null);
|
|
193
199
|
}
|
|
194
200
|
|
|
195
201
|
/** Represents a Detail. */
|
|
@@ -237,6 +243,12 @@ export namespace grafeas {
|
|
|
237
243
|
/** Detail sourceUpdateTime. */
|
|
238
244
|
public sourceUpdateTime?: (google.protobuf.ITimestamp|null);
|
|
239
245
|
|
|
246
|
+
/** Detail source. */
|
|
247
|
+
public source: string;
|
|
248
|
+
|
|
249
|
+
/** Detail vendor. */
|
|
250
|
+
public vendor: string;
|
|
251
|
+
|
|
240
252
|
/**
|
|
241
253
|
* Creates a new Detail instance using the specified properties.
|
|
242
254
|
* @param [properties] Properties to set
|
|
@@ -528,6 +540,9 @@ export namespace grafeas {
|
|
|
528
540
|
/** VulnerabilityOccurrence cvssScore */
|
|
529
541
|
cvssScore?: (number|null);
|
|
530
542
|
|
|
543
|
+
/** VulnerabilityOccurrence cvssv3 */
|
|
544
|
+
cvssv3?: (grafeas.v1.VulnerabilityOccurrence.ICVSSV3|null);
|
|
545
|
+
|
|
531
546
|
/** VulnerabilityOccurrence packageIssue */
|
|
532
547
|
packageIssue?: (grafeas.v1.VulnerabilityOccurrence.IPackageIssue[]|null);
|
|
533
548
|
|
|
@@ -565,6 +580,9 @@ export namespace grafeas {
|
|
|
565
580
|
/** VulnerabilityOccurrence cvssScore. */
|
|
566
581
|
public cvssScore: number;
|
|
567
582
|
|
|
583
|
+
/** VulnerabilityOccurrence cvssv3. */
|
|
584
|
+
public cvssv3?: (grafeas.v1.VulnerabilityOccurrence.ICVSSV3|null);
|
|
585
|
+
|
|
568
586
|
/** VulnerabilityOccurrence packageIssue. */
|
|
569
587
|
public packageIssue: grafeas.v1.VulnerabilityOccurrence.IPackageIssue[];
|
|
570
588
|
|
|
@@ -656,6 +674,102 @@ export namespace grafeas {
|
|
|
656
674
|
|
|
657
675
|
namespace VulnerabilityOccurrence {
|
|
658
676
|
|
|
677
|
+
/** Properties of a CVSSV3. */
|
|
678
|
+
interface ICVSSV3 {
|
|
679
|
+
|
|
680
|
+
/** CVSSV3 baseScore */
|
|
681
|
+
baseScore?: (number|null);
|
|
682
|
+
|
|
683
|
+
/** CVSSV3 severity */
|
|
684
|
+
severity?: (grafeas.v1.Severity|keyof typeof grafeas.v1.Severity|null);
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
/** Represents a CVSSV3. */
|
|
688
|
+
class CVSSV3 implements ICVSSV3 {
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* Constructs a new CVSSV3.
|
|
692
|
+
* @param [properties] Properties to set
|
|
693
|
+
*/
|
|
694
|
+
constructor(properties?: grafeas.v1.VulnerabilityOccurrence.ICVSSV3);
|
|
695
|
+
|
|
696
|
+
/** CVSSV3 baseScore. */
|
|
697
|
+
public baseScore: number;
|
|
698
|
+
|
|
699
|
+
/** CVSSV3 severity. */
|
|
700
|
+
public severity: (grafeas.v1.Severity|keyof typeof grafeas.v1.Severity);
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Creates a new CVSSV3 instance using the specified properties.
|
|
704
|
+
* @param [properties] Properties to set
|
|
705
|
+
* @returns CVSSV3 instance
|
|
706
|
+
*/
|
|
707
|
+
public static create(properties?: grafeas.v1.VulnerabilityOccurrence.ICVSSV3): grafeas.v1.VulnerabilityOccurrence.CVSSV3;
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* Encodes the specified CVSSV3 message. Does not implicitly {@link grafeas.v1.VulnerabilityOccurrence.CVSSV3.verify|verify} messages.
|
|
711
|
+
* @param message CVSSV3 message or plain object to encode
|
|
712
|
+
* @param [writer] Writer to encode to
|
|
713
|
+
* @returns Writer
|
|
714
|
+
*/
|
|
715
|
+
public static encode(message: grafeas.v1.VulnerabilityOccurrence.ICVSSV3, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Encodes the specified CVSSV3 message, length delimited. Does not implicitly {@link grafeas.v1.VulnerabilityOccurrence.CVSSV3.verify|verify} messages.
|
|
719
|
+
* @param message CVSSV3 message or plain object to encode
|
|
720
|
+
* @param [writer] Writer to encode to
|
|
721
|
+
* @returns Writer
|
|
722
|
+
*/
|
|
723
|
+
public static encodeDelimited(message: grafeas.v1.VulnerabilityOccurrence.ICVSSV3, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* Decodes a CVSSV3 message from the specified reader or buffer.
|
|
727
|
+
* @param reader Reader or buffer to decode from
|
|
728
|
+
* @param [length] Message length if known beforehand
|
|
729
|
+
* @returns CVSSV3
|
|
730
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
731
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
732
|
+
*/
|
|
733
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.VulnerabilityOccurrence.CVSSV3;
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Decodes a CVSSV3 message from the specified reader or buffer, length delimited.
|
|
737
|
+
* @param reader Reader or buffer to decode from
|
|
738
|
+
* @returns CVSSV3
|
|
739
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
740
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
741
|
+
*/
|
|
742
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.VulnerabilityOccurrence.CVSSV3;
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* Verifies a CVSSV3 message.
|
|
746
|
+
* @param message Plain object to verify
|
|
747
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
748
|
+
*/
|
|
749
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Creates a CVSSV3 message from a plain object. Also converts values to their respective internal types.
|
|
753
|
+
* @param object Plain object
|
|
754
|
+
* @returns CVSSV3
|
|
755
|
+
*/
|
|
756
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.VulnerabilityOccurrence.CVSSV3;
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* Creates a plain object from a CVSSV3 message. Also converts values to other types if specified.
|
|
760
|
+
* @param message CVSSV3
|
|
761
|
+
* @param [options] Conversion options
|
|
762
|
+
* @returns Plain object
|
|
763
|
+
*/
|
|
764
|
+
public static toObject(message: grafeas.v1.VulnerabilityOccurrence.CVSSV3, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Converts this CVSSV3 to JSON.
|
|
768
|
+
* @returns JSON object
|
|
769
|
+
*/
|
|
770
|
+
public toJSON(): { [k: string]: any };
|
|
771
|
+
}
|
|
772
|
+
|
|
659
773
|
/** Properties of a PackageIssue. */
|
|
660
774
|
interface IPackageIssue {
|
|
661
775
|
|
|
@@ -679,6 +793,12 @@ export namespace grafeas {
|
|
|
679
793
|
|
|
680
794
|
/** PackageIssue fixAvailable */
|
|
681
795
|
fixAvailable?: (boolean|null);
|
|
796
|
+
|
|
797
|
+
/** PackageIssue packageType */
|
|
798
|
+
packageType?: (string|null);
|
|
799
|
+
|
|
800
|
+
/** PackageIssue effectiveSeverity */
|
|
801
|
+
effectiveSeverity?: (grafeas.v1.Severity|keyof typeof grafeas.v1.Severity|null);
|
|
682
802
|
}
|
|
683
803
|
|
|
684
804
|
/** Represents a PackageIssue. */
|
|
@@ -711,6 +831,12 @@ export namespace grafeas {
|
|
|
711
831
|
/** PackageIssue fixAvailable. */
|
|
712
832
|
public fixAvailable: boolean;
|
|
713
833
|
|
|
834
|
+
/** PackageIssue packageType. */
|
|
835
|
+
public packageType: string;
|
|
836
|
+
|
|
837
|
+
/** PackageIssue effectiveSeverity. */
|
|
838
|
+
public effectiveSeverity: (grafeas.v1.Severity|keyof typeof grafeas.v1.Severity);
|
|
839
|
+
|
|
714
840
|
/**
|
|
715
841
|
* Creates a new PackageIssue instance using the specified properties.
|
|
716
842
|
* @param [properties] Properties to set
|
|
@@ -793,7 +919,9 @@ export namespace grafeas {
|
|
|
793
919
|
DEPLOYMENT = 5,
|
|
794
920
|
DISCOVERY = 6,
|
|
795
921
|
ATTESTATION = 7,
|
|
796
|
-
UPGRADE = 8
|
|
922
|
+
UPGRADE = 8,
|
|
923
|
+
COMPLIANCE = 9,
|
|
924
|
+
DSSE_ATTESTATION = 10
|
|
797
925
|
}
|
|
798
926
|
|
|
799
927
|
/** Properties of a RelatedUrl. */
|
|
@@ -988,6 +1116,204 @@ export namespace grafeas {
|
|
|
988
1116
|
public toJSON(): { [k: string]: any };
|
|
989
1117
|
}
|
|
990
1118
|
|
|
1119
|
+
/** Properties of an Envelope. */
|
|
1120
|
+
interface IEnvelope {
|
|
1121
|
+
|
|
1122
|
+
/** Envelope payload */
|
|
1123
|
+
payload?: (Uint8Array|string|null);
|
|
1124
|
+
|
|
1125
|
+
/** Envelope payloadType */
|
|
1126
|
+
payloadType?: (string|null);
|
|
1127
|
+
|
|
1128
|
+
/** Envelope signatures */
|
|
1129
|
+
signatures?: (grafeas.v1.IEnvelopeSignature[]|null);
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
/** Represents an Envelope. */
|
|
1133
|
+
class Envelope implements IEnvelope {
|
|
1134
|
+
|
|
1135
|
+
/**
|
|
1136
|
+
* Constructs a new Envelope.
|
|
1137
|
+
* @param [properties] Properties to set
|
|
1138
|
+
*/
|
|
1139
|
+
constructor(properties?: grafeas.v1.IEnvelope);
|
|
1140
|
+
|
|
1141
|
+
/** Envelope payload. */
|
|
1142
|
+
public payload: (Uint8Array|string);
|
|
1143
|
+
|
|
1144
|
+
/** Envelope payloadType. */
|
|
1145
|
+
public payloadType: string;
|
|
1146
|
+
|
|
1147
|
+
/** Envelope signatures. */
|
|
1148
|
+
public signatures: grafeas.v1.IEnvelopeSignature[];
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* Creates a new Envelope instance using the specified properties.
|
|
1152
|
+
* @param [properties] Properties to set
|
|
1153
|
+
* @returns Envelope instance
|
|
1154
|
+
*/
|
|
1155
|
+
public static create(properties?: grafeas.v1.IEnvelope): grafeas.v1.Envelope;
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* Encodes the specified Envelope message. Does not implicitly {@link grafeas.v1.Envelope.verify|verify} messages.
|
|
1159
|
+
* @param message Envelope message or plain object to encode
|
|
1160
|
+
* @param [writer] Writer to encode to
|
|
1161
|
+
* @returns Writer
|
|
1162
|
+
*/
|
|
1163
|
+
public static encode(message: grafeas.v1.IEnvelope, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* Encodes the specified Envelope message, length delimited. Does not implicitly {@link grafeas.v1.Envelope.verify|verify} messages.
|
|
1167
|
+
* @param message Envelope message or plain object to encode
|
|
1168
|
+
* @param [writer] Writer to encode to
|
|
1169
|
+
* @returns Writer
|
|
1170
|
+
*/
|
|
1171
|
+
public static encodeDelimited(message: grafeas.v1.IEnvelope, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* Decodes an Envelope message from the specified reader or buffer.
|
|
1175
|
+
* @param reader Reader or buffer to decode from
|
|
1176
|
+
* @param [length] Message length if known beforehand
|
|
1177
|
+
* @returns Envelope
|
|
1178
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1179
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1180
|
+
*/
|
|
1181
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.Envelope;
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* Decodes an Envelope message from the specified reader or buffer, length delimited.
|
|
1185
|
+
* @param reader Reader or buffer to decode from
|
|
1186
|
+
* @returns Envelope
|
|
1187
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1188
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1189
|
+
*/
|
|
1190
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.Envelope;
|
|
1191
|
+
|
|
1192
|
+
/**
|
|
1193
|
+
* Verifies an Envelope message.
|
|
1194
|
+
* @param message Plain object to verify
|
|
1195
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1196
|
+
*/
|
|
1197
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* Creates an Envelope message from a plain object. Also converts values to their respective internal types.
|
|
1201
|
+
* @param object Plain object
|
|
1202
|
+
* @returns Envelope
|
|
1203
|
+
*/
|
|
1204
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.Envelope;
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Creates a plain object from an Envelope message. Also converts values to other types if specified.
|
|
1208
|
+
* @param message Envelope
|
|
1209
|
+
* @param [options] Conversion options
|
|
1210
|
+
* @returns Plain object
|
|
1211
|
+
*/
|
|
1212
|
+
public static toObject(message: grafeas.v1.Envelope, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
* Converts this Envelope to JSON.
|
|
1216
|
+
* @returns JSON object
|
|
1217
|
+
*/
|
|
1218
|
+
public toJSON(): { [k: string]: any };
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
/** Properties of an EnvelopeSignature. */
|
|
1222
|
+
interface IEnvelopeSignature {
|
|
1223
|
+
|
|
1224
|
+
/** EnvelopeSignature sig */
|
|
1225
|
+
sig?: (Uint8Array|string|null);
|
|
1226
|
+
|
|
1227
|
+
/** EnvelopeSignature keyid */
|
|
1228
|
+
keyid?: (string|null);
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
/** Represents an EnvelopeSignature. */
|
|
1232
|
+
class EnvelopeSignature implements IEnvelopeSignature {
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* Constructs a new EnvelopeSignature.
|
|
1236
|
+
* @param [properties] Properties to set
|
|
1237
|
+
*/
|
|
1238
|
+
constructor(properties?: grafeas.v1.IEnvelopeSignature);
|
|
1239
|
+
|
|
1240
|
+
/** EnvelopeSignature sig. */
|
|
1241
|
+
public sig: (Uint8Array|string);
|
|
1242
|
+
|
|
1243
|
+
/** EnvelopeSignature keyid. */
|
|
1244
|
+
public keyid: string;
|
|
1245
|
+
|
|
1246
|
+
/**
|
|
1247
|
+
* Creates a new EnvelopeSignature instance using the specified properties.
|
|
1248
|
+
* @param [properties] Properties to set
|
|
1249
|
+
* @returns EnvelopeSignature instance
|
|
1250
|
+
*/
|
|
1251
|
+
public static create(properties?: grafeas.v1.IEnvelopeSignature): grafeas.v1.EnvelopeSignature;
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* Encodes the specified EnvelopeSignature message. Does not implicitly {@link grafeas.v1.EnvelopeSignature.verify|verify} messages.
|
|
1255
|
+
* @param message EnvelopeSignature message or plain object to encode
|
|
1256
|
+
* @param [writer] Writer to encode to
|
|
1257
|
+
* @returns Writer
|
|
1258
|
+
*/
|
|
1259
|
+
public static encode(message: grafeas.v1.IEnvelopeSignature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* Encodes the specified EnvelopeSignature message, length delimited. Does not implicitly {@link grafeas.v1.EnvelopeSignature.verify|verify} messages.
|
|
1263
|
+
* @param message EnvelopeSignature message or plain object to encode
|
|
1264
|
+
* @param [writer] Writer to encode to
|
|
1265
|
+
* @returns Writer
|
|
1266
|
+
*/
|
|
1267
|
+
public static encodeDelimited(message: grafeas.v1.IEnvelopeSignature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Decodes an EnvelopeSignature message from the specified reader or buffer.
|
|
1271
|
+
* @param reader Reader or buffer to decode from
|
|
1272
|
+
* @param [length] Message length if known beforehand
|
|
1273
|
+
* @returns EnvelopeSignature
|
|
1274
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1275
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1276
|
+
*/
|
|
1277
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.EnvelopeSignature;
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Decodes an EnvelopeSignature message from the specified reader or buffer, length delimited.
|
|
1281
|
+
* @param reader Reader or buffer to decode from
|
|
1282
|
+
* @returns EnvelopeSignature
|
|
1283
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1284
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1285
|
+
*/
|
|
1286
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.EnvelopeSignature;
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* Verifies an EnvelopeSignature message.
|
|
1290
|
+
* @param message Plain object to verify
|
|
1291
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1292
|
+
*/
|
|
1293
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1294
|
+
|
|
1295
|
+
/**
|
|
1296
|
+
* Creates an EnvelopeSignature message from a plain object. Also converts values to their respective internal types.
|
|
1297
|
+
* @param object Plain object
|
|
1298
|
+
* @returns EnvelopeSignature
|
|
1299
|
+
*/
|
|
1300
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.EnvelopeSignature;
|
|
1301
|
+
|
|
1302
|
+
/**
|
|
1303
|
+
* Creates a plain object from an EnvelopeSignature message. Also converts values to other types if specified.
|
|
1304
|
+
* @param message EnvelopeSignature
|
|
1305
|
+
* @param [options] Conversion options
|
|
1306
|
+
* @returns Plain object
|
|
1307
|
+
*/
|
|
1308
|
+
public static toObject(message: grafeas.v1.EnvelopeSignature, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* Converts this EnvelopeSignature to JSON.
|
|
1312
|
+
* @returns JSON object
|
|
1313
|
+
*/
|
|
1314
|
+
public toJSON(): { [k: string]: any };
|
|
1315
|
+
}
|
|
1316
|
+
|
|
991
1317
|
/** Properties of a CVSSv3. */
|
|
992
1318
|
interface ICVSSv3 {
|
|
993
1319
|
|
|
@@ -1620,6 +1946,9 @@ export namespace grafeas {
|
|
|
1620
1946
|
/** Version revision */
|
|
1621
1947
|
revision?: (string|null);
|
|
1622
1948
|
|
|
1949
|
+
/** Version inclusive */
|
|
1950
|
+
inclusive?: (boolean|null);
|
|
1951
|
+
|
|
1623
1952
|
/** Version kind */
|
|
1624
1953
|
kind?: (grafeas.v1.Version.VersionKind|keyof typeof grafeas.v1.Version.VersionKind|null);
|
|
1625
1954
|
|
|
@@ -1645,6 +1974,9 @@ export namespace grafeas {
|
|
|
1645
1974
|
/** Version revision. */
|
|
1646
1975
|
public revision: string;
|
|
1647
1976
|
|
|
1977
|
+
/** Version inclusive. */
|
|
1978
|
+
public inclusive: boolean;
|
|
1979
|
+
|
|
1648
1980
|
/** Version kind. */
|
|
1649
1981
|
public kind: (grafeas.v1.Version.VersionKind|keyof typeof grafeas.v1.Version.VersionKind);
|
|
1650
1982
|
|
|
@@ -1916,6 +2248,96 @@ export namespace grafeas {
|
|
|
1916
2248
|
}
|
|
1917
2249
|
}
|
|
1918
2250
|
|
|
2251
|
+
/** Properties of a Jwt. */
|
|
2252
|
+
interface IJwt {
|
|
2253
|
+
|
|
2254
|
+
/** Jwt compactJwt */
|
|
2255
|
+
compactJwt?: (string|null);
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
/** Represents a Jwt. */
|
|
2259
|
+
class Jwt implements IJwt {
|
|
2260
|
+
|
|
2261
|
+
/**
|
|
2262
|
+
* Constructs a new Jwt.
|
|
2263
|
+
* @param [properties] Properties to set
|
|
2264
|
+
*/
|
|
2265
|
+
constructor(properties?: grafeas.v1.IJwt);
|
|
2266
|
+
|
|
2267
|
+
/** Jwt compactJwt. */
|
|
2268
|
+
public compactJwt: string;
|
|
2269
|
+
|
|
2270
|
+
/**
|
|
2271
|
+
* Creates a new Jwt instance using the specified properties.
|
|
2272
|
+
* @param [properties] Properties to set
|
|
2273
|
+
* @returns Jwt instance
|
|
2274
|
+
*/
|
|
2275
|
+
public static create(properties?: grafeas.v1.IJwt): grafeas.v1.Jwt;
|
|
2276
|
+
|
|
2277
|
+
/**
|
|
2278
|
+
* Encodes the specified Jwt message. Does not implicitly {@link grafeas.v1.Jwt.verify|verify} messages.
|
|
2279
|
+
* @param message Jwt message or plain object to encode
|
|
2280
|
+
* @param [writer] Writer to encode to
|
|
2281
|
+
* @returns Writer
|
|
2282
|
+
*/
|
|
2283
|
+
public static encode(message: grafeas.v1.IJwt, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2284
|
+
|
|
2285
|
+
/**
|
|
2286
|
+
* Encodes the specified Jwt message, length delimited. Does not implicitly {@link grafeas.v1.Jwt.verify|verify} messages.
|
|
2287
|
+
* @param message Jwt message or plain object to encode
|
|
2288
|
+
* @param [writer] Writer to encode to
|
|
2289
|
+
* @returns Writer
|
|
2290
|
+
*/
|
|
2291
|
+
public static encodeDelimited(message: grafeas.v1.IJwt, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2292
|
+
|
|
2293
|
+
/**
|
|
2294
|
+
* Decodes a Jwt message from the specified reader or buffer.
|
|
2295
|
+
* @param reader Reader or buffer to decode from
|
|
2296
|
+
* @param [length] Message length if known beforehand
|
|
2297
|
+
* @returns Jwt
|
|
2298
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2299
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2300
|
+
*/
|
|
2301
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.Jwt;
|
|
2302
|
+
|
|
2303
|
+
/**
|
|
2304
|
+
* Decodes a Jwt message from the specified reader or buffer, length delimited.
|
|
2305
|
+
* @param reader Reader or buffer to decode from
|
|
2306
|
+
* @returns Jwt
|
|
2307
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2308
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2309
|
+
*/
|
|
2310
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.Jwt;
|
|
2311
|
+
|
|
2312
|
+
/**
|
|
2313
|
+
* Verifies a Jwt message.
|
|
2314
|
+
* @param message Plain object to verify
|
|
2315
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2316
|
+
*/
|
|
2317
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2318
|
+
|
|
2319
|
+
/**
|
|
2320
|
+
* Creates a Jwt message from a plain object. Also converts values to their respective internal types.
|
|
2321
|
+
* @param object Plain object
|
|
2322
|
+
* @returns Jwt
|
|
2323
|
+
*/
|
|
2324
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.Jwt;
|
|
2325
|
+
|
|
2326
|
+
/**
|
|
2327
|
+
* Creates a plain object from a Jwt message. Also converts values to other types if specified.
|
|
2328
|
+
* @param message Jwt
|
|
2329
|
+
* @param [options] Conversion options
|
|
2330
|
+
* @returns Plain object
|
|
2331
|
+
*/
|
|
2332
|
+
public static toObject(message: grafeas.v1.Jwt, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2333
|
+
|
|
2334
|
+
/**
|
|
2335
|
+
* Converts this Jwt to JSON.
|
|
2336
|
+
* @returns JSON object
|
|
2337
|
+
*/
|
|
2338
|
+
public toJSON(): { [k: string]: any };
|
|
2339
|
+
}
|
|
2340
|
+
|
|
1919
2341
|
/** Properties of an AttestationOccurrence. */
|
|
1920
2342
|
interface IAttestationOccurrence {
|
|
1921
2343
|
|
|
@@ -1924,6 +2346,9 @@ export namespace grafeas {
|
|
|
1924
2346
|
|
|
1925
2347
|
/** AttestationOccurrence signatures */
|
|
1926
2348
|
signatures?: (grafeas.v1.ISignature[]|null);
|
|
2349
|
+
|
|
2350
|
+
/** AttestationOccurrence jwts */
|
|
2351
|
+
jwts?: (grafeas.v1.IJwt[]|null);
|
|
1927
2352
|
}
|
|
1928
2353
|
|
|
1929
2354
|
/** Represents an AttestationOccurrence. */
|
|
@@ -1941,6 +2366,9 @@ export namespace grafeas {
|
|
|
1941
2366
|
/** AttestationOccurrence signatures. */
|
|
1942
2367
|
public signatures: grafeas.v1.ISignature[];
|
|
1943
2368
|
|
|
2369
|
+
/** AttestationOccurrence jwts. */
|
|
2370
|
+
public jwts: grafeas.v1.IJwt[];
|
|
2371
|
+
|
|
1944
2372
|
/**
|
|
1945
2373
|
* Creates a new AttestationOccurrence instance using the specified properties.
|
|
1946
2374
|
* @param [properties] Properties to set
|
|
@@ -2110,6 +2538,12 @@ export namespace grafeas {
|
|
|
2110
2538
|
|
|
2111
2539
|
/** BuildOccurrence provenanceBytes */
|
|
2112
2540
|
provenanceBytes?: (string|null);
|
|
2541
|
+
|
|
2542
|
+
/** BuildOccurrence intotoProvenance */
|
|
2543
|
+
intotoProvenance?: (grafeas.v1.IInTotoProvenance|null);
|
|
2544
|
+
|
|
2545
|
+
/** BuildOccurrence intotoStatement */
|
|
2546
|
+
intotoStatement?: (grafeas.v1.IInTotoStatement|null);
|
|
2113
2547
|
}
|
|
2114
2548
|
|
|
2115
2549
|
/** Represents a BuildOccurrence. */
|
|
@@ -2127,6 +2561,12 @@ export namespace grafeas {
|
|
|
2127
2561
|
/** BuildOccurrence provenanceBytes. */
|
|
2128
2562
|
public provenanceBytes: string;
|
|
2129
2563
|
|
|
2564
|
+
/** BuildOccurrence intotoProvenance. */
|
|
2565
|
+
public intotoProvenance?: (grafeas.v1.IInTotoProvenance|null);
|
|
2566
|
+
|
|
2567
|
+
/** BuildOccurrence intotoStatement. */
|
|
2568
|
+
public intotoStatement?: (grafeas.v1.IInTotoStatement|null);
|
|
2569
|
+
|
|
2130
2570
|
/**
|
|
2131
2571
|
* Creates a new BuildOccurrence instance using the specified properties.
|
|
2132
2572
|
* @param [properties] Properties to set
|
|
@@ -2198,1404 +2638,3294 @@ export namespace grafeas {
|
|
|
2198
2638
|
public toJSON(): { [k: string]: any };
|
|
2199
2639
|
}
|
|
2200
2640
|
|
|
2201
|
-
/** Properties of a
|
|
2202
|
-
interface
|
|
2203
|
-
|
|
2204
|
-
/** BuildProvenance id */
|
|
2205
|
-
id?: (string|null);
|
|
2206
|
-
|
|
2207
|
-
/** BuildProvenance projectId */
|
|
2208
|
-
projectId?: (string|null);
|
|
2209
|
-
|
|
2210
|
-
/** BuildProvenance commands */
|
|
2211
|
-
commands?: (grafeas.v1.ICommand[]|null);
|
|
2212
|
-
|
|
2213
|
-
/** BuildProvenance builtArtifacts */
|
|
2214
|
-
builtArtifacts?: (grafeas.v1.IArtifact[]|null);
|
|
2215
|
-
|
|
2216
|
-
/** BuildProvenance createTime */
|
|
2217
|
-
createTime?: (google.protobuf.ITimestamp|null);
|
|
2218
|
-
|
|
2219
|
-
/** BuildProvenance startTime */
|
|
2220
|
-
startTime?: (google.protobuf.ITimestamp|null);
|
|
2221
|
-
|
|
2222
|
-
/** BuildProvenance endTime */
|
|
2223
|
-
endTime?: (google.protobuf.ITimestamp|null);
|
|
2224
|
-
|
|
2225
|
-
/** BuildProvenance creator */
|
|
2226
|
-
creator?: (string|null);
|
|
2641
|
+
/** Properties of a Recipe. */
|
|
2642
|
+
interface IRecipe {
|
|
2227
2643
|
|
|
2228
|
-
/**
|
|
2229
|
-
|
|
2644
|
+
/** Recipe type */
|
|
2645
|
+
type?: (string|null);
|
|
2230
2646
|
|
|
2231
|
-
/**
|
|
2232
|
-
|
|
2647
|
+
/** Recipe definedInMaterial */
|
|
2648
|
+
definedInMaterial?: (number|Long|string|null);
|
|
2233
2649
|
|
|
2234
|
-
/**
|
|
2235
|
-
|
|
2650
|
+
/** Recipe entryPoint */
|
|
2651
|
+
entryPoint?: (string|null);
|
|
2236
2652
|
|
|
2237
|
-
/**
|
|
2238
|
-
|
|
2653
|
+
/** Recipe arguments */
|
|
2654
|
+
"arguments"?: (google.protobuf.IAny[]|null);
|
|
2239
2655
|
|
|
2240
|
-
/**
|
|
2241
|
-
|
|
2656
|
+
/** Recipe environment */
|
|
2657
|
+
environment?: (google.protobuf.IAny[]|null);
|
|
2242
2658
|
}
|
|
2243
2659
|
|
|
2244
|
-
/** Represents a
|
|
2245
|
-
class
|
|
2660
|
+
/** Represents a Recipe. */
|
|
2661
|
+
class Recipe implements IRecipe {
|
|
2246
2662
|
|
|
2247
2663
|
/**
|
|
2248
|
-
* Constructs a new
|
|
2664
|
+
* Constructs a new Recipe.
|
|
2249
2665
|
* @param [properties] Properties to set
|
|
2250
2666
|
*/
|
|
2251
|
-
constructor(properties?: grafeas.v1.
|
|
2252
|
-
|
|
2253
|
-
/** BuildProvenance id. */
|
|
2254
|
-
public id: string;
|
|
2255
|
-
|
|
2256
|
-
/** BuildProvenance projectId. */
|
|
2257
|
-
public projectId: string;
|
|
2258
|
-
|
|
2259
|
-
/** BuildProvenance commands. */
|
|
2260
|
-
public commands: grafeas.v1.ICommand[];
|
|
2261
|
-
|
|
2262
|
-
/** BuildProvenance builtArtifacts. */
|
|
2263
|
-
public builtArtifacts: grafeas.v1.IArtifact[];
|
|
2264
|
-
|
|
2265
|
-
/** BuildProvenance createTime. */
|
|
2266
|
-
public createTime?: (google.protobuf.ITimestamp|null);
|
|
2267
|
-
|
|
2268
|
-
/** BuildProvenance startTime. */
|
|
2269
|
-
public startTime?: (google.protobuf.ITimestamp|null);
|
|
2270
|
-
|
|
2271
|
-
/** BuildProvenance endTime. */
|
|
2272
|
-
public endTime?: (google.protobuf.ITimestamp|null);
|
|
2667
|
+
constructor(properties?: grafeas.v1.IRecipe);
|
|
2273
2668
|
|
|
2274
|
-
/**
|
|
2275
|
-
public
|
|
2276
|
-
|
|
2277
|
-
/** BuildProvenance logsUri. */
|
|
2278
|
-
public logsUri: string;
|
|
2669
|
+
/** Recipe type. */
|
|
2670
|
+
public type: string;
|
|
2279
2671
|
|
|
2280
|
-
/**
|
|
2281
|
-
public
|
|
2672
|
+
/** Recipe definedInMaterial. */
|
|
2673
|
+
public definedInMaterial: (number|Long|string);
|
|
2282
2674
|
|
|
2283
|
-
/**
|
|
2284
|
-
public
|
|
2675
|
+
/** Recipe entryPoint. */
|
|
2676
|
+
public entryPoint: string;
|
|
2285
2677
|
|
|
2286
|
-
/**
|
|
2287
|
-
public
|
|
2678
|
+
/** Recipe arguments. */
|
|
2679
|
+
public arguments: google.protobuf.IAny[];
|
|
2288
2680
|
|
|
2289
|
-
/**
|
|
2290
|
-
public
|
|
2681
|
+
/** Recipe environment. */
|
|
2682
|
+
public environment: google.protobuf.IAny[];
|
|
2291
2683
|
|
|
2292
2684
|
/**
|
|
2293
|
-
* Creates a new
|
|
2685
|
+
* Creates a new Recipe instance using the specified properties.
|
|
2294
2686
|
* @param [properties] Properties to set
|
|
2295
|
-
* @returns
|
|
2687
|
+
* @returns Recipe instance
|
|
2296
2688
|
*/
|
|
2297
|
-
public static create(properties?: grafeas.v1.
|
|
2689
|
+
public static create(properties?: grafeas.v1.IRecipe): grafeas.v1.Recipe;
|
|
2298
2690
|
|
|
2299
2691
|
/**
|
|
2300
|
-
* Encodes the specified
|
|
2301
|
-
* @param message
|
|
2692
|
+
* Encodes the specified Recipe message. Does not implicitly {@link grafeas.v1.Recipe.verify|verify} messages.
|
|
2693
|
+
* @param message Recipe message or plain object to encode
|
|
2302
2694
|
* @param [writer] Writer to encode to
|
|
2303
2695
|
* @returns Writer
|
|
2304
2696
|
*/
|
|
2305
|
-
public static encode(message: grafeas.v1.
|
|
2697
|
+
public static encode(message: grafeas.v1.IRecipe, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2306
2698
|
|
|
2307
2699
|
/**
|
|
2308
|
-
* Encodes the specified
|
|
2309
|
-
* @param message
|
|
2700
|
+
* Encodes the specified Recipe message, length delimited. Does not implicitly {@link grafeas.v1.Recipe.verify|verify} messages.
|
|
2701
|
+
* @param message Recipe message or plain object to encode
|
|
2310
2702
|
* @param [writer] Writer to encode to
|
|
2311
2703
|
* @returns Writer
|
|
2312
2704
|
*/
|
|
2313
|
-
public static encodeDelimited(message: grafeas.v1.
|
|
2705
|
+
public static encodeDelimited(message: grafeas.v1.IRecipe, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2314
2706
|
|
|
2315
2707
|
/**
|
|
2316
|
-
* Decodes a
|
|
2708
|
+
* Decodes a Recipe message from the specified reader or buffer.
|
|
2317
2709
|
* @param reader Reader or buffer to decode from
|
|
2318
2710
|
* @param [length] Message length if known beforehand
|
|
2319
|
-
* @returns
|
|
2711
|
+
* @returns Recipe
|
|
2320
2712
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2321
2713
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2322
2714
|
*/
|
|
2323
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.
|
|
2715
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.Recipe;
|
|
2324
2716
|
|
|
2325
2717
|
/**
|
|
2326
|
-
* Decodes a
|
|
2718
|
+
* Decodes a Recipe message from the specified reader or buffer, length delimited.
|
|
2327
2719
|
* @param reader Reader or buffer to decode from
|
|
2328
|
-
* @returns
|
|
2720
|
+
* @returns Recipe
|
|
2329
2721
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2330
2722
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2331
2723
|
*/
|
|
2332
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.
|
|
2724
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.Recipe;
|
|
2333
2725
|
|
|
2334
2726
|
/**
|
|
2335
|
-
* Verifies a
|
|
2727
|
+
* Verifies a Recipe message.
|
|
2336
2728
|
* @param message Plain object to verify
|
|
2337
2729
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2338
2730
|
*/
|
|
2339
2731
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2340
2732
|
|
|
2341
2733
|
/**
|
|
2342
|
-
* Creates a
|
|
2734
|
+
* Creates a Recipe message from a plain object. Also converts values to their respective internal types.
|
|
2343
2735
|
* @param object Plain object
|
|
2344
|
-
* @returns
|
|
2736
|
+
* @returns Recipe
|
|
2345
2737
|
*/
|
|
2346
|
-
public static fromObject(object: { [k: string]: any }): grafeas.v1.
|
|
2738
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.Recipe;
|
|
2347
2739
|
|
|
2348
2740
|
/**
|
|
2349
|
-
* Creates a plain object from a
|
|
2350
|
-
* @param message
|
|
2741
|
+
* Creates a plain object from a Recipe message. Also converts values to other types if specified.
|
|
2742
|
+
* @param message Recipe
|
|
2351
2743
|
* @param [options] Conversion options
|
|
2352
2744
|
* @returns Plain object
|
|
2353
2745
|
*/
|
|
2354
|
-
public static toObject(message: grafeas.v1.
|
|
2746
|
+
public static toObject(message: grafeas.v1.Recipe, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2355
2747
|
|
|
2356
2748
|
/**
|
|
2357
|
-
* Converts this
|
|
2749
|
+
* Converts this Recipe to JSON.
|
|
2358
2750
|
* @returns JSON object
|
|
2359
2751
|
*/
|
|
2360
2752
|
public toJSON(): { [k: string]: any };
|
|
2361
2753
|
}
|
|
2362
2754
|
|
|
2363
|
-
/** Properties of a
|
|
2364
|
-
interface
|
|
2365
|
-
|
|
2366
|
-
/** Source artifactStorageSourceUri */
|
|
2367
|
-
artifactStorageSourceUri?: (string|null);
|
|
2755
|
+
/** Properties of a Completeness. */
|
|
2756
|
+
interface ICompleteness {
|
|
2368
2757
|
|
|
2369
|
-
/**
|
|
2370
|
-
|
|
2758
|
+
/** Completeness arguments */
|
|
2759
|
+
"arguments"?: (boolean|null);
|
|
2371
2760
|
|
|
2372
|
-
/**
|
|
2373
|
-
|
|
2761
|
+
/** Completeness environment */
|
|
2762
|
+
environment?: (boolean|null);
|
|
2374
2763
|
|
|
2375
|
-
/**
|
|
2376
|
-
|
|
2764
|
+
/** Completeness materials */
|
|
2765
|
+
materials?: (boolean|null);
|
|
2377
2766
|
}
|
|
2378
2767
|
|
|
2379
|
-
/** Represents a
|
|
2380
|
-
class
|
|
2768
|
+
/** Represents a Completeness. */
|
|
2769
|
+
class Completeness implements ICompleteness {
|
|
2381
2770
|
|
|
2382
2771
|
/**
|
|
2383
|
-
* Constructs a new
|
|
2772
|
+
* Constructs a new Completeness.
|
|
2384
2773
|
* @param [properties] Properties to set
|
|
2385
2774
|
*/
|
|
2386
|
-
constructor(properties?: grafeas.v1.
|
|
2775
|
+
constructor(properties?: grafeas.v1.ICompleteness);
|
|
2387
2776
|
|
|
2388
|
-
/**
|
|
2389
|
-
public
|
|
2390
|
-
|
|
2391
|
-
/** Source fileHashes. */
|
|
2392
|
-
public fileHashes: { [k: string]: grafeas.v1.IFileHashes };
|
|
2777
|
+
/** Completeness arguments. */
|
|
2778
|
+
public arguments: boolean;
|
|
2393
2779
|
|
|
2394
|
-
/**
|
|
2395
|
-
public
|
|
2780
|
+
/** Completeness environment. */
|
|
2781
|
+
public environment: boolean;
|
|
2396
2782
|
|
|
2397
|
-
/**
|
|
2398
|
-
public
|
|
2783
|
+
/** Completeness materials. */
|
|
2784
|
+
public materials: boolean;
|
|
2399
2785
|
|
|
2400
2786
|
/**
|
|
2401
|
-
* Creates a new
|
|
2787
|
+
* Creates a new Completeness instance using the specified properties.
|
|
2402
2788
|
* @param [properties] Properties to set
|
|
2403
|
-
* @returns
|
|
2789
|
+
* @returns Completeness instance
|
|
2404
2790
|
*/
|
|
2405
|
-
public static create(properties?: grafeas.v1.
|
|
2791
|
+
public static create(properties?: grafeas.v1.ICompleteness): grafeas.v1.Completeness;
|
|
2406
2792
|
|
|
2407
2793
|
/**
|
|
2408
|
-
* Encodes the specified
|
|
2409
|
-
* @param message
|
|
2794
|
+
* Encodes the specified Completeness message. Does not implicitly {@link grafeas.v1.Completeness.verify|verify} messages.
|
|
2795
|
+
* @param message Completeness message or plain object to encode
|
|
2410
2796
|
* @param [writer] Writer to encode to
|
|
2411
2797
|
* @returns Writer
|
|
2412
2798
|
*/
|
|
2413
|
-
public static encode(message: grafeas.v1.
|
|
2799
|
+
public static encode(message: grafeas.v1.ICompleteness, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2414
2800
|
|
|
2415
2801
|
/**
|
|
2416
|
-
* Encodes the specified
|
|
2417
|
-
* @param message
|
|
2802
|
+
* Encodes the specified Completeness message, length delimited. Does not implicitly {@link grafeas.v1.Completeness.verify|verify} messages.
|
|
2803
|
+
* @param message Completeness message or plain object to encode
|
|
2418
2804
|
* @param [writer] Writer to encode to
|
|
2419
2805
|
* @returns Writer
|
|
2420
2806
|
*/
|
|
2421
|
-
public static encodeDelimited(message: grafeas.v1.
|
|
2807
|
+
public static encodeDelimited(message: grafeas.v1.ICompleteness, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2422
2808
|
|
|
2423
2809
|
/**
|
|
2424
|
-
* Decodes a
|
|
2810
|
+
* Decodes a Completeness message from the specified reader or buffer.
|
|
2425
2811
|
* @param reader Reader or buffer to decode from
|
|
2426
2812
|
* @param [length] Message length if known beforehand
|
|
2427
|
-
* @returns
|
|
2813
|
+
* @returns Completeness
|
|
2428
2814
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2429
2815
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2430
2816
|
*/
|
|
2431
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.
|
|
2817
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.Completeness;
|
|
2432
2818
|
|
|
2433
2819
|
/**
|
|
2434
|
-
* Decodes a
|
|
2820
|
+
* Decodes a Completeness message from the specified reader or buffer, length delimited.
|
|
2435
2821
|
* @param reader Reader or buffer to decode from
|
|
2436
|
-
* @returns
|
|
2822
|
+
* @returns Completeness
|
|
2437
2823
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2438
2824
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2439
2825
|
*/
|
|
2440
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.
|
|
2826
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.Completeness;
|
|
2441
2827
|
|
|
2442
2828
|
/**
|
|
2443
|
-
* Verifies a
|
|
2829
|
+
* Verifies a Completeness message.
|
|
2444
2830
|
* @param message Plain object to verify
|
|
2445
2831
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2446
2832
|
*/
|
|
2447
2833
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2448
2834
|
|
|
2449
2835
|
/**
|
|
2450
|
-
* Creates a
|
|
2836
|
+
* Creates a Completeness message from a plain object. Also converts values to their respective internal types.
|
|
2451
2837
|
* @param object Plain object
|
|
2452
|
-
* @returns
|
|
2838
|
+
* @returns Completeness
|
|
2453
2839
|
*/
|
|
2454
|
-
public static fromObject(object: { [k: string]: any }): grafeas.v1.
|
|
2840
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.Completeness;
|
|
2455
2841
|
|
|
2456
2842
|
/**
|
|
2457
|
-
* Creates a plain object from a
|
|
2458
|
-
* @param message
|
|
2843
|
+
* Creates a plain object from a Completeness message. Also converts values to other types if specified.
|
|
2844
|
+
* @param message Completeness
|
|
2459
2845
|
* @param [options] Conversion options
|
|
2460
2846
|
* @returns Plain object
|
|
2461
2847
|
*/
|
|
2462
|
-
public static toObject(message: grafeas.v1.
|
|
2848
|
+
public static toObject(message: grafeas.v1.Completeness, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2463
2849
|
|
|
2464
2850
|
/**
|
|
2465
|
-
* Converts this
|
|
2851
|
+
* Converts this Completeness to JSON.
|
|
2466
2852
|
* @returns JSON object
|
|
2467
2853
|
*/
|
|
2468
2854
|
public toJSON(): { [k: string]: any };
|
|
2469
2855
|
}
|
|
2470
2856
|
|
|
2471
|
-
/** Properties of a
|
|
2472
|
-
interface
|
|
2857
|
+
/** Properties of a Metadata. */
|
|
2858
|
+
interface IMetadata {
|
|
2473
2859
|
|
|
2474
|
-
/**
|
|
2475
|
-
|
|
2860
|
+
/** Metadata buildInvocationId */
|
|
2861
|
+
buildInvocationId?: (string|null);
|
|
2862
|
+
|
|
2863
|
+
/** Metadata buildStartedOn */
|
|
2864
|
+
buildStartedOn?: (google.protobuf.ITimestamp|null);
|
|
2865
|
+
|
|
2866
|
+
/** Metadata buildFinishedOn */
|
|
2867
|
+
buildFinishedOn?: (google.protobuf.ITimestamp|null);
|
|
2868
|
+
|
|
2869
|
+
/** Metadata completeness */
|
|
2870
|
+
completeness?: (grafeas.v1.ICompleteness|null);
|
|
2871
|
+
|
|
2872
|
+
/** Metadata reproducible */
|
|
2873
|
+
reproducible?: (boolean|null);
|
|
2476
2874
|
}
|
|
2477
2875
|
|
|
2478
|
-
/** Represents a
|
|
2479
|
-
class
|
|
2876
|
+
/** Represents a Metadata. */
|
|
2877
|
+
class Metadata implements IMetadata {
|
|
2480
2878
|
|
|
2481
2879
|
/**
|
|
2482
|
-
* Constructs a new
|
|
2880
|
+
* Constructs a new Metadata.
|
|
2483
2881
|
* @param [properties] Properties to set
|
|
2484
2882
|
*/
|
|
2485
|
-
constructor(properties?: grafeas.v1.
|
|
2883
|
+
constructor(properties?: grafeas.v1.IMetadata);
|
|
2486
2884
|
|
|
2487
|
-
/**
|
|
2488
|
-
public
|
|
2885
|
+
/** Metadata buildInvocationId. */
|
|
2886
|
+
public buildInvocationId: string;
|
|
2887
|
+
|
|
2888
|
+
/** Metadata buildStartedOn. */
|
|
2889
|
+
public buildStartedOn?: (google.protobuf.ITimestamp|null);
|
|
2890
|
+
|
|
2891
|
+
/** Metadata buildFinishedOn. */
|
|
2892
|
+
public buildFinishedOn?: (google.protobuf.ITimestamp|null);
|
|
2893
|
+
|
|
2894
|
+
/** Metadata completeness. */
|
|
2895
|
+
public completeness?: (grafeas.v1.ICompleteness|null);
|
|
2896
|
+
|
|
2897
|
+
/** Metadata reproducible. */
|
|
2898
|
+
public reproducible: boolean;
|
|
2489
2899
|
|
|
2490
2900
|
/**
|
|
2491
|
-
* Creates a new
|
|
2901
|
+
* Creates a new Metadata instance using the specified properties.
|
|
2492
2902
|
* @param [properties] Properties to set
|
|
2493
|
-
* @returns
|
|
2903
|
+
* @returns Metadata instance
|
|
2494
2904
|
*/
|
|
2495
|
-
public static create(properties?: grafeas.v1.
|
|
2905
|
+
public static create(properties?: grafeas.v1.IMetadata): grafeas.v1.Metadata;
|
|
2496
2906
|
|
|
2497
2907
|
/**
|
|
2498
|
-
* Encodes the specified
|
|
2499
|
-
* @param message
|
|
2908
|
+
* Encodes the specified Metadata message. Does not implicitly {@link grafeas.v1.Metadata.verify|verify} messages.
|
|
2909
|
+
* @param message Metadata message or plain object to encode
|
|
2500
2910
|
* @param [writer] Writer to encode to
|
|
2501
2911
|
* @returns Writer
|
|
2502
2912
|
*/
|
|
2503
|
-
public static encode(message: grafeas.v1.
|
|
2913
|
+
public static encode(message: grafeas.v1.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2504
2914
|
|
|
2505
2915
|
/**
|
|
2506
|
-
* Encodes the specified
|
|
2507
|
-
* @param message
|
|
2916
|
+
* Encodes the specified Metadata message, length delimited. Does not implicitly {@link grafeas.v1.Metadata.verify|verify} messages.
|
|
2917
|
+
* @param message Metadata message or plain object to encode
|
|
2508
2918
|
* @param [writer] Writer to encode to
|
|
2509
2919
|
* @returns Writer
|
|
2510
2920
|
*/
|
|
2511
|
-
public static encodeDelimited(message: grafeas.v1.
|
|
2921
|
+
public static encodeDelimited(message: grafeas.v1.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2512
2922
|
|
|
2513
2923
|
/**
|
|
2514
|
-
* Decodes a
|
|
2924
|
+
* Decodes a Metadata message from the specified reader or buffer.
|
|
2515
2925
|
* @param reader Reader or buffer to decode from
|
|
2516
2926
|
* @param [length] Message length if known beforehand
|
|
2517
|
-
* @returns
|
|
2927
|
+
* @returns Metadata
|
|
2518
2928
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2519
2929
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2520
2930
|
*/
|
|
2521
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.
|
|
2931
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.Metadata;
|
|
2522
2932
|
|
|
2523
2933
|
/**
|
|
2524
|
-
* Decodes a
|
|
2934
|
+
* Decodes a Metadata message from the specified reader or buffer, length delimited.
|
|
2525
2935
|
* @param reader Reader or buffer to decode from
|
|
2526
|
-
* @returns
|
|
2936
|
+
* @returns Metadata
|
|
2527
2937
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2528
2938
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2529
2939
|
*/
|
|
2530
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.
|
|
2940
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.Metadata;
|
|
2531
2941
|
|
|
2532
2942
|
/**
|
|
2533
|
-
* Verifies a
|
|
2943
|
+
* Verifies a Metadata message.
|
|
2534
2944
|
* @param message Plain object to verify
|
|
2535
2945
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2536
2946
|
*/
|
|
2537
2947
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2538
2948
|
|
|
2539
2949
|
/**
|
|
2540
|
-
* Creates a
|
|
2950
|
+
* Creates a Metadata message from a plain object. Also converts values to their respective internal types.
|
|
2541
2951
|
* @param object Plain object
|
|
2542
|
-
* @returns
|
|
2952
|
+
* @returns Metadata
|
|
2543
2953
|
*/
|
|
2544
|
-
public static fromObject(object: { [k: string]: any }): grafeas.v1.
|
|
2954
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.Metadata;
|
|
2545
2955
|
|
|
2546
2956
|
/**
|
|
2547
|
-
* Creates a plain object from a
|
|
2548
|
-
* @param message
|
|
2957
|
+
* Creates a plain object from a Metadata message. Also converts values to other types if specified.
|
|
2958
|
+
* @param message Metadata
|
|
2549
2959
|
* @param [options] Conversion options
|
|
2550
2960
|
* @returns Plain object
|
|
2551
2961
|
*/
|
|
2552
|
-
public static toObject(message: grafeas.v1.
|
|
2962
|
+
public static toObject(message: grafeas.v1.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2553
2963
|
|
|
2554
2964
|
/**
|
|
2555
|
-
* Converts this
|
|
2965
|
+
* Converts this Metadata to JSON.
|
|
2556
2966
|
* @returns JSON object
|
|
2557
2967
|
*/
|
|
2558
2968
|
public toJSON(): { [k: string]: any };
|
|
2559
2969
|
}
|
|
2560
2970
|
|
|
2561
|
-
/** Properties of a
|
|
2562
|
-
interface
|
|
2563
|
-
|
|
2564
|
-
/** Hash type */
|
|
2565
|
-
type?: (string|null);
|
|
2971
|
+
/** Properties of a BuilderConfig. */
|
|
2972
|
+
interface IBuilderConfig {
|
|
2566
2973
|
|
|
2567
|
-
/**
|
|
2568
|
-
|
|
2974
|
+
/** BuilderConfig id */
|
|
2975
|
+
id?: (string|null);
|
|
2569
2976
|
}
|
|
2570
2977
|
|
|
2571
|
-
/** Represents a
|
|
2572
|
-
class
|
|
2978
|
+
/** Represents a BuilderConfig. */
|
|
2979
|
+
class BuilderConfig implements IBuilderConfig {
|
|
2573
2980
|
|
|
2574
2981
|
/**
|
|
2575
|
-
* Constructs a new
|
|
2982
|
+
* Constructs a new BuilderConfig.
|
|
2576
2983
|
* @param [properties] Properties to set
|
|
2577
2984
|
*/
|
|
2578
|
-
constructor(properties?: grafeas.v1.
|
|
2579
|
-
|
|
2580
|
-
/** Hash type. */
|
|
2581
|
-
public type: string;
|
|
2985
|
+
constructor(properties?: grafeas.v1.IBuilderConfig);
|
|
2582
2986
|
|
|
2583
|
-
/**
|
|
2584
|
-
public
|
|
2987
|
+
/** BuilderConfig id. */
|
|
2988
|
+
public id: string;
|
|
2585
2989
|
|
|
2586
2990
|
/**
|
|
2587
|
-
* Creates a new
|
|
2991
|
+
* Creates a new BuilderConfig instance using the specified properties.
|
|
2588
2992
|
* @param [properties] Properties to set
|
|
2589
|
-
* @returns
|
|
2993
|
+
* @returns BuilderConfig instance
|
|
2590
2994
|
*/
|
|
2591
|
-
public static create(properties?: grafeas.v1.
|
|
2995
|
+
public static create(properties?: grafeas.v1.IBuilderConfig): grafeas.v1.BuilderConfig;
|
|
2592
2996
|
|
|
2593
2997
|
/**
|
|
2594
|
-
* Encodes the specified
|
|
2595
|
-
* @param message
|
|
2998
|
+
* Encodes the specified BuilderConfig message. Does not implicitly {@link grafeas.v1.BuilderConfig.verify|verify} messages.
|
|
2999
|
+
* @param message BuilderConfig message or plain object to encode
|
|
2596
3000
|
* @param [writer] Writer to encode to
|
|
2597
3001
|
* @returns Writer
|
|
2598
3002
|
*/
|
|
2599
|
-
public static encode(message: grafeas.v1.
|
|
3003
|
+
public static encode(message: grafeas.v1.IBuilderConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2600
3004
|
|
|
2601
3005
|
/**
|
|
2602
|
-
* Encodes the specified
|
|
2603
|
-
* @param message
|
|
3006
|
+
* Encodes the specified BuilderConfig message, length delimited. Does not implicitly {@link grafeas.v1.BuilderConfig.verify|verify} messages.
|
|
3007
|
+
* @param message BuilderConfig message or plain object to encode
|
|
2604
3008
|
* @param [writer] Writer to encode to
|
|
2605
3009
|
* @returns Writer
|
|
2606
3010
|
*/
|
|
2607
|
-
public static encodeDelimited(message: grafeas.v1.
|
|
3011
|
+
public static encodeDelimited(message: grafeas.v1.IBuilderConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2608
3012
|
|
|
2609
3013
|
/**
|
|
2610
|
-
* Decodes a
|
|
3014
|
+
* Decodes a BuilderConfig message from the specified reader or buffer.
|
|
2611
3015
|
* @param reader Reader or buffer to decode from
|
|
2612
3016
|
* @param [length] Message length if known beforehand
|
|
2613
|
-
* @returns
|
|
3017
|
+
* @returns BuilderConfig
|
|
2614
3018
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2615
3019
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2616
3020
|
*/
|
|
2617
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.
|
|
3021
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.BuilderConfig;
|
|
2618
3022
|
|
|
2619
3023
|
/**
|
|
2620
|
-
* Decodes a
|
|
3024
|
+
* Decodes a BuilderConfig message from the specified reader or buffer, length delimited.
|
|
2621
3025
|
* @param reader Reader or buffer to decode from
|
|
2622
|
-
* @returns
|
|
3026
|
+
* @returns BuilderConfig
|
|
2623
3027
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2624
3028
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2625
3029
|
*/
|
|
2626
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.
|
|
3030
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.BuilderConfig;
|
|
2627
3031
|
|
|
2628
3032
|
/**
|
|
2629
|
-
* Verifies a
|
|
3033
|
+
* Verifies a BuilderConfig message.
|
|
2630
3034
|
* @param message Plain object to verify
|
|
2631
3035
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2632
3036
|
*/
|
|
2633
3037
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2634
3038
|
|
|
2635
3039
|
/**
|
|
2636
|
-
* Creates a
|
|
3040
|
+
* Creates a BuilderConfig message from a plain object. Also converts values to their respective internal types.
|
|
2637
3041
|
* @param object Plain object
|
|
2638
|
-
* @returns
|
|
3042
|
+
* @returns BuilderConfig
|
|
2639
3043
|
*/
|
|
2640
|
-
public static fromObject(object: { [k: string]: any }): grafeas.v1.
|
|
3044
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.BuilderConfig;
|
|
2641
3045
|
|
|
2642
3046
|
/**
|
|
2643
|
-
* Creates a plain object from a
|
|
2644
|
-
* @param message
|
|
3047
|
+
* Creates a plain object from a BuilderConfig message. Also converts values to other types if specified.
|
|
3048
|
+
* @param message BuilderConfig
|
|
2645
3049
|
* @param [options] Conversion options
|
|
2646
3050
|
* @returns Plain object
|
|
2647
3051
|
*/
|
|
2648
|
-
public static toObject(message: grafeas.v1.
|
|
3052
|
+
public static toObject(message: grafeas.v1.BuilderConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2649
3053
|
|
|
2650
3054
|
/**
|
|
2651
|
-
* Converts this
|
|
3055
|
+
* Converts this BuilderConfig to JSON.
|
|
2652
3056
|
* @returns JSON object
|
|
2653
3057
|
*/
|
|
2654
3058
|
public toJSON(): { [k: string]: any };
|
|
2655
3059
|
}
|
|
2656
3060
|
|
|
2657
|
-
/** Properties of
|
|
2658
|
-
interface
|
|
2659
|
-
|
|
2660
|
-
/** Command name */
|
|
2661
|
-
name?: (string|null);
|
|
2662
|
-
|
|
2663
|
-
/** Command env */
|
|
2664
|
-
env?: (string[]|null);
|
|
3061
|
+
/** Properties of an InTotoProvenance. */
|
|
3062
|
+
interface IInTotoProvenance {
|
|
2665
3063
|
|
|
2666
|
-
/**
|
|
2667
|
-
|
|
3064
|
+
/** InTotoProvenance builderConfig */
|
|
3065
|
+
builderConfig?: (grafeas.v1.IBuilderConfig|null);
|
|
2668
3066
|
|
|
2669
|
-
/**
|
|
2670
|
-
|
|
3067
|
+
/** InTotoProvenance recipe */
|
|
3068
|
+
recipe?: (grafeas.v1.IRecipe|null);
|
|
2671
3069
|
|
|
2672
|
-
/**
|
|
2673
|
-
|
|
3070
|
+
/** InTotoProvenance metadata */
|
|
3071
|
+
metadata?: (grafeas.v1.IMetadata|null);
|
|
2674
3072
|
|
|
2675
|
-
/**
|
|
2676
|
-
|
|
3073
|
+
/** InTotoProvenance materials */
|
|
3074
|
+
materials?: (string[]|null);
|
|
2677
3075
|
}
|
|
2678
3076
|
|
|
2679
|
-
/** Represents
|
|
2680
|
-
class
|
|
3077
|
+
/** Represents an InTotoProvenance. */
|
|
3078
|
+
class InTotoProvenance implements IInTotoProvenance {
|
|
2681
3079
|
|
|
2682
3080
|
/**
|
|
2683
|
-
* Constructs a new
|
|
3081
|
+
* Constructs a new InTotoProvenance.
|
|
2684
3082
|
* @param [properties] Properties to set
|
|
2685
3083
|
*/
|
|
2686
|
-
constructor(properties?: grafeas.v1.
|
|
3084
|
+
constructor(properties?: grafeas.v1.IInTotoProvenance);
|
|
2687
3085
|
|
|
2688
|
-
/**
|
|
2689
|
-
public
|
|
3086
|
+
/** InTotoProvenance builderConfig. */
|
|
3087
|
+
public builderConfig?: (grafeas.v1.IBuilderConfig|null);
|
|
2690
3088
|
|
|
2691
|
-
/**
|
|
2692
|
-
public
|
|
3089
|
+
/** InTotoProvenance recipe. */
|
|
3090
|
+
public recipe?: (grafeas.v1.IRecipe|null);
|
|
2693
3091
|
|
|
2694
|
-
/**
|
|
2695
|
-
public
|
|
3092
|
+
/** InTotoProvenance metadata. */
|
|
3093
|
+
public metadata?: (grafeas.v1.IMetadata|null);
|
|
2696
3094
|
|
|
2697
|
-
/**
|
|
2698
|
-
public
|
|
2699
|
-
|
|
2700
|
-
/** Command id. */
|
|
2701
|
-
public id: string;
|
|
2702
|
-
|
|
2703
|
-
/** Command waitFor. */
|
|
2704
|
-
public waitFor: string[];
|
|
3095
|
+
/** InTotoProvenance materials. */
|
|
3096
|
+
public materials: string[];
|
|
2705
3097
|
|
|
2706
3098
|
/**
|
|
2707
|
-
* Creates a new
|
|
3099
|
+
* Creates a new InTotoProvenance instance using the specified properties.
|
|
2708
3100
|
* @param [properties] Properties to set
|
|
2709
|
-
* @returns
|
|
3101
|
+
* @returns InTotoProvenance instance
|
|
2710
3102
|
*/
|
|
2711
|
-
public static create(properties?: grafeas.v1.
|
|
3103
|
+
public static create(properties?: grafeas.v1.IInTotoProvenance): grafeas.v1.InTotoProvenance;
|
|
2712
3104
|
|
|
2713
3105
|
/**
|
|
2714
|
-
* Encodes the specified
|
|
2715
|
-
* @param message
|
|
3106
|
+
* Encodes the specified InTotoProvenance message. Does not implicitly {@link grafeas.v1.InTotoProvenance.verify|verify} messages.
|
|
3107
|
+
* @param message InTotoProvenance message or plain object to encode
|
|
2716
3108
|
* @param [writer] Writer to encode to
|
|
2717
3109
|
* @returns Writer
|
|
2718
3110
|
*/
|
|
2719
|
-
public static encode(message: grafeas.v1.
|
|
3111
|
+
public static encode(message: grafeas.v1.IInTotoProvenance, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2720
3112
|
|
|
2721
3113
|
/**
|
|
2722
|
-
* Encodes the specified
|
|
2723
|
-
* @param message
|
|
3114
|
+
* Encodes the specified InTotoProvenance message, length delimited. Does not implicitly {@link grafeas.v1.InTotoProvenance.verify|verify} messages.
|
|
3115
|
+
* @param message InTotoProvenance message or plain object to encode
|
|
2724
3116
|
* @param [writer] Writer to encode to
|
|
2725
3117
|
* @returns Writer
|
|
2726
3118
|
*/
|
|
2727
|
-
public static encodeDelimited(message: grafeas.v1.
|
|
3119
|
+
public static encodeDelimited(message: grafeas.v1.IInTotoProvenance, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2728
3120
|
|
|
2729
3121
|
/**
|
|
2730
|
-
* Decodes
|
|
3122
|
+
* Decodes an InTotoProvenance message from the specified reader or buffer.
|
|
2731
3123
|
* @param reader Reader or buffer to decode from
|
|
2732
3124
|
* @param [length] Message length if known beforehand
|
|
2733
|
-
* @returns
|
|
3125
|
+
* @returns InTotoProvenance
|
|
2734
3126
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2735
3127
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2736
3128
|
*/
|
|
2737
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.
|
|
3129
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.InTotoProvenance;
|
|
2738
3130
|
|
|
2739
3131
|
/**
|
|
2740
|
-
* Decodes
|
|
3132
|
+
* Decodes an InTotoProvenance message from the specified reader or buffer, length delimited.
|
|
2741
3133
|
* @param reader Reader or buffer to decode from
|
|
2742
|
-
* @returns
|
|
3134
|
+
* @returns InTotoProvenance
|
|
2743
3135
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2744
3136
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2745
3137
|
*/
|
|
2746
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.
|
|
3138
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.InTotoProvenance;
|
|
2747
3139
|
|
|
2748
3140
|
/**
|
|
2749
|
-
* Verifies
|
|
3141
|
+
* Verifies an InTotoProvenance message.
|
|
2750
3142
|
* @param message Plain object to verify
|
|
2751
3143
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2752
3144
|
*/
|
|
2753
3145
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2754
3146
|
|
|
2755
3147
|
/**
|
|
2756
|
-
* Creates
|
|
3148
|
+
* Creates an InTotoProvenance message from a plain object. Also converts values to their respective internal types.
|
|
2757
3149
|
* @param object Plain object
|
|
2758
|
-
* @returns
|
|
3150
|
+
* @returns InTotoProvenance
|
|
2759
3151
|
*/
|
|
2760
|
-
public static fromObject(object: { [k: string]: any }): grafeas.v1.
|
|
3152
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.InTotoProvenance;
|
|
2761
3153
|
|
|
2762
3154
|
/**
|
|
2763
|
-
* Creates a plain object from
|
|
2764
|
-
* @param message
|
|
3155
|
+
* Creates a plain object from an InTotoProvenance message. Also converts values to other types if specified.
|
|
3156
|
+
* @param message InTotoProvenance
|
|
2765
3157
|
* @param [options] Conversion options
|
|
2766
3158
|
* @returns Plain object
|
|
2767
3159
|
*/
|
|
2768
|
-
public static toObject(message: grafeas.v1.
|
|
3160
|
+
public static toObject(message: grafeas.v1.InTotoProvenance, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2769
3161
|
|
|
2770
3162
|
/**
|
|
2771
|
-
* Converts this
|
|
3163
|
+
* Converts this InTotoProvenance to JSON.
|
|
2772
3164
|
* @returns JSON object
|
|
2773
3165
|
*/
|
|
2774
3166
|
public toJSON(): { [k: string]: any };
|
|
2775
3167
|
}
|
|
2776
3168
|
|
|
2777
|
-
/** Properties of an
|
|
2778
|
-
interface
|
|
3169
|
+
/** Properties of an InTotoStatement. */
|
|
3170
|
+
interface IInTotoStatement {
|
|
2779
3171
|
|
|
2780
|
-
/**
|
|
2781
|
-
|
|
3172
|
+
/** InTotoStatement type */
|
|
3173
|
+
type?: (string|null);
|
|
2782
3174
|
|
|
2783
|
-
/**
|
|
2784
|
-
|
|
3175
|
+
/** InTotoStatement subject */
|
|
3176
|
+
subject?: (grafeas.v1.ISubject[]|null);
|
|
2785
3177
|
|
|
2786
|
-
/**
|
|
2787
|
-
|
|
3178
|
+
/** InTotoStatement predicateType */
|
|
3179
|
+
predicateType?: (string|null);
|
|
3180
|
+
|
|
3181
|
+
/** InTotoStatement provenance */
|
|
3182
|
+
provenance?: (grafeas.v1.IInTotoProvenance|null);
|
|
3183
|
+
|
|
3184
|
+
/** InTotoStatement slsaProvenance */
|
|
3185
|
+
slsaProvenance?: (grafeas.v1.ISlsaProvenance|null);
|
|
2788
3186
|
}
|
|
2789
3187
|
|
|
2790
|
-
/** Represents an
|
|
2791
|
-
class
|
|
3188
|
+
/** Represents an InTotoStatement. */
|
|
3189
|
+
class InTotoStatement implements IInTotoStatement {
|
|
2792
3190
|
|
|
2793
3191
|
/**
|
|
2794
|
-
* Constructs a new
|
|
3192
|
+
* Constructs a new InTotoStatement.
|
|
2795
3193
|
* @param [properties] Properties to set
|
|
2796
3194
|
*/
|
|
2797
|
-
constructor(properties?: grafeas.v1.
|
|
3195
|
+
constructor(properties?: grafeas.v1.IInTotoStatement);
|
|
2798
3196
|
|
|
2799
|
-
/**
|
|
2800
|
-
public
|
|
3197
|
+
/** InTotoStatement type. */
|
|
3198
|
+
public type: string;
|
|
2801
3199
|
|
|
2802
|
-
/**
|
|
2803
|
-
public
|
|
3200
|
+
/** InTotoStatement subject. */
|
|
3201
|
+
public subject: grafeas.v1.ISubject[];
|
|
2804
3202
|
|
|
2805
|
-
/**
|
|
2806
|
-
public
|
|
3203
|
+
/** InTotoStatement predicateType. */
|
|
3204
|
+
public predicateType: string;
|
|
3205
|
+
|
|
3206
|
+
/** InTotoStatement provenance. */
|
|
3207
|
+
public provenance?: (grafeas.v1.IInTotoProvenance|null);
|
|
3208
|
+
|
|
3209
|
+
/** InTotoStatement slsaProvenance. */
|
|
3210
|
+
public slsaProvenance?: (grafeas.v1.ISlsaProvenance|null);
|
|
3211
|
+
|
|
3212
|
+
/** InTotoStatement predicate. */
|
|
3213
|
+
public predicate?: ("provenance"|"slsaProvenance");
|
|
2807
3214
|
|
|
2808
3215
|
/**
|
|
2809
|
-
* Creates a new
|
|
3216
|
+
* Creates a new InTotoStatement instance using the specified properties.
|
|
2810
3217
|
* @param [properties] Properties to set
|
|
2811
|
-
* @returns
|
|
3218
|
+
* @returns InTotoStatement instance
|
|
2812
3219
|
*/
|
|
2813
|
-
public static create(properties?: grafeas.v1.
|
|
3220
|
+
public static create(properties?: grafeas.v1.IInTotoStatement): grafeas.v1.InTotoStatement;
|
|
2814
3221
|
|
|
2815
3222
|
/**
|
|
2816
|
-
* Encodes the specified
|
|
2817
|
-
* @param message
|
|
3223
|
+
* Encodes the specified InTotoStatement message. Does not implicitly {@link grafeas.v1.InTotoStatement.verify|verify} messages.
|
|
3224
|
+
* @param message InTotoStatement message or plain object to encode
|
|
2818
3225
|
* @param [writer] Writer to encode to
|
|
2819
3226
|
* @returns Writer
|
|
2820
3227
|
*/
|
|
2821
|
-
public static encode(message: grafeas.v1.
|
|
3228
|
+
public static encode(message: grafeas.v1.IInTotoStatement, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2822
3229
|
|
|
2823
3230
|
/**
|
|
2824
|
-
* Encodes the specified
|
|
2825
|
-
* @param message
|
|
3231
|
+
* Encodes the specified InTotoStatement message, length delimited. Does not implicitly {@link grafeas.v1.InTotoStatement.verify|verify} messages.
|
|
3232
|
+
* @param message InTotoStatement message or plain object to encode
|
|
2826
3233
|
* @param [writer] Writer to encode to
|
|
2827
3234
|
* @returns Writer
|
|
2828
3235
|
*/
|
|
2829
|
-
public static encodeDelimited(message: grafeas.v1.
|
|
3236
|
+
public static encodeDelimited(message: grafeas.v1.IInTotoStatement, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2830
3237
|
|
|
2831
3238
|
/**
|
|
2832
|
-
* Decodes an
|
|
3239
|
+
* Decodes an InTotoStatement message from the specified reader or buffer.
|
|
2833
3240
|
* @param reader Reader or buffer to decode from
|
|
2834
3241
|
* @param [length] Message length if known beforehand
|
|
2835
|
-
* @returns
|
|
3242
|
+
* @returns InTotoStatement
|
|
2836
3243
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2837
3244
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2838
3245
|
*/
|
|
2839
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.
|
|
3246
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.InTotoStatement;
|
|
2840
3247
|
|
|
2841
3248
|
/**
|
|
2842
|
-
* Decodes an
|
|
3249
|
+
* Decodes an InTotoStatement message from the specified reader or buffer, length delimited.
|
|
2843
3250
|
* @param reader Reader or buffer to decode from
|
|
2844
|
-
* @returns
|
|
3251
|
+
* @returns InTotoStatement
|
|
2845
3252
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2846
3253
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2847
3254
|
*/
|
|
2848
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.
|
|
3255
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.InTotoStatement;
|
|
2849
3256
|
|
|
2850
3257
|
/**
|
|
2851
|
-
* Verifies an
|
|
3258
|
+
* Verifies an InTotoStatement message.
|
|
2852
3259
|
* @param message Plain object to verify
|
|
2853
3260
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2854
3261
|
*/
|
|
2855
3262
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2856
3263
|
|
|
2857
3264
|
/**
|
|
2858
|
-
* Creates an
|
|
3265
|
+
* Creates an InTotoStatement message from a plain object. Also converts values to their respective internal types.
|
|
2859
3266
|
* @param object Plain object
|
|
2860
|
-
* @returns
|
|
3267
|
+
* @returns InTotoStatement
|
|
2861
3268
|
*/
|
|
2862
|
-
public static fromObject(object: { [k: string]: any }): grafeas.v1.
|
|
3269
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.InTotoStatement;
|
|
2863
3270
|
|
|
2864
3271
|
/**
|
|
2865
|
-
* Creates a plain object from an
|
|
2866
|
-
* @param message
|
|
3272
|
+
* Creates a plain object from an InTotoStatement message. Also converts values to other types if specified.
|
|
3273
|
+
* @param message InTotoStatement
|
|
2867
3274
|
* @param [options] Conversion options
|
|
2868
3275
|
* @returns Plain object
|
|
2869
3276
|
*/
|
|
2870
|
-
public static toObject(message: grafeas.v1.
|
|
3277
|
+
public static toObject(message: grafeas.v1.InTotoStatement, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2871
3278
|
|
|
2872
3279
|
/**
|
|
2873
|
-
* Converts this
|
|
3280
|
+
* Converts this InTotoStatement to JSON.
|
|
2874
3281
|
* @returns JSON object
|
|
2875
3282
|
*/
|
|
2876
3283
|
public toJSON(): { [k: string]: any };
|
|
2877
3284
|
}
|
|
2878
3285
|
|
|
2879
|
-
/** Properties of a
|
|
2880
|
-
interface
|
|
2881
|
-
|
|
2882
|
-
/** SourceContext cloudRepo */
|
|
2883
|
-
cloudRepo?: (grafeas.v1.ICloudRepoSourceContext|null);
|
|
2884
|
-
|
|
2885
|
-
/** SourceContext gerrit */
|
|
2886
|
-
gerrit?: (grafeas.v1.IGerritSourceContext|null);
|
|
3286
|
+
/** Properties of a Subject. */
|
|
3287
|
+
interface ISubject {
|
|
2887
3288
|
|
|
2888
|
-
/**
|
|
2889
|
-
|
|
3289
|
+
/** Subject name */
|
|
3290
|
+
name?: (string|null);
|
|
2890
3291
|
|
|
2891
|
-
/**
|
|
2892
|
-
|
|
3292
|
+
/** Subject digest */
|
|
3293
|
+
digest?: ({ [k: string]: string }|null);
|
|
2893
3294
|
}
|
|
2894
3295
|
|
|
2895
|
-
/** Represents a
|
|
2896
|
-
class
|
|
3296
|
+
/** Represents a Subject. */
|
|
3297
|
+
class Subject implements ISubject {
|
|
2897
3298
|
|
|
2898
3299
|
/**
|
|
2899
|
-
* Constructs a new
|
|
3300
|
+
* Constructs a new Subject.
|
|
2900
3301
|
* @param [properties] Properties to set
|
|
2901
3302
|
*/
|
|
2902
|
-
constructor(properties?: grafeas.v1.
|
|
3303
|
+
constructor(properties?: grafeas.v1.ISubject);
|
|
2903
3304
|
|
|
2904
|
-
/**
|
|
2905
|
-
public
|
|
2906
|
-
|
|
2907
|
-
/** SourceContext gerrit. */
|
|
2908
|
-
public gerrit?: (grafeas.v1.IGerritSourceContext|null);
|
|
2909
|
-
|
|
2910
|
-
/** SourceContext git. */
|
|
2911
|
-
public git?: (grafeas.v1.IGitSourceContext|null);
|
|
2912
|
-
|
|
2913
|
-
/** SourceContext labels. */
|
|
2914
|
-
public labels: { [k: string]: string };
|
|
3305
|
+
/** Subject name. */
|
|
3306
|
+
public name: string;
|
|
2915
3307
|
|
|
2916
|
-
/**
|
|
2917
|
-
public
|
|
3308
|
+
/** Subject digest. */
|
|
3309
|
+
public digest: { [k: string]: string };
|
|
2918
3310
|
|
|
2919
3311
|
/**
|
|
2920
|
-
* Creates a new
|
|
3312
|
+
* Creates a new Subject instance using the specified properties.
|
|
2921
3313
|
* @param [properties] Properties to set
|
|
2922
|
-
* @returns
|
|
3314
|
+
* @returns Subject instance
|
|
2923
3315
|
*/
|
|
2924
|
-
public static create(properties?: grafeas.v1.
|
|
3316
|
+
public static create(properties?: grafeas.v1.ISubject): grafeas.v1.Subject;
|
|
2925
3317
|
|
|
2926
3318
|
/**
|
|
2927
|
-
* Encodes the specified
|
|
2928
|
-
* @param message
|
|
3319
|
+
* Encodes the specified Subject message. Does not implicitly {@link grafeas.v1.Subject.verify|verify} messages.
|
|
3320
|
+
* @param message Subject message or plain object to encode
|
|
2929
3321
|
* @param [writer] Writer to encode to
|
|
2930
3322
|
* @returns Writer
|
|
2931
3323
|
*/
|
|
2932
|
-
public static encode(message: grafeas.v1.
|
|
3324
|
+
public static encode(message: grafeas.v1.ISubject, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2933
3325
|
|
|
2934
3326
|
/**
|
|
2935
|
-
* Encodes the specified
|
|
2936
|
-
* @param message
|
|
3327
|
+
* Encodes the specified Subject message, length delimited. Does not implicitly {@link grafeas.v1.Subject.verify|verify} messages.
|
|
3328
|
+
* @param message Subject message or plain object to encode
|
|
2937
3329
|
* @param [writer] Writer to encode to
|
|
2938
3330
|
* @returns Writer
|
|
2939
3331
|
*/
|
|
2940
|
-
public static encodeDelimited(message: grafeas.v1.
|
|
3332
|
+
public static encodeDelimited(message: grafeas.v1.ISubject, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2941
3333
|
|
|
2942
3334
|
/**
|
|
2943
|
-
* Decodes a
|
|
3335
|
+
* Decodes a Subject message from the specified reader or buffer.
|
|
2944
3336
|
* @param reader Reader or buffer to decode from
|
|
2945
3337
|
* @param [length] Message length if known beforehand
|
|
2946
|
-
* @returns
|
|
3338
|
+
* @returns Subject
|
|
2947
3339
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2948
3340
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2949
3341
|
*/
|
|
2950
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.
|
|
3342
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.Subject;
|
|
2951
3343
|
|
|
2952
3344
|
/**
|
|
2953
|
-
* Decodes a
|
|
3345
|
+
* Decodes a Subject message from the specified reader or buffer, length delimited.
|
|
2954
3346
|
* @param reader Reader or buffer to decode from
|
|
2955
|
-
* @returns
|
|
3347
|
+
* @returns Subject
|
|
2956
3348
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2957
3349
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2958
3350
|
*/
|
|
2959
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.
|
|
3351
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.Subject;
|
|
2960
3352
|
|
|
2961
3353
|
/**
|
|
2962
|
-
* Verifies a
|
|
3354
|
+
* Verifies a Subject message.
|
|
2963
3355
|
* @param message Plain object to verify
|
|
2964
3356
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2965
3357
|
*/
|
|
2966
3358
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2967
3359
|
|
|
2968
3360
|
/**
|
|
2969
|
-
* Creates a
|
|
3361
|
+
* Creates a Subject message from a plain object. Also converts values to their respective internal types.
|
|
2970
3362
|
* @param object Plain object
|
|
2971
|
-
* @returns
|
|
3363
|
+
* @returns Subject
|
|
2972
3364
|
*/
|
|
2973
|
-
public static fromObject(object: { [k: string]: any }): grafeas.v1.
|
|
3365
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.Subject;
|
|
2974
3366
|
|
|
2975
3367
|
/**
|
|
2976
|
-
* Creates a plain object from a
|
|
2977
|
-
* @param message
|
|
3368
|
+
* Creates a plain object from a Subject message. Also converts values to other types if specified.
|
|
3369
|
+
* @param message Subject
|
|
2978
3370
|
* @param [options] Conversion options
|
|
2979
3371
|
* @returns Plain object
|
|
2980
3372
|
*/
|
|
2981
|
-
public static toObject(message: grafeas.v1.
|
|
3373
|
+
public static toObject(message: grafeas.v1.Subject, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2982
3374
|
|
|
2983
3375
|
/**
|
|
2984
|
-
* Converts this
|
|
3376
|
+
* Converts this Subject to JSON.
|
|
2985
3377
|
* @returns JSON object
|
|
2986
3378
|
*/
|
|
2987
3379
|
public toJSON(): { [k: string]: any };
|
|
2988
3380
|
}
|
|
2989
3381
|
|
|
2990
|
-
/** Properties of
|
|
2991
|
-
interface
|
|
3382
|
+
/** Properties of a SlsaProvenance. */
|
|
3383
|
+
interface ISlsaProvenance {
|
|
2992
3384
|
|
|
2993
|
-
/**
|
|
2994
|
-
|
|
3385
|
+
/** SlsaProvenance builder */
|
|
3386
|
+
builder?: (grafeas.v1.SlsaProvenance.ISlsaBuilder|null);
|
|
2995
3387
|
|
|
2996
|
-
/**
|
|
2997
|
-
|
|
3388
|
+
/** SlsaProvenance recipe */
|
|
3389
|
+
recipe?: (grafeas.v1.SlsaProvenance.ISlsaRecipe|null);
|
|
3390
|
+
|
|
3391
|
+
/** SlsaProvenance metadata */
|
|
3392
|
+
metadata?: (grafeas.v1.SlsaProvenance.ISlsaMetadata|null);
|
|
3393
|
+
|
|
3394
|
+
/** SlsaProvenance materials */
|
|
3395
|
+
materials?: (grafeas.v1.SlsaProvenance.IMaterial[]|null);
|
|
2998
3396
|
}
|
|
2999
3397
|
|
|
3000
|
-
/** Represents
|
|
3001
|
-
class
|
|
3398
|
+
/** Represents a SlsaProvenance. */
|
|
3399
|
+
class SlsaProvenance implements ISlsaProvenance {
|
|
3002
3400
|
|
|
3003
3401
|
/**
|
|
3004
|
-
* Constructs a new
|
|
3402
|
+
* Constructs a new SlsaProvenance.
|
|
3005
3403
|
* @param [properties] Properties to set
|
|
3006
3404
|
*/
|
|
3007
|
-
constructor(properties?: grafeas.v1.
|
|
3405
|
+
constructor(properties?: grafeas.v1.ISlsaProvenance);
|
|
3008
3406
|
|
|
3009
|
-
/**
|
|
3010
|
-
public
|
|
3407
|
+
/** SlsaProvenance builder. */
|
|
3408
|
+
public builder?: (grafeas.v1.SlsaProvenance.ISlsaBuilder|null);
|
|
3011
3409
|
|
|
3012
|
-
/**
|
|
3013
|
-
public
|
|
3410
|
+
/** SlsaProvenance recipe. */
|
|
3411
|
+
public recipe?: (grafeas.v1.SlsaProvenance.ISlsaRecipe|null);
|
|
3412
|
+
|
|
3413
|
+
/** SlsaProvenance metadata. */
|
|
3414
|
+
public metadata?: (grafeas.v1.SlsaProvenance.ISlsaMetadata|null);
|
|
3415
|
+
|
|
3416
|
+
/** SlsaProvenance materials. */
|
|
3417
|
+
public materials: grafeas.v1.SlsaProvenance.IMaterial[];
|
|
3014
3418
|
|
|
3015
3419
|
/**
|
|
3016
|
-
* Creates a new
|
|
3420
|
+
* Creates a new SlsaProvenance instance using the specified properties.
|
|
3017
3421
|
* @param [properties] Properties to set
|
|
3018
|
-
* @returns
|
|
3422
|
+
* @returns SlsaProvenance instance
|
|
3019
3423
|
*/
|
|
3020
|
-
public static create(properties?: grafeas.v1.
|
|
3424
|
+
public static create(properties?: grafeas.v1.ISlsaProvenance): grafeas.v1.SlsaProvenance;
|
|
3021
3425
|
|
|
3022
3426
|
/**
|
|
3023
|
-
* Encodes the specified
|
|
3024
|
-
* @param message
|
|
3427
|
+
* Encodes the specified SlsaProvenance message. Does not implicitly {@link grafeas.v1.SlsaProvenance.verify|verify} messages.
|
|
3428
|
+
* @param message SlsaProvenance message or plain object to encode
|
|
3025
3429
|
* @param [writer] Writer to encode to
|
|
3026
3430
|
* @returns Writer
|
|
3027
3431
|
*/
|
|
3028
|
-
public static encode(message: grafeas.v1.
|
|
3432
|
+
public static encode(message: grafeas.v1.ISlsaProvenance, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3029
3433
|
|
|
3030
3434
|
/**
|
|
3031
|
-
* Encodes the specified
|
|
3032
|
-
* @param message
|
|
3435
|
+
* Encodes the specified SlsaProvenance message, length delimited. Does not implicitly {@link grafeas.v1.SlsaProvenance.verify|verify} messages.
|
|
3436
|
+
* @param message SlsaProvenance message or plain object to encode
|
|
3033
3437
|
* @param [writer] Writer to encode to
|
|
3034
3438
|
* @returns Writer
|
|
3035
3439
|
*/
|
|
3036
|
-
public static encodeDelimited(message: grafeas.v1.
|
|
3440
|
+
public static encodeDelimited(message: grafeas.v1.ISlsaProvenance, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3037
3441
|
|
|
3038
3442
|
/**
|
|
3039
|
-
* Decodes
|
|
3443
|
+
* Decodes a SlsaProvenance message from the specified reader or buffer.
|
|
3040
3444
|
* @param reader Reader or buffer to decode from
|
|
3041
3445
|
* @param [length] Message length if known beforehand
|
|
3042
|
-
* @returns
|
|
3446
|
+
* @returns SlsaProvenance
|
|
3043
3447
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3044
3448
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3045
3449
|
*/
|
|
3046
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.
|
|
3450
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SlsaProvenance;
|
|
3047
3451
|
|
|
3048
3452
|
/**
|
|
3049
|
-
* Decodes
|
|
3453
|
+
* Decodes a SlsaProvenance message from the specified reader or buffer, length delimited.
|
|
3050
3454
|
* @param reader Reader or buffer to decode from
|
|
3051
|
-
* @returns
|
|
3455
|
+
* @returns SlsaProvenance
|
|
3052
3456
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3053
3457
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3054
3458
|
*/
|
|
3055
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.
|
|
3459
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SlsaProvenance;
|
|
3056
3460
|
|
|
3057
3461
|
/**
|
|
3058
|
-
* Verifies
|
|
3462
|
+
* Verifies a SlsaProvenance message.
|
|
3059
3463
|
* @param message Plain object to verify
|
|
3060
3464
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
3061
3465
|
*/
|
|
3062
3466
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
3063
3467
|
|
|
3064
3468
|
/**
|
|
3065
|
-
* Creates
|
|
3469
|
+
* Creates a SlsaProvenance message from a plain object. Also converts values to their respective internal types.
|
|
3066
3470
|
* @param object Plain object
|
|
3067
|
-
* @returns
|
|
3471
|
+
* @returns SlsaProvenance
|
|
3068
3472
|
*/
|
|
3069
|
-
public static fromObject(object: { [k: string]: any }): grafeas.v1.
|
|
3473
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SlsaProvenance;
|
|
3070
3474
|
|
|
3071
3475
|
/**
|
|
3072
|
-
* Creates a plain object from
|
|
3073
|
-
* @param message
|
|
3476
|
+
* Creates a plain object from a SlsaProvenance message. Also converts values to other types if specified.
|
|
3477
|
+
* @param message SlsaProvenance
|
|
3074
3478
|
* @param [options] Conversion options
|
|
3075
3479
|
* @returns Plain object
|
|
3076
3480
|
*/
|
|
3077
|
-
public static toObject(message: grafeas.v1.
|
|
3481
|
+
public static toObject(message: grafeas.v1.SlsaProvenance, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3078
3482
|
|
|
3079
3483
|
/**
|
|
3080
|
-
* Converts this
|
|
3484
|
+
* Converts this SlsaProvenance to JSON.
|
|
3081
3485
|
* @returns JSON object
|
|
3082
3486
|
*/
|
|
3083
3487
|
public toJSON(): { [k: string]: any };
|
|
3084
3488
|
}
|
|
3085
3489
|
|
|
3086
|
-
namespace
|
|
3490
|
+
namespace SlsaProvenance {
|
|
3087
3491
|
|
|
3088
|
-
/**
|
|
3089
|
-
|
|
3090
|
-
KIND_UNSPECIFIED = 0,
|
|
3091
|
-
FIXED = 1,
|
|
3092
|
-
MOVABLE = 2,
|
|
3093
|
-
OTHER = 4
|
|
3094
|
-
}
|
|
3095
|
-
}
|
|
3492
|
+
/** Properties of a SlsaRecipe. */
|
|
3493
|
+
interface ISlsaRecipe {
|
|
3096
3494
|
|
|
3097
|
-
|
|
3098
|
-
|
|
3495
|
+
/** SlsaRecipe type */
|
|
3496
|
+
type?: (string|null);
|
|
3099
3497
|
|
|
3100
|
-
|
|
3101
|
-
|
|
3498
|
+
/** SlsaRecipe definedInMaterial */
|
|
3499
|
+
definedInMaterial?: (number|Long|string|null);
|
|
3102
3500
|
|
|
3103
|
-
|
|
3104
|
-
|
|
3501
|
+
/** SlsaRecipe entryPoint */
|
|
3502
|
+
entryPoint?: (string|null);
|
|
3105
3503
|
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
}
|
|
3504
|
+
/** SlsaRecipe arguments */
|
|
3505
|
+
"arguments"?: (google.protobuf.IAny|null);
|
|
3109
3506
|
|
|
3110
|
-
|
|
3111
|
-
|
|
3507
|
+
/** SlsaRecipe environment */
|
|
3508
|
+
environment?: (google.protobuf.IAny|null);
|
|
3509
|
+
}
|
|
3112
3510
|
|
|
3113
|
-
/**
|
|
3114
|
-
|
|
3115
|
-
* @param [properties] Properties to set
|
|
3116
|
-
*/
|
|
3117
|
-
constructor(properties?: grafeas.v1.ICloudRepoSourceContext);
|
|
3511
|
+
/** Represents a SlsaRecipe. */
|
|
3512
|
+
class SlsaRecipe implements ISlsaRecipe {
|
|
3118
3513
|
|
|
3119
|
-
|
|
3120
|
-
|
|
3514
|
+
/**
|
|
3515
|
+
* Constructs a new SlsaRecipe.
|
|
3516
|
+
* @param [properties] Properties to set
|
|
3517
|
+
*/
|
|
3518
|
+
constructor(properties?: grafeas.v1.SlsaProvenance.ISlsaRecipe);
|
|
3121
3519
|
|
|
3122
|
-
|
|
3123
|
-
|
|
3520
|
+
/** SlsaRecipe type. */
|
|
3521
|
+
public type: string;
|
|
3124
3522
|
|
|
3125
|
-
|
|
3126
|
-
|
|
3523
|
+
/** SlsaRecipe definedInMaterial. */
|
|
3524
|
+
public definedInMaterial: (number|Long|string);
|
|
3127
3525
|
|
|
3128
|
-
|
|
3129
|
-
|
|
3526
|
+
/** SlsaRecipe entryPoint. */
|
|
3527
|
+
public entryPoint: string;
|
|
3130
3528
|
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
* @param [properties] Properties to set
|
|
3134
|
-
* @returns CloudRepoSourceContext instance
|
|
3135
|
-
*/
|
|
3136
|
-
public static create(properties?: grafeas.v1.ICloudRepoSourceContext): grafeas.v1.CloudRepoSourceContext;
|
|
3529
|
+
/** SlsaRecipe arguments. */
|
|
3530
|
+
public arguments?: (google.protobuf.IAny|null);
|
|
3137
3531
|
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
* @param message CloudRepoSourceContext message or plain object to encode
|
|
3141
|
-
* @param [writer] Writer to encode to
|
|
3142
|
-
* @returns Writer
|
|
3143
|
-
*/
|
|
3144
|
-
public static encode(message: grafeas.v1.ICloudRepoSourceContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3532
|
+
/** SlsaRecipe environment. */
|
|
3533
|
+
public environment?: (google.protobuf.IAny|null);
|
|
3145
3534
|
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
public static encodeDelimited(message: grafeas.v1.ICloudRepoSourceContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3535
|
+
/**
|
|
3536
|
+
* Creates a new SlsaRecipe instance using the specified properties.
|
|
3537
|
+
* @param [properties] Properties to set
|
|
3538
|
+
* @returns SlsaRecipe instance
|
|
3539
|
+
*/
|
|
3540
|
+
public static create(properties?: grafeas.v1.SlsaProvenance.ISlsaRecipe): grafeas.v1.SlsaProvenance.SlsaRecipe;
|
|
3153
3541
|
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
*/
|
|
3162
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.CloudRepoSourceContext;
|
|
3542
|
+
/**
|
|
3543
|
+
* Encodes the specified SlsaRecipe message. Does not implicitly {@link grafeas.v1.SlsaProvenance.SlsaRecipe.verify|verify} messages.
|
|
3544
|
+
* @param message SlsaRecipe message or plain object to encode
|
|
3545
|
+
* @param [writer] Writer to encode to
|
|
3546
|
+
* @returns Writer
|
|
3547
|
+
*/
|
|
3548
|
+
public static encode(message: grafeas.v1.SlsaProvenance.ISlsaRecipe, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3163
3549
|
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3550
|
+
/**
|
|
3551
|
+
* Encodes the specified SlsaRecipe message, length delimited. Does not implicitly {@link grafeas.v1.SlsaProvenance.SlsaRecipe.verify|verify} messages.
|
|
3552
|
+
* @param message SlsaRecipe message or plain object to encode
|
|
3553
|
+
* @param [writer] Writer to encode to
|
|
3554
|
+
* @returns Writer
|
|
3555
|
+
*/
|
|
3556
|
+
public static encodeDelimited(message: grafeas.v1.SlsaProvenance.ISlsaRecipe, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3557
|
+
|
|
3558
|
+
/**
|
|
3559
|
+
* Decodes a SlsaRecipe message from the specified reader or buffer.
|
|
3560
|
+
* @param reader Reader or buffer to decode from
|
|
3561
|
+
* @param [length] Message length if known beforehand
|
|
3562
|
+
* @returns SlsaRecipe
|
|
3563
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3564
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3565
|
+
*/
|
|
3566
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SlsaProvenance.SlsaRecipe;
|
|
3567
|
+
|
|
3568
|
+
/**
|
|
3569
|
+
* Decodes a SlsaRecipe message from the specified reader or buffer, length delimited.
|
|
3570
|
+
* @param reader Reader or buffer to decode from
|
|
3571
|
+
* @returns SlsaRecipe
|
|
3572
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3573
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3574
|
+
*/
|
|
3575
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SlsaProvenance.SlsaRecipe;
|
|
3576
|
+
|
|
3577
|
+
/**
|
|
3578
|
+
* Verifies a SlsaRecipe message.
|
|
3579
|
+
* @param message Plain object to verify
|
|
3580
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3581
|
+
*/
|
|
3582
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3583
|
+
|
|
3584
|
+
/**
|
|
3585
|
+
* Creates a SlsaRecipe message from a plain object. Also converts values to their respective internal types.
|
|
3586
|
+
* @param object Plain object
|
|
3587
|
+
* @returns SlsaRecipe
|
|
3588
|
+
*/
|
|
3589
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SlsaProvenance.SlsaRecipe;
|
|
3590
|
+
|
|
3591
|
+
/**
|
|
3592
|
+
* Creates a plain object from a SlsaRecipe message. Also converts values to other types if specified.
|
|
3593
|
+
* @param message SlsaRecipe
|
|
3594
|
+
* @param [options] Conversion options
|
|
3595
|
+
* @returns Plain object
|
|
3596
|
+
*/
|
|
3597
|
+
public static toObject(message: grafeas.v1.SlsaProvenance.SlsaRecipe, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3598
|
+
|
|
3599
|
+
/**
|
|
3600
|
+
* Converts this SlsaRecipe to JSON.
|
|
3601
|
+
* @returns JSON object
|
|
3602
|
+
*/
|
|
3603
|
+
public toJSON(): { [k: string]: any };
|
|
3604
|
+
}
|
|
3605
|
+
|
|
3606
|
+
/** Properties of a SlsaCompleteness. */
|
|
3607
|
+
interface ISlsaCompleteness {
|
|
3608
|
+
|
|
3609
|
+
/** SlsaCompleteness arguments */
|
|
3610
|
+
"arguments"?: (boolean|null);
|
|
3611
|
+
|
|
3612
|
+
/** SlsaCompleteness environment */
|
|
3613
|
+
environment?: (boolean|null);
|
|
3614
|
+
|
|
3615
|
+
/** SlsaCompleteness materials */
|
|
3616
|
+
materials?: (boolean|null);
|
|
3617
|
+
}
|
|
3618
|
+
|
|
3619
|
+
/** Represents a SlsaCompleteness. */
|
|
3620
|
+
class SlsaCompleteness implements ISlsaCompleteness {
|
|
3621
|
+
|
|
3622
|
+
/**
|
|
3623
|
+
* Constructs a new SlsaCompleteness.
|
|
3624
|
+
* @param [properties] Properties to set
|
|
3625
|
+
*/
|
|
3626
|
+
constructor(properties?: grafeas.v1.SlsaProvenance.ISlsaCompleteness);
|
|
3627
|
+
|
|
3628
|
+
/** SlsaCompleteness arguments. */
|
|
3629
|
+
public arguments: boolean;
|
|
3630
|
+
|
|
3631
|
+
/** SlsaCompleteness environment. */
|
|
3632
|
+
public environment: boolean;
|
|
3633
|
+
|
|
3634
|
+
/** SlsaCompleteness materials. */
|
|
3635
|
+
public materials: boolean;
|
|
3636
|
+
|
|
3637
|
+
/**
|
|
3638
|
+
* Creates a new SlsaCompleteness instance using the specified properties.
|
|
3639
|
+
* @param [properties] Properties to set
|
|
3640
|
+
* @returns SlsaCompleteness instance
|
|
3641
|
+
*/
|
|
3642
|
+
public static create(properties?: grafeas.v1.SlsaProvenance.ISlsaCompleteness): grafeas.v1.SlsaProvenance.SlsaCompleteness;
|
|
3643
|
+
|
|
3644
|
+
/**
|
|
3645
|
+
* Encodes the specified SlsaCompleteness message. Does not implicitly {@link grafeas.v1.SlsaProvenance.SlsaCompleteness.verify|verify} messages.
|
|
3646
|
+
* @param message SlsaCompleteness message or plain object to encode
|
|
3647
|
+
* @param [writer] Writer to encode to
|
|
3648
|
+
* @returns Writer
|
|
3649
|
+
*/
|
|
3650
|
+
public static encode(message: grafeas.v1.SlsaProvenance.ISlsaCompleteness, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3651
|
+
|
|
3652
|
+
/**
|
|
3653
|
+
* Encodes the specified SlsaCompleteness message, length delimited. Does not implicitly {@link grafeas.v1.SlsaProvenance.SlsaCompleteness.verify|verify} messages.
|
|
3654
|
+
* @param message SlsaCompleteness message or plain object to encode
|
|
3655
|
+
* @param [writer] Writer to encode to
|
|
3656
|
+
* @returns Writer
|
|
3657
|
+
*/
|
|
3658
|
+
public static encodeDelimited(message: grafeas.v1.SlsaProvenance.ISlsaCompleteness, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3659
|
+
|
|
3660
|
+
/**
|
|
3661
|
+
* Decodes a SlsaCompleteness message from the specified reader or buffer.
|
|
3662
|
+
* @param reader Reader or buffer to decode from
|
|
3663
|
+
* @param [length] Message length if known beforehand
|
|
3664
|
+
* @returns SlsaCompleteness
|
|
3665
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3666
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3667
|
+
*/
|
|
3668
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SlsaProvenance.SlsaCompleteness;
|
|
3669
|
+
|
|
3670
|
+
/**
|
|
3671
|
+
* Decodes a SlsaCompleteness message from the specified reader or buffer, length delimited.
|
|
3672
|
+
* @param reader Reader or buffer to decode from
|
|
3673
|
+
* @returns SlsaCompleteness
|
|
3674
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3675
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3676
|
+
*/
|
|
3677
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SlsaProvenance.SlsaCompleteness;
|
|
3678
|
+
|
|
3679
|
+
/**
|
|
3680
|
+
* Verifies a SlsaCompleteness message.
|
|
3681
|
+
* @param message Plain object to verify
|
|
3682
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3683
|
+
*/
|
|
3684
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3685
|
+
|
|
3686
|
+
/**
|
|
3687
|
+
* Creates a SlsaCompleteness message from a plain object. Also converts values to their respective internal types.
|
|
3688
|
+
* @param object Plain object
|
|
3689
|
+
* @returns SlsaCompleteness
|
|
3690
|
+
*/
|
|
3691
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SlsaProvenance.SlsaCompleteness;
|
|
3692
|
+
|
|
3693
|
+
/**
|
|
3694
|
+
* Creates a plain object from a SlsaCompleteness message. Also converts values to other types if specified.
|
|
3695
|
+
* @param message SlsaCompleteness
|
|
3696
|
+
* @param [options] Conversion options
|
|
3697
|
+
* @returns Plain object
|
|
3698
|
+
*/
|
|
3699
|
+
public static toObject(message: grafeas.v1.SlsaProvenance.SlsaCompleteness, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3700
|
+
|
|
3701
|
+
/**
|
|
3702
|
+
* Converts this SlsaCompleteness to JSON.
|
|
3703
|
+
* @returns JSON object
|
|
3704
|
+
*/
|
|
3705
|
+
public toJSON(): { [k: string]: any };
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3708
|
+
/** Properties of a SlsaMetadata. */
|
|
3709
|
+
interface ISlsaMetadata {
|
|
3710
|
+
|
|
3711
|
+
/** SlsaMetadata buildInvocationId */
|
|
3712
|
+
buildInvocationId?: (string|null);
|
|
3713
|
+
|
|
3714
|
+
/** SlsaMetadata buildStartedOn */
|
|
3715
|
+
buildStartedOn?: (google.protobuf.ITimestamp|null);
|
|
3716
|
+
|
|
3717
|
+
/** SlsaMetadata buildFinishedOn */
|
|
3718
|
+
buildFinishedOn?: (google.protobuf.ITimestamp|null);
|
|
3719
|
+
|
|
3720
|
+
/** SlsaMetadata completeness */
|
|
3721
|
+
completeness?: (grafeas.v1.SlsaProvenance.ISlsaCompleteness|null);
|
|
3722
|
+
|
|
3723
|
+
/** SlsaMetadata reproducible */
|
|
3724
|
+
reproducible?: (boolean|null);
|
|
3725
|
+
}
|
|
3726
|
+
|
|
3727
|
+
/** Represents a SlsaMetadata. */
|
|
3728
|
+
class SlsaMetadata implements ISlsaMetadata {
|
|
3729
|
+
|
|
3730
|
+
/**
|
|
3731
|
+
* Constructs a new SlsaMetadata.
|
|
3732
|
+
* @param [properties] Properties to set
|
|
3733
|
+
*/
|
|
3734
|
+
constructor(properties?: grafeas.v1.SlsaProvenance.ISlsaMetadata);
|
|
3735
|
+
|
|
3736
|
+
/** SlsaMetadata buildInvocationId. */
|
|
3737
|
+
public buildInvocationId: string;
|
|
3738
|
+
|
|
3739
|
+
/** SlsaMetadata buildStartedOn. */
|
|
3740
|
+
public buildStartedOn?: (google.protobuf.ITimestamp|null);
|
|
3741
|
+
|
|
3742
|
+
/** SlsaMetadata buildFinishedOn. */
|
|
3743
|
+
public buildFinishedOn?: (google.protobuf.ITimestamp|null);
|
|
3744
|
+
|
|
3745
|
+
/** SlsaMetadata completeness. */
|
|
3746
|
+
public completeness?: (grafeas.v1.SlsaProvenance.ISlsaCompleteness|null);
|
|
3747
|
+
|
|
3748
|
+
/** SlsaMetadata reproducible. */
|
|
3749
|
+
public reproducible: boolean;
|
|
3750
|
+
|
|
3751
|
+
/**
|
|
3752
|
+
* Creates a new SlsaMetadata instance using the specified properties.
|
|
3753
|
+
* @param [properties] Properties to set
|
|
3754
|
+
* @returns SlsaMetadata instance
|
|
3755
|
+
*/
|
|
3756
|
+
public static create(properties?: grafeas.v1.SlsaProvenance.ISlsaMetadata): grafeas.v1.SlsaProvenance.SlsaMetadata;
|
|
3757
|
+
|
|
3758
|
+
/**
|
|
3759
|
+
* Encodes the specified SlsaMetadata message. Does not implicitly {@link grafeas.v1.SlsaProvenance.SlsaMetadata.verify|verify} messages.
|
|
3760
|
+
* @param message SlsaMetadata message or plain object to encode
|
|
3761
|
+
* @param [writer] Writer to encode to
|
|
3762
|
+
* @returns Writer
|
|
3763
|
+
*/
|
|
3764
|
+
public static encode(message: grafeas.v1.SlsaProvenance.ISlsaMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3765
|
+
|
|
3766
|
+
/**
|
|
3767
|
+
* Encodes the specified SlsaMetadata message, length delimited. Does not implicitly {@link grafeas.v1.SlsaProvenance.SlsaMetadata.verify|verify} messages.
|
|
3768
|
+
* @param message SlsaMetadata message or plain object to encode
|
|
3769
|
+
* @param [writer] Writer to encode to
|
|
3770
|
+
* @returns Writer
|
|
3771
|
+
*/
|
|
3772
|
+
public static encodeDelimited(message: grafeas.v1.SlsaProvenance.ISlsaMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3773
|
+
|
|
3774
|
+
/**
|
|
3775
|
+
* Decodes a SlsaMetadata message from the specified reader or buffer.
|
|
3776
|
+
* @param reader Reader or buffer to decode from
|
|
3777
|
+
* @param [length] Message length if known beforehand
|
|
3778
|
+
* @returns SlsaMetadata
|
|
3779
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3780
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3781
|
+
*/
|
|
3782
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SlsaProvenance.SlsaMetadata;
|
|
3783
|
+
|
|
3784
|
+
/**
|
|
3785
|
+
* Decodes a SlsaMetadata message from the specified reader or buffer, length delimited.
|
|
3786
|
+
* @param reader Reader or buffer to decode from
|
|
3787
|
+
* @returns SlsaMetadata
|
|
3788
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3789
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3790
|
+
*/
|
|
3791
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SlsaProvenance.SlsaMetadata;
|
|
3792
|
+
|
|
3793
|
+
/**
|
|
3794
|
+
* Verifies a SlsaMetadata message.
|
|
3795
|
+
* @param message Plain object to verify
|
|
3796
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3797
|
+
*/
|
|
3798
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3799
|
+
|
|
3800
|
+
/**
|
|
3801
|
+
* Creates a SlsaMetadata message from a plain object. Also converts values to their respective internal types.
|
|
3802
|
+
* @param object Plain object
|
|
3803
|
+
* @returns SlsaMetadata
|
|
3804
|
+
*/
|
|
3805
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SlsaProvenance.SlsaMetadata;
|
|
3806
|
+
|
|
3807
|
+
/**
|
|
3808
|
+
* Creates a plain object from a SlsaMetadata message. Also converts values to other types if specified.
|
|
3809
|
+
* @param message SlsaMetadata
|
|
3810
|
+
* @param [options] Conversion options
|
|
3811
|
+
* @returns Plain object
|
|
3812
|
+
*/
|
|
3813
|
+
public static toObject(message: grafeas.v1.SlsaProvenance.SlsaMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3814
|
+
|
|
3815
|
+
/**
|
|
3816
|
+
* Converts this SlsaMetadata to JSON.
|
|
3817
|
+
* @returns JSON object
|
|
3818
|
+
*/
|
|
3819
|
+
public toJSON(): { [k: string]: any };
|
|
3820
|
+
}
|
|
3821
|
+
|
|
3822
|
+
/** Properties of a SlsaBuilder. */
|
|
3823
|
+
interface ISlsaBuilder {
|
|
3824
|
+
|
|
3825
|
+
/** SlsaBuilder id */
|
|
3826
|
+
id?: (string|null);
|
|
3827
|
+
}
|
|
3828
|
+
|
|
3829
|
+
/** Represents a SlsaBuilder. */
|
|
3830
|
+
class SlsaBuilder implements ISlsaBuilder {
|
|
3831
|
+
|
|
3832
|
+
/**
|
|
3833
|
+
* Constructs a new SlsaBuilder.
|
|
3834
|
+
* @param [properties] Properties to set
|
|
3835
|
+
*/
|
|
3836
|
+
constructor(properties?: grafeas.v1.SlsaProvenance.ISlsaBuilder);
|
|
3837
|
+
|
|
3838
|
+
/** SlsaBuilder id. */
|
|
3839
|
+
public id: string;
|
|
3840
|
+
|
|
3841
|
+
/**
|
|
3842
|
+
* Creates a new SlsaBuilder instance using the specified properties.
|
|
3843
|
+
* @param [properties] Properties to set
|
|
3844
|
+
* @returns SlsaBuilder instance
|
|
3845
|
+
*/
|
|
3846
|
+
public static create(properties?: grafeas.v1.SlsaProvenance.ISlsaBuilder): grafeas.v1.SlsaProvenance.SlsaBuilder;
|
|
3847
|
+
|
|
3848
|
+
/**
|
|
3849
|
+
* Encodes the specified SlsaBuilder message. Does not implicitly {@link grafeas.v1.SlsaProvenance.SlsaBuilder.verify|verify} messages.
|
|
3850
|
+
* @param message SlsaBuilder message or plain object to encode
|
|
3851
|
+
* @param [writer] Writer to encode to
|
|
3852
|
+
* @returns Writer
|
|
3853
|
+
*/
|
|
3854
|
+
public static encode(message: grafeas.v1.SlsaProvenance.ISlsaBuilder, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3855
|
+
|
|
3856
|
+
/**
|
|
3857
|
+
* Encodes the specified SlsaBuilder message, length delimited. Does not implicitly {@link grafeas.v1.SlsaProvenance.SlsaBuilder.verify|verify} messages.
|
|
3858
|
+
* @param message SlsaBuilder message or plain object to encode
|
|
3859
|
+
* @param [writer] Writer to encode to
|
|
3860
|
+
* @returns Writer
|
|
3861
|
+
*/
|
|
3862
|
+
public static encodeDelimited(message: grafeas.v1.SlsaProvenance.ISlsaBuilder, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3863
|
+
|
|
3864
|
+
/**
|
|
3865
|
+
* Decodes a SlsaBuilder message from the specified reader or buffer.
|
|
3866
|
+
* @param reader Reader or buffer to decode from
|
|
3867
|
+
* @param [length] Message length if known beforehand
|
|
3868
|
+
* @returns SlsaBuilder
|
|
3869
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3870
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3871
|
+
*/
|
|
3872
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SlsaProvenance.SlsaBuilder;
|
|
3873
|
+
|
|
3874
|
+
/**
|
|
3875
|
+
* Decodes a SlsaBuilder message from the specified reader or buffer, length delimited.
|
|
3876
|
+
* @param reader Reader or buffer to decode from
|
|
3877
|
+
* @returns SlsaBuilder
|
|
3878
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3879
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3880
|
+
*/
|
|
3881
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SlsaProvenance.SlsaBuilder;
|
|
3882
|
+
|
|
3883
|
+
/**
|
|
3884
|
+
* Verifies a SlsaBuilder message.
|
|
3885
|
+
* @param message Plain object to verify
|
|
3886
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3887
|
+
*/
|
|
3888
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3889
|
+
|
|
3890
|
+
/**
|
|
3891
|
+
* Creates a SlsaBuilder message from a plain object. Also converts values to their respective internal types.
|
|
3892
|
+
* @param object Plain object
|
|
3893
|
+
* @returns SlsaBuilder
|
|
3894
|
+
*/
|
|
3895
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SlsaProvenance.SlsaBuilder;
|
|
3896
|
+
|
|
3897
|
+
/**
|
|
3898
|
+
* Creates a plain object from a SlsaBuilder message. Also converts values to other types if specified.
|
|
3899
|
+
* @param message SlsaBuilder
|
|
3900
|
+
* @param [options] Conversion options
|
|
3901
|
+
* @returns Plain object
|
|
3902
|
+
*/
|
|
3903
|
+
public static toObject(message: grafeas.v1.SlsaProvenance.SlsaBuilder, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3904
|
+
|
|
3905
|
+
/**
|
|
3906
|
+
* Converts this SlsaBuilder to JSON.
|
|
3907
|
+
* @returns JSON object
|
|
3908
|
+
*/
|
|
3909
|
+
public toJSON(): { [k: string]: any };
|
|
3910
|
+
}
|
|
3911
|
+
|
|
3912
|
+
/** Properties of a Material. */
|
|
3913
|
+
interface IMaterial {
|
|
3914
|
+
|
|
3915
|
+
/** Material uri */
|
|
3916
|
+
uri?: (string|null);
|
|
3917
|
+
|
|
3918
|
+
/** Material digest */
|
|
3919
|
+
digest?: ({ [k: string]: string }|null);
|
|
3920
|
+
}
|
|
3921
|
+
|
|
3922
|
+
/** Represents a Material. */
|
|
3923
|
+
class Material implements IMaterial {
|
|
3924
|
+
|
|
3925
|
+
/**
|
|
3926
|
+
* Constructs a new Material.
|
|
3927
|
+
* @param [properties] Properties to set
|
|
3928
|
+
*/
|
|
3929
|
+
constructor(properties?: grafeas.v1.SlsaProvenance.IMaterial);
|
|
3930
|
+
|
|
3931
|
+
/** Material uri. */
|
|
3932
|
+
public uri: string;
|
|
3933
|
+
|
|
3934
|
+
/** Material digest. */
|
|
3935
|
+
public digest: { [k: string]: string };
|
|
3936
|
+
|
|
3937
|
+
/**
|
|
3938
|
+
* Creates a new Material instance using the specified properties.
|
|
3939
|
+
* @param [properties] Properties to set
|
|
3940
|
+
* @returns Material instance
|
|
3941
|
+
*/
|
|
3942
|
+
public static create(properties?: grafeas.v1.SlsaProvenance.IMaterial): grafeas.v1.SlsaProvenance.Material;
|
|
3943
|
+
|
|
3944
|
+
/**
|
|
3945
|
+
* Encodes the specified Material message. Does not implicitly {@link grafeas.v1.SlsaProvenance.Material.verify|verify} messages.
|
|
3946
|
+
* @param message Material message or plain object to encode
|
|
3947
|
+
* @param [writer] Writer to encode to
|
|
3948
|
+
* @returns Writer
|
|
3949
|
+
*/
|
|
3950
|
+
public static encode(message: grafeas.v1.SlsaProvenance.IMaterial, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3951
|
+
|
|
3952
|
+
/**
|
|
3953
|
+
* Encodes the specified Material message, length delimited. Does not implicitly {@link grafeas.v1.SlsaProvenance.Material.verify|verify} messages.
|
|
3954
|
+
* @param message Material message or plain object to encode
|
|
3955
|
+
* @param [writer] Writer to encode to
|
|
3956
|
+
* @returns Writer
|
|
3957
|
+
*/
|
|
3958
|
+
public static encodeDelimited(message: grafeas.v1.SlsaProvenance.IMaterial, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3959
|
+
|
|
3960
|
+
/**
|
|
3961
|
+
* Decodes a Material message from the specified reader or buffer.
|
|
3962
|
+
* @param reader Reader or buffer to decode from
|
|
3963
|
+
* @param [length] Message length if known beforehand
|
|
3964
|
+
* @returns Material
|
|
3965
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3966
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3967
|
+
*/
|
|
3968
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SlsaProvenance.Material;
|
|
3969
|
+
|
|
3970
|
+
/**
|
|
3971
|
+
* Decodes a Material message from the specified reader or buffer, length delimited.
|
|
3972
|
+
* @param reader Reader or buffer to decode from
|
|
3973
|
+
* @returns Material
|
|
3974
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3975
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3976
|
+
*/
|
|
3977
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SlsaProvenance.Material;
|
|
3978
|
+
|
|
3979
|
+
/**
|
|
3980
|
+
* Verifies a Material message.
|
|
3981
|
+
* @param message Plain object to verify
|
|
3982
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3983
|
+
*/
|
|
3984
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3985
|
+
|
|
3986
|
+
/**
|
|
3987
|
+
* Creates a Material message from a plain object. Also converts values to their respective internal types.
|
|
3988
|
+
* @param object Plain object
|
|
3989
|
+
* @returns Material
|
|
3990
|
+
*/
|
|
3991
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SlsaProvenance.Material;
|
|
3992
|
+
|
|
3993
|
+
/**
|
|
3994
|
+
* Creates a plain object from a Material message. Also converts values to other types if specified.
|
|
3995
|
+
* @param message Material
|
|
3996
|
+
* @param [options] Conversion options
|
|
3997
|
+
* @returns Plain object
|
|
3998
|
+
*/
|
|
3999
|
+
public static toObject(message: grafeas.v1.SlsaProvenance.Material, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4000
|
+
|
|
4001
|
+
/**
|
|
4002
|
+
* Converts this Material to JSON.
|
|
4003
|
+
* @returns JSON object
|
|
4004
|
+
*/
|
|
4005
|
+
public toJSON(): { [k: string]: any };
|
|
4006
|
+
}
|
|
4007
|
+
}
|
|
4008
|
+
|
|
4009
|
+
/** Properties of a BuildProvenance. */
|
|
4010
|
+
interface IBuildProvenance {
|
|
4011
|
+
|
|
4012
|
+
/** BuildProvenance id */
|
|
4013
|
+
id?: (string|null);
|
|
4014
|
+
|
|
4015
|
+
/** BuildProvenance projectId */
|
|
4016
|
+
projectId?: (string|null);
|
|
4017
|
+
|
|
4018
|
+
/** BuildProvenance commands */
|
|
4019
|
+
commands?: (grafeas.v1.ICommand[]|null);
|
|
4020
|
+
|
|
4021
|
+
/** BuildProvenance builtArtifacts */
|
|
4022
|
+
builtArtifacts?: (grafeas.v1.IArtifact[]|null);
|
|
4023
|
+
|
|
4024
|
+
/** BuildProvenance createTime */
|
|
4025
|
+
createTime?: (google.protobuf.ITimestamp|null);
|
|
4026
|
+
|
|
4027
|
+
/** BuildProvenance startTime */
|
|
4028
|
+
startTime?: (google.protobuf.ITimestamp|null);
|
|
4029
|
+
|
|
4030
|
+
/** BuildProvenance endTime */
|
|
4031
|
+
endTime?: (google.protobuf.ITimestamp|null);
|
|
4032
|
+
|
|
4033
|
+
/** BuildProvenance creator */
|
|
4034
|
+
creator?: (string|null);
|
|
4035
|
+
|
|
4036
|
+
/** BuildProvenance logsUri */
|
|
4037
|
+
logsUri?: (string|null);
|
|
4038
|
+
|
|
4039
|
+
/** BuildProvenance sourceProvenance */
|
|
4040
|
+
sourceProvenance?: (grafeas.v1.ISource|null);
|
|
4041
|
+
|
|
4042
|
+
/** BuildProvenance triggerId */
|
|
4043
|
+
triggerId?: (string|null);
|
|
4044
|
+
|
|
4045
|
+
/** BuildProvenance buildOptions */
|
|
4046
|
+
buildOptions?: ({ [k: string]: string }|null);
|
|
4047
|
+
|
|
4048
|
+
/** BuildProvenance builderVersion */
|
|
4049
|
+
builderVersion?: (string|null);
|
|
4050
|
+
}
|
|
4051
|
+
|
|
4052
|
+
/** Represents a BuildProvenance. */
|
|
4053
|
+
class BuildProvenance implements IBuildProvenance {
|
|
4054
|
+
|
|
4055
|
+
/**
|
|
4056
|
+
* Constructs a new BuildProvenance.
|
|
4057
|
+
* @param [properties] Properties to set
|
|
4058
|
+
*/
|
|
4059
|
+
constructor(properties?: grafeas.v1.IBuildProvenance);
|
|
4060
|
+
|
|
4061
|
+
/** BuildProvenance id. */
|
|
4062
|
+
public id: string;
|
|
4063
|
+
|
|
4064
|
+
/** BuildProvenance projectId. */
|
|
4065
|
+
public projectId: string;
|
|
4066
|
+
|
|
4067
|
+
/** BuildProvenance commands. */
|
|
4068
|
+
public commands: grafeas.v1.ICommand[];
|
|
4069
|
+
|
|
4070
|
+
/** BuildProvenance builtArtifacts. */
|
|
4071
|
+
public builtArtifacts: grafeas.v1.IArtifact[];
|
|
4072
|
+
|
|
4073
|
+
/** BuildProvenance createTime. */
|
|
4074
|
+
public createTime?: (google.protobuf.ITimestamp|null);
|
|
4075
|
+
|
|
4076
|
+
/** BuildProvenance startTime. */
|
|
4077
|
+
public startTime?: (google.protobuf.ITimestamp|null);
|
|
4078
|
+
|
|
4079
|
+
/** BuildProvenance endTime. */
|
|
4080
|
+
public endTime?: (google.protobuf.ITimestamp|null);
|
|
4081
|
+
|
|
4082
|
+
/** BuildProvenance creator. */
|
|
4083
|
+
public creator: string;
|
|
4084
|
+
|
|
4085
|
+
/** BuildProvenance logsUri. */
|
|
4086
|
+
public logsUri: string;
|
|
4087
|
+
|
|
4088
|
+
/** BuildProvenance sourceProvenance. */
|
|
4089
|
+
public sourceProvenance?: (grafeas.v1.ISource|null);
|
|
4090
|
+
|
|
4091
|
+
/** BuildProvenance triggerId. */
|
|
4092
|
+
public triggerId: string;
|
|
4093
|
+
|
|
4094
|
+
/** BuildProvenance buildOptions. */
|
|
4095
|
+
public buildOptions: { [k: string]: string };
|
|
4096
|
+
|
|
4097
|
+
/** BuildProvenance builderVersion. */
|
|
4098
|
+
public builderVersion: string;
|
|
4099
|
+
|
|
4100
|
+
/**
|
|
4101
|
+
* Creates a new BuildProvenance instance using the specified properties.
|
|
4102
|
+
* @param [properties] Properties to set
|
|
4103
|
+
* @returns BuildProvenance instance
|
|
4104
|
+
*/
|
|
4105
|
+
public static create(properties?: grafeas.v1.IBuildProvenance): grafeas.v1.BuildProvenance;
|
|
4106
|
+
|
|
4107
|
+
/**
|
|
4108
|
+
* Encodes the specified BuildProvenance message. Does not implicitly {@link grafeas.v1.BuildProvenance.verify|verify} messages.
|
|
4109
|
+
* @param message BuildProvenance message or plain object to encode
|
|
4110
|
+
* @param [writer] Writer to encode to
|
|
4111
|
+
* @returns Writer
|
|
4112
|
+
*/
|
|
4113
|
+
public static encode(message: grafeas.v1.IBuildProvenance, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4114
|
+
|
|
4115
|
+
/**
|
|
4116
|
+
* Encodes the specified BuildProvenance message, length delimited. Does not implicitly {@link grafeas.v1.BuildProvenance.verify|verify} messages.
|
|
4117
|
+
* @param message BuildProvenance message or plain object to encode
|
|
4118
|
+
* @param [writer] Writer to encode to
|
|
4119
|
+
* @returns Writer
|
|
4120
|
+
*/
|
|
4121
|
+
public static encodeDelimited(message: grafeas.v1.IBuildProvenance, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4122
|
+
|
|
4123
|
+
/**
|
|
4124
|
+
* Decodes a BuildProvenance message from the specified reader or buffer.
|
|
4125
|
+
* @param reader Reader or buffer to decode from
|
|
4126
|
+
* @param [length] Message length if known beforehand
|
|
4127
|
+
* @returns BuildProvenance
|
|
4128
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4129
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4130
|
+
*/
|
|
4131
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.BuildProvenance;
|
|
4132
|
+
|
|
4133
|
+
/**
|
|
4134
|
+
* Decodes a BuildProvenance message from the specified reader or buffer, length delimited.
|
|
4135
|
+
* @param reader Reader or buffer to decode from
|
|
4136
|
+
* @returns BuildProvenance
|
|
4137
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4138
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4139
|
+
*/
|
|
4140
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.BuildProvenance;
|
|
4141
|
+
|
|
4142
|
+
/**
|
|
4143
|
+
* Verifies a BuildProvenance message.
|
|
4144
|
+
* @param message Plain object to verify
|
|
4145
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4146
|
+
*/
|
|
4147
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4148
|
+
|
|
4149
|
+
/**
|
|
4150
|
+
* Creates a BuildProvenance message from a plain object. Also converts values to their respective internal types.
|
|
4151
|
+
* @param object Plain object
|
|
4152
|
+
* @returns BuildProvenance
|
|
4153
|
+
*/
|
|
4154
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.BuildProvenance;
|
|
4155
|
+
|
|
4156
|
+
/**
|
|
4157
|
+
* Creates a plain object from a BuildProvenance message. Also converts values to other types if specified.
|
|
4158
|
+
* @param message BuildProvenance
|
|
4159
|
+
* @param [options] Conversion options
|
|
4160
|
+
* @returns Plain object
|
|
4161
|
+
*/
|
|
4162
|
+
public static toObject(message: grafeas.v1.BuildProvenance, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4163
|
+
|
|
4164
|
+
/**
|
|
4165
|
+
* Converts this BuildProvenance to JSON.
|
|
4166
|
+
* @returns JSON object
|
|
4167
|
+
*/
|
|
4168
|
+
public toJSON(): { [k: string]: any };
|
|
4169
|
+
}
|
|
4170
|
+
|
|
4171
|
+
/** Properties of a Source. */
|
|
4172
|
+
interface ISource {
|
|
4173
|
+
|
|
4174
|
+
/** Source artifactStorageSourceUri */
|
|
4175
|
+
artifactStorageSourceUri?: (string|null);
|
|
4176
|
+
|
|
4177
|
+
/** Source fileHashes */
|
|
4178
|
+
fileHashes?: ({ [k: string]: grafeas.v1.IFileHashes }|null);
|
|
4179
|
+
|
|
4180
|
+
/** Source context */
|
|
4181
|
+
context?: (grafeas.v1.ISourceContext|null);
|
|
4182
|
+
|
|
4183
|
+
/** Source additionalContexts */
|
|
4184
|
+
additionalContexts?: (grafeas.v1.ISourceContext[]|null);
|
|
4185
|
+
}
|
|
4186
|
+
|
|
4187
|
+
/** Represents a Source. */
|
|
4188
|
+
class Source implements ISource {
|
|
4189
|
+
|
|
4190
|
+
/**
|
|
4191
|
+
* Constructs a new Source.
|
|
4192
|
+
* @param [properties] Properties to set
|
|
4193
|
+
*/
|
|
4194
|
+
constructor(properties?: grafeas.v1.ISource);
|
|
4195
|
+
|
|
4196
|
+
/** Source artifactStorageSourceUri. */
|
|
4197
|
+
public artifactStorageSourceUri: string;
|
|
4198
|
+
|
|
4199
|
+
/** Source fileHashes. */
|
|
4200
|
+
public fileHashes: { [k: string]: grafeas.v1.IFileHashes };
|
|
4201
|
+
|
|
4202
|
+
/** Source context. */
|
|
4203
|
+
public context?: (grafeas.v1.ISourceContext|null);
|
|
4204
|
+
|
|
4205
|
+
/** Source additionalContexts. */
|
|
4206
|
+
public additionalContexts: grafeas.v1.ISourceContext[];
|
|
4207
|
+
|
|
4208
|
+
/**
|
|
4209
|
+
* Creates a new Source instance using the specified properties.
|
|
4210
|
+
* @param [properties] Properties to set
|
|
4211
|
+
* @returns Source instance
|
|
4212
|
+
*/
|
|
4213
|
+
public static create(properties?: grafeas.v1.ISource): grafeas.v1.Source;
|
|
4214
|
+
|
|
4215
|
+
/**
|
|
4216
|
+
* Encodes the specified Source message. Does not implicitly {@link grafeas.v1.Source.verify|verify} messages.
|
|
4217
|
+
* @param message Source message or plain object to encode
|
|
4218
|
+
* @param [writer] Writer to encode to
|
|
4219
|
+
* @returns Writer
|
|
4220
|
+
*/
|
|
4221
|
+
public static encode(message: grafeas.v1.ISource, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4222
|
+
|
|
4223
|
+
/**
|
|
4224
|
+
* Encodes the specified Source message, length delimited. Does not implicitly {@link grafeas.v1.Source.verify|verify} messages.
|
|
4225
|
+
* @param message Source message or plain object to encode
|
|
4226
|
+
* @param [writer] Writer to encode to
|
|
4227
|
+
* @returns Writer
|
|
4228
|
+
*/
|
|
4229
|
+
public static encodeDelimited(message: grafeas.v1.ISource, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4230
|
+
|
|
4231
|
+
/**
|
|
4232
|
+
* Decodes a Source message from the specified reader or buffer.
|
|
4233
|
+
* @param reader Reader or buffer to decode from
|
|
4234
|
+
* @param [length] Message length if known beforehand
|
|
4235
|
+
* @returns Source
|
|
4236
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4237
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4238
|
+
*/
|
|
4239
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.Source;
|
|
4240
|
+
|
|
4241
|
+
/**
|
|
4242
|
+
* Decodes a Source message from the specified reader or buffer, length delimited.
|
|
4243
|
+
* @param reader Reader or buffer to decode from
|
|
4244
|
+
* @returns Source
|
|
4245
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4246
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4247
|
+
*/
|
|
4248
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.Source;
|
|
4249
|
+
|
|
4250
|
+
/**
|
|
4251
|
+
* Verifies a Source message.
|
|
4252
|
+
* @param message Plain object to verify
|
|
4253
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4254
|
+
*/
|
|
4255
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4256
|
+
|
|
4257
|
+
/**
|
|
4258
|
+
* Creates a Source message from a plain object. Also converts values to their respective internal types.
|
|
4259
|
+
* @param object Plain object
|
|
4260
|
+
* @returns Source
|
|
4261
|
+
*/
|
|
4262
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.Source;
|
|
4263
|
+
|
|
4264
|
+
/**
|
|
4265
|
+
* Creates a plain object from a Source message. Also converts values to other types if specified.
|
|
4266
|
+
* @param message Source
|
|
4267
|
+
* @param [options] Conversion options
|
|
4268
|
+
* @returns Plain object
|
|
4269
|
+
*/
|
|
4270
|
+
public static toObject(message: grafeas.v1.Source, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4271
|
+
|
|
4272
|
+
/**
|
|
4273
|
+
* Converts this Source to JSON.
|
|
4274
|
+
* @returns JSON object
|
|
4275
|
+
*/
|
|
4276
|
+
public toJSON(): { [k: string]: any };
|
|
4277
|
+
}
|
|
4278
|
+
|
|
4279
|
+
/** Properties of a FileHashes. */
|
|
4280
|
+
interface IFileHashes {
|
|
4281
|
+
|
|
4282
|
+
/** FileHashes fileHash */
|
|
4283
|
+
fileHash?: (grafeas.v1.IHash[]|null);
|
|
4284
|
+
}
|
|
4285
|
+
|
|
4286
|
+
/** Represents a FileHashes. */
|
|
4287
|
+
class FileHashes implements IFileHashes {
|
|
4288
|
+
|
|
4289
|
+
/**
|
|
4290
|
+
* Constructs a new FileHashes.
|
|
4291
|
+
* @param [properties] Properties to set
|
|
4292
|
+
*/
|
|
4293
|
+
constructor(properties?: grafeas.v1.IFileHashes);
|
|
4294
|
+
|
|
4295
|
+
/** FileHashes fileHash. */
|
|
4296
|
+
public fileHash: grafeas.v1.IHash[];
|
|
4297
|
+
|
|
4298
|
+
/**
|
|
4299
|
+
* Creates a new FileHashes instance using the specified properties.
|
|
4300
|
+
* @param [properties] Properties to set
|
|
4301
|
+
* @returns FileHashes instance
|
|
4302
|
+
*/
|
|
4303
|
+
public static create(properties?: grafeas.v1.IFileHashes): grafeas.v1.FileHashes;
|
|
4304
|
+
|
|
4305
|
+
/**
|
|
4306
|
+
* Encodes the specified FileHashes message. Does not implicitly {@link grafeas.v1.FileHashes.verify|verify} messages.
|
|
4307
|
+
* @param message FileHashes message or plain object to encode
|
|
4308
|
+
* @param [writer] Writer to encode to
|
|
4309
|
+
* @returns Writer
|
|
4310
|
+
*/
|
|
4311
|
+
public static encode(message: grafeas.v1.IFileHashes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4312
|
+
|
|
4313
|
+
/**
|
|
4314
|
+
* Encodes the specified FileHashes message, length delimited. Does not implicitly {@link grafeas.v1.FileHashes.verify|verify} messages.
|
|
4315
|
+
* @param message FileHashes message or plain object to encode
|
|
4316
|
+
* @param [writer] Writer to encode to
|
|
4317
|
+
* @returns Writer
|
|
4318
|
+
*/
|
|
4319
|
+
public static encodeDelimited(message: grafeas.v1.IFileHashes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4320
|
+
|
|
4321
|
+
/**
|
|
4322
|
+
* Decodes a FileHashes message from the specified reader or buffer.
|
|
4323
|
+
* @param reader Reader or buffer to decode from
|
|
4324
|
+
* @param [length] Message length if known beforehand
|
|
4325
|
+
* @returns FileHashes
|
|
4326
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4327
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4328
|
+
*/
|
|
4329
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.FileHashes;
|
|
4330
|
+
|
|
4331
|
+
/**
|
|
4332
|
+
* Decodes a FileHashes message from the specified reader or buffer, length delimited.
|
|
4333
|
+
* @param reader Reader or buffer to decode from
|
|
4334
|
+
* @returns FileHashes
|
|
4335
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4336
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4337
|
+
*/
|
|
4338
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.FileHashes;
|
|
4339
|
+
|
|
4340
|
+
/**
|
|
4341
|
+
* Verifies a FileHashes message.
|
|
4342
|
+
* @param message Plain object to verify
|
|
4343
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4344
|
+
*/
|
|
4345
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4346
|
+
|
|
4347
|
+
/**
|
|
4348
|
+
* Creates a FileHashes message from a plain object. Also converts values to their respective internal types.
|
|
4349
|
+
* @param object Plain object
|
|
4350
|
+
* @returns FileHashes
|
|
4351
|
+
*/
|
|
4352
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.FileHashes;
|
|
4353
|
+
|
|
4354
|
+
/**
|
|
4355
|
+
* Creates a plain object from a FileHashes message. Also converts values to other types if specified.
|
|
4356
|
+
* @param message FileHashes
|
|
4357
|
+
* @param [options] Conversion options
|
|
4358
|
+
* @returns Plain object
|
|
4359
|
+
*/
|
|
4360
|
+
public static toObject(message: grafeas.v1.FileHashes, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4361
|
+
|
|
4362
|
+
/**
|
|
4363
|
+
* Converts this FileHashes to JSON.
|
|
4364
|
+
* @returns JSON object
|
|
4365
|
+
*/
|
|
4366
|
+
public toJSON(): { [k: string]: any };
|
|
4367
|
+
}
|
|
4368
|
+
|
|
4369
|
+
/** Properties of a Hash. */
|
|
4370
|
+
interface IHash {
|
|
4371
|
+
|
|
4372
|
+
/** Hash type */
|
|
4373
|
+
type?: (string|null);
|
|
4374
|
+
|
|
4375
|
+
/** Hash value */
|
|
4376
|
+
value?: (Uint8Array|string|null);
|
|
4377
|
+
}
|
|
4378
|
+
|
|
4379
|
+
/** Represents a Hash. */
|
|
4380
|
+
class Hash implements IHash {
|
|
4381
|
+
|
|
4382
|
+
/**
|
|
4383
|
+
* Constructs a new Hash.
|
|
4384
|
+
* @param [properties] Properties to set
|
|
4385
|
+
*/
|
|
4386
|
+
constructor(properties?: grafeas.v1.IHash);
|
|
4387
|
+
|
|
4388
|
+
/** Hash type. */
|
|
4389
|
+
public type: string;
|
|
4390
|
+
|
|
4391
|
+
/** Hash value. */
|
|
4392
|
+
public value: (Uint8Array|string);
|
|
4393
|
+
|
|
4394
|
+
/**
|
|
4395
|
+
* Creates a new Hash instance using the specified properties.
|
|
4396
|
+
* @param [properties] Properties to set
|
|
4397
|
+
* @returns Hash instance
|
|
4398
|
+
*/
|
|
4399
|
+
public static create(properties?: grafeas.v1.IHash): grafeas.v1.Hash;
|
|
4400
|
+
|
|
4401
|
+
/**
|
|
4402
|
+
* Encodes the specified Hash message. Does not implicitly {@link grafeas.v1.Hash.verify|verify} messages.
|
|
4403
|
+
* @param message Hash message or plain object to encode
|
|
4404
|
+
* @param [writer] Writer to encode to
|
|
4405
|
+
* @returns Writer
|
|
4406
|
+
*/
|
|
4407
|
+
public static encode(message: grafeas.v1.IHash, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4408
|
+
|
|
4409
|
+
/**
|
|
4410
|
+
* Encodes the specified Hash message, length delimited. Does not implicitly {@link grafeas.v1.Hash.verify|verify} messages.
|
|
4411
|
+
* @param message Hash message or plain object to encode
|
|
4412
|
+
* @param [writer] Writer to encode to
|
|
4413
|
+
* @returns Writer
|
|
4414
|
+
*/
|
|
4415
|
+
public static encodeDelimited(message: grafeas.v1.IHash, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4416
|
+
|
|
4417
|
+
/**
|
|
4418
|
+
* Decodes a Hash message from the specified reader or buffer.
|
|
4419
|
+
* @param reader Reader or buffer to decode from
|
|
4420
|
+
* @param [length] Message length if known beforehand
|
|
4421
|
+
* @returns Hash
|
|
4422
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4423
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4424
|
+
*/
|
|
4425
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.Hash;
|
|
4426
|
+
|
|
4427
|
+
/**
|
|
4428
|
+
* Decodes a Hash message from the specified reader or buffer, length delimited.
|
|
4429
|
+
* @param reader Reader or buffer to decode from
|
|
4430
|
+
* @returns Hash
|
|
4431
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4432
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4433
|
+
*/
|
|
4434
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.Hash;
|
|
4435
|
+
|
|
4436
|
+
/**
|
|
4437
|
+
* Verifies a Hash message.
|
|
4438
|
+
* @param message Plain object to verify
|
|
4439
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4440
|
+
*/
|
|
4441
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4442
|
+
|
|
4443
|
+
/**
|
|
4444
|
+
* Creates a Hash message from a plain object. Also converts values to their respective internal types.
|
|
4445
|
+
* @param object Plain object
|
|
4446
|
+
* @returns Hash
|
|
4447
|
+
*/
|
|
4448
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.Hash;
|
|
4449
|
+
|
|
4450
|
+
/**
|
|
4451
|
+
* Creates a plain object from a Hash message. Also converts values to other types if specified.
|
|
4452
|
+
* @param message Hash
|
|
4453
|
+
* @param [options] Conversion options
|
|
4454
|
+
* @returns Plain object
|
|
4455
|
+
*/
|
|
4456
|
+
public static toObject(message: grafeas.v1.Hash, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4457
|
+
|
|
4458
|
+
/**
|
|
4459
|
+
* Converts this Hash to JSON.
|
|
4460
|
+
* @returns JSON object
|
|
4461
|
+
*/
|
|
4462
|
+
public toJSON(): { [k: string]: any };
|
|
4463
|
+
}
|
|
4464
|
+
|
|
4465
|
+
/** Properties of a Command. */
|
|
4466
|
+
interface ICommand {
|
|
4467
|
+
|
|
4468
|
+
/** Command name */
|
|
4469
|
+
name?: (string|null);
|
|
4470
|
+
|
|
4471
|
+
/** Command env */
|
|
4472
|
+
env?: (string[]|null);
|
|
4473
|
+
|
|
4474
|
+
/** Command args */
|
|
4475
|
+
args?: (string[]|null);
|
|
4476
|
+
|
|
4477
|
+
/** Command dir */
|
|
4478
|
+
dir?: (string|null);
|
|
4479
|
+
|
|
4480
|
+
/** Command id */
|
|
4481
|
+
id?: (string|null);
|
|
4482
|
+
|
|
4483
|
+
/** Command waitFor */
|
|
4484
|
+
waitFor?: (string[]|null);
|
|
4485
|
+
}
|
|
4486
|
+
|
|
4487
|
+
/** Represents a Command. */
|
|
4488
|
+
class Command implements ICommand {
|
|
4489
|
+
|
|
4490
|
+
/**
|
|
4491
|
+
* Constructs a new Command.
|
|
4492
|
+
* @param [properties] Properties to set
|
|
4493
|
+
*/
|
|
4494
|
+
constructor(properties?: grafeas.v1.ICommand);
|
|
4495
|
+
|
|
4496
|
+
/** Command name. */
|
|
4497
|
+
public name: string;
|
|
4498
|
+
|
|
4499
|
+
/** Command env. */
|
|
4500
|
+
public env: string[];
|
|
4501
|
+
|
|
4502
|
+
/** Command args. */
|
|
4503
|
+
public args: string[];
|
|
4504
|
+
|
|
4505
|
+
/** Command dir. */
|
|
4506
|
+
public dir: string;
|
|
4507
|
+
|
|
4508
|
+
/** Command id. */
|
|
4509
|
+
public id: string;
|
|
4510
|
+
|
|
4511
|
+
/** Command waitFor. */
|
|
4512
|
+
public waitFor: string[];
|
|
4513
|
+
|
|
4514
|
+
/**
|
|
4515
|
+
* Creates a new Command instance using the specified properties.
|
|
4516
|
+
* @param [properties] Properties to set
|
|
4517
|
+
* @returns Command instance
|
|
4518
|
+
*/
|
|
4519
|
+
public static create(properties?: grafeas.v1.ICommand): grafeas.v1.Command;
|
|
4520
|
+
|
|
4521
|
+
/**
|
|
4522
|
+
* Encodes the specified Command message. Does not implicitly {@link grafeas.v1.Command.verify|verify} messages.
|
|
4523
|
+
* @param message Command message or plain object to encode
|
|
4524
|
+
* @param [writer] Writer to encode to
|
|
4525
|
+
* @returns Writer
|
|
4526
|
+
*/
|
|
4527
|
+
public static encode(message: grafeas.v1.ICommand, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4528
|
+
|
|
4529
|
+
/**
|
|
4530
|
+
* Encodes the specified Command message, length delimited. Does not implicitly {@link grafeas.v1.Command.verify|verify} messages.
|
|
4531
|
+
* @param message Command message or plain object to encode
|
|
4532
|
+
* @param [writer] Writer to encode to
|
|
4533
|
+
* @returns Writer
|
|
4534
|
+
*/
|
|
4535
|
+
public static encodeDelimited(message: grafeas.v1.ICommand, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4536
|
+
|
|
4537
|
+
/**
|
|
4538
|
+
* Decodes a Command message from the specified reader or buffer.
|
|
4539
|
+
* @param reader Reader or buffer to decode from
|
|
4540
|
+
* @param [length] Message length if known beforehand
|
|
4541
|
+
* @returns Command
|
|
4542
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4543
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4544
|
+
*/
|
|
4545
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.Command;
|
|
4546
|
+
|
|
4547
|
+
/**
|
|
4548
|
+
* Decodes a Command message from the specified reader or buffer, length delimited.
|
|
4549
|
+
* @param reader Reader or buffer to decode from
|
|
4550
|
+
* @returns Command
|
|
4551
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4552
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4553
|
+
*/
|
|
4554
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.Command;
|
|
4555
|
+
|
|
4556
|
+
/**
|
|
4557
|
+
* Verifies a Command message.
|
|
4558
|
+
* @param message Plain object to verify
|
|
4559
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4560
|
+
*/
|
|
4561
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4562
|
+
|
|
4563
|
+
/**
|
|
4564
|
+
* Creates a Command message from a plain object. Also converts values to their respective internal types.
|
|
4565
|
+
* @param object Plain object
|
|
4566
|
+
* @returns Command
|
|
4567
|
+
*/
|
|
4568
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.Command;
|
|
4569
|
+
|
|
4570
|
+
/**
|
|
4571
|
+
* Creates a plain object from a Command message. Also converts values to other types if specified.
|
|
4572
|
+
* @param message Command
|
|
4573
|
+
* @param [options] Conversion options
|
|
4574
|
+
* @returns Plain object
|
|
4575
|
+
*/
|
|
4576
|
+
public static toObject(message: grafeas.v1.Command, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4577
|
+
|
|
4578
|
+
/**
|
|
4579
|
+
* Converts this Command to JSON.
|
|
4580
|
+
* @returns JSON object
|
|
4581
|
+
*/
|
|
4582
|
+
public toJSON(): { [k: string]: any };
|
|
4583
|
+
}
|
|
4584
|
+
|
|
4585
|
+
/** Properties of an Artifact. */
|
|
4586
|
+
interface IArtifact {
|
|
4587
|
+
|
|
4588
|
+
/** Artifact checksum */
|
|
4589
|
+
checksum?: (string|null);
|
|
4590
|
+
|
|
4591
|
+
/** Artifact id */
|
|
4592
|
+
id?: (string|null);
|
|
4593
|
+
|
|
4594
|
+
/** Artifact names */
|
|
4595
|
+
names?: (string[]|null);
|
|
4596
|
+
}
|
|
4597
|
+
|
|
4598
|
+
/** Represents an Artifact. */
|
|
4599
|
+
class Artifact implements IArtifact {
|
|
4600
|
+
|
|
4601
|
+
/**
|
|
4602
|
+
* Constructs a new Artifact.
|
|
4603
|
+
* @param [properties] Properties to set
|
|
4604
|
+
*/
|
|
4605
|
+
constructor(properties?: grafeas.v1.IArtifact);
|
|
4606
|
+
|
|
4607
|
+
/** Artifact checksum. */
|
|
4608
|
+
public checksum: string;
|
|
4609
|
+
|
|
4610
|
+
/** Artifact id. */
|
|
4611
|
+
public id: string;
|
|
4612
|
+
|
|
4613
|
+
/** Artifact names. */
|
|
4614
|
+
public names: string[];
|
|
4615
|
+
|
|
4616
|
+
/**
|
|
4617
|
+
* Creates a new Artifact instance using the specified properties.
|
|
4618
|
+
* @param [properties] Properties to set
|
|
4619
|
+
* @returns Artifact instance
|
|
4620
|
+
*/
|
|
4621
|
+
public static create(properties?: grafeas.v1.IArtifact): grafeas.v1.Artifact;
|
|
4622
|
+
|
|
4623
|
+
/**
|
|
4624
|
+
* Encodes the specified Artifact message. Does not implicitly {@link grafeas.v1.Artifact.verify|verify} messages.
|
|
4625
|
+
* @param message Artifact message or plain object to encode
|
|
4626
|
+
* @param [writer] Writer to encode to
|
|
4627
|
+
* @returns Writer
|
|
4628
|
+
*/
|
|
4629
|
+
public static encode(message: grafeas.v1.IArtifact, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4630
|
+
|
|
4631
|
+
/**
|
|
4632
|
+
* Encodes the specified Artifact message, length delimited. Does not implicitly {@link grafeas.v1.Artifact.verify|verify} messages.
|
|
4633
|
+
* @param message Artifact message or plain object to encode
|
|
4634
|
+
* @param [writer] Writer to encode to
|
|
4635
|
+
* @returns Writer
|
|
4636
|
+
*/
|
|
4637
|
+
public static encodeDelimited(message: grafeas.v1.IArtifact, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4638
|
+
|
|
4639
|
+
/**
|
|
4640
|
+
* Decodes an Artifact message from the specified reader or buffer.
|
|
4641
|
+
* @param reader Reader or buffer to decode from
|
|
4642
|
+
* @param [length] Message length if known beforehand
|
|
4643
|
+
* @returns Artifact
|
|
4644
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4645
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4646
|
+
*/
|
|
4647
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.Artifact;
|
|
4648
|
+
|
|
4649
|
+
/**
|
|
4650
|
+
* Decodes an Artifact message from the specified reader or buffer, length delimited.
|
|
4651
|
+
* @param reader Reader or buffer to decode from
|
|
4652
|
+
* @returns Artifact
|
|
4653
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4654
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4655
|
+
*/
|
|
4656
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.Artifact;
|
|
4657
|
+
|
|
4658
|
+
/**
|
|
4659
|
+
* Verifies an Artifact message.
|
|
4660
|
+
* @param message Plain object to verify
|
|
4661
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4662
|
+
*/
|
|
4663
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4664
|
+
|
|
4665
|
+
/**
|
|
4666
|
+
* Creates an Artifact message from a plain object. Also converts values to their respective internal types.
|
|
4667
|
+
* @param object Plain object
|
|
4668
|
+
* @returns Artifact
|
|
4669
|
+
*/
|
|
4670
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.Artifact;
|
|
4671
|
+
|
|
4672
|
+
/**
|
|
4673
|
+
* Creates a plain object from an Artifact message. Also converts values to other types if specified.
|
|
4674
|
+
* @param message Artifact
|
|
4675
|
+
* @param [options] Conversion options
|
|
4676
|
+
* @returns Plain object
|
|
4677
|
+
*/
|
|
4678
|
+
public static toObject(message: grafeas.v1.Artifact, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4679
|
+
|
|
4680
|
+
/**
|
|
4681
|
+
* Converts this Artifact to JSON.
|
|
4682
|
+
* @returns JSON object
|
|
4683
|
+
*/
|
|
4684
|
+
public toJSON(): { [k: string]: any };
|
|
4685
|
+
}
|
|
4686
|
+
|
|
4687
|
+
/** Properties of a SourceContext. */
|
|
4688
|
+
interface ISourceContext {
|
|
4689
|
+
|
|
4690
|
+
/** SourceContext cloudRepo */
|
|
4691
|
+
cloudRepo?: (grafeas.v1.ICloudRepoSourceContext|null);
|
|
4692
|
+
|
|
4693
|
+
/** SourceContext gerrit */
|
|
4694
|
+
gerrit?: (grafeas.v1.IGerritSourceContext|null);
|
|
4695
|
+
|
|
4696
|
+
/** SourceContext git */
|
|
4697
|
+
git?: (grafeas.v1.IGitSourceContext|null);
|
|
4698
|
+
|
|
4699
|
+
/** SourceContext labels */
|
|
4700
|
+
labels?: ({ [k: string]: string }|null);
|
|
4701
|
+
}
|
|
4702
|
+
|
|
4703
|
+
/** Represents a SourceContext. */
|
|
4704
|
+
class SourceContext implements ISourceContext {
|
|
4705
|
+
|
|
4706
|
+
/**
|
|
4707
|
+
* Constructs a new SourceContext.
|
|
4708
|
+
* @param [properties] Properties to set
|
|
4709
|
+
*/
|
|
4710
|
+
constructor(properties?: grafeas.v1.ISourceContext);
|
|
4711
|
+
|
|
4712
|
+
/** SourceContext cloudRepo. */
|
|
4713
|
+
public cloudRepo?: (grafeas.v1.ICloudRepoSourceContext|null);
|
|
4714
|
+
|
|
4715
|
+
/** SourceContext gerrit. */
|
|
4716
|
+
public gerrit?: (grafeas.v1.IGerritSourceContext|null);
|
|
4717
|
+
|
|
4718
|
+
/** SourceContext git. */
|
|
4719
|
+
public git?: (grafeas.v1.IGitSourceContext|null);
|
|
4720
|
+
|
|
4721
|
+
/** SourceContext labels. */
|
|
4722
|
+
public labels: { [k: string]: string };
|
|
4723
|
+
|
|
4724
|
+
/** SourceContext context. */
|
|
4725
|
+
public context?: ("cloudRepo"|"gerrit"|"git");
|
|
4726
|
+
|
|
4727
|
+
/**
|
|
4728
|
+
* Creates a new SourceContext instance using the specified properties.
|
|
4729
|
+
* @param [properties] Properties to set
|
|
4730
|
+
* @returns SourceContext instance
|
|
4731
|
+
*/
|
|
4732
|
+
public static create(properties?: grafeas.v1.ISourceContext): grafeas.v1.SourceContext;
|
|
4733
|
+
|
|
4734
|
+
/**
|
|
4735
|
+
* Encodes the specified SourceContext message. Does not implicitly {@link grafeas.v1.SourceContext.verify|verify} messages.
|
|
4736
|
+
* @param message SourceContext message or plain object to encode
|
|
4737
|
+
* @param [writer] Writer to encode to
|
|
4738
|
+
* @returns Writer
|
|
4739
|
+
*/
|
|
4740
|
+
public static encode(message: grafeas.v1.ISourceContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4741
|
+
|
|
4742
|
+
/**
|
|
4743
|
+
* Encodes the specified SourceContext message, length delimited. Does not implicitly {@link grafeas.v1.SourceContext.verify|verify} messages.
|
|
4744
|
+
* @param message SourceContext message or plain object to encode
|
|
4745
|
+
* @param [writer] Writer to encode to
|
|
4746
|
+
* @returns Writer
|
|
4747
|
+
*/
|
|
4748
|
+
public static encodeDelimited(message: grafeas.v1.ISourceContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4749
|
+
|
|
4750
|
+
/**
|
|
4751
|
+
* Decodes a SourceContext message from the specified reader or buffer.
|
|
4752
|
+
* @param reader Reader or buffer to decode from
|
|
4753
|
+
* @param [length] Message length if known beforehand
|
|
4754
|
+
* @returns SourceContext
|
|
4755
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4756
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4757
|
+
*/
|
|
4758
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.SourceContext;
|
|
4759
|
+
|
|
4760
|
+
/**
|
|
4761
|
+
* Decodes a SourceContext message from the specified reader or buffer, length delimited.
|
|
4762
|
+
* @param reader Reader or buffer to decode from
|
|
4763
|
+
* @returns SourceContext
|
|
4764
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4765
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4766
|
+
*/
|
|
4767
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.SourceContext;
|
|
4768
|
+
|
|
4769
|
+
/**
|
|
4770
|
+
* Verifies a SourceContext message.
|
|
4771
|
+
* @param message Plain object to verify
|
|
4772
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4773
|
+
*/
|
|
4774
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4775
|
+
|
|
4776
|
+
/**
|
|
4777
|
+
* Creates a SourceContext message from a plain object. Also converts values to their respective internal types.
|
|
4778
|
+
* @param object Plain object
|
|
4779
|
+
* @returns SourceContext
|
|
4780
|
+
*/
|
|
4781
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.SourceContext;
|
|
4782
|
+
|
|
4783
|
+
/**
|
|
4784
|
+
* Creates a plain object from a SourceContext message. Also converts values to other types if specified.
|
|
4785
|
+
* @param message SourceContext
|
|
4786
|
+
* @param [options] Conversion options
|
|
4787
|
+
* @returns Plain object
|
|
4788
|
+
*/
|
|
4789
|
+
public static toObject(message: grafeas.v1.SourceContext, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4790
|
+
|
|
4791
|
+
/**
|
|
4792
|
+
* Converts this SourceContext to JSON.
|
|
4793
|
+
* @returns JSON object
|
|
4794
|
+
*/
|
|
4795
|
+
public toJSON(): { [k: string]: any };
|
|
4796
|
+
}
|
|
4797
|
+
|
|
4798
|
+
/** Properties of an AliasContext. */
|
|
4799
|
+
interface IAliasContext {
|
|
4800
|
+
|
|
4801
|
+
/** AliasContext kind */
|
|
4802
|
+
kind?: (grafeas.v1.AliasContext.Kind|keyof typeof grafeas.v1.AliasContext.Kind|null);
|
|
4803
|
+
|
|
4804
|
+
/** AliasContext name */
|
|
4805
|
+
name?: (string|null);
|
|
4806
|
+
}
|
|
4807
|
+
|
|
4808
|
+
/** Represents an AliasContext. */
|
|
4809
|
+
class AliasContext implements IAliasContext {
|
|
4810
|
+
|
|
4811
|
+
/**
|
|
4812
|
+
* Constructs a new AliasContext.
|
|
4813
|
+
* @param [properties] Properties to set
|
|
4814
|
+
*/
|
|
4815
|
+
constructor(properties?: grafeas.v1.IAliasContext);
|
|
4816
|
+
|
|
4817
|
+
/** AliasContext kind. */
|
|
4818
|
+
public kind: (grafeas.v1.AliasContext.Kind|keyof typeof grafeas.v1.AliasContext.Kind);
|
|
4819
|
+
|
|
4820
|
+
/** AliasContext name. */
|
|
4821
|
+
public name: string;
|
|
4822
|
+
|
|
4823
|
+
/**
|
|
4824
|
+
* Creates a new AliasContext instance using the specified properties.
|
|
4825
|
+
* @param [properties] Properties to set
|
|
4826
|
+
* @returns AliasContext instance
|
|
4827
|
+
*/
|
|
4828
|
+
public static create(properties?: grafeas.v1.IAliasContext): grafeas.v1.AliasContext;
|
|
4829
|
+
|
|
4830
|
+
/**
|
|
4831
|
+
* Encodes the specified AliasContext message. Does not implicitly {@link grafeas.v1.AliasContext.verify|verify} messages.
|
|
4832
|
+
* @param message AliasContext message or plain object to encode
|
|
4833
|
+
* @param [writer] Writer to encode to
|
|
4834
|
+
* @returns Writer
|
|
4835
|
+
*/
|
|
4836
|
+
public static encode(message: grafeas.v1.IAliasContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4837
|
+
|
|
4838
|
+
/**
|
|
4839
|
+
* Encodes the specified AliasContext message, length delimited. Does not implicitly {@link grafeas.v1.AliasContext.verify|verify} messages.
|
|
4840
|
+
* @param message AliasContext message or plain object to encode
|
|
4841
|
+
* @param [writer] Writer to encode to
|
|
4842
|
+
* @returns Writer
|
|
4843
|
+
*/
|
|
4844
|
+
public static encodeDelimited(message: grafeas.v1.IAliasContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4845
|
+
|
|
4846
|
+
/**
|
|
4847
|
+
* Decodes an AliasContext message from the specified reader or buffer.
|
|
4848
|
+
* @param reader Reader or buffer to decode from
|
|
4849
|
+
* @param [length] Message length if known beforehand
|
|
4850
|
+
* @returns AliasContext
|
|
4851
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4852
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4853
|
+
*/
|
|
4854
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.AliasContext;
|
|
4855
|
+
|
|
4856
|
+
/**
|
|
4857
|
+
* Decodes an AliasContext message from the specified reader or buffer, length delimited.
|
|
4858
|
+
* @param reader Reader or buffer to decode from
|
|
4859
|
+
* @returns AliasContext
|
|
4860
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4861
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4862
|
+
*/
|
|
4863
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.AliasContext;
|
|
4864
|
+
|
|
4865
|
+
/**
|
|
4866
|
+
* Verifies an AliasContext message.
|
|
4867
|
+
* @param message Plain object to verify
|
|
4868
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4869
|
+
*/
|
|
4870
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4871
|
+
|
|
4872
|
+
/**
|
|
4873
|
+
* Creates an AliasContext message from a plain object. Also converts values to their respective internal types.
|
|
4874
|
+
* @param object Plain object
|
|
4875
|
+
* @returns AliasContext
|
|
4876
|
+
*/
|
|
4877
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.AliasContext;
|
|
4878
|
+
|
|
4879
|
+
/**
|
|
4880
|
+
* Creates a plain object from an AliasContext message. Also converts values to other types if specified.
|
|
4881
|
+
* @param message AliasContext
|
|
4882
|
+
* @param [options] Conversion options
|
|
4883
|
+
* @returns Plain object
|
|
4884
|
+
*/
|
|
4885
|
+
public static toObject(message: grafeas.v1.AliasContext, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4886
|
+
|
|
4887
|
+
/**
|
|
4888
|
+
* Converts this AliasContext to JSON.
|
|
4889
|
+
* @returns JSON object
|
|
4890
|
+
*/
|
|
4891
|
+
public toJSON(): { [k: string]: any };
|
|
4892
|
+
}
|
|
4893
|
+
|
|
4894
|
+
namespace AliasContext {
|
|
4895
|
+
|
|
4896
|
+
/** Kind enum. */
|
|
4897
|
+
enum Kind {
|
|
4898
|
+
KIND_UNSPECIFIED = 0,
|
|
4899
|
+
FIXED = 1,
|
|
4900
|
+
MOVABLE = 2,
|
|
4901
|
+
OTHER = 4
|
|
4902
|
+
}
|
|
4903
|
+
}
|
|
4904
|
+
|
|
4905
|
+
/** Properties of a CloudRepoSourceContext. */
|
|
4906
|
+
interface ICloudRepoSourceContext {
|
|
4907
|
+
|
|
4908
|
+
/** CloudRepoSourceContext repoId */
|
|
4909
|
+
repoId?: (grafeas.v1.IRepoId|null);
|
|
4910
|
+
|
|
4911
|
+
/** CloudRepoSourceContext revisionId */
|
|
4912
|
+
revisionId?: (string|null);
|
|
4913
|
+
|
|
4914
|
+
/** CloudRepoSourceContext aliasContext */
|
|
4915
|
+
aliasContext?: (grafeas.v1.IAliasContext|null);
|
|
4916
|
+
}
|
|
4917
|
+
|
|
4918
|
+
/** Represents a CloudRepoSourceContext. */
|
|
4919
|
+
class CloudRepoSourceContext implements ICloudRepoSourceContext {
|
|
4920
|
+
|
|
4921
|
+
/**
|
|
4922
|
+
* Constructs a new CloudRepoSourceContext.
|
|
4923
|
+
* @param [properties] Properties to set
|
|
4924
|
+
*/
|
|
4925
|
+
constructor(properties?: grafeas.v1.ICloudRepoSourceContext);
|
|
4926
|
+
|
|
4927
|
+
/** CloudRepoSourceContext repoId. */
|
|
4928
|
+
public repoId?: (grafeas.v1.IRepoId|null);
|
|
4929
|
+
|
|
4930
|
+
/** CloudRepoSourceContext revisionId. */
|
|
4931
|
+
public revisionId?: (string|null);
|
|
4932
|
+
|
|
4933
|
+
/** CloudRepoSourceContext aliasContext. */
|
|
4934
|
+
public aliasContext?: (grafeas.v1.IAliasContext|null);
|
|
4935
|
+
|
|
4936
|
+
/** CloudRepoSourceContext revision. */
|
|
4937
|
+
public revision?: ("revisionId"|"aliasContext");
|
|
4938
|
+
|
|
4939
|
+
/**
|
|
4940
|
+
* Creates a new CloudRepoSourceContext instance using the specified properties.
|
|
4941
|
+
* @param [properties] Properties to set
|
|
4942
|
+
* @returns CloudRepoSourceContext instance
|
|
4943
|
+
*/
|
|
4944
|
+
public static create(properties?: grafeas.v1.ICloudRepoSourceContext): grafeas.v1.CloudRepoSourceContext;
|
|
4945
|
+
|
|
4946
|
+
/**
|
|
4947
|
+
* Encodes the specified CloudRepoSourceContext message. Does not implicitly {@link grafeas.v1.CloudRepoSourceContext.verify|verify} messages.
|
|
4948
|
+
* @param message CloudRepoSourceContext message or plain object to encode
|
|
4949
|
+
* @param [writer] Writer to encode to
|
|
4950
|
+
* @returns Writer
|
|
4951
|
+
*/
|
|
4952
|
+
public static encode(message: grafeas.v1.ICloudRepoSourceContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4953
|
+
|
|
4954
|
+
/**
|
|
4955
|
+
* Encodes the specified CloudRepoSourceContext message, length delimited. Does not implicitly {@link grafeas.v1.CloudRepoSourceContext.verify|verify} messages.
|
|
4956
|
+
* @param message CloudRepoSourceContext message or plain object to encode
|
|
4957
|
+
* @param [writer] Writer to encode to
|
|
4958
|
+
* @returns Writer
|
|
4959
|
+
*/
|
|
4960
|
+
public static encodeDelimited(message: grafeas.v1.ICloudRepoSourceContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4961
|
+
|
|
4962
|
+
/**
|
|
4963
|
+
* Decodes a CloudRepoSourceContext message from the specified reader or buffer.
|
|
4964
|
+
* @param reader Reader or buffer to decode from
|
|
4965
|
+
* @param [length] Message length if known beforehand
|
|
4966
|
+
* @returns CloudRepoSourceContext
|
|
4967
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4968
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4969
|
+
*/
|
|
4970
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.CloudRepoSourceContext;
|
|
4971
|
+
|
|
4972
|
+
/**
|
|
4973
|
+
* Decodes a CloudRepoSourceContext message from the specified reader or buffer, length delimited.
|
|
4974
|
+
* @param reader Reader or buffer to decode from
|
|
4975
|
+
* @returns CloudRepoSourceContext
|
|
4976
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4977
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4978
|
+
*/
|
|
3171
4979
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.CloudRepoSourceContext;
|
|
3172
4980
|
|
|
3173
4981
|
/**
|
|
3174
|
-
* Verifies a CloudRepoSourceContext message.
|
|
4982
|
+
* Verifies a CloudRepoSourceContext message.
|
|
4983
|
+
* @param message Plain object to verify
|
|
4984
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4985
|
+
*/
|
|
4986
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4987
|
+
|
|
4988
|
+
/**
|
|
4989
|
+
* Creates a CloudRepoSourceContext message from a plain object. Also converts values to their respective internal types.
|
|
4990
|
+
* @param object Plain object
|
|
4991
|
+
* @returns CloudRepoSourceContext
|
|
4992
|
+
*/
|
|
4993
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.CloudRepoSourceContext;
|
|
4994
|
+
|
|
4995
|
+
/**
|
|
4996
|
+
* Creates a plain object from a CloudRepoSourceContext message. Also converts values to other types if specified.
|
|
4997
|
+
* @param message CloudRepoSourceContext
|
|
4998
|
+
* @param [options] Conversion options
|
|
4999
|
+
* @returns Plain object
|
|
5000
|
+
*/
|
|
5001
|
+
public static toObject(message: grafeas.v1.CloudRepoSourceContext, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5002
|
+
|
|
5003
|
+
/**
|
|
5004
|
+
* Converts this CloudRepoSourceContext to JSON.
|
|
5005
|
+
* @returns JSON object
|
|
5006
|
+
*/
|
|
5007
|
+
public toJSON(): { [k: string]: any };
|
|
5008
|
+
}
|
|
5009
|
+
|
|
5010
|
+
/** Properties of a GerritSourceContext. */
|
|
5011
|
+
interface IGerritSourceContext {
|
|
5012
|
+
|
|
5013
|
+
/** GerritSourceContext hostUri */
|
|
5014
|
+
hostUri?: (string|null);
|
|
5015
|
+
|
|
5016
|
+
/** GerritSourceContext gerritProject */
|
|
5017
|
+
gerritProject?: (string|null);
|
|
5018
|
+
|
|
5019
|
+
/** GerritSourceContext revisionId */
|
|
5020
|
+
revisionId?: (string|null);
|
|
5021
|
+
|
|
5022
|
+
/** GerritSourceContext aliasContext */
|
|
5023
|
+
aliasContext?: (grafeas.v1.IAliasContext|null);
|
|
5024
|
+
}
|
|
5025
|
+
|
|
5026
|
+
/** Represents a GerritSourceContext. */
|
|
5027
|
+
class GerritSourceContext implements IGerritSourceContext {
|
|
5028
|
+
|
|
5029
|
+
/**
|
|
5030
|
+
* Constructs a new GerritSourceContext.
|
|
5031
|
+
* @param [properties] Properties to set
|
|
5032
|
+
*/
|
|
5033
|
+
constructor(properties?: grafeas.v1.IGerritSourceContext);
|
|
5034
|
+
|
|
5035
|
+
/** GerritSourceContext hostUri. */
|
|
5036
|
+
public hostUri: string;
|
|
5037
|
+
|
|
5038
|
+
/** GerritSourceContext gerritProject. */
|
|
5039
|
+
public gerritProject: string;
|
|
5040
|
+
|
|
5041
|
+
/** GerritSourceContext revisionId. */
|
|
5042
|
+
public revisionId?: (string|null);
|
|
5043
|
+
|
|
5044
|
+
/** GerritSourceContext aliasContext. */
|
|
5045
|
+
public aliasContext?: (grafeas.v1.IAliasContext|null);
|
|
5046
|
+
|
|
5047
|
+
/** GerritSourceContext revision. */
|
|
5048
|
+
public revision?: ("revisionId"|"aliasContext");
|
|
5049
|
+
|
|
5050
|
+
/**
|
|
5051
|
+
* Creates a new GerritSourceContext instance using the specified properties.
|
|
5052
|
+
* @param [properties] Properties to set
|
|
5053
|
+
* @returns GerritSourceContext instance
|
|
5054
|
+
*/
|
|
5055
|
+
public static create(properties?: grafeas.v1.IGerritSourceContext): grafeas.v1.GerritSourceContext;
|
|
5056
|
+
|
|
5057
|
+
/**
|
|
5058
|
+
* Encodes the specified GerritSourceContext message. Does not implicitly {@link grafeas.v1.GerritSourceContext.verify|verify} messages.
|
|
5059
|
+
* @param message GerritSourceContext message or plain object to encode
|
|
5060
|
+
* @param [writer] Writer to encode to
|
|
5061
|
+
* @returns Writer
|
|
5062
|
+
*/
|
|
5063
|
+
public static encode(message: grafeas.v1.IGerritSourceContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5064
|
+
|
|
5065
|
+
/**
|
|
5066
|
+
* Encodes the specified GerritSourceContext message, length delimited. Does not implicitly {@link grafeas.v1.GerritSourceContext.verify|verify} messages.
|
|
5067
|
+
* @param message GerritSourceContext message or plain object to encode
|
|
5068
|
+
* @param [writer] Writer to encode to
|
|
5069
|
+
* @returns Writer
|
|
5070
|
+
*/
|
|
5071
|
+
public static encodeDelimited(message: grafeas.v1.IGerritSourceContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5072
|
+
|
|
5073
|
+
/**
|
|
5074
|
+
* Decodes a GerritSourceContext message from the specified reader or buffer.
|
|
5075
|
+
* @param reader Reader or buffer to decode from
|
|
5076
|
+
* @param [length] Message length if known beforehand
|
|
5077
|
+
* @returns GerritSourceContext
|
|
5078
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5079
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5080
|
+
*/
|
|
5081
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.GerritSourceContext;
|
|
5082
|
+
|
|
5083
|
+
/**
|
|
5084
|
+
* Decodes a GerritSourceContext message from the specified reader or buffer, length delimited.
|
|
5085
|
+
* @param reader Reader or buffer to decode from
|
|
5086
|
+
* @returns GerritSourceContext
|
|
5087
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5088
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5089
|
+
*/
|
|
5090
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.GerritSourceContext;
|
|
5091
|
+
|
|
5092
|
+
/**
|
|
5093
|
+
* Verifies a GerritSourceContext message.
|
|
5094
|
+
* @param message Plain object to verify
|
|
5095
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5096
|
+
*/
|
|
5097
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5098
|
+
|
|
5099
|
+
/**
|
|
5100
|
+
* Creates a GerritSourceContext message from a plain object. Also converts values to their respective internal types.
|
|
5101
|
+
* @param object Plain object
|
|
5102
|
+
* @returns GerritSourceContext
|
|
5103
|
+
*/
|
|
5104
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.GerritSourceContext;
|
|
5105
|
+
|
|
5106
|
+
/**
|
|
5107
|
+
* Creates a plain object from a GerritSourceContext message. Also converts values to other types if specified.
|
|
5108
|
+
* @param message GerritSourceContext
|
|
5109
|
+
* @param [options] Conversion options
|
|
5110
|
+
* @returns Plain object
|
|
5111
|
+
*/
|
|
5112
|
+
public static toObject(message: grafeas.v1.GerritSourceContext, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5113
|
+
|
|
5114
|
+
/**
|
|
5115
|
+
* Converts this GerritSourceContext to JSON.
|
|
5116
|
+
* @returns JSON object
|
|
5117
|
+
*/
|
|
5118
|
+
public toJSON(): { [k: string]: any };
|
|
5119
|
+
}
|
|
5120
|
+
|
|
5121
|
+
/** Properties of a GitSourceContext. */
|
|
5122
|
+
interface IGitSourceContext {
|
|
5123
|
+
|
|
5124
|
+
/** GitSourceContext url */
|
|
5125
|
+
url?: (string|null);
|
|
5126
|
+
|
|
5127
|
+
/** GitSourceContext revisionId */
|
|
5128
|
+
revisionId?: (string|null);
|
|
5129
|
+
}
|
|
5130
|
+
|
|
5131
|
+
/** Represents a GitSourceContext. */
|
|
5132
|
+
class GitSourceContext implements IGitSourceContext {
|
|
5133
|
+
|
|
5134
|
+
/**
|
|
5135
|
+
* Constructs a new GitSourceContext.
|
|
5136
|
+
* @param [properties] Properties to set
|
|
5137
|
+
*/
|
|
5138
|
+
constructor(properties?: grafeas.v1.IGitSourceContext);
|
|
5139
|
+
|
|
5140
|
+
/** GitSourceContext url. */
|
|
5141
|
+
public url: string;
|
|
5142
|
+
|
|
5143
|
+
/** GitSourceContext revisionId. */
|
|
5144
|
+
public revisionId: string;
|
|
5145
|
+
|
|
5146
|
+
/**
|
|
5147
|
+
* Creates a new GitSourceContext instance using the specified properties.
|
|
5148
|
+
* @param [properties] Properties to set
|
|
5149
|
+
* @returns GitSourceContext instance
|
|
5150
|
+
*/
|
|
5151
|
+
public static create(properties?: grafeas.v1.IGitSourceContext): grafeas.v1.GitSourceContext;
|
|
5152
|
+
|
|
5153
|
+
/**
|
|
5154
|
+
* Encodes the specified GitSourceContext message. Does not implicitly {@link grafeas.v1.GitSourceContext.verify|verify} messages.
|
|
5155
|
+
* @param message GitSourceContext message or plain object to encode
|
|
5156
|
+
* @param [writer] Writer to encode to
|
|
5157
|
+
* @returns Writer
|
|
5158
|
+
*/
|
|
5159
|
+
public static encode(message: grafeas.v1.IGitSourceContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5160
|
+
|
|
5161
|
+
/**
|
|
5162
|
+
* Encodes the specified GitSourceContext message, length delimited. Does not implicitly {@link grafeas.v1.GitSourceContext.verify|verify} messages.
|
|
5163
|
+
* @param message GitSourceContext message or plain object to encode
|
|
5164
|
+
* @param [writer] Writer to encode to
|
|
5165
|
+
* @returns Writer
|
|
5166
|
+
*/
|
|
5167
|
+
public static encodeDelimited(message: grafeas.v1.IGitSourceContext, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5168
|
+
|
|
5169
|
+
/**
|
|
5170
|
+
* Decodes a GitSourceContext message from the specified reader or buffer.
|
|
5171
|
+
* @param reader Reader or buffer to decode from
|
|
5172
|
+
* @param [length] Message length if known beforehand
|
|
5173
|
+
* @returns GitSourceContext
|
|
5174
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5175
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5176
|
+
*/
|
|
5177
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.GitSourceContext;
|
|
5178
|
+
|
|
5179
|
+
/**
|
|
5180
|
+
* Decodes a GitSourceContext message from the specified reader or buffer, length delimited.
|
|
5181
|
+
* @param reader Reader or buffer to decode from
|
|
5182
|
+
* @returns GitSourceContext
|
|
5183
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5184
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5185
|
+
*/
|
|
5186
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.GitSourceContext;
|
|
5187
|
+
|
|
5188
|
+
/**
|
|
5189
|
+
* Verifies a GitSourceContext message.
|
|
5190
|
+
* @param message Plain object to verify
|
|
5191
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5192
|
+
*/
|
|
5193
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5194
|
+
|
|
5195
|
+
/**
|
|
5196
|
+
* Creates a GitSourceContext message from a plain object. Also converts values to their respective internal types.
|
|
5197
|
+
* @param object Plain object
|
|
5198
|
+
* @returns GitSourceContext
|
|
5199
|
+
*/
|
|
5200
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.GitSourceContext;
|
|
5201
|
+
|
|
5202
|
+
/**
|
|
5203
|
+
* Creates a plain object from a GitSourceContext message. Also converts values to other types if specified.
|
|
5204
|
+
* @param message GitSourceContext
|
|
5205
|
+
* @param [options] Conversion options
|
|
5206
|
+
* @returns Plain object
|
|
5207
|
+
*/
|
|
5208
|
+
public static toObject(message: grafeas.v1.GitSourceContext, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5209
|
+
|
|
5210
|
+
/**
|
|
5211
|
+
* Converts this GitSourceContext to JSON.
|
|
5212
|
+
* @returns JSON object
|
|
5213
|
+
*/
|
|
5214
|
+
public toJSON(): { [k: string]: any };
|
|
5215
|
+
}
|
|
5216
|
+
|
|
5217
|
+
/** Properties of a RepoId. */
|
|
5218
|
+
interface IRepoId {
|
|
5219
|
+
|
|
5220
|
+
/** RepoId projectRepoId */
|
|
5221
|
+
projectRepoId?: (grafeas.v1.IProjectRepoId|null);
|
|
5222
|
+
|
|
5223
|
+
/** RepoId uid */
|
|
5224
|
+
uid?: (string|null);
|
|
5225
|
+
}
|
|
5226
|
+
|
|
5227
|
+
/** Represents a RepoId. */
|
|
5228
|
+
class RepoId implements IRepoId {
|
|
5229
|
+
|
|
5230
|
+
/**
|
|
5231
|
+
* Constructs a new RepoId.
|
|
5232
|
+
* @param [properties] Properties to set
|
|
5233
|
+
*/
|
|
5234
|
+
constructor(properties?: grafeas.v1.IRepoId);
|
|
5235
|
+
|
|
5236
|
+
/** RepoId projectRepoId. */
|
|
5237
|
+
public projectRepoId?: (grafeas.v1.IProjectRepoId|null);
|
|
5238
|
+
|
|
5239
|
+
/** RepoId uid. */
|
|
5240
|
+
public uid?: (string|null);
|
|
5241
|
+
|
|
5242
|
+
/** RepoId id. */
|
|
5243
|
+
public id?: ("projectRepoId"|"uid");
|
|
5244
|
+
|
|
5245
|
+
/**
|
|
5246
|
+
* Creates a new RepoId instance using the specified properties.
|
|
5247
|
+
* @param [properties] Properties to set
|
|
5248
|
+
* @returns RepoId instance
|
|
5249
|
+
*/
|
|
5250
|
+
public static create(properties?: grafeas.v1.IRepoId): grafeas.v1.RepoId;
|
|
5251
|
+
|
|
5252
|
+
/**
|
|
5253
|
+
* Encodes the specified RepoId message. Does not implicitly {@link grafeas.v1.RepoId.verify|verify} messages.
|
|
5254
|
+
* @param message RepoId message or plain object to encode
|
|
5255
|
+
* @param [writer] Writer to encode to
|
|
5256
|
+
* @returns Writer
|
|
5257
|
+
*/
|
|
5258
|
+
public static encode(message: grafeas.v1.IRepoId, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5259
|
+
|
|
5260
|
+
/**
|
|
5261
|
+
* Encodes the specified RepoId message, length delimited. Does not implicitly {@link grafeas.v1.RepoId.verify|verify} messages.
|
|
5262
|
+
* @param message RepoId message or plain object to encode
|
|
5263
|
+
* @param [writer] Writer to encode to
|
|
5264
|
+
* @returns Writer
|
|
5265
|
+
*/
|
|
5266
|
+
public static encodeDelimited(message: grafeas.v1.IRepoId, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5267
|
+
|
|
5268
|
+
/**
|
|
5269
|
+
* Decodes a RepoId message from the specified reader or buffer.
|
|
5270
|
+
* @param reader Reader or buffer to decode from
|
|
5271
|
+
* @param [length] Message length if known beforehand
|
|
5272
|
+
* @returns RepoId
|
|
5273
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5274
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5275
|
+
*/
|
|
5276
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.RepoId;
|
|
5277
|
+
|
|
5278
|
+
/**
|
|
5279
|
+
* Decodes a RepoId message from the specified reader or buffer, length delimited.
|
|
5280
|
+
* @param reader Reader or buffer to decode from
|
|
5281
|
+
* @returns RepoId
|
|
5282
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5283
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5284
|
+
*/
|
|
5285
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.RepoId;
|
|
5286
|
+
|
|
5287
|
+
/**
|
|
5288
|
+
* Verifies a RepoId message.
|
|
5289
|
+
* @param message Plain object to verify
|
|
5290
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5291
|
+
*/
|
|
5292
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5293
|
+
|
|
5294
|
+
/**
|
|
5295
|
+
* Creates a RepoId message from a plain object. Also converts values to their respective internal types.
|
|
5296
|
+
* @param object Plain object
|
|
5297
|
+
* @returns RepoId
|
|
5298
|
+
*/
|
|
5299
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.RepoId;
|
|
5300
|
+
|
|
5301
|
+
/**
|
|
5302
|
+
* Creates a plain object from a RepoId message. Also converts values to other types if specified.
|
|
5303
|
+
* @param message RepoId
|
|
5304
|
+
* @param [options] Conversion options
|
|
5305
|
+
* @returns Plain object
|
|
5306
|
+
*/
|
|
5307
|
+
public static toObject(message: grafeas.v1.RepoId, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5308
|
+
|
|
5309
|
+
/**
|
|
5310
|
+
* Converts this RepoId to JSON.
|
|
5311
|
+
* @returns JSON object
|
|
5312
|
+
*/
|
|
5313
|
+
public toJSON(): { [k: string]: any };
|
|
5314
|
+
}
|
|
5315
|
+
|
|
5316
|
+
/** Properties of a ProjectRepoId. */
|
|
5317
|
+
interface IProjectRepoId {
|
|
5318
|
+
|
|
5319
|
+
/** ProjectRepoId projectId */
|
|
5320
|
+
projectId?: (string|null);
|
|
5321
|
+
|
|
5322
|
+
/** ProjectRepoId repoName */
|
|
5323
|
+
repoName?: (string|null);
|
|
5324
|
+
}
|
|
5325
|
+
|
|
5326
|
+
/** Represents a ProjectRepoId. */
|
|
5327
|
+
class ProjectRepoId implements IProjectRepoId {
|
|
5328
|
+
|
|
5329
|
+
/**
|
|
5330
|
+
* Constructs a new ProjectRepoId.
|
|
5331
|
+
* @param [properties] Properties to set
|
|
5332
|
+
*/
|
|
5333
|
+
constructor(properties?: grafeas.v1.IProjectRepoId);
|
|
5334
|
+
|
|
5335
|
+
/** ProjectRepoId projectId. */
|
|
5336
|
+
public projectId: string;
|
|
5337
|
+
|
|
5338
|
+
/** ProjectRepoId repoName. */
|
|
5339
|
+
public repoName: string;
|
|
5340
|
+
|
|
5341
|
+
/**
|
|
5342
|
+
* Creates a new ProjectRepoId instance using the specified properties.
|
|
5343
|
+
* @param [properties] Properties to set
|
|
5344
|
+
* @returns ProjectRepoId instance
|
|
5345
|
+
*/
|
|
5346
|
+
public static create(properties?: grafeas.v1.IProjectRepoId): grafeas.v1.ProjectRepoId;
|
|
5347
|
+
|
|
5348
|
+
/**
|
|
5349
|
+
* Encodes the specified ProjectRepoId message. Does not implicitly {@link grafeas.v1.ProjectRepoId.verify|verify} messages.
|
|
5350
|
+
* @param message ProjectRepoId message or plain object to encode
|
|
5351
|
+
* @param [writer] Writer to encode to
|
|
5352
|
+
* @returns Writer
|
|
5353
|
+
*/
|
|
5354
|
+
public static encode(message: grafeas.v1.IProjectRepoId, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5355
|
+
|
|
5356
|
+
/**
|
|
5357
|
+
* Encodes the specified ProjectRepoId message, length delimited. Does not implicitly {@link grafeas.v1.ProjectRepoId.verify|verify} messages.
|
|
5358
|
+
* @param message ProjectRepoId message or plain object to encode
|
|
5359
|
+
* @param [writer] Writer to encode to
|
|
5360
|
+
* @returns Writer
|
|
5361
|
+
*/
|
|
5362
|
+
public static encodeDelimited(message: grafeas.v1.IProjectRepoId, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5363
|
+
|
|
5364
|
+
/**
|
|
5365
|
+
* Decodes a ProjectRepoId message from the specified reader or buffer.
|
|
5366
|
+
* @param reader Reader or buffer to decode from
|
|
5367
|
+
* @param [length] Message length if known beforehand
|
|
5368
|
+
* @returns ProjectRepoId
|
|
5369
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5370
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5371
|
+
*/
|
|
5372
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.ProjectRepoId;
|
|
5373
|
+
|
|
5374
|
+
/**
|
|
5375
|
+
* Decodes a ProjectRepoId message from the specified reader or buffer, length delimited.
|
|
5376
|
+
* @param reader Reader or buffer to decode from
|
|
5377
|
+
* @returns ProjectRepoId
|
|
5378
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5379
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5380
|
+
*/
|
|
5381
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.ProjectRepoId;
|
|
5382
|
+
|
|
5383
|
+
/**
|
|
5384
|
+
* Verifies a ProjectRepoId message.
|
|
3175
5385
|
* @param message Plain object to verify
|
|
3176
5386
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
3177
5387
|
*/
|
|
3178
5388
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
3179
5389
|
|
|
3180
5390
|
/**
|
|
3181
|
-
* Creates a
|
|
5391
|
+
* Creates a ProjectRepoId message from a plain object. Also converts values to their respective internal types.
|
|
3182
5392
|
* @param object Plain object
|
|
3183
|
-
* @returns
|
|
5393
|
+
* @returns ProjectRepoId
|
|
3184
5394
|
*/
|
|
3185
|
-
public static fromObject(object: { [k: string]: any }): grafeas.v1.
|
|
5395
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.ProjectRepoId;
|
|
3186
5396
|
|
|
3187
5397
|
/**
|
|
3188
|
-
* Creates a plain object from a
|
|
3189
|
-
* @param message
|
|
5398
|
+
* Creates a plain object from a ProjectRepoId message. Also converts values to other types if specified.
|
|
5399
|
+
* @param message ProjectRepoId
|
|
3190
5400
|
* @param [options] Conversion options
|
|
3191
5401
|
* @returns Plain object
|
|
3192
5402
|
*/
|
|
3193
|
-
public static toObject(message: grafeas.v1.
|
|
5403
|
+
public static toObject(message: grafeas.v1.ProjectRepoId, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3194
5404
|
|
|
3195
5405
|
/**
|
|
3196
|
-
* Converts this
|
|
5406
|
+
* Converts this ProjectRepoId to JSON.
|
|
3197
5407
|
* @returns JSON object
|
|
3198
5408
|
*/
|
|
3199
5409
|
public toJSON(): { [k: string]: any };
|
|
3200
5410
|
}
|
|
3201
5411
|
|
|
3202
|
-
/** Properties of a
|
|
3203
|
-
interface
|
|
5412
|
+
/** Properties of a ComplianceNote. */
|
|
5413
|
+
interface IComplianceNote {
|
|
3204
5414
|
|
|
3205
|
-
/**
|
|
3206
|
-
|
|
5415
|
+
/** ComplianceNote title */
|
|
5416
|
+
title?: (string|null);
|
|
3207
5417
|
|
|
3208
|
-
/**
|
|
3209
|
-
|
|
5418
|
+
/** ComplianceNote description */
|
|
5419
|
+
description?: (string|null);
|
|
3210
5420
|
|
|
3211
|
-
/**
|
|
3212
|
-
|
|
5421
|
+
/** ComplianceNote version */
|
|
5422
|
+
version?: (grafeas.v1.IComplianceVersion[]|null);
|
|
3213
5423
|
|
|
3214
|
-
/**
|
|
3215
|
-
|
|
5424
|
+
/** ComplianceNote rationale */
|
|
5425
|
+
rationale?: (string|null);
|
|
5426
|
+
|
|
5427
|
+
/** ComplianceNote remediation */
|
|
5428
|
+
remediation?: (string|null);
|
|
5429
|
+
|
|
5430
|
+
/** ComplianceNote cisBenchmark */
|
|
5431
|
+
cisBenchmark?: (grafeas.v1.ComplianceNote.ICisBenchmark|null);
|
|
5432
|
+
|
|
5433
|
+
/** ComplianceNote scanInstructions */
|
|
5434
|
+
scanInstructions?: (Uint8Array|string|null);
|
|
3216
5435
|
}
|
|
3217
5436
|
|
|
3218
|
-
/** Represents a
|
|
3219
|
-
class
|
|
5437
|
+
/** Represents a ComplianceNote. */
|
|
5438
|
+
class ComplianceNote implements IComplianceNote {
|
|
3220
5439
|
|
|
3221
5440
|
/**
|
|
3222
|
-
* Constructs a new
|
|
5441
|
+
* Constructs a new ComplianceNote.
|
|
3223
5442
|
* @param [properties] Properties to set
|
|
3224
5443
|
*/
|
|
3225
|
-
constructor(properties?: grafeas.v1.
|
|
5444
|
+
constructor(properties?: grafeas.v1.IComplianceNote);
|
|
3226
5445
|
|
|
3227
|
-
/**
|
|
3228
|
-
public
|
|
5446
|
+
/** ComplianceNote title. */
|
|
5447
|
+
public title: string;
|
|
3229
5448
|
|
|
3230
|
-
/**
|
|
3231
|
-
public
|
|
5449
|
+
/** ComplianceNote description. */
|
|
5450
|
+
public description: string;
|
|
3232
5451
|
|
|
3233
|
-
/**
|
|
3234
|
-
public
|
|
5452
|
+
/** ComplianceNote version. */
|
|
5453
|
+
public version: grafeas.v1.IComplianceVersion[];
|
|
3235
5454
|
|
|
3236
|
-
/**
|
|
3237
|
-
public
|
|
5455
|
+
/** ComplianceNote rationale. */
|
|
5456
|
+
public rationale: string;
|
|
3238
5457
|
|
|
3239
|
-
/**
|
|
3240
|
-
public
|
|
5458
|
+
/** ComplianceNote remediation. */
|
|
5459
|
+
public remediation: string;
|
|
5460
|
+
|
|
5461
|
+
/** ComplianceNote cisBenchmark. */
|
|
5462
|
+
public cisBenchmark?: (grafeas.v1.ComplianceNote.ICisBenchmark|null);
|
|
5463
|
+
|
|
5464
|
+
/** ComplianceNote scanInstructions. */
|
|
5465
|
+
public scanInstructions: (Uint8Array|string);
|
|
5466
|
+
|
|
5467
|
+
/** ComplianceNote complianceType. */
|
|
5468
|
+
public complianceType?: "cisBenchmark";
|
|
3241
5469
|
|
|
3242
5470
|
/**
|
|
3243
|
-
* Creates a new
|
|
5471
|
+
* Creates a new ComplianceNote instance using the specified properties.
|
|
3244
5472
|
* @param [properties] Properties to set
|
|
3245
|
-
* @returns
|
|
5473
|
+
* @returns ComplianceNote instance
|
|
3246
5474
|
*/
|
|
3247
|
-
public static create(properties?: grafeas.v1.
|
|
5475
|
+
public static create(properties?: grafeas.v1.IComplianceNote): grafeas.v1.ComplianceNote;
|
|
3248
5476
|
|
|
3249
5477
|
/**
|
|
3250
|
-
* Encodes the specified
|
|
3251
|
-
* @param message
|
|
5478
|
+
* Encodes the specified ComplianceNote message. Does not implicitly {@link grafeas.v1.ComplianceNote.verify|verify} messages.
|
|
5479
|
+
* @param message ComplianceNote message or plain object to encode
|
|
3252
5480
|
* @param [writer] Writer to encode to
|
|
3253
5481
|
* @returns Writer
|
|
3254
5482
|
*/
|
|
3255
|
-
public static encode(message: grafeas.v1.
|
|
5483
|
+
public static encode(message: grafeas.v1.IComplianceNote, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3256
5484
|
|
|
3257
5485
|
/**
|
|
3258
|
-
* Encodes the specified
|
|
3259
|
-
* @param message
|
|
5486
|
+
* Encodes the specified ComplianceNote message, length delimited. Does not implicitly {@link grafeas.v1.ComplianceNote.verify|verify} messages.
|
|
5487
|
+
* @param message ComplianceNote message or plain object to encode
|
|
3260
5488
|
* @param [writer] Writer to encode to
|
|
3261
5489
|
* @returns Writer
|
|
3262
5490
|
*/
|
|
3263
|
-
public static encodeDelimited(message: grafeas.v1.
|
|
5491
|
+
public static encodeDelimited(message: grafeas.v1.IComplianceNote, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3264
5492
|
|
|
3265
5493
|
/**
|
|
3266
|
-
* Decodes a
|
|
5494
|
+
* Decodes a ComplianceNote message from the specified reader or buffer.
|
|
3267
5495
|
* @param reader Reader or buffer to decode from
|
|
3268
5496
|
* @param [length] Message length if known beforehand
|
|
3269
|
-
* @returns
|
|
5497
|
+
* @returns ComplianceNote
|
|
3270
5498
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3271
5499
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3272
5500
|
*/
|
|
3273
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.
|
|
5501
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.ComplianceNote;
|
|
3274
5502
|
|
|
3275
5503
|
/**
|
|
3276
|
-
* Decodes a
|
|
5504
|
+
* Decodes a ComplianceNote message from the specified reader or buffer, length delimited.
|
|
3277
5505
|
* @param reader Reader or buffer to decode from
|
|
3278
|
-
* @returns
|
|
5506
|
+
* @returns ComplianceNote
|
|
3279
5507
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3280
5508
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3281
5509
|
*/
|
|
3282
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.
|
|
5510
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.ComplianceNote;
|
|
3283
5511
|
|
|
3284
5512
|
/**
|
|
3285
|
-
* Verifies a
|
|
5513
|
+
* Verifies a ComplianceNote message.
|
|
3286
5514
|
* @param message Plain object to verify
|
|
3287
5515
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
3288
5516
|
*/
|
|
3289
5517
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
3290
5518
|
|
|
3291
5519
|
/**
|
|
3292
|
-
* Creates a
|
|
5520
|
+
* Creates a ComplianceNote message from a plain object. Also converts values to their respective internal types.
|
|
3293
5521
|
* @param object Plain object
|
|
3294
|
-
* @returns
|
|
5522
|
+
* @returns ComplianceNote
|
|
3295
5523
|
*/
|
|
3296
|
-
public static fromObject(object: { [k: string]: any }): grafeas.v1.
|
|
5524
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.ComplianceNote;
|
|
3297
5525
|
|
|
3298
5526
|
/**
|
|
3299
|
-
* Creates a plain object from a
|
|
3300
|
-
* @param message
|
|
5527
|
+
* Creates a plain object from a ComplianceNote message. Also converts values to other types if specified.
|
|
5528
|
+
* @param message ComplianceNote
|
|
3301
5529
|
* @param [options] Conversion options
|
|
3302
5530
|
* @returns Plain object
|
|
3303
5531
|
*/
|
|
3304
|
-
public static toObject(message: grafeas.v1.
|
|
5532
|
+
public static toObject(message: grafeas.v1.ComplianceNote, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3305
5533
|
|
|
3306
5534
|
/**
|
|
3307
|
-
* Converts this
|
|
5535
|
+
* Converts this ComplianceNote to JSON.
|
|
3308
5536
|
* @returns JSON object
|
|
3309
5537
|
*/
|
|
3310
5538
|
public toJSON(): { [k: string]: any };
|
|
3311
5539
|
}
|
|
3312
5540
|
|
|
3313
|
-
|
|
3314
|
-
interface IGitSourceContext {
|
|
5541
|
+
namespace ComplianceNote {
|
|
3315
5542
|
|
|
3316
|
-
/**
|
|
3317
|
-
|
|
5543
|
+
/** Properties of a CisBenchmark. */
|
|
5544
|
+
interface ICisBenchmark {
|
|
3318
5545
|
|
|
3319
|
-
|
|
3320
|
-
|
|
5546
|
+
/** CisBenchmark profileLevel */
|
|
5547
|
+
profileLevel?: (number|null);
|
|
5548
|
+
|
|
5549
|
+
/** CisBenchmark severity */
|
|
5550
|
+
severity?: (grafeas.v1.Severity|keyof typeof grafeas.v1.Severity|null);
|
|
5551
|
+
}
|
|
5552
|
+
|
|
5553
|
+
/** Represents a CisBenchmark. */
|
|
5554
|
+
class CisBenchmark implements ICisBenchmark {
|
|
5555
|
+
|
|
5556
|
+
/**
|
|
5557
|
+
* Constructs a new CisBenchmark.
|
|
5558
|
+
* @param [properties] Properties to set
|
|
5559
|
+
*/
|
|
5560
|
+
constructor(properties?: grafeas.v1.ComplianceNote.ICisBenchmark);
|
|
5561
|
+
|
|
5562
|
+
/** CisBenchmark profileLevel. */
|
|
5563
|
+
public profileLevel: number;
|
|
5564
|
+
|
|
5565
|
+
/** CisBenchmark severity. */
|
|
5566
|
+
public severity: (grafeas.v1.Severity|keyof typeof grafeas.v1.Severity);
|
|
5567
|
+
|
|
5568
|
+
/**
|
|
5569
|
+
* Creates a new CisBenchmark instance using the specified properties.
|
|
5570
|
+
* @param [properties] Properties to set
|
|
5571
|
+
* @returns CisBenchmark instance
|
|
5572
|
+
*/
|
|
5573
|
+
public static create(properties?: grafeas.v1.ComplianceNote.ICisBenchmark): grafeas.v1.ComplianceNote.CisBenchmark;
|
|
5574
|
+
|
|
5575
|
+
/**
|
|
5576
|
+
* Encodes the specified CisBenchmark message. Does not implicitly {@link grafeas.v1.ComplianceNote.CisBenchmark.verify|verify} messages.
|
|
5577
|
+
* @param message CisBenchmark message or plain object to encode
|
|
5578
|
+
* @param [writer] Writer to encode to
|
|
5579
|
+
* @returns Writer
|
|
5580
|
+
*/
|
|
5581
|
+
public static encode(message: grafeas.v1.ComplianceNote.ICisBenchmark, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5582
|
+
|
|
5583
|
+
/**
|
|
5584
|
+
* Encodes the specified CisBenchmark message, length delimited. Does not implicitly {@link grafeas.v1.ComplianceNote.CisBenchmark.verify|verify} messages.
|
|
5585
|
+
* @param message CisBenchmark message or plain object to encode
|
|
5586
|
+
* @param [writer] Writer to encode to
|
|
5587
|
+
* @returns Writer
|
|
5588
|
+
*/
|
|
5589
|
+
public static encodeDelimited(message: grafeas.v1.ComplianceNote.ICisBenchmark, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5590
|
+
|
|
5591
|
+
/**
|
|
5592
|
+
* Decodes a CisBenchmark message from the specified reader or buffer.
|
|
5593
|
+
* @param reader Reader or buffer to decode from
|
|
5594
|
+
* @param [length] Message length if known beforehand
|
|
5595
|
+
* @returns CisBenchmark
|
|
5596
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5597
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5598
|
+
*/
|
|
5599
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.ComplianceNote.CisBenchmark;
|
|
5600
|
+
|
|
5601
|
+
/**
|
|
5602
|
+
* Decodes a CisBenchmark message from the specified reader or buffer, length delimited.
|
|
5603
|
+
* @param reader Reader or buffer to decode from
|
|
5604
|
+
* @returns CisBenchmark
|
|
5605
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5606
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5607
|
+
*/
|
|
5608
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.ComplianceNote.CisBenchmark;
|
|
5609
|
+
|
|
5610
|
+
/**
|
|
5611
|
+
* Verifies a CisBenchmark message.
|
|
5612
|
+
* @param message Plain object to verify
|
|
5613
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5614
|
+
*/
|
|
5615
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5616
|
+
|
|
5617
|
+
/**
|
|
5618
|
+
* Creates a CisBenchmark message from a plain object. Also converts values to their respective internal types.
|
|
5619
|
+
* @param object Plain object
|
|
5620
|
+
* @returns CisBenchmark
|
|
5621
|
+
*/
|
|
5622
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.ComplianceNote.CisBenchmark;
|
|
5623
|
+
|
|
5624
|
+
/**
|
|
5625
|
+
* Creates a plain object from a CisBenchmark message. Also converts values to other types if specified.
|
|
5626
|
+
* @param message CisBenchmark
|
|
5627
|
+
* @param [options] Conversion options
|
|
5628
|
+
* @returns Plain object
|
|
5629
|
+
*/
|
|
5630
|
+
public static toObject(message: grafeas.v1.ComplianceNote.CisBenchmark, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5631
|
+
|
|
5632
|
+
/**
|
|
5633
|
+
* Converts this CisBenchmark to JSON.
|
|
5634
|
+
* @returns JSON object
|
|
5635
|
+
*/
|
|
5636
|
+
public toJSON(): { [k: string]: any };
|
|
5637
|
+
}
|
|
3321
5638
|
}
|
|
3322
5639
|
|
|
3323
|
-
/**
|
|
3324
|
-
|
|
5640
|
+
/** Properties of a ComplianceVersion. */
|
|
5641
|
+
interface IComplianceVersion {
|
|
5642
|
+
|
|
5643
|
+
/** ComplianceVersion cpeUri */
|
|
5644
|
+
cpeUri?: (string|null);
|
|
5645
|
+
|
|
5646
|
+
/** ComplianceVersion version */
|
|
5647
|
+
version?: (string|null);
|
|
5648
|
+
}
|
|
5649
|
+
|
|
5650
|
+
/** Represents a ComplianceVersion. */
|
|
5651
|
+
class ComplianceVersion implements IComplianceVersion {
|
|
3325
5652
|
|
|
3326
5653
|
/**
|
|
3327
|
-
* Constructs a new
|
|
5654
|
+
* Constructs a new ComplianceVersion.
|
|
3328
5655
|
* @param [properties] Properties to set
|
|
3329
5656
|
*/
|
|
3330
|
-
constructor(properties?: grafeas.v1.
|
|
5657
|
+
constructor(properties?: grafeas.v1.IComplianceVersion);
|
|
3331
5658
|
|
|
3332
|
-
/**
|
|
3333
|
-
public
|
|
5659
|
+
/** ComplianceVersion cpeUri. */
|
|
5660
|
+
public cpeUri: string;
|
|
3334
5661
|
|
|
3335
|
-
/**
|
|
3336
|
-
public
|
|
5662
|
+
/** ComplianceVersion version. */
|
|
5663
|
+
public version: string;
|
|
3337
5664
|
|
|
3338
5665
|
/**
|
|
3339
|
-
* Creates a new
|
|
5666
|
+
* Creates a new ComplianceVersion instance using the specified properties.
|
|
3340
5667
|
* @param [properties] Properties to set
|
|
3341
|
-
* @returns
|
|
5668
|
+
* @returns ComplianceVersion instance
|
|
3342
5669
|
*/
|
|
3343
|
-
public static create(properties?: grafeas.v1.
|
|
5670
|
+
public static create(properties?: grafeas.v1.IComplianceVersion): grafeas.v1.ComplianceVersion;
|
|
3344
5671
|
|
|
3345
5672
|
/**
|
|
3346
|
-
* Encodes the specified
|
|
3347
|
-
* @param message
|
|
5673
|
+
* Encodes the specified ComplianceVersion message. Does not implicitly {@link grafeas.v1.ComplianceVersion.verify|verify} messages.
|
|
5674
|
+
* @param message ComplianceVersion message or plain object to encode
|
|
3348
5675
|
* @param [writer] Writer to encode to
|
|
3349
5676
|
* @returns Writer
|
|
3350
5677
|
*/
|
|
3351
|
-
public static encode(message: grafeas.v1.
|
|
5678
|
+
public static encode(message: grafeas.v1.IComplianceVersion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3352
5679
|
|
|
3353
5680
|
/**
|
|
3354
|
-
* Encodes the specified
|
|
3355
|
-
* @param message
|
|
5681
|
+
* Encodes the specified ComplianceVersion message, length delimited. Does not implicitly {@link grafeas.v1.ComplianceVersion.verify|verify} messages.
|
|
5682
|
+
* @param message ComplianceVersion message or plain object to encode
|
|
3356
5683
|
* @param [writer] Writer to encode to
|
|
3357
5684
|
* @returns Writer
|
|
3358
5685
|
*/
|
|
3359
|
-
public static encodeDelimited(message: grafeas.v1.
|
|
5686
|
+
public static encodeDelimited(message: grafeas.v1.IComplianceVersion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3360
5687
|
|
|
3361
5688
|
/**
|
|
3362
|
-
* Decodes a
|
|
5689
|
+
* Decodes a ComplianceVersion message from the specified reader or buffer.
|
|
3363
5690
|
* @param reader Reader or buffer to decode from
|
|
3364
5691
|
* @param [length] Message length if known beforehand
|
|
3365
|
-
* @returns
|
|
5692
|
+
* @returns ComplianceVersion
|
|
3366
5693
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3367
5694
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3368
5695
|
*/
|
|
3369
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.
|
|
5696
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.ComplianceVersion;
|
|
3370
5697
|
|
|
3371
5698
|
/**
|
|
3372
|
-
* Decodes a
|
|
5699
|
+
* Decodes a ComplianceVersion message from the specified reader or buffer, length delimited.
|
|
3373
5700
|
* @param reader Reader or buffer to decode from
|
|
3374
|
-
* @returns
|
|
5701
|
+
* @returns ComplianceVersion
|
|
3375
5702
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3376
5703
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3377
5704
|
*/
|
|
3378
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.
|
|
5705
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.ComplianceVersion;
|
|
3379
5706
|
|
|
3380
5707
|
/**
|
|
3381
|
-
* Verifies a
|
|
5708
|
+
* Verifies a ComplianceVersion message.
|
|
3382
5709
|
* @param message Plain object to verify
|
|
3383
5710
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
3384
5711
|
*/
|
|
3385
5712
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
3386
5713
|
|
|
3387
5714
|
/**
|
|
3388
|
-
* Creates a
|
|
5715
|
+
* Creates a ComplianceVersion message from a plain object. Also converts values to their respective internal types.
|
|
3389
5716
|
* @param object Plain object
|
|
3390
|
-
* @returns
|
|
5717
|
+
* @returns ComplianceVersion
|
|
3391
5718
|
*/
|
|
3392
|
-
public static fromObject(object: { [k: string]: any }): grafeas.v1.
|
|
5719
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.ComplianceVersion;
|
|
3393
5720
|
|
|
3394
5721
|
/**
|
|
3395
|
-
* Creates a plain object from a
|
|
3396
|
-
* @param message
|
|
5722
|
+
* Creates a plain object from a ComplianceVersion message. Also converts values to other types if specified.
|
|
5723
|
+
* @param message ComplianceVersion
|
|
3397
5724
|
* @param [options] Conversion options
|
|
3398
5725
|
* @returns Plain object
|
|
3399
5726
|
*/
|
|
3400
|
-
public static toObject(message: grafeas.v1.
|
|
5727
|
+
public static toObject(message: grafeas.v1.ComplianceVersion, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3401
5728
|
|
|
3402
5729
|
/**
|
|
3403
|
-
* Converts this
|
|
5730
|
+
* Converts this ComplianceVersion to JSON.
|
|
3404
5731
|
* @returns JSON object
|
|
3405
5732
|
*/
|
|
3406
5733
|
public toJSON(): { [k: string]: any };
|
|
3407
5734
|
}
|
|
3408
5735
|
|
|
3409
|
-
/** Properties of a
|
|
3410
|
-
interface
|
|
5736
|
+
/** Properties of a ComplianceOccurrence. */
|
|
5737
|
+
interface IComplianceOccurrence {
|
|
3411
5738
|
|
|
3412
|
-
/**
|
|
3413
|
-
|
|
5739
|
+
/** ComplianceOccurrence nonCompliantFiles */
|
|
5740
|
+
nonCompliantFiles?: (grafeas.v1.INonCompliantFile[]|null);
|
|
3414
5741
|
|
|
3415
|
-
/**
|
|
3416
|
-
|
|
5742
|
+
/** ComplianceOccurrence nonComplianceReason */
|
|
5743
|
+
nonComplianceReason?: (string|null);
|
|
3417
5744
|
}
|
|
3418
5745
|
|
|
3419
|
-
/** Represents a
|
|
3420
|
-
class
|
|
5746
|
+
/** Represents a ComplianceOccurrence. */
|
|
5747
|
+
class ComplianceOccurrence implements IComplianceOccurrence {
|
|
3421
5748
|
|
|
3422
5749
|
/**
|
|
3423
|
-
* Constructs a new
|
|
5750
|
+
* Constructs a new ComplianceOccurrence.
|
|
3424
5751
|
* @param [properties] Properties to set
|
|
3425
5752
|
*/
|
|
3426
|
-
constructor(properties?: grafeas.v1.
|
|
3427
|
-
|
|
3428
|
-
/** RepoId projectRepoId. */
|
|
3429
|
-
public projectRepoId?: (grafeas.v1.IProjectRepoId|null);
|
|
5753
|
+
constructor(properties?: grafeas.v1.IComplianceOccurrence);
|
|
3430
5754
|
|
|
3431
|
-
/**
|
|
3432
|
-
public
|
|
5755
|
+
/** ComplianceOccurrence nonCompliantFiles. */
|
|
5756
|
+
public nonCompliantFiles: grafeas.v1.INonCompliantFile[];
|
|
3433
5757
|
|
|
3434
|
-
/**
|
|
3435
|
-
public
|
|
5758
|
+
/** ComplianceOccurrence nonComplianceReason. */
|
|
5759
|
+
public nonComplianceReason: string;
|
|
3436
5760
|
|
|
3437
5761
|
/**
|
|
3438
|
-
* Creates a new
|
|
5762
|
+
* Creates a new ComplianceOccurrence instance using the specified properties.
|
|
3439
5763
|
* @param [properties] Properties to set
|
|
3440
|
-
* @returns
|
|
5764
|
+
* @returns ComplianceOccurrence instance
|
|
3441
5765
|
*/
|
|
3442
|
-
public static create(properties?: grafeas.v1.
|
|
5766
|
+
public static create(properties?: grafeas.v1.IComplianceOccurrence): grafeas.v1.ComplianceOccurrence;
|
|
3443
5767
|
|
|
3444
5768
|
/**
|
|
3445
|
-
* Encodes the specified
|
|
3446
|
-
* @param message
|
|
5769
|
+
* Encodes the specified ComplianceOccurrence message. Does not implicitly {@link grafeas.v1.ComplianceOccurrence.verify|verify} messages.
|
|
5770
|
+
* @param message ComplianceOccurrence message or plain object to encode
|
|
3447
5771
|
* @param [writer] Writer to encode to
|
|
3448
5772
|
* @returns Writer
|
|
3449
5773
|
*/
|
|
3450
|
-
public static encode(message: grafeas.v1.
|
|
5774
|
+
public static encode(message: grafeas.v1.IComplianceOccurrence, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3451
5775
|
|
|
3452
5776
|
/**
|
|
3453
|
-
* Encodes the specified
|
|
3454
|
-
* @param message
|
|
5777
|
+
* Encodes the specified ComplianceOccurrence message, length delimited. Does not implicitly {@link grafeas.v1.ComplianceOccurrence.verify|verify} messages.
|
|
5778
|
+
* @param message ComplianceOccurrence message or plain object to encode
|
|
3455
5779
|
* @param [writer] Writer to encode to
|
|
3456
5780
|
* @returns Writer
|
|
3457
5781
|
*/
|
|
3458
|
-
public static encodeDelimited(message: grafeas.v1.
|
|
5782
|
+
public static encodeDelimited(message: grafeas.v1.IComplianceOccurrence, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3459
5783
|
|
|
3460
5784
|
/**
|
|
3461
|
-
* Decodes a
|
|
5785
|
+
* Decodes a ComplianceOccurrence message from the specified reader or buffer.
|
|
3462
5786
|
* @param reader Reader or buffer to decode from
|
|
3463
5787
|
* @param [length] Message length if known beforehand
|
|
3464
|
-
* @returns
|
|
5788
|
+
* @returns ComplianceOccurrence
|
|
3465
5789
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3466
5790
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3467
5791
|
*/
|
|
3468
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.
|
|
5792
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.ComplianceOccurrence;
|
|
3469
5793
|
|
|
3470
5794
|
/**
|
|
3471
|
-
* Decodes a
|
|
5795
|
+
* Decodes a ComplianceOccurrence message from the specified reader or buffer, length delimited.
|
|
3472
5796
|
* @param reader Reader or buffer to decode from
|
|
3473
|
-
* @returns
|
|
5797
|
+
* @returns ComplianceOccurrence
|
|
3474
5798
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3475
5799
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3476
5800
|
*/
|
|
3477
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.
|
|
5801
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.ComplianceOccurrence;
|
|
3478
5802
|
|
|
3479
5803
|
/**
|
|
3480
|
-
* Verifies a
|
|
5804
|
+
* Verifies a ComplianceOccurrence message.
|
|
3481
5805
|
* @param message Plain object to verify
|
|
3482
5806
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
3483
5807
|
*/
|
|
3484
5808
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
3485
5809
|
|
|
3486
5810
|
/**
|
|
3487
|
-
* Creates a
|
|
5811
|
+
* Creates a ComplianceOccurrence message from a plain object. Also converts values to their respective internal types.
|
|
3488
5812
|
* @param object Plain object
|
|
3489
|
-
* @returns
|
|
5813
|
+
* @returns ComplianceOccurrence
|
|
3490
5814
|
*/
|
|
3491
|
-
public static fromObject(object: { [k: string]: any }): grafeas.v1.
|
|
5815
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.ComplianceOccurrence;
|
|
3492
5816
|
|
|
3493
5817
|
/**
|
|
3494
|
-
* Creates a plain object from a
|
|
3495
|
-
* @param message
|
|
5818
|
+
* Creates a plain object from a ComplianceOccurrence message. Also converts values to other types if specified.
|
|
5819
|
+
* @param message ComplianceOccurrence
|
|
3496
5820
|
* @param [options] Conversion options
|
|
3497
5821
|
* @returns Plain object
|
|
3498
5822
|
*/
|
|
3499
|
-
public static toObject(message: grafeas.v1.
|
|
5823
|
+
public static toObject(message: grafeas.v1.ComplianceOccurrence, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3500
5824
|
|
|
3501
5825
|
/**
|
|
3502
|
-
* Converts this
|
|
5826
|
+
* Converts this ComplianceOccurrence to JSON.
|
|
3503
5827
|
* @returns JSON object
|
|
3504
5828
|
*/
|
|
3505
5829
|
public toJSON(): { [k: string]: any };
|
|
3506
5830
|
}
|
|
3507
5831
|
|
|
3508
|
-
/** Properties of a
|
|
3509
|
-
interface
|
|
5832
|
+
/** Properties of a NonCompliantFile. */
|
|
5833
|
+
interface INonCompliantFile {
|
|
3510
5834
|
|
|
3511
|
-
/**
|
|
3512
|
-
|
|
5835
|
+
/** NonCompliantFile path */
|
|
5836
|
+
path?: (string|null);
|
|
3513
5837
|
|
|
3514
|
-
/**
|
|
3515
|
-
|
|
5838
|
+
/** NonCompliantFile displayCommand */
|
|
5839
|
+
displayCommand?: (string|null);
|
|
5840
|
+
|
|
5841
|
+
/** NonCompliantFile reason */
|
|
5842
|
+
reason?: (string|null);
|
|
3516
5843
|
}
|
|
3517
5844
|
|
|
3518
|
-
/** Represents a
|
|
3519
|
-
class
|
|
5845
|
+
/** Represents a NonCompliantFile. */
|
|
5846
|
+
class NonCompliantFile implements INonCompliantFile {
|
|
3520
5847
|
|
|
3521
5848
|
/**
|
|
3522
|
-
* Constructs a new
|
|
5849
|
+
* Constructs a new NonCompliantFile.
|
|
3523
5850
|
* @param [properties] Properties to set
|
|
3524
5851
|
*/
|
|
3525
|
-
constructor(properties?: grafeas.v1.
|
|
5852
|
+
constructor(properties?: grafeas.v1.INonCompliantFile);
|
|
3526
5853
|
|
|
3527
|
-
/**
|
|
3528
|
-
public
|
|
5854
|
+
/** NonCompliantFile path. */
|
|
5855
|
+
public path: string;
|
|
3529
5856
|
|
|
3530
|
-
/**
|
|
3531
|
-
public
|
|
5857
|
+
/** NonCompliantFile displayCommand. */
|
|
5858
|
+
public displayCommand: string;
|
|
5859
|
+
|
|
5860
|
+
/** NonCompliantFile reason. */
|
|
5861
|
+
public reason: string;
|
|
3532
5862
|
|
|
3533
5863
|
/**
|
|
3534
|
-
* Creates a new
|
|
5864
|
+
* Creates a new NonCompliantFile instance using the specified properties.
|
|
3535
5865
|
* @param [properties] Properties to set
|
|
3536
|
-
* @returns
|
|
5866
|
+
* @returns NonCompliantFile instance
|
|
3537
5867
|
*/
|
|
3538
|
-
public static create(properties?: grafeas.v1.
|
|
5868
|
+
public static create(properties?: grafeas.v1.INonCompliantFile): grafeas.v1.NonCompliantFile;
|
|
3539
5869
|
|
|
3540
5870
|
/**
|
|
3541
|
-
* Encodes the specified
|
|
3542
|
-
* @param message
|
|
5871
|
+
* Encodes the specified NonCompliantFile message. Does not implicitly {@link grafeas.v1.NonCompliantFile.verify|verify} messages.
|
|
5872
|
+
* @param message NonCompliantFile message or plain object to encode
|
|
3543
5873
|
* @param [writer] Writer to encode to
|
|
3544
5874
|
* @returns Writer
|
|
3545
5875
|
*/
|
|
3546
|
-
public static encode(message: grafeas.v1.
|
|
5876
|
+
public static encode(message: grafeas.v1.INonCompliantFile, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3547
5877
|
|
|
3548
5878
|
/**
|
|
3549
|
-
* Encodes the specified
|
|
3550
|
-
* @param message
|
|
5879
|
+
* Encodes the specified NonCompliantFile message, length delimited. Does not implicitly {@link grafeas.v1.NonCompliantFile.verify|verify} messages.
|
|
5880
|
+
* @param message NonCompliantFile message or plain object to encode
|
|
3551
5881
|
* @param [writer] Writer to encode to
|
|
3552
5882
|
* @returns Writer
|
|
3553
5883
|
*/
|
|
3554
|
-
public static encodeDelimited(message: grafeas.v1.
|
|
5884
|
+
public static encodeDelimited(message: grafeas.v1.INonCompliantFile, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3555
5885
|
|
|
3556
5886
|
/**
|
|
3557
|
-
* Decodes a
|
|
5887
|
+
* Decodes a NonCompliantFile message from the specified reader or buffer.
|
|
3558
5888
|
* @param reader Reader or buffer to decode from
|
|
3559
5889
|
* @param [length] Message length if known beforehand
|
|
3560
|
-
* @returns
|
|
5890
|
+
* @returns NonCompliantFile
|
|
3561
5891
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3562
5892
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3563
5893
|
*/
|
|
3564
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.
|
|
5894
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.NonCompliantFile;
|
|
3565
5895
|
|
|
3566
5896
|
/**
|
|
3567
|
-
* Decodes a
|
|
5897
|
+
* Decodes a NonCompliantFile message from the specified reader or buffer, length delimited.
|
|
3568
5898
|
* @param reader Reader or buffer to decode from
|
|
3569
|
-
* @returns
|
|
5899
|
+
* @returns NonCompliantFile
|
|
3570
5900
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3571
5901
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3572
5902
|
*/
|
|
3573
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.
|
|
5903
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.NonCompliantFile;
|
|
3574
5904
|
|
|
3575
5905
|
/**
|
|
3576
|
-
* Verifies a
|
|
5906
|
+
* Verifies a NonCompliantFile message.
|
|
3577
5907
|
* @param message Plain object to verify
|
|
3578
5908
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
3579
5909
|
*/
|
|
3580
5910
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
3581
5911
|
|
|
3582
5912
|
/**
|
|
3583
|
-
* Creates a
|
|
5913
|
+
* Creates a NonCompliantFile message from a plain object. Also converts values to their respective internal types.
|
|
3584
5914
|
* @param object Plain object
|
|
3585
|
-
* @returns
|
|
5915
|
+
* @returns NonCompliantFile
|
|
3586
5916
|
*/
|
|
3587
|
-
public static fromObject(object: { [k: string]: any }): grafeas.v1.
|
|
5917
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.NonCompliantFile;
|
|
3588
5918
|
|
|
3589
5919
|
/**
|
|
3590
|
-
* Creates a plain object from a
|
|
3591
|
-
* @param message
|
|
5920
|
+
* Creates a plain object from a NonCompliantFile message. Also converts values to other types if specified.
|
|
5921
|
+
* @param message NonCompliantFile
|
|
3592
5922
|
* @param [options] Conversion options
|
|
3593
5923
|
* @returns Plain object
|
|
3594
5924
|
*/
|
|
3595
|
-
public static toObject(message: grafeas.v1.
|
|
5925
|
+
public static toObject(message: grafeas.v1.NonCompliantFile, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3596
5926
|
|
|
3597
5927
|
/**
|
|
3598
|
-
* Converts this
|
|
5928
|
+
* Converts this NonCompliantFile to JSON.
|
|
3599
5929
|
* @returns JSON object
|
|
3600
5930
|
*/
|
|
3601
5931
|
public toJSON(): { [k: string]: any };
|
|
@@ -4052,6 +6382,288 @@ export namespace grafeas {
|
|
|
4052
6382
|
}
|
|
4053
6383
|
}
|
|
4054
6384
|
|
|
6385
|
+
/** Properties of a DSSEAttestationNote. */
|
|
6386
|
+
interface IDSSEAttestationNote {
|
|
6387
|
+
|
|
6388
|
+
/** DSSEAttestationNote hint */
|
|
6389
|
+
hint?: (grafeas.v1.DSSEAttestationNote.IDSSEHint|null);
|
|
6390
|
+
}
|
|
6391
|
+
|
|
6392
|
+
/** Represents a DSSEAttestationNote. */
|
|
6393
|
+
class DSSEAttestationNote implements IDSSEAttestationNote {
|
|
6394
|
+
|
|
6395
|
+
/**
|
|
6396
|
+
* Constructs a new DSSEAttestationNote.
|
|
6397
|
+
* @param [properties] Properties to set
|
|
6398
|
+
*/
|
|
6399
|
+
constructor(properties?: grafeas.v1.IDSSEAttestationNote);
|
|
6400
|
+
|
|
6401
|
+
/** DSSEAttestationNote hint. */
|
|
6402
|
+
public hint?: (grafeas.v1.DSSEAttestationNote.IDSSEHint|null);
|
|
6403
|
+
|
|
6404
|
+
/**
|
|
6405
|
+
* Creates a new DSSEAttestationNote instance using the specified properties.
|
|
6406
|
+
* @param [properties] Properties to set
|
|
6407
|
+
* @returns DSSEAttestationNote instance
|
|
6408
|
+
*/
|
|
6409
|
+
public static create(properties?: grafeas.v1.IDSSEAttestationNote): grafeas.v1.DSSEAttestationNote;
|
|
6410
|
+
|
|
6411
|
+
/**
|
|
6412
|
+
* Encodes the specified DSSEAttestationNote message. Does not implicitly {@link grafeas.v1.DSSEAttestationNote.verify|verify} messages.
|
|
6413
|
+
* @param message DSSEAttestationNote message or plain object to encode
|
|
6414
|
+
* @param [writer] Writer to encode to
|
|
6415
|
+
* @returns Writer
|
|
6416
|
+
*/
|
|
6417
|
+
public static encode(message: grafeas.v1.IDSSEAttestationNote, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6418
|
+
|
|
6419
|
+
/**
|
|
6420
|
+
* Encodes the specified DSSEAttestationNote message, length delimited. Does not implicitly {@link grafeas.v1.DSSEAttestationNote.verify|verify} messages.
|
|
6421
|
+
* @param message DSSEAttestationNote message or plain object to encode
|
|
6422
|
+
* @param [writer] Writer to encode to
|
|
6423
|
+
* @returns Writer
|
|
6424
|
+
*/
|
|
6425
|
+
public static encodeDelimited(message: grafeas.v1.IDSSEAttestationNote, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6426
|
+
|
|
6427
|
+
/**
|
|
6428
|
+
* Decodes a DSSEAttestationNote message from the specified reader or buffer.
|
|
6429
|
+
* @param reader Reader or buffer to decode from
|
|
6430
|
+
* @param [length] Message length if known beforehand
|
|
6431
|
+
* @returns DSSEAttestationNote
|
|
6432
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6433
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6434
|
+
*/
|
|
6435
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.DSSEAttestationNote;
|
|
6436
|
+
|
|
6437
|
+
/**
|
|
6438
|
+
* Decodes a DSSEAttestationNote message from the specified reader or buffer, length delimited.
|
|
6439
|
+
* @param reader Reader or buffer to decode from
|
|
6440
|
+
* @returns DSSEAttestationNote
|
|
6441
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6442
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6443
|
+
*/
|
|
6444
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.DSSEAttestationNote;
|
|
6445
|
+
|
|
6446
|
+
/**
|
|
6447
|
+
* Verifies a DSSEAttestationNote message.
|
|
6448
|
+
* @param message Plain object to verify
|
|
6449
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6450
|
+
*/
|
|
6451
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6452
|
+
|
|
6453
|
+
/**
|
|
6454
|
+
* Creates a DSSEAttestationNote message from a plain object. Also converts values to their respective internal types.
|
|
6455
|
+
* @param object Plain object
|
|
6456
|
+
* @returns DSSEAttestationNote
|
|
6457
|
+
*/
|
|
6458
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.DSSEAttestationNote;
|
|
6459
|
+
|
|
6460
|
+
/**
|
|
6461
|
+
* Creates a plain object from a DSSEAttestationNote message. Also converts values to other types if specified.
|
|
6462
|
+
* @param message DSSEAttestationNote
|
|
6463
|
+
* @param [options] Conversion options
|
|
6464
|
+
* @returns Plain object
|
|
6465
|
+
*/
|
|
6466
|
+
public static toObject(message: grafeas.v1.DSSEAttestationNote, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6467
|
+
|
|
6468
|
+
/**
|
|
6469
|
+
* Converts this DSSEAttestationNote to JSON.
|
|
6470
|
+
* @returns JSON object
|
|
6471
|
+
*/
|
|
6472
|
+
public toJSON(): { [k: string]: any };
|
|
6473
|
+
}
|
|
6474
|
+
|
|
6475
|
+
namespace DSSEAttestationNote {
|
|
6476
|
+
|
|
6477
|
+
/** Properties of a DSSEHint. */
|
|
6478
|
+
interface IDSSEHint {
|
|
6479
|
+
|
|
6480
|
+
/** DSSEHint humanReadableName */
|
|
6481
|
+
humanReadableName?: (string|null);
|
|
6482
|
+
}
|
|
6483
|
+
|
|
6484
|
+
/** Represents a DSSEHint. */
|
|
6485
|
+
class DSSEHint implements IDSSEHint {
|
|
6486
|
+
|
|
6487
|
+
/**
|
|
6488
|
+
* Constructs a new DSSEHint.
|
|
6489
|
+
* @param [properties] Properties to set
|
|
6490
|
+
*/
|
|
6491
|
+
constructor(properties?: grafeas.v1.DSSEAttestationNote.IDSSEHint);
|
|
6492
|
+
|
|
6493
|
+
/** DSSEHint humanReadableName. */
|
|
6494
|
+
public humanReadableName: string;
|
|
6495
|
+
|
|
6496
|
+
/**
|
|
6497
|
+
* Creates a new DSSEHint instance using the specified properties.
|
|
6498
|
+
* @param [properties] Properties to set
|
|
6499
|
+
* @returns DSSEHint instance
|
|
6500
|
+
*/
|
|
6501
|
+
public static create(properties?: grafeas.v1.DSSEAttestationNote.IDSSEHint): grafeas.v1.DSSEAttestationNote.DSSEHint;
|
|
6502
|
+
|
|
6503
|
+
/**
|
|
6504
|
+
* Encodes the specified DSSEHint message. Does not implicitly {@link grafeas.v1.DSSEAttestationNote.DSSEHint.verify|verify} messages.
|
|
6505
|
+
* @param message DSSEHint message or plain object to encode
|
|
6506
|
+
* @param [writer] Writer to encode to
|
|
6507
|
+
* @returns Writer
|
|
6508
|
+
*/
|
|
6509
|
+
public static encode(message: grafeas.v1.DSSEAttestationNote.IDSSEHint, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6510
|
+
|
|
6511
|
+
/**
|
|
6512
|
+
* Encodes the specified DSSEHint message, length delimited. Does not implicitly {@link grafeas.v1.DSSEAttestationNote.DSSEHint.verify|verify} messages.
|
|
6513
|
+
* @param message DSSEHint message or plain object to encode
|
|
6514
|
+
* @param [writer] Writer to encode to
|
|
6515
|
+
* @returns Writer
|
|
6516
|
+
*/
|
|
6517
|
+
public static encodeDelimited(message: grafeas.v1.DSSEAttestationNote.IDSSEHint, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6518
|
+
|
|
6519
|
+
/**
|
|
6520
|
+
* Decodes a DSSEHint message from the specified reader or buffer.
|
|
6521
|
+
* @param reader Reader or buffer to decode from
|
|
6522
|
+
* @param [length] Message length if known beforehand
|
|
6523
|
+
* @returns DSSEHint
|
|
6524
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6525
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6526
|
+
*/
|
|
6527
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.DSSEAttestationNote.DSSEHint;
|
|
6528
|
+
|
|
6529
|
+
/**
|
|
6530
|
+
* Decodes a DSSEHint message from the specified reader or buffer, length delimited.
|
|
6531
|
+
* @param reader Reader or buffer to decode from
|
|
6532
|
+
* @returns DSSEHint
|
|
6533
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6534
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6535
|
+
*/
|
|
6536
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.DSSEAttestationNote.DSSEHint;
|
|
6537
|
+
|
|
6538
|
+
/**
|
|
6539
|
+
* Verifies a DSSEHint message.
|
|
6540
|
+
* @param message Plain object to verify
|
|
6541
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6542
|
+
*/
|
|
6543
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6544
|
+
|
|
6545
|
+
/**
|
|
6546
|
+
* Creates a DSSEHint message from a plain object. Also converts values to their respective internal types.
|
|
6547
|
+
* @param object Plain object
|
|
6548
|
+
* @returns DSSEHint
|
|
6549
|
+
*/
|
|
6550
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.DSSEAttestationNote.DSSEHint;
|
|
6551
|
+
|
|
6552
|
+
/**
|
|
6553
|
+
* Creates a plain object from a DSSEHint message. Also converts values to other types if specified.
|
|
6554
|
+
* @param message DSSEHint
|
|
6555
|
+
* @param [options] Conversion options
|
|
6556
|
+
* @returns Plain object
|
|
6557
|
+
*/
|
|
6558
|
+
public static toObject(message: grafeas.v1.DSSEAttestationNote.DSSEHint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6559
|
+
|
|
6560
|
+
/**
|
|
6561
|
+
* Converts this DSSEHint to JSON.
|
|
6562
|
+
* @returns JSON object
|
|
6563
|
+
*/
|
|
6564
|
+
public toJSON(): { [k: string]: any };
|
|
6565
|
+
}
|
|
6566
|
+
}
|
|
6567
|
+
|
|
6568
|
+
/** Properties of a DSSEAttestationOccurrence. */
|
|
6569
|
+
interface IDSSEAttestationOccurrence {
|
|
6570
|
+
|
|
6571
|
+
/** DSSEAttestationOccurrence envelope */
|
|
6572
|
+
envelope?: (grafeas.v1.IEnvelope|null);
|
|
6573
|
+
|
|
6574
|
+
/** DSSEAttestationOccurrence statement */
|
|
6575
|
+
statement?: (grafeas.v1.IInTotoStatement|null);
|
|
6576
|
+
}
|
|
6577
|
+
|
|
6578
|
+
/** Represents a DSSEAttestationOccurrence. */
|
|
6579
|
+
class DSSEAttestationOccurrence implements IDSSEAttestationOccurrence {
|
|
6580
|
+
|
|
6581
|
+
/**
|
|
6582
|
+
* Constructs a new DSSEAttestationOccurrence.
|
|
6583
|
+
* @param [properties] Properties to set
|
|
6584
|
+
*/
|
|
6585
|
+
constructor(properties?: grafeas.v1.IDSSEAttestationOccurrence);
|
|
6586
|
+
|
|
6587
|
+
/** DSSEAttestationOccurrence envelope. */
|
|
6588
|
+
public envelope?: (grafeas.v1.IEnvelope|null);
|
|
6589
|
+
|
|
6590
|
+
/** DSSEAttestationOccurrence statement. */
|
|
6591
|
+
public statement?: (grafeas.v1.IInTotoStatement|null);
|
|
6592
|
+
|
|
6593
|
+
/** DSSEAttestationOccurrence decodedPayload. */
|
|
6594
|
+
public decodedPayload?: "statement";
|
|
6595
|
+
|
|
6596
|
+
/**
|
|
6597
|
+
* Creates a new DSSEAttestationOccurrence instance using the specified properties.
|
|
6598
|
+
* @param [properties] Properties to set
|
|
6599
|
+
* @returns DSSEAttestationOccurrence instance
|
|
6600
|
+
*/
|
|
6601
|
+
public static create(properties?: grafeas.v1.IDSSEAttestationOccurrence): grafeas.v1.DSSEAttestationOccurrence;
|
|
6602
|
+
|
|
6603
|
+
/**
|
|
6604
|
+
* Encodes the specified DSSEAttestationOccurrence message. Does not implicitly {@link grafeas.v1.DSSEAttestationOccurrence.verify|verify} messages.
|
|
6605
|
+
* @param message DSSEAttestationOccurrence message or plain object to encode
|
|
6606
|
+
* @param [writer] Writer to encode to
|
|
6607
|
+
* @returns Writer
|
|
6608
|
+
*/
|
|
6609
|
+
public static encode(message: grafeas.v1.IDSSEAttestationOccurrence, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6610
|
+
|
|
6611
|
+
/**
|
|
6612
|
+
* Encodes the specified DSSEAttestationOccurrence message, length delimited. Does not implicitly {@link grafeas.v1.DSSEAttestationOccurrence.verify|verify} messages.
|
|
6613
|
+
* @param message DSSEAttestationOccurrence message or plain object to encode
|
|
6614
|
+
* @param [writer] Writer to encode to
|
|
6615
|
+
* @returns Writer
|
|
6616
|
+
*/
|
|
6617
|
+
public static encodeDelimited(message: grafeas.v1.IDSSEAttestationOccurrence, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6618
|
+
|
|
6619
|
+
/**
|
|
6620
|
+
* Decodes a DSSEAttestationOccurrence message from the specified reader or buffer.
|
|
6621
|
+
* @param reader Reader or buffer to decode from
|
|
6622
|
+
* @param [length] Message length if known beforehand
|
|
6623
|
+
* @returns DSSEAttestationOccurrence
|
|
6624
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6625
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6626
|
+
*/
|
|
6627
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): grafeas.v1.DSSEAttestationOccurrence;
|
|
6628
|
+
|
|
6629
|
+
/**
|
|
6630
|
+
* Decodes a DSSEAttestationOccurrence message from the specified reader or buffer, length delimited.
|
|
6631
|
+
* @param reader Reader or buffer to decode from
|
|
6632
|
+
* @returns DSSEAttestationOccurrence
|
|
6633
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6634
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6635
|
+
*/
|
|
6636
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): grafeas.v1.DSSEAttestationOccurrence;
|
|
6637
|
+
|
|
6638
|
+
/**
|
|
6639
|
+
* Verifies a DSSEAttestationOccurrence message.
|
|
6640
|
+
* @param message Plain object to verify
|
|
6641
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6642
|
+
*/
|
|
6643
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6644
|
+
|
|
6645
|
+
/**
|
|
6646
|
+
* Creates a DSSEAttestationOccurrence message from a plain object. Also converts values to their respective internal types.
|
|
6647
|
+
* @param object Plain object
|
|
6648
|
+
* @returns DSSEAttestationOccurrence
|
|
6649
|
+
*/
|
|
6650
|
+
public static fromObject(object: { [k: string]: any }): grafeas.v1.DSSEAttestationOccurrence;
|
|
6651
|
+
|
|
6652
|
+
/**
|
|
6653
|
+
* Creates a plain object from a DSSEAttestationOccurrence message. Also converts values to other types if specified.
|
|
6654
|
+
* @param message DSSEAttestationOccurrence
|
|
6655
|
+
* @param [options] Conversion options
|
|
6656
|
+
* @returns Plain object
|
|
6657
|
+
*/
|
|
6658
|
+
public static toObject(message: grafeas.v1.DSSEAttestationOccurrence, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6659
|
+
|
|
6660
|
+
/**
|
|
6661
|
+
* Converts this DSSEAttestationOccurrence to JSON.
|
|
6662
|
+
* @returns JSON object
|
|
6663
|
+
*/
|
|
6664
|
+
public toJSON(): { [k: string]: any };
|
|
6665
|
+
}
|
|
6666
|
+
|
|
4055
6667
|
/** Represents a Grafeas */
|
|
4056
6668
|
class Grafeas extends $protobuf.rpc.Service {
|
|
4057
6669
|
|
|
@@ -4417,6 +7029,15 @@ export namespace grafeas {
|
|
|
4417
7029
|
|
|
4418
7030
|
/** Occurrence upgrade */
|
|
4419
7031
|
upgrade?: (grafeas.v1.IUpgradeOccurrence|null);
|
|
7032
|
+
|
|
7033
|
+
/** Occurrence compliance */
|
|
7034
|
+
compliance?: (grafeas.v1.IComplianceOccurrence|null);
|
|
7035
|
+
|
|
7036
|
+
/** Occurrence dsseAttestation */
|
|
7037
|
+
dsseAttestation?: (grafeas.v1.IDSSEAttestationOccurrence|null);
|
|
7038
|
+
|
|
7039
|
+
/** Occurrence envelope */
|
|
7040
|
+
envelope?: (grafeas.v1.IEnvelope|null);
|
|
4420
7041
|
}
|
|
4421
7042
|
|
|
4422
7043
|
/** Represents an Occurrence. */
|
|
@@ -4473,8 +7094,17 @@ export namespace grafeas {
|
|
|
4473
7094
|
/** Occurrence upgrade. */
|
|
4474
7095
|
public upgrade?: (grafeas.v1.IUpgradeOccurrence|null);
|
|
4475
7096
|
|
|
7097
|
+
/** Occurrence compliance. */
|
|
7098
|
+
public compliance?: (grafeas.v1.IComplianceOccurrence|null);
|
|
7099
|
+
|
|
7100
|
+
/** Occurrence dsseAttestation. */
|
|
7101
|
+
public dsseAttestation?: (grafeas.v1.IDSSEAttestationOccurrence|null);
|
|
7102
|
+
|
|
7103
|
+
/** Occurrence envelope. */
|
|
7104
|
+
public envelope?: (grafeas.v1.IEnvelope|null);
|
|
7105
|
+
|
|
4476
7106
|
/** Occurrence details. */
|
|
4477
|
-
public details?: ("vulnerability"|"build"|"image"|"package"|"deployment"|"discovery"|"attestation"|"upgrade");
|
|
7107
|
+
public details?: ("vulnerability"|"build"|"image"|"package"|"deployment"|"discovery"|"attestation"|"upgrade"|"compliance"|"dsseAttestation");
|
|
4478
7108
|
|
|
4479
7109
|
/**
|
|
4480
7110
|
* Creates a new Occurrence instance using the specified properties.
|
|
@@ -4600,6 +7230,12 @@ export namespace grafeas {
|
|
|
4600
7230
|
|
|
4601
7231
|
/** Note upgrade */
|
|
4602
7232
|
upgrade?: (grafeas.v1.IUpgradeNote|null);
|
|
7233
|
+
|
|
7234
|
+
/** Note compliance */
|
|
7235
|
+
compliance?: (grafeas.v1.IComplianceNote|null);
|
|
7236
|
+
|
|
7237
|
+
/** Note dsseAttestation */
|
|
7238
|
+
dsseAttestation?: (grafeas.v1.IDSSEAttestationNote|null);
|
|
4603
7239
|
}
|
|
4604
7240
|
|
|
4605
7241
|
/** Represents a Note. */
|
|
@@ -4662,8 +7298,14 @@ export namespace grafeas {
|
|
|
4662
7298
|
/** Note upgrade. */
|
|
4663
7299
|
public upgrade?: (grafeas.v1.IUpgradeNote|null);
|
|
4664
7300
|
|
|
7301
|
+
/** Note compliance. */
|
|
7302
|
+
public compliance?: (grafeas.v1.IComplianceNote|null);
|
|
7303
|
+
|
|
7304
|
+
/** Note dsseAttestation. */
|
|
7305
|
+
public dsseAttestation?: (grafeas.v1.IDSSEAttestationNote|null);
|
|
7306
|
+
|
|
4665
7307
|
/** Note type. */
|
|
4666
|
-
public type?: ("vulnerability"|"build"|"image"|"package"|"deployment"|"discovery"|"attestation"|"upgrade");
|
|
7308
|
+
public type?: ("vulnerability"|"build"|"image"|"package"|"deployment"|"discovery"|"attestation"|"upgrade"|"compliance"|"dsseAttestation");
|
|
4667
7309
|
|
|
4668
7310
|
/**
|
|
4669
7311
|
* Creates a new Note instance using the specified properties.
|
|
@@ -17331,7 +19973,8 @@ export namespace google {
|
|
|
17331
19973
|
OUTPUT_ONLY = 3,
|
|
17332
19974
|
INPUT_ONLY = 4,
|
|
17333
19975
|
IMMUTABLE = 5,
|
|
17334
|
-
UNORDERED_LIST = 6
|
|
19976
|
+
UNORDERED_LIST = 6,
|
|
19977
|
+
NON_EMPTY_DEFAULT = 7
|
|
17335
19978
|
}
|
|
17336
19979
|
|
|
17337
19980
|
/** Properties of a ResourceDescriptor. */
|