Skip to content

Instantly share code, notes, and snippets.

@joshuagl
Created June 29, 2023 15:10
Show Gist options
  • Save joshuagl/ae743664f4422391d6e88010b1d167c0 to your computer and use it in GitHub Desktop.
Save joshuagl/ae743664f4422391d6e88010b1d167c0 to your computer and use it in GitHub Desktop.
The delta in generated code following in-toto/attestation#257
diff --git a/go/predicates/vsa/v0/vsa.pb.go b/go/predicates/vsa/v0/vsa.pb.go
index e2aa1fc..188f0f2 100644
--- a/go/predicates/vsa/v0/vsa.pb.go
+++ b/go/predicates/vsa/v0/vsa.pb.go
@@ -29,13 +29,13 @@ type VerificationSummary struct {
unknownFields protoimpl.UnknownFields
Verifier *VerificationSummary_Verifier `protobuf:"bytes,1,opt,name=verifier,proto3" json:"verifier,omitempty"`
- TimeVerified *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timeVerified,json=time_verified,proto3" json:"timeVerified,omitempty"`
- ResourceUri string `protobuf:"bytes,3,opt,name=resourceUri,json=resource_uri,proto3" json:"resourceUri,omitempty"`
+ TimeVerified *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time_verified,proto3" json:"time_verified,omitempty"`
+ ResourceUri string `protobuf:"bytes,3,opt,name=resource_uri,proto3" json:"resource_uri,omitempty"`
Policy *VerificationSummary_Policy `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
- InputAttestations []*VerificationSummary_InputAttestation `protobuf:"bytes,5,rep,name=inputAttestations,json=input_attestations,proto3" json:"inputAttestations,omitempty"`
- VerificationResult string `protobuf:"bytes,6,opt,name=verificationResult,json=verification_result,proto3" json:"verificationResult,omitempty"`
- PolicyLevel string `protobuf:"bytes,7,opt,name=policyLevel,json=policy_level,proto3" json:"policyLevel,omitempty"`
- DependencyLevels map[string]uint64 `protobuf:"bytes,8,rep,name=dependencyLevels,json=dependency_levels,proto3" json:"dependencyLevels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+ InputAttestations []*VerificationSummary_InputAttestation `protobuf:"bytes,5,rep,name=input_attestations,proto3" json:"input_attestations,omitempty"`
+ VerificationResult string `protobuf:"bytes,6,opt,name=verification_result,proto3" json:"verification_result,omitempty"`
+ PolicyLevel string `protobuf:"bytes,7,opt,name=policy_level,proto3" json:"policy_level,omitempty"`
+ DependencyLevels map[string]uint64 `protobuf:"bytes,8,rep,name=dependency_levels,proto3" json:"dependency_levels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
}
func (x *VerificationSummary) Reset() {
@@ -293,7 +293,7 @@ var file_in_toto_attestation_predicates_vsa_v0_vsa_proto_rawDesc = []byte{
0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65,
0x73, 0x2e, 0x76, 0x73, 0x61, 0x2e, 0x76, 0x30, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
- 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf7, 0x08, 0x0a, 0x13, 0x56, 0x65,
+ 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfd, 0x08, 0x0a, 0x13, 0x56, 0x65,
0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72,
0x79, 0x12, 0x5f, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x74, 0x6f, 0x5f, 0x61, 0x74,
@@ -301,78 +301,78 @@ var file_in_toto_attestation_predicates_vsa_v0_vsa_proto_rawDesc = []byte{
0x61, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x73, 0x61, 0x2e, 0x76, 0x30, 0x2e, 0x56, 0x65, 0x72, 0x69,
0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x2e,
0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x08, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69,
- 0x65, 0x72, 0x12, 0x3f, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69,
- 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
- 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66,
- 0x69, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55,
- 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x12, 0x59, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x74, 0x6f,
- 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x65,
- 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x73, 0x61, 0x2e, 0x76, 0x30, 0x2e, 0x56,
- 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x6d, 0x6d, 0x61,
- 0x72, 0x79, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63,
- 0x79, 0x12, 0x7a, 0x0a, 0x11, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x69,
- 0x6e, 0x5f, 0x74, 0x6f, 0x74, 0x6f, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x73,
- 0x61, 0x2e, 0x76, 0x30, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x74,
- 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x69, 0x6e, 0x70, 0x75, 0x74,
- 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a,
- 0x12, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
- 0x75, 0x6c, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x76, 0x65, 0x72, 0x69, 0x66,
- 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x21,
- 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x07, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65,
- 0x6c, 0x12, 0x7d, 0x0a, 0x10, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x4c,
- 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x69, 0x6e,
- 0x5f, 0x74, 0x6f, 0x74, 0x6f, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x73, 0x61,
- 0x2e, 0x76, 0x30, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e,
- 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x64,
- 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73,
- 0x1a, 0x1a, 0x0a, 0x08, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02,
- 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x1a, 0xbc, 0x01, 0x0a,
- 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x65, 0x0a, 0x06, 0x64, 0x69, 0x67,
- 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x69, 0x6e, 0x5f, 0x74,
- 0x6f, 0x74, 0x6f, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x73, 0x61, 0x2e, 0x76,
- 0x30, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75,
- 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x69, 0x67,
- 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74,
- 0x1a, 0x39, 0x0a, 0x0b, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
- 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
- 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xd0, 0x01, 0x0a, 0x10,
- 0x49, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75,
- 0x72, 0x69, 0x12, 0x6f, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x57, 0x2e, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x74, 0x6f, 0x5f, 0x61, 0x74, 0x74,
- 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61,
- 0x74, 0x65, 0x73, 0x2e, 0x76, 0x73, 0x61, 0x2e, 0x76, 0x30, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66,
- 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x2e, 0x49,
- 0x6e, 0x70, 0x75, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x64, 0x69, 0x67,
- 0x65, 0x73, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74,
- 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x43,
- 0x0a, 0x15, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65,
- 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
- 0x02, 0x38, 0x01, 0x42, 0x65, 0x0a, 0x2e, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
- 0x2e, 0x69, 0x6e, 0x74, 0x6f, 0x74, 0x6f, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x2e, 0x76,
- 0x73, 0x61, 0x2e, 0x76, 0x30, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
- 0x6d, 0x2f, 0x69, 0x6e, 0x2d, 0x74, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61,
- 0x74, 0x65, 0x73, 0x2f, 0x76, 0x73, 0x61, 0x2f, 0x76, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33,
+ 0x65, 0x72, 0x12, 0x40, 0x0a, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66,
+ 0x69, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
+ 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x69,
+ 0x66, 0x69, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
+ 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f,
+ 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x12, 0x59, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x69, 0x6e, 0x5f, 0x74, 0x6f,
+ 0x74, 0x6f, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
+ 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x73, 0x61, 0x2e, 0x76, 0x30,
+ 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x6d,
+ 0x6d, 0x61, 0x72, 0x79, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c,
+ 0x69, 0x63, 0x79, 0x12, 0x7b, 0x0a, 0x12, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x61, 0x74, 0x74,
+ 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x4b, 0x2e, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x74, 0x6f, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73,
+ 0x2e, 0x76, 0x73, 0x61, 0x2e, 0x76, 0x30, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x70, 0x75,
+ 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x69, 0x6e,
+ 0x70, 0x75, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x12, 0x30, 0x0a, 0x13, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x76,
+ 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75,
+ 0x6c, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6c, 0x65, 0x76,
+ 0x65, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
+ 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x7e, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64,
+ 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x50, 0x2e, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x74, 0x6f, 0x5f, 0x61, 0x74, 0x74, 0x65,
+ 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74,
+ 0x65, 0x73, 0x2e, 0x76, 0x73, 0x61, 0x2e, 0x76, 0x30, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69,
+ 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x2e, 0x44, 0x65,
+ 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x45, 0x6e,
+ 0x74, 0x72, 0x79, 0x52, 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x5f,
+ 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x1a, 0x1a, 0x0a, 0x08, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69,
+ 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
+ 0x69, 0x64, 0x1a, 0xbc, 0x01, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x10, 0x0a,
+ 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12,
+ 0x65, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x4d, 0x2e, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x74, 0x6f, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73,
+ 0x2e, 0x76, 0x73, 0x61, 0x2e, 0x76, 0x30, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x2e, 0x50, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 0x2e, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06,
+ 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74,
+ 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
+ 0x01, 0x1a, 0xd0, 0x01, 0x0a, 0x10, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73,
+ 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x6f, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65,
+ 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x57, 0x2e, 0x69, 0x6e, 0x5f, 0x74, 0x6f,
+ 0x74, 0x6f, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
+ 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x73, 0x61, 0x2e, 0x76, 0x30,
+ 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x6d,
+ 0x6d, 0x61, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72,
+ 0x79, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x44, 0x69, 0x67,
+ 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
+ 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
+ 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x43, 0x0a, 0x15, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e,
+ 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
+ 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
+ 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05,
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x65, 0x0a, 0x2e, 0x69, 0x6f, 0x2e,
+ 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x69, 0x6e, 0x74, 0x6f, 0x74, 0x6f, 0x2e, 0x61, 0x74,
+ 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63,
+ 0x61, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x73, 0x61, 0x2e, 0x76, 0x30, 0x5a, 0x33, 0x67, 0x69, 0x74,
+ 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x2d, 0x74, 0x6f, 0x74, 0x6f, 0x2f,
+ 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x70,
+ 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x73, 0x61, 0x2f, 0x76, 0x30,
+ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -400,10 +400,10 @@ var file_in_toto_attestation_predicates_vsa_v0_vsa_proto_goTypes = []interface{}
}
var file_in_toto_attestation_predicates_vsa_v0_vsa_proto_depIdxs = []int32{
1, // 0: in_toto_attestation.predicates.vsa.v0.VerificationSummary.verifier:type_name -> in_toto_attestation.predicates.vsa.v0.VerificationSummary.Verifier
- 7, // 1: in_toto_attestation.predicates.vsa.v0.VerificationSummary.timeVerified:type_name -> google.protobuf.Timestamp
+ 7, // 1: in_toto_attestation.predicates.vsa.v0.VerificationSummary.time_verified:type_name -> google.protobuf.Timestamp
2, // 2: in_toto_attestation.predicates.vsa.v0.VerificationSummary.policy:type_name -> in_toto_attestation.predicates.vsa.v0.VerificationSummary.Policy
- 3, // 3: in_toto_attestation.predicates.vsa.v0.VerificationSummary.inputAttestations:type_name -> in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation
- 4, // 4: in_toto_attestation.predicates.vsa.v0.VerificationSummary.dependencyLevels:type_name -> in_toto_attestation.predicates.vsa.v0.VerificationSummary.DependencyLevelsEntry
+ 3, // 3: in_toto_attestation.predicates.vsa.v0.VerificationSummary.input_attestations:type_name -> in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation
+ 4, // 4: in_toto_attestation.predicates.vsa.v0.VerificationSummary.dependency_levels:type_name -> in_toto_attestation.predicates.vsa.v0.VerificationSummary.DependencyLevelsEntry
5, // 5: in_toto_attestation.predicates.vsa.v0.VerificationSummary.Policy.digest:type_name -> in_toto_attestation.predicates.vsa.v0.VerificationSummary.Policy.DigestEntry
6, // 6: in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation.digest:type_name -> in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation.DigestEntry
7, // [7:7] is the sub-list for method output_type
diff --git a/go/v1/resource_descriptor.pb.go b/go/v1/resource_descriptor.pb.go
index 5a9f9b0..7416589 100644
--- a/go/v1/resource_descriptor.pb.go
+++ b/go/v1/resource_descriptor.pb.go
@@ -33,8 +33,8 @@ type ResourceDescriptor struct {
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
Digest map[string]string `protobuf:"bytes,3,rep,name=digest,proto3" json:"digest,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
- DownloadLocation string `protobuf:"bytes,5,opt,name=downloadLocation,proto3" json:"downloadLocation,omitempty"`
- MediaType string `protobuf:"bytes,6,opt,name=mediaType,proto3" json:"mediaType,omitempty"`
+ DownloadLocation string `protobuf:"bytes,5,opt,name=download_location,json=downloadLocation,proto3" json:"download_location,omitempty"`
+ MediaType string `protobuf:"bytes,6,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"`
Annotations map[string]*structpb.Value `protobuf:"bytes,7,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
@@ -128,7 +128,7 @@ var file_in_toto_attestation_v1_resource_descriptor_proto_rawDesc = []byte{
0x74, 0x6f, 0x12, 0x16, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x74, 0x6f, 0x5f, 0x61, 0x74, 0x74, 0x65,
0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75,
- 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe0, 0x03, 0x0a, 0x12, 0x52, 0x65, 0x73,
+ 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x03, 0x0a, 0x12, 0x52, 0x65, 0x73,
0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12,
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
@@ -139,31 +139,31 @@ var file_in_toto_attestation_v1_resource_descriptor_proto_rawDesc = []byte{
0x72, 0x2e, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x64,
0x69, 0x67, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
- 0x2a, 0x0a, 0x10, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x6f, 0x77, 0x6e, 0x6c,
- 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6d,
- 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
- 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5d, 0x0a, 0x0b, 0x61, 0x6e, 0x6e,
- 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b,
- 0x2e, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x74, 0x6f, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
- 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e,
- 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x44, 0x69, 0x67, 0x65,
- 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
- 0x02, 0x38, 0x01, 0x1a, 0x56, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65,
- 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x47, 0x0a, 0x1f, 0x69,
- 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x69, 0x6e, 0x74, 0x6f, 0x74, 0x6f, 0x2e,
- 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x5a, 0x24,
- 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x2d, 0x74, 0x6f,
- 0x74, 0x6f, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67,
- 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x2b, 0x0a, 0x11, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x6f, 0x77, 0x6e,
+ 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a,
+ 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x09, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5d, 0x0a, 0x0b, 0x61,
+ 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x3b, 0x2e, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x74, 0x6f, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73,
+ 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
+ 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x41, 0x6e, 0x6e,
+ 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61,
+ 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x44, 0x69,
+ 0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
+ 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
+ 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x56, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76,
+ 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c,
+ 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x47, 0x0a,
+ 0x1f, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x69, 0x6e, 0x74, 0x6f, 0x74,
+ 0x6f, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
+ 0x5a, 0x24, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x2d,
+ 0x74, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/go/v1/statement.pb.go b/go/v1/statement.pb.go
index 2041faa..185a246 100644
--- a/go/v1/statement.pb.go
+++ b/go/v1/statement.pb.go
@@ -32,7 +32,7 @@ type Statement struct {
// Expected to always be "https://in-toto.io/Statement/v1"
Type string `protobuf:"bytes,1,opt,name=type,json=_type,proto3" json:"type,omitempty"`
Subject []*ResourceDescriptor `protobuf:"bytes,2,rep,name=subject,proto3" json:"subject,omitempty"`
- PredicateType string `protobuf:"bytes,3,opt,name=predicateType,proto3" json:"predicateType,omitempty"`
+ PredicateType string `protobuf:"bytes,3,opt,name=predicate_type,json=predicateType,proto3" json:"predicate_type,omitempty"`
Predicate *structpb.Struct `protobuf:"bytes,4,opt,name=predicate,proto3" json:"predicate,omitempty"`
}
@@ -108,24 +108,24 @@ var file_in_toto_attestation_v1_statement_proto_rawDesc = []byte{
0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x74, 0x6f, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f,
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x22, 0xc3, 0x01, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x13,
+ 0x22, 0xc4, 0x01, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x13,
0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x5f, 0x74,
0x79, 0x70, 0x65, 0x12, 0x44, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x74, 0x6f, 0x5f, 0x61,
0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72,
- 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x72, 0x65,
- 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0d, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
- 0x35, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x70, 0x72, 0x65,
- 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x42, 0x47, 0x0a, 0x1f, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74,
- 0x68, 0x75, 0x62, 0x2e, 0x69, 0x6e, 0x74, 0x6f, 0x74, 0x6f, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x5a, 0x24, 0x67, 0x69, 0x74, 0x68, 0x75,
- 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x2d, 0x74, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x74,
- 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62,
- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x65,
+ 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65,
+ 0x12, 0x35, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x70, 0x72,
+ 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x42, 0x47, 0x0a, 0x1f, 0x69, 0x6f, 0x2e, 0x67, 0x69,
+ 0x74, 0x68, 0x75, 0x62, 0x2e, 0x69, 0x6e, 0x74, 0x6f, 0x74, 0x6f, 0x2e, 0x61, 0x74, 0x74, 0x65,
+ 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x5a, 0x24, 0x67, 0x69, 0x74, 0x68,
+ 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x2d, 0x74, 0x6f, 0x74, 0x6f, 0x2f, 0x61,
+ 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x31,
+ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/java/io/github/intoto/attestation/predicates/vsa/v0/Vsa.java b/java/io/github/intoto/attestation/predicates/vsa/v0/Vsa.java
index 0111b2c..5c07f0b 100644
--- a/java/io/github/intoto/attestation/predicates/vsa/v0/Vsa.java
+++ b/java/io/github/intoto/attestation/predicates/vsa/v0/Vsa.java
@@ -34,27 +34,27 @@ public final class Vsa {
io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.VerifierOrBuilder getVerifierOrBuilder();
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
* @return Whether the timeVerified field is set.
*/
boolean hasTimeVerified();
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
* @return The timeVerified.
*/
com.google.protobuf.Timestamp getTimeVerified();
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
*/
com.google.protobuf.TimestampOrBuilder getTimeVerifiedOrBuilder();
/**
- * <code>string resourceUri = 3 [json_name = "resource_uri"];</code>
+ * <code>string resource_uri = 3 [json_name = "resource_uri"];</code>
* @return The resourceUri.
*/
java.lang.String getResourceUri();
/**
- * <code>string resourceUri = 3 [json_name = "resource_uri"];</code>
+ * <code>string resource_uri = 3 [json_name = "resource_uri"];</code>
* @return The bytes for resourceUri.
*/
com.google.protobuf.ByteString
@@ -76,59 +76,59 @@ public final class Vsa {
io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.PolicyOrBuilder getPolicyOrBuilder();
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
java.util.List<io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation>
getInputAttestationsList();
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation getInputAttestations(int index);
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
int getInputAttestationsCount();
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
java.util.List<? extends io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestationOrBuilder>
getInputAttestationsOrBuilderList();
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestationOrBuilder getInputAttestationsOrBuilder(
int index);
/**
- * <code>string verificationResult = 6 [json_name = "verification_result"];</code>
+ * <code>string verification_result = 6 [json_name = "verification_result"];</code>
* @return The verificationResult.
*/
java.lang.String getVerificationResult();
/**
- * <code>string verificationResult = 6 [json_name = "verification_result"];</code>
+ * <code>string verification_result = 6 [json_name = "verification_result"];</code>
* @return The bytes for verificationResult.
*/
com.google.protobuf.ByteString
getVerificationResultBytes();
/**
- * <code>string policyLevel = 7 [json_name = "policy_level"];</code>
+ * <code>string policy_level = 7 [json_name = "policy_level"];</code>
* @return The policyLevel.
*/
java.lang.String getPolicyLevel();
/**
- * <code>string policyLevel = 7 [json_name = "policy_level"];</code>
+ * <code>string policy_level = 7 [json_name = "policy_level"];</code>
* @return The bytes for policyLevel.
*/
com.google.protobuf.ByteString
getPolicyLevelBytes();
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
int getDependencyLevelsCount();
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
boolean containsDependencyLevels(
java.lang.String key);
@@ -139,19 +139,19 @@ public final class Vsa {
java.util.Map<java.lang.String, java.lang.Long>
getDependencyLevels();
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
java.util.Map<java.lang.String, java.lang.Long>
getDependencyLevelsMap();
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
long getDependencyLevelsOrDefault(
java.lang.String key,
long defaultValue);
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
long getDependencyLevelsOrThrow(
@@ -2708,10 +2708,10 @@ public final class Vsa {
return getVerifier();
}
- public static final int TIMEVERIFIED_FIELD_NUMBER = 2;
+ public static final int TIME_VERIFIED_FIELD_NUMBER = 2;
private com.google.protobuf.Timestamp timeVerified_;
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
* @return Whether the timeVerified field is set.
*/
@java.lang.Override
@@ -2719,7 +2719,7 @@ public final class Vsa {
return timeVerified_ != null;
}
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
* @return The timeVerified.
*/
@java.lang.Override
@@ -2727,17 +2727,17 @@ public final class Vsa {
return timeVerified_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timeVerified_;
}
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getTimeVerifiedOrBuilder() {
return getTimeVerified();
}
- public static final int RESOURCEURI_FIELD_NUMBER = 3;
+ public static final int RESOURCE_URI_FIELD_NUMBER = 3;
private volatile java.lang.Object resourceUri_;
/**
- * <code>string resourceUri = 3 [json_name = "resource_uri"];</code>
+ * <code>string resource_uri = 3 [json_name = "resource_uri"];</code>
* @return The resourceUri.
*/
@java.lang.Override
@@ -2754,7 +2754,7 @@ public final class Vsa {
}
}
/**
- * <code>string resourceUri = 3 [json_name = "resource_uri"];</code>
+ * <code>string resource_uri = 3 [json_name = "resource_uri"];</code>
* @return The bytes for resourceUri.
*/
@java.lang.Override
@@ -2798,17 +2798,17 @@ public final class Vsa {
return getPolicy();
}
- public static final int INPUTATTESTATIONS_FIELD_NUMBER = 5;
+ public static final int INPUT_ATTESTATIONS_FIELD_NUMBER = 5;
private java.util.List<io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation> inputAttestations_;
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
@java.lang.Override
public java.util.List<io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation> getInputAttestationsList() {
return inputAttestations_;
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
@java.lang.Override
public java.util.List<? extends io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestationOrBuilder>
@@ -2816,21 +2816,21 @@ public final class Vsa {
return inputAttestations_;
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
@java.lang.Override
public int getInputAttestationsCount() {
return inputAttestations_.size();
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
@java.lang.Override
public io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation getInputAttestations(int index) {
return inputAttestations_.get(index);
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
@java.lang.Override
public io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestationOrBuilder getInputAttestationsOrBuilder(
@@ -2838,10 +2838,10 @@ public final class Vsa {
return inputAttestations_.get(index);
}
- public static final int VERIFICATIONRESULT_FIELD_NUMBER = 6;
+ public static final int VERIFICATION_RESULT_FIELD_NUMBER = 6;
private volatile java.lang.Object verificationResult_;
/**
- * <code>string verificationResult = 6 [json_name = "verification_result"];</code>
+ * <code>string verification_result = 6 [json_name = "verification_result"];</code>
* @return The verificationResult.
*/
@java.lang.Override
@@ -2858,7 +2858,7 @@ public final class Vsa {
}
}
/**
- * <code>string verificationResult = 6 [json_name = "verification_result"];</code>
+ * <code>string verification_result = 6 [json_name = "verification_result"];</code>
* @return The bytes for verificationResult.
*/
@java.lang.Override
@@ -2876,10 +2876,10 @@ public final class Vsa {
}
}
- public static final int POLICYLEVEL_FIELD_NUMBER = 7;
+ public static final int POLICY_LEVEL_FIELD_NUMBER = 7;
private volatile java.lang.Object policyLevel_;
/**
- * <code>string policyLevel = 7 [json_name = "policy_level"];</code>
+ * <code>string policy_level = 7 [json_name = "policy_level"];</code>
* @return The policyLevel.
*/
@java.lang.Override
@@ -2896,7 +2896,7 @@ public final class Vsa {
}
}
/**
- * <code>string policyLevel = 7 [json_name = "policy_level"];</code>
+ * <code>string policy_level = 7 [json_name = "policy_level"];</code>
* @return The bytes for policyLevel.
*/
@java.lang.Override
@@ -2914,7 +2914,7 @@ public final class Vsa {
}
}
- public static final int DEPENDENCYLEVELS_FIELD_NUMBER = 8;
+ public static final int DEPENDENCY_LEVELS_FIELD_NUMBER = 8;
private static final class DependencyLevelsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.Long> defaultEntry =
@@ -2941,7 +2941,7 @@ public final class Vsa {
return internalGetDependencyLevels().getMap().size();
}
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
@java.lang.Override
@@ -2959,7 +2959,7 @@ public final class Vsa {
return getDependencyLevelsMap();
}
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
@java.lang.Override
@@ -2967,7 +2967,7 @@ public final class Vsa {
return internalGetDependencyLevels().getMap();
}
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
@java.lang.Override
@@ -2980,7 +2980,7 @@ public final class Vsa {
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
@java.lang.Override
@@ -3136,25 +3136,25 @@ public final class Vsa {
hash = (53 * hash) + getVerifier().hashCode();
}
if (hasTimeVerified()) {
- hash = (37 * hash) + TIMEVERIFIED_FIELD_NUMBER;
+ hash = (37 * hash) + TIME_VERIFIED_FIELD_NUMBER;
hash = (53 * hash) + getTimeVerified().hashCode();
}
- hash = (37 * hash) + RESOURCEURI_FIELD_NUMBER;
+ hash = (37 * hash) + RESOURCE_URI_FIELD_NUMBER;
hash = (53 * hash) + getResourceUri().hashCode();
if (hasPolicy()) {
hash = (37 * hash) + POLICY_FIELD_NUMBER;
hash = (53 * hash) + getPolicy().hashCode();
}
if (getInputAttestationsCount() > 0) {
- hash = (37 * hash) + INPUTATTESTATIONS_FIELD_NUMBER;
+ hash = (37 * hash) + INPUT_ATTESTATIONS_FIELD_NUMBER;
hash = (53 * hash) + getInputAttestationsList().hashCode();
}
- hash = (37 * hash) + VERIFICATIONRESULT_FIELD_NUMBER;
+ hash = (37 * hash) + VERIFICATION_RESULT_FIELD_NUMBER;
hash = (53 * hash) + getVerificationResult().hashCode();
- hash = (37 * hash) + POLICYLEVEL_FIELD_NUMBER;
+ hash = (37 * hash) + POLICY_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getPolicyLevel().hashCode();
if (!internalGetDependencyLevels().getMap().isEmpty()) {
- hash = (37 * hash) + DEPENDENCYLEVELS_FIELD_NUMBER;
+ hash = (37 * hash) + DEPENDENCY_LEVELS_FIELD_NUMBER;
hash = (53 * hash) + internalGetDependencyLevels().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
@@ -3655,14 +3655,14 @@ public final class Vsa {
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timeVerifiedBuilder_;
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
* @return Whether the timeVerified field is set.
*/
public boolean hasTimeVerified() {
return timeVerifiedBuilder_ != null || timeVerified_ != null;
}
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
* @return The timeVerified.
*/
public com.google.protobuf.Timestamp getTimeVerified() {
@@ -3673,7 +3673,7 @@ public final class Vsa {
}
}
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
*/
public Builder setTimeVerified(com.google.protobuf.Timestamp value) {
if (timeVerifiedBuilder_ == null) {
@@ -3689,7 +3689,7 @@ public final class Vsa {
return this;
}
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
*/
public Builder setTimeVerified(
com.google.protobuf.Timestamp.Builder builderForValue) {
@@ -3703,7 +3703,7 @@ public final class Vsa {
return this;
}
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
*/
public Builder mergeTimeVerified(com.google.protobuf.Timestamp value) {
if (timeVerifiedBuilder_ == null) {
@@ -3721,7 +3721,7 @@ public final class Vsa {
return this;
}
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
*/
public Builder clearTimeVerified() {
if (timeVerifiedBuilder_ == null) {
@@ -3735,7 +3735,7 @@ public final class Vsa {
return this;
}
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
*/
public com.google.protobuf.Timestamp.Builder getTimeVerifiedBuilder() {
@@ -3743,7 +3743,7 @@ public final class Vsa {
return getTimeVerifiedFieldBuilder().getBuilder();
}
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
*/
public com.google.protobuf.TimestampOrBuilder getTimeVerifiedOrBuilder() {
if (timeVerifiedBuilder_ != null) {
@@ -3754,7 +3754,7 @@ public final class Vsa {
}
}
/**
- * <code>.google.protobuf.Timestamp timeVerified = 2 [json_name = "time_verified"];</code>
+ * <code>.google.protobuf.Timestamp time_verified = 2 [json_name = "time_verified"];</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
@@ -3772,7 +3772,7 @@ public final class Vsa {
private java.lang.Object resourceUri_ = "";
/**
- * <code>string resourceUri = 3 [json_name = "resource_uri"];</code>
+ * <code>string resource_uri = 3 [json_name = "resource_uri"];</code>
* @return The resourceUri.
*/
public java.lang.String getResourceUri() {
@@ -3788,7 +3788,7 @@ public final class Vsa {
}
}
/**
- * <code>string resourceUri = 3 [json_name = "resource_uri"];</code>
+ * <code>string resource_uri = 3 [json_name = "resource_uri"];</code>
* @return The bytes for resourceUri.
*/
public com.google.protobuf.ByteString
@@ -3805,7 +3805,7 @@ public final class Vsa {
}
}
/**
- * <code>string resourceUri = 3 [json_name = "resource_uri"];</code>
+ * <code>string resource_uri = 3 [json_name = "resource_uri"];</code>
* @param value The resourceUri to set.
* @return This builder for chaining.
*/
@@ -3820,7 +3820,7 @@ public final class Vsa {
return this;
}
/**
- * <code>string resourceUri = 3 [json_name = "resource_uri"];</code>
+ * <code>string resource_uri = 3 [json_name = "resource_uri"];</code>
* @return This builder for chaining.
*/
public Builder clearResourceUri() {
@@ -3830,7 +3830,7 @@ public final class Vsa {
return this;
}
/**
- * <code>string resourceUri = 3 [json_name = "resource_uri"];</code>
+ * <code>string resource_uri = 3 [json_name = "resource_uri"];</code>
* @param value The bytes for resourceUri to set.
* @return This builder for chaining.
*/
@@ -3978,7 +3978,7 @@ public final class Vsa {
io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation, io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation.Builder, io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestationOrBuilder> inputAttestationsBuilder_;
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public java.util.List<io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation> getInputAttestationsList() {
if (inputAttestationsBuilder_ == null) {
@@ -3988,7 +3988,7 @@ public final class Vsa {
}
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public int getInputAttestationsCount() {
if (inputAttestationsBuilder_ == null) {
@@ -3998,7 +3998,7 @@ public final class Vsa {
}
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation getInputAttestations(int index) {
if (inputAttestationsBuilder_ == null) {
@@ -4008,7 +4008,7 @@ public final class Vsa {
}
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public Builder setInputAttestations(
int index, io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation value) {
@@ -4025,7 +4025,7 @@ public final class Vsa {
return this;
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public Builder setInputAttestations(
int index, io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation.Builder builderForValue) {
@@ -4039,7 +4039,7 @@ public final class Vsa {
return this;
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public Builder addInputAttestations(io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation value) {
if (inputAttestationsBuilder_ == null) {
@@ -4055,7 +4055,7 @@ public final class Vsa {
return this;
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public Builder addInputAttestations(
int index, io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation value) {
@@ -4072,7 +4072,7 @@ public final class Vsa {
return this;
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public Builder addInputAttestations(
io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation.Builder builderForValue) {
@@ -4086,7 +4086,7 @@ public final class Vsa {
return this;
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public Builder addInputAttestations(
int index, io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation.Builder builderForValue) {
@@ -4100,7 +4100,7 @@ public final class Vsa {
return this;
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public Builder addAllInputAttestations(
java.lang.Iterable<? extends io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation> values) {
@@ -4115,7 +4115,7 @@ public final class Vsa {
return this;
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public Builder clearInputAttestations() {
if (inputAttestationsBuilder_ == null) {
@@ -4128,7 +4128,7 @@ public final class Vsa {
return this;
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public Builder removeInputAttestations(int index) {
if (inputAttestationsBuilder_ == null) {
@@ -4141,14 +4141,14 @@ public final class Vsa {
return this;
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation.Builder getInputAttestationsBuilder(
int index) {
return getInputAttestationsFieldBuilder().getBuilder(index);
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestationOrBuilder getInputAttestationsOrBuilder(
int index) {
@@ -4158,7 +4158,7 @@ public final class Vsa {
}
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public java.util.List<? extends io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestationOrBuilder>
getInputAttestationsOrBuilderList() {
@@ -4169,14 +4169,14 @@ public final class Vsa {
}
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation.Builder addInputAttestationsBuilder() {
return getInputAttestationsFieldBuilder().addBuilder(
io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation.getDefaultInstance());
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation.Builder addInputAttestationsBuilder(
int index) {
@@ -4184,7 +4184,7 @@ public final class Vsa {
index, io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation.getDefaultInstance());
}
/**
- * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation inputAttestations = 5 [json_name = "input_attestations"];</code>
+ * <code>repeated .in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation input_attestations = 5 [json_name = "input_attestations"];</code>
*/
public java.util.List<io.github.intoto.attestation.predicates.vsa.v0.Vsa.VerificationSummary.InputAttestation.Builder>
getInputAttestationsBuilderList() {
@@ -4207,7 +4207,7 @@ public final class Vsa {
private java.lang.Object verificationResult_ = "";
/**
- * <code>string verificationResult = 6 [json_name = "verification_result"];</code>
+ * <code>string verification_result = 6 [json_name = "verification_result"];</code>
* @return The verificationResult.
*/
public java.lang.String getVerificationResult() {
@@ -4223,7 +4223,7 @@ public final class Vsa {
}
}
/**
- * <code>string verificationResult = 6 [json_name = "verification_result"];</code>
+ * <code>string verification_result = 6 [json_name = "verification_result"];</code>
* @return The bytes for verificationResult.
*/
public com.google.protobuf.ByteString
@@ -4240,7 +4240,7 @@ public final class Vsa {
}
}
/**
- * <code>string verificationResult = 6 [json_name = "verification_result"];</code>
+ * <code>string verification_result = 6 [json_name = "verification_result"];</code>
* @param value The verificationResult to set.
* @return This builder for chaining.
*/
@@ -4255,7 +4255,7 @@ public final class Vsa {
return this;
}
/**
- * <code>string verificationResult = 6 [json_name = "verification_result"];</code>
+ * <code>string verification_result = 6 [json_name = "verification_result"];</code>
* @return This builder for chaining.
*/
public Builder clearVerificationResult() {
@@ -4265,7 +4265,7 @@ public final class Vsa {
return this;
}
/**
- * <code>string verificationResult = 6 [json_name = "verification_result"];</code>
+ * <code>string verification_result = 6 [json_name = "verification_result"];</code>
* @param value The bytes for verificationResult to set.
* @return This builder for chaining.
*/
@@ -4283,7 +4283,7 @@ public final class Vsa {
private java.lang.Object policyLevel_ = "";
/**
- * <code>string policyLevel = 7 [json_name = "policy_level"];</code>
+ * <code>string policy_level = 7 [json_name = "policy_level"];</code>
* @return The policyLevel.
*/
public java.lang.String getPolicyLevel() {
@@ -4299,7 +4299,7 @@ public final class Vsa {
}
}
/**
- * <code>string policyLevel = 7 [json_name = "policy_level"];</code>
+ * <code>string policy_level = 7 [json_name = "policy_level"];</code>
* @return The bytes for policyLevel.
*/
public com.google.protobuf.ByteString
@@ -4316,7 +4316,7 @@ public final class Vsa {
}
}
/**
- * <code>string policyLevel = 7 [json_name = "policy_level"];</code>
+ * <code>string policy_level = 7 [json_name = "policy_level"];</code>
* @param value The policyLevel to set.
* @return This builder for chaining.
*/
@@ -4331,7 +4331,7 @@ public final class Vsa {
return this;
}
/**
- * <code>string policyLevel = 7 [json_name = "policy_level"];</code>
+ * <code>string policy_level = 7 [json_name = "policy_level"];</code>
* @return This builder for chaining.
*/
public Builder clearPolicyLevel() {
@@ -4341,7 +4341,7 @@ public final class Vsa {
return this;
}
/**
- * <code>string policyLevel = 7 [json_name = "policy_level"];</code>
+ * <code>string policy_level = 7 [json_name = "policy_level"];</code>
* @param value The bytes for policyLevel to set.
* @return This builder for chaining.
*/
@@ -4384,7 +4384,7 @@ public final class Vsa {
return internalGetDependencyLevels().getMap().size();
}
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
@java.lang.Override
@@ -4402,7 +4402,7 @@ public final class Vsa {
return getDependencyLevelsMap();
}
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
@java.lang.Override
@@ -4410,7 +4410,7 @@ public final class Vsa {
return internalGetDependencyLevels().getMap();
}
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
@java.lang.Override
@@ -4423,7 +4423,7 @@ public final class Vsa {
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
@java.lang.Override
@@ -4444,7 +4444,7 @@ public final class Vsa {
return this;
}
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
public Builder removeDependencyLevels(
@@ -4463,7 +4463,7 @@ public final class Vsa {
return internalGetMutableDependencyLevels().getMutableMap();
}
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
public Builder putDependencyLevels(
java.lang.String key,
@@ -4475,7 +4475,7 @@ public final class Vsa {
return this;
}
/**
- * <code>map&lt;string, uint64&gt; dependencyLevels = 8 [json_name = "dependency_levels"];</code>
+ * <code>map&lt;string, uint64&gt; dependency_levels = 8 [json_name = "dependency_levels"];</code>
*/
public Builder putAllDependencyLevels(
@@ -4584,36 +4584,36 @@ public final class Vsa {
"\n/in_toto_attestation/predicates/vsa/v0/" +
"vsa.proto\022%in_toto_attestation.predicate" +
"s.vsa.v0\032\037google/protobuf/timestamp.prot" +
- "o\"\243\010\n\023VerificationSummary\022U\n\010verifier\030\001 " +
+ "o\"\251\010\n\023VerificationSummary\022U\n\010verifier\030\001 " +
"\001(\0132C.in_toto_attestation.predicates.vsa" +
- ".v0.VerificationSummary.Verifier\022?\n\014time" +
- "Verified\030\002 \001(\0132\032.google.protobuf.Timesta" +
- "mpR\rtime_verified\022!\n\013resourceUri\030\003 \001(\tR\014" +
- "resource_uri\022Q\n\006policy\030\004 \001(\0132A.in_toto_a" +
- "ttestation.predicates.vsa.v0.Verificatio" +
- "nSummary.Policy\022z\n\021inputAttestations\030\005 \003" +
- "(\0132K.in_toto_attestation.predicates.vsa." +
- "v0.VerificationSummary.InputAttestationR" +
- "\022input_attestations\022/\n\022verificationResul" +
- "t\030\006 \001(\tR\023verification_result\022!\n\013policyLe" +
- "vel\030\007 \001(\tR\014policy_level\022}\n\020dependencyLev" +
- "els\030\010 \003(\0132P.in_toto_attestation.predicat" +
- "es.vsa.v0.VerificationSummary.Dependency" +
- "LevelsEntryR\021dependency_levels\032\026\n\010Verifi" +
- "er\022\n\n\002id\030\001 \001(\t\032\243\001\n\006Policy\022\013\n\003uri\030\001 \001(\t\022]" +
- "\n\006digest\030\002 \003(\0132M.in_toto_attestation.pre" +
- "dicates.vsa.v0.VerificationSummary.Polic" +
- "y.DigestEntry\032-\n\013DigestEntry\022\013\n\003key\030\001 \001(" +
- "\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\267\001\n\020InputAttestatio" +
- "n\022\013\n\003uri\030\001 \001(\t\022g\n\006digest\030\002 \003(\0132W.in_toto" +
+ ".v0.VerificationSummary.Verifier\022@\n\rtime" +
+ "_verified\030\002 \001(\0132\032.google.protobuf.Timest" +
+ "ampR\rtime_verified\022\"\n\014resource_uri\030\003 \001(\t" +
+ "R\014resource_uri\022Q\n\006policy\030\004 \001(\0132A.in_toto" +
"_attestation.predicates.vsa.v0.Verificat" +
- "ionSummary.InputAttestation.DigestEntry\032" +
- "-\n\013DigestEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" +
- "(\t:\0028\001\0327\n\025DependencyLevelsEntry\022\013\n\003key\030\001" +
- " \001(\t\022\r\n\005value\030\002 \001(\004:\0028\001Be\n.io.github.int" +
- "oto.attestation.predicates.vsa.v0Z3githu" +
- "b.com/in-toto/attestation/go/predicates/" +
- "vsa/v0b\006proto3"
+ "ionSummary.Policy\022{\n\022input_attestations\030" +
+ "\005 \003(\0132K.in_toto_attestation.predicates.v" +
+ "sa.v0.VerificationSummary.InputAttestati" +
+ "onR\022input_attestations\0220\n\023verification_r" +
+ "esult\030\006 \001(\tR\023verification_result\022\"\n\014poli" +
+ "cy_level\030\007 \001(\tR\014policy_level\022~\n\021dependen" +
+ "cy_levels\030\010 \003(\0132P.in_toto_attestation.pr" +
+ "edicates.vsa.v0.VerificationSummary.Depe" +
+ "ndencyLevelsEntryR\021dependency_levels\032\026\n\010" +
+ "Verifier\022\n\n\002id\030\001 \001(\t\032\243\001\n\006Policy\022\013\n\003uri\030\001" +
+ " \001(\t\022]\n\006digest\030\002 \003(\0132M.in_toto_attestati" +
+ "on.predicates.vsa.v0.VerificationSummary" +
+ ".Policy.DigestEntry\032-\n\013DigestEntry\022\013\n\003ke" +
+ "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\267\001\n\020InputAtte" +
+ "station\022\013\n\003uri\030\001 \001(\t\022g\n\006digest\030\002 \003(\0132W.i" +
+ "n_toto_attestation.predicates.vsa.v0.Ver" +
+ "ificationSummary.InputAttestation.Digest" +
+ "Entry\032-\n\013DigestEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" +
+ "ue\030\002 \001(\t:\0028\001\0327\n\025DependencyLevelsEntry\022\013\n" +
+ "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\004:\0028\001Be\n.io.gith" +
+ "ub.intoto.attestation.predicates.vsa.v0Z" +
+ "3github.com/in-toto/attestation/go/predi" +
+ "cates/vsa/v0b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
diff --git a/java/io/github/intoto/attestation/v1/ResourceDescriptorOuterClass.java b/java/io/github/intoto/attestation/v1/ResourceDescriptorOuterClass.java
index c3dcebb..f291bb9 100644
--- a/java/io/github/intoto/attestation/v1/ResourceDescriptorOuterClass.java
+++ b/java/io/github/intoto/attestation/v1/ResourceDescriptorOuterClass.java
@@ -83,24 +83,24 @@ public final class ResourceDescriptorOuterClass {
com.google.protobuf.ByteString getContent();
/**
- * <code>string downloadLocation = 5;</code>
+ * <code>string download_location = 5;</code>
* @return The downloadLocation.
*/
java.lang.String getDownloadLocation();
/**
- * <code>string downloadLocation = 5;</code>
+ * <code>string download_location = 5;</code>
* @return The bytes for downloadLocation.
*/
com.google.protobuf.ByteString
getDownloadLocationBytes();
/**
- * <code>string mediaType = 6;</code>
+ * <code>string media_type = 6;</code>
* @return The mediaType.
*/
java.lang.String getMediaType();
/**
- * <code>string mediaType = 6;</code>
+ * <code>string media_type = 6;</code>
* @return The bytes for mediaType.
*/
com.google.protobuf.ByteString
@@ -466,10 +466,10 @@ public final class ResourceDescriptorOuterClass {
return content_;
}
- public static final int DOWNLOADLOCATION_FIELD_NUMBER = 5;
+ public static final int DOWNLOAD_LOCATION_FIELD_NUMBER = 5;
private volatile java.lang.Object downloadLocation_;
/**
- * <code>string downloadLocation = 5;</code>
+ * <code>string download_location = 5;</code>
* @return The downloadLocation.
*/
@java.lang.Override
@@ -486,7 +486,7 @@ public final class ResourceDescriptorOuterClass {
}
}
/**
- * <code>string downloadLocation = 5;</code>
+ * <code>string download_location = 5;</code>
* @return The bytes for downloadLocation.
*/
@java.lang.Override
@@ -504,10 +504,10 @@ public final class ResourceDescriptorOuterClass {
}
}
- public static final int MEDIATYPE_FIELD_NUMBER = 6;
+ public static final int MEDIA_TYPE_FIELD_NUMBER = 6;
private volatile java.lang.Object mediaType_;
/**
- * <code>string mediaType = 6;</code>
+ * <code>string media_type = 6;</code>
* @return The mediaType.
*/
@java.lang.Override
@@ -524,7 +524,7 @@ public final class ResourceDescriptorOuterClass {
}
}
/**
- * <code>string mediaType = 6;</code>
+ * <code>string media_type = 6;</code>
* @return The bytes for mediaType.
*/
@java.lang.Override
@@ -759,9 +759,9 @@ public final class ResourceDescriptorOuterClass {
}
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
- hash = (37 * hash) + DOWNLOADLOCATION_FIELD_NUMBER;
+ hash = (37 * hash) + DOWNLOAD_LOCATION_FIELD_NUMBER;
hash = (53 * hash) + getDownloadLocation().hashCode();
- hash = (37 * hash) + MEDIATYPE_FIELD_NUMBER;
+ hash = (37 * hash) + MEDIA_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getMediaType().hashCode();
if (!internalGetAnnotations().getMap().isEmpty()) {
hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER;
@@ -1397,7 +1397,7 @@ public final class ResourceDescriptorOuterClass {
private java.lang.Object downloadLocation_ = "";
/**
- * <code>string downloadLocation = 5;</code>
+ * <code>string download_location = 5;</code>
* @return The downloadLocation.
*/
public java.lang.String getDownloadLocation() {
@@ -1413,7 +1413,7 @@ public final class ResourceDescriptorOuterClass {
}
}
/**
- * <code>string downloadLocation = 5;</code>
+ * <code>string download_location = 5;</code>
* @return The bytes for downloadLocation.
*/
public com.google.protobuf.ByteString
@@ -1430,7 +1430,7 @@ public final class ResourceDescriptorOuterClass {
}
}
/**
- * <code>string downloadLocation = 5;</code>
+ * <code>string download_location = 5;</code>
* @param value The downloadLocation to set.
* @return This builder for chaining.
*/
@@ -1445,7 +1445,7 @@ public final class ResourceDescriptorOuterClass {
return this;
}
/**
- * <code>string downloadLocation = 5;</code>
+ * <code>string download_location = 5;</code>
* @return This builder for chaining.
*/
public Builder clearDownloadLocation() {
@@ -1455,7 +1455,7 @@ public final class ResourceDescriptorOuterClass {
return this;
}
/**
- * <code>string downloadLocation = 5;</code>
+ * <code>string download_location = 5;</code>
* @param value The bytes for downloadLocation to set.
* @return This builder for chaining.
*/
@@ -1473,7 +1473,7 @@ public final class ResourceDescriptorOuterClass {
private java.lang.Object mediaType_ = "";
/**
- * <code>string mediaType = 6;</code>
+ * <code>string media_type = 6;</code>
* @return The mediaType.
*/
public java.lang.String getMediaType() {
@@ -1489,7 +1489,7 @@ public final class ResourceDescriptorOuterClass {
}
}
/**
- * <code>string mediaType = 6;</code>
+ * <code>string media_type = 6;</code>
* @return The bytes for mediaType.
*/
public com.google.protobuf.ByteString
@@ -1506,7 +1506,7 @@ public final class ResourceDescriptorOuterClass {
}
}
/**
- * <code>string mediaType = 6;</code>
+ * <code>string media_type = 6;</code>
* @param value The mediaType to set.
* @return This builder for chaining.
*/
@@ -1521,7 +1521,7 @@ public final class ResourceDescriptorOuterClass {
return this;
}
/**
- * <code>string mediaType = 6;</code>
+ * <code>string media_type = 6;</code>
* @return This builder for chaining.
*/
public Builder clearMediaType() {
@@ -1531,7 +1531,7 @@ public final class ResourceDescriptorOuterClass {
return this;
}
/**
- * <code>string mediaType = 6;</code>
+ * <code>string media_type = 6;</code>
* @param value The bytes for mediaType to set.
* @return This builder for chaining.
*/
@@ -1753,19 +1753,19 @@ public final class ResourceDescriptorOuterClass {
java.lang.String[] descriptorData = {
"\n0in_toto_attestation/v1/resource_descri" +
"ptor.proto\022\026in_toto_attestation.v1\032\034goog" +
- "le/protobuf/struct.proto\"\202\003\n\022ResourceDes" +
+ "le/protobuf/struct.proto\"\204\003\n\022ResourceDes" +
"criptor\022\014\n\004name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022F\n\006di" +
"gest\030\003 \003(\01326.in_toto_attestation.v1.Reso" +
"urceDescriptor.DigestEntry\022\017\n\007content\030\004 " +
- "\001(\014\022\030\n\020downloadLocation\030\005 \001(\t\022\021\n\tmediaTy" +
- "pe\030\006 \001(\t\022P\n\013annotations\030\007 \003(\0132;.in_toto_" +
- "attestation.v1.ResourceDescriptor.Annota" +
- "tionsEntry\032-\n\013DigestEntry\022\013\n\003key\030\001 \001(\t\022\r" +
- "\n\005value\030\002 \001(\t:\0028\001\032J\n\020AnnotationsEntry\022\013\n" +
- "\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.proto" +
- "buf.Value:\0028\001BG\n\037io.github.intoto.attest" +
- "ation.v1Z$github.com/in-toto/attestation" +
- "/go/v1b\006proto3"
+ "\001(\014\022\031\n\021download_location\030\005 \001(\t\022\022\n\nmedia_" +
+ "type\030\006 \001(\t\022P\n\013annotations\030\007 \003(\0132;.in_tot" +
+ "o_attestation.v1.ResourceDescriptor.Anno" +
+ "tationsEntry\032-\n\013DigestEntry\022\013\n\003key\030\001 \001(\t" +
+ "\022\r\n\005value\030\002 \001(\t:\0028\001\032J\n\020AnnotationsEntry\022" +
+ "\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.pro" +
+ "tobuf.Value:\0028\001BG\n\037io.github.intoto.atte" +
+ "station.v1Z$github.com/in-toto/attestati" +
+ "on/go/v1b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
diff --git a/java/io/github/intoto/attestation/v1/StatementOuterClass.java b/java/io/github/intoto/attestation/v1/StatementOuterClass.java
index 3b7070e..f25beff 100644
--- a/java/io/github/intoto/attestation/v1/StatementOuterClass.java
+++ b/java/io/github/intoto/attestation/v1/StatementOuterClass.java
@@ -63,12 +63,12 @@ public final class StatementOuterClass {
int index);
/**
- * <code>string predicateType = 3;</code>
+ * <code>string predicate_type = 3;</code>
* @return The predicateType.
*/
java.lang.String getPredicateType();
/**
- * <code>string predicateType = 3;</code>
+ * <code>string predicate_type = 3;</code>
* @return The bytes for predicateType.
*/
com.google.protobuf.ByteString
@@ -299,10 +299,10 @@ public final class StatementOuterClass {
return subject_.get(index);
}
- public static final int PREDICATETYPE_FIELD_NUMBER = 3;
+ public static final int PREDICATE_TYPE_FIELD_NUMBER = 3;
private volatile java.lang.Object predicateType_;
/**
- * <code>string predicateType = 3;</code>
+ * <code>string predicate_type = 3;</code>
* @return The predicateType.
*/
@java.lang.Override
@@ -319,7 +319,7 @@ public final class StatementOuterClass {
}
}
/**
- * <code>string predicateType = 3;</code>
+ * <code>string predicate_type = 3;</code>
* @return The bytes for predicateType.
*/
@java.lang.Override
@@ -455,7 +455,7 @@ public final class StatementOuterClass {
hash = (37 * hash) + SUBJECT_FIELD_NUMBER;
hash = (53 * hash) + getSubjectList().hashCode();
}
- hash = (37 * hash) + PREDICATETYPE_FIELD_NUMBER;
+ hash = (37 * hash) + PREDICATE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getPredicateType().hashCode();
if (hasPredicate()) {
hash = (37 * hash) + PREDICATE_FIELD_NUMBER;
@@ -1113,7 +1113,7 @@ public final class StatementOuterClass {
private java.lang.Object predicateType_ = "";
/**
- * <code>string predicateType = 3;</code>
+ * <code>string predicate_type = 3;</code>
* @return The predicateType.
*/
public java.lang.String getPredicateType() {
@@ -1129,7 +1129,7 @@ public final class StatementOuterClass {
}
}
/**
- * <code>string predicateType = 3;</code>
+ * <code>string predicate_type = 3;</code>
* @return The bytes for predicateType.
*/
public com.google.protobuf.ByteString
@@ -1146,7 +1146,7 @@ public final class StatementOuterClass {
}
}
/**
- * <code>string predicateType = 3;</code>
+ * <code>string predicate_type = 3;</code>
* @param value The predicateType to set.
* @return This builder for chaining.
*/
@@ -1161,7 +1161,7 @@ public final class StatementOuterClass {
return this;
}
/**
- * <code>string predicateType = 3;</code>
+ * <code>string predicate_type = 3;</code>
* @return This builder for chaining.
*/
public Builder clearPredicateType() {
@@ -1171,7 +1171,7 @@ public final class StatementOuterClass {
return this;
}
/**
- * <code>string predicateType = 3;</code>
+ * <code>string predicate_type = 3;</code>
* @param value The bytes for predicateType to set.
* @return This builder for chaining.
*/
@@ -1375,13 +1375,13 @@ public final class StatementOuterClass {
"\n&in_toto_attestation/v1/statement.proto" +
"\022\026in_toto_attestation.v1\032\034google/protobu" +
"f/struct.proto\0320in_toto_attestation/v1/r" +
- "esource_descriptor.proto\"\240\001\n\tStatement\022\023" +
+ "esource_descriptor.proto\"\241\001\n\tStatement\022\023" +
"\n\004type\030\001 \001(\tR\005_type\022;\n\007subject\030\002 \003(\0132*.i" +
"n_toto_attestation.v1.ResourceDescriptor" +
- "\022\025\n\rpredicateType\030\003 \001(\t\022*\n\tpredicate\030\004 \001" +
- "(\0132\027.google.protobuf.StructBG\n\037io.github" +
- ".intoto.attestation.v1Z$github.com/in-to" +
- "to/attestation/go/v1b\006proto3"
+ "\022\026\n\016predicate_type\030\003 \001(\t\022*\n\tpredicate\030\004 " +
+ "\001(\0132\027.google.protobuf.StructBG\n\037io.githu" +
+ "b.intoto.attestation.v1Z$github.com/in-t" +
+ "oto/attestation/go/v1b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
diff --git a/python/in_toto_attestation/predicates/vsa/v0/vsa_pb2.py b/python/in_toto_attestation/predicates/vsa/v0/vsa_pb2.py
index 345f0ab..6148ab4 100644
--- a/python/in_toto_attestation/predicates/vsa/v0/vsa_pb2.py
+++ b/python/in_toto_attestation/predicates/vsa/v0/vsa_pb2.py
@@ -20,7 +20,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
syntax='proto3',
serialized_options=b'\n.io.github.intoto.attestation.predicates.vsa.v0Z3github.com/in-toto/attestation/go/predicates/vsa/v0',
create_key=_descriptor._internal_create_key,
- serialized_pb=b'\n/in_toto_attestation/predicates/vsa/v0/vsa.proto\x12%in_toto_attestation.predicates.vsa.v0\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa3\x08\n\x13VerificationSummary\x12U\n\x08verifier\x18\x01 \x01(\x0b\x32\x43.in_toto_attestation.predicates.vsa.v0.VerificationSummary.Verifier\x12?\n\x0ctimeVerified\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\rtime_verified\x12!\n\x0bresourceUri\x18\x03 \x01(\tR\x0cresource_uri\x12Q\n\x06policy\x18\x04 \x01(\x0b\x32\x41.in_toto_attestation.predicates.vsa.v0.VerificationSummary.Policy\x12z\n\x11inputAttestations\x18\x05 \x03(\x0b\x32K.in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestationR\x12input_attestations\x12/\n\x12verificationResult\x18\x06 \x01(\tR\x13verification_result\x12!\n\x0bpolicyLevel\x18\x07 \x01(\tR\x0cpolicy_level\x12}\n\x10\x64\x65pendencyLevels\x18\x08 \x03(\x0b\x32P.in_toto_attestation.predicates.vsa.v0.VerificationSummary.DependencyLevelsEntryR\x11\x64\x65pendency_levels\x1a\x16\n\x08Verifier\x12\n\n\x02id\x18\x01 \x01(\t\x1a\xa3\x01\n\x06Policy\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12]\n\x06\x64igest\x18\x02 \x03(\x0b\x32M.in_toto_attestation.predicates.vsa.v0.VerificationSummary.Policy.DigestEntry\x1a-\n\x0b\x44igestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xb7\x01\n\x10InputAttestation\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12g\n\x06\x64igest\x18\x02 \x03(\x0b\x32W.in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation.DigestEntry\x1a-\n\x0b\x44igestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15\x44\x65pendencyLevelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x04:\x02\x38\x01\x42\x65\n.io.github.intoto.attestation.predicates.vsa.v0Z3github.com/in-toto/attestation/go/predicates/vsa/v0b\x06proto3'
+ serialized_pb=b'\n/in_toto_attestation/predicates/vsa/v0/vsa.proto\x12%in_toto_attestation.predicates.vsa.v0\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa9\x08\n\x13VerificationSummary\x12U\n\x08verifier\x18\x01 \x01(\x0b\x32\x43.in_toto_attestation.predicates.vsa.v0.VerificationSummary.Verifier\x12@\n\rtime_verified\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\rtime_verified\x12\"\n\x0cresource_uri\x18\x03 \x01(\tR\x0cresource_uri\x12Q\n\x06policy\x18\x04 \x01(\x0b\x32\x41.in_toto_attestation.predicates.vsa.v0.VerificationSummary.Policy\x12{\n\x12input_attestations\x18\x05 \x03(\x0b\x32K.in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestationR\x12input_attestations\x12\x30\n\x13verification_result\x18\x06 \x01(\tR\x13verification_result\x12\"\n\x0cpolicy_level\x18\x07 \x01(\tR\x0cpolicy_level\x12~\n\x11\x64\x65pendency_levels\x18\x08 \x03(\x0b\x32P.in_toto_attestation.predicates.vsa.v0.VerificationSummary.DependencyLevelsEntryR\x11\x64\x65pendency_levels\x1a\x16\n\x08Verifier\x12\n\n\x02id\x18\x01 \x01(\t\x1a\xa3\x01\n\x06Policy\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12]\n\x06\x64igest\x18\x02 \x03(\x0b\x32M.in_toto_attestation.predicates.vsa.v0.VerificationSummary.Policy.DigestEntry\x1a-\n\x0b\x44igestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xb7\x01\n\x10InputAttestation\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12g\n\x06\x64igest\x18\x02 \x03(\x0b\x32W.in_toto_attestation.predicates.vsa.v0.VerificationSummary.InputAttestation.DigestEntry\x1a-\n\x0b\x44igestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15\x44\x65pendencyLevelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x04:\x02\x38\x01\x42\x65\n.io.github.intoto.attestation.predicates.vsa.v0Z3github.com/in-toto/attestation/go/predicates/vsa/v0b\x06proto3'
,
dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])
@@ -54,8 +54,8 @@ _VERIFICATIONSUMMARY_VERIFIER = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
- serialized_start=752,
- serialized_end=774,
+ serialized_start=758,
+ serialized_end=780,
)
_VERIFICATIONSUMMARY_POLICY_DIGESTENTRY = _descriptor.Descriptor(
@@ -92,8 +92,8 @@ _VERIFICATIONSUMMARY_POLICY_DIGESTENTRY = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
- serialized_start=895,
- serialized_end=940,
+ serialized_start=901,
+ serialized_end=946,
)
_VERIFICATIONSUMMARY_POLICY = _descriptor.Descriptor(
@@ -130,8 +130,8 @@ _VERIFICATIONSUMMARY_POLICY = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
- serialized_start=777,
- serialized_end=940,
+ serialized_start=783,
+ serialized_end=946,
)
_VERIFICATIONSUMMARY_INPUTATTESTATION_DIGESTENTRY = _descriptor.Descriptor(
@@ -168,8 +168,8 @@ _VERIFICATIONSUMMARY_INPUTATTESTATION_DIGESTENTRY = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
- serialized_start=895,
- serialized_end=940,
+ serialized_start=901,
+ serialized_end=946,
)
_VERIFICATIONSUMMARY_INPUTATTESTATION = _descriptor.Descriptor(
@@ -206,8 +206,8 @@ _VERIFICATIONSUMMARY_INPUTATTESTATION = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
- serialized_start=943,
- serialized_end=1126,
+ serialized_start=949,
+ serialized_end=1132,
)
_VERIFICATIONSUMMARY_DEPENDENCYLEVELSENTRY = _descriptor.Descriptor(
@@ -244,8 +244,8 @@ _VERIFICATIONSUMMARY_DEPENDENCYLEVELSENTRY = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
- serialized_start=1128,
- serialized_end=1183,
+ serialized_start=1134,
+ serialized_end=1189,
)
_VERIFICATIONSUMMARY = _descriptor.Descriptor(
@@ -264,14 +264,14 @@ _VERIFICATIONSUMMARY = _descriptor.Descriptor(
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='timeVerified', full_name='in_toto_attestation.predicates.vsa.v0.VerificationSummary.timeVerified', index=1,
+ name='time_verified', full_name='in_toto_attestation.predicates.vsa.v0.VerificationSummary.time_verified', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, json_name='time_verified', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='resourceUri', full_name='in_toto_attestation.predicates.vsa.v0.VerificationSummary.resourceUri', index=2,
+ name='resource_uri', full_name='in_toto_attestation.predicates.vsa.v0.VerificationSummary.resource_uri', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
@@ -285,28 +285,28 @@ _VERIFICATIONSUMMARY = _descriptor.Descriptor(
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='inputAttestations', full_name='in_toto_attestation.predicates.vsa.v0.VerificationSummary.inputAttestations', index=4,
+ name='input_attestations', full_name='in_toto_attestation.predicates.vsa.v0.VerificationSummary.input_attestations', index=4,
number=5, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, json_name='input_attestations', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='verificationResult', full_name='in_toto_attestation.predicates.vsa.v0.VerificationSummary.verificationResult', index=5,
+ name='verification_result', full_name='in_toto_attestation.predicates.vsa.v0.VerificationSummary.verification_result', index=5,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, json_name='verification_result', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='policyLevel', full_name='in_toto_attestation.predicates.vsa.v0.VerificationSummary.policyLevel', index=6,
+ name='policy_level', full_name='in_toto_attestation.predicates.vsa.v0.VerificationSummary.policy_level', index=6,
number=7, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, json_name='policy_level', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='dependencyLevels', full_name='in_toto_attestation.predicates.vsa.v0.VerificationSummary.dependencyLevels', index=7,
+ name='dependency_levels', full_name='in_toto_attestation.predicates.vsa.v0.VerificationSummary.dependency_levels', index=7,
number=8, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
@@ -325,7 +325,7 @@ _VERIFICATIONSUMMARY = _descriptor.Descriptor(
oneofs=[
],
serialized_start=124,
- serialized_end=1183,
+ serialized_end=1189,
)
_VERIFICATIONSUMMARY_VERIFIER.containing_type = _VERIFICATIONSUMMARY
@@ -337,10 +337,10 @@ _VERIFICATIONSUMMARY_INPUTATTESTATION.fields_by_name['digest'].message_type = _V
_VERIFICATIONSUMMARY_INPUTATTESTATION.containing_type = _VERIFICATIONSUMMARY
_VERIFICATIONSUMMARY_DEPENDENCYLEVELSENTRY.containing_type = _VERIFICATIONSUMMARY
_VERIFICATIONSUMMARY.fields_by_name['verifier'].message_type = _VERIFICATIONSUMMARY_VERIFIER
-_VERIFICATIONSUMMARY.fields_by_name['timeVerified'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
+_VERIFICATIONSUMMARY.fields_by_name['time_verified'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_VERIFICATIONSUMMARY.fields_by_name['policy'].message_type = _VERIFICATIONSUMMARY_POLICY
-_VERIFICATIONSUMMARY.fields_by_name['inputAttestations'].message_type = _VERIFICATIONSUMMARY_INPUTATTESTATION
-_VERIFICATIONSUMMARY.fields_by_name['dependencyLevels'].message_type = _VERIFICATIONSUMMARY_DEPENDENCYLEVELSENTRY
+_VERIFICATIONSUMMARY.fields_by_name['input_attestations'].message_type = _VERIFICATIONSUMMARY_INPUTATTESTATION
+_VERIFICATIONSUMMARY.fields_by_name['dependency_levels'].message_type = _VERIFICATIONSUMMARY_DEPENDENCYLEVELSENTRY
DESCRIPTOR.message_types_by_name['VerificationSummary'] = _VERIFICATIONSUMMARY
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
diff --git a/python/in_toto_attestation/v1/resource_descriptor_pb2.py b/python/in_toto_attestation/v1/resource_descriptor_pb2.py
index 3292419..84f3b4a 100644
--- a/python/in_toto_attestation/v1/resource_descriptor_pb2.py
+++ b/python/in_toto_attestation/v1/resource_descriptor_pb2.py
@@ -20,7 +20,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
syntax='proto3',
serialized_options=b'\n\037io.github.intoto.attestation.v1Z$github.com/in-toto/attestation/go/v1',
create_key=_descriptor._internal_create_key,
- serialized_pb=b'\n0in_toto_attestation/v1/resource_descriptor.proto\x12\x16in_toto_attestation.v1\x1a\x1cgoogle/protobuf/struct.proto\"\x82\x03\n\x12ResourceDescriptor\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x46\n\x06\x64igest\x18\x03 \x03(\x0b\x32\x36.in_toto_attestation.v1.ResourceDescriptor.DigestEntry\x12\x0f\n\x07\x63ontent\x18\x04 \x01(\x0c\x12\x18\n\x10\x64ownloadLocation\x18\x05 \x01(\t\x12\x11\n\tmediaType\x18\x06 \x01(\t\x12P\n\x0b\x61nnotations\x18\x07 \x03(\x0b\x32;.in_toto_attestation.v1.ResourceDescriptor.AnnotationsEntry\x1a-\n\x0b\x44igestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aJ\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x42G\n\x1fio.github.intoto.attestation.v1Z$github.com/in-toto/attestation/go/v1b\x06proto3'
+ serialized_pb=b'\n0in_toto_attestation/v1/resource_descriptor.proto\x12\x16in_toto_attestation.v1\x1a\x1cgoogle/protobuf/struct.proto\"\x84\x03\n\x12ResourceDescriptor\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x46\n\x06\x64igest\x18\x03 \x03(\x0b\x32\x36.in_toto_attestation.v1.ResourceDescriptor.DigestEntry\x12\x0f\n\x07\x63ontent\x18\x04 \x01(\x0c\x12\x19\n\x11\x64ownload_location\x18\x05 \x01(\t\x12\x12\n\nmedia_type\x18\x06 \x01(\t\x12P\n\x0b\x61nnotations\x18\x07 \x03(\x0b\x32;.in_toto_attestation.v1.ResourceDescriptor.AnnotationsEntry\x1a-\n\x0b\x44igestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aJ\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x42G\n\x1fio.github.intoto.attestation.v1Z$github.com/in-toto/attestation/go/v1b\x06proto3'
,
dependencies=[google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,])
@@ -61,8 +61,8 @@ _RESOURCEDESCRIPTOR_DIGESTENTRY = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
- serialized_start=372,
- serialized_end=417,
+ serialized_start=374,
+ serialized_end=419,
)
_RESOURCEDESCRIPTOR_ANNOTATIONSENTRY = _descriptor.Descriptor(
@@ -99,8 +99,8 @@ _RESOURCEDESCRIPTOR_ANNOTATIONSENTRY = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
- serialized_start=419,
- serialized_end=493,
+ serialized_start=421,
+ serialized_end=495,
)
_RESOURCEDESCRIPTOR = _descriptor.Descriptor(
@@ -140,14 +140,14 @@ _RESOURCEDESCRIPTOR = _descriptor.Descriptor(
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='downloadLocation', full_name='in_toto_attestation.v1.ResourceDescriptor.downloadLocation', index=4,
+ name='download_location', full_name='in_toto_attestation.v1.ResourceDescriptor.download_location', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='mediaType', full_name='in_toto_attestation.v1.ResourceDescriptor.mediaType', index=5,
+ name='media_type', full_name='in_toto_attestation.v1.ResourceDescriptor.media_type', index=5,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
@@ -173,7 +173,7 @@ _RESOURCEDESCRIPTOR = _descriptor.Descriptor(
oneofs=[
],
serialized_start=107,
- serialized_end=493,
+ serialized_end=495,
)
_RESOURCEDESCRIPTOR_DIGESTENTRY.containing_type = _RESOURCEDESCRIPTOR
diff --git a/python/in_toto_attestation/v1/statement_pb2.py b/python/in_toto_attestation/v1/statement_pb2.py
index 0594119..10224f3 100644
--- a/python/in_toto_attestation/v1/statement_pb2.py
+++ b/python/in_toto_attestation/v1/statement_pb2.py
@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
syntax='proto3',
serialized_options=b'\n\037io.github.intoto.attestation.v1Z$github.com/in-toto/attestation/go/v1',
create_key=_descriptor._internal_create_key,
- serialized_pb=b'\n&in_toto_attestation/v1/statement.proto\x12\x16in_toto_attestation.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x30in_toto_attestation/v1/resource_descriptor.proto\"\xa0\x01\n\tStatement\x12\x13\n\x04type\x18\x01 \x01(\tR\x05_type\x12;\n\x07subject\x18\x02 \x03(\x0b\x32*.in_toto_attestation.v1.ResourceDescriptor\x12\x15\n\rpredicateType\x18\x03 \x01(\t\x12*\n\tpredicate\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructBG\n\x1fio.github.intoto.attestation.v1Z$github.com/in-toto/attestation/go/v1b\x06proto3'
+ serialized_pb=b'\n&in_toto_attestation/v1/statement.proto\x12\x16in_toto_attestation.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x30in_toto_attestation/v1/resource_descriptor.proto\"\xa1\x01\n\tStatement\x12\x13\n\x04type\x18\x01 \x01(\tR\x05_type\x12;\n\x07subject\x18\x02 \x03(\x0b\x32*.in_toto_attestation.v1.ResourceDescriptor\x12\x16\n\x0epredicate_type\x18\x03 \x01(\t\x12*\n\tpredicate\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructBG\n\x1fio.github.intoto.attestation.v1Z$github.com/in-toto/attestation/go/v1b\x06proto3'
,
dependencies=[google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,in__toto__attestation_dot_v1_dot_resource__descriptor__pb2.DESCRIPTOR,])
@@ -51,7 +51,7 @@ _STATEMENT = _descriptor.Descriptor(
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='predicateType', full_name='in_toto_attestation.v1.Statement.predicateType', index=2,
+ name='predicate_type', full_name='in_toto_attestation.v1.Statement.predicate_type', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
@@ -77,7 +77,7 @@ _STATEMENT = _descriptor.Descriptor(
oneofs=[
],
serialized_start=147,
- serialized_end=307,
+ serialized_end=308,
)
_STATEMENT.fields_by_name['subject'].message_type = in__toto__attestation_dot_v1_dot_resource__descriptor__pb2._RESOURCEDESCRIPTOR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment