Skip to content

Commit

Permalink
ttrpc: update cached ttrpc files
Browse files Browse the repository at this point in the history
We are now using rust-protobuf 3.3.0 and ttrpc-compiler 0.6.2 to build
ttrpc proto files.

Signed-off-by: Xynnn007 <[email protected]>
  • Loading branch information
Xynnn007 committed Dec 15, 2023
1 parent af5afcb commit 95cfcf4
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 33 deletions.
12 changes: 6 additions & 6 deletions api-server-rest/src/ttrpc_proto/attestation_agent.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 3.2.0. Do not edit
// This file is generated by rust-protobuf 3.3.0. Do not edit
// .proto file is parsed by pure
// @generated

Expand All @@ -23,10 +23,10 @@
/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_2_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_3_0;

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetEvidenceRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetEvidenceRequest {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetEvidenceRequest.RuntimeData)
Expand Down Expand Up @@ -147,8 +147,8 @@ impl ::protobuf::reflect::ProtobufValue for GetEvidenceRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetEvidenceResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetEvidenceResponse {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetEvidenceResponse.Evidence)
Expand Down Expand Up @@ -269,8 +269,8 @@ impl ::protobuf::reflect::ProtobufValue for GetEvidenceResponse {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetTokenRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetTokenRequest {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetTokenRequest.TokenType)
Expand Down Expand Up @@ -391,8 +391,8 @@ impl ::protobuf::reflect::ProtobufValue for GetTokenRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetTokenResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetTokenResponse {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetTokenResponse.Token)
Expand Down
8 changes: 3 additions & 5 deletions api-server-rest/src/ttrpc_proto/attestation_agent_ttrpc.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
// This file is generated by ttrpc-compiler 0.6.1. Do not edit
// This file is generated by ttrpc-compiler 0.6.2. Do not edit
// @generated

// https://github.com/Manishearth/rust-clippy/issues/702
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unknown_lints)]
#![allow(clipto_camel_casepy)]

#![cfg_attr(rustfmt, rustfmt_skip)]

#![allow(box_pointers)]
#![allow(dead_code)]
#![allow(missing_docs)]
Expand All @@ -17,6 +14,7 @@
#![allow(unsafe_code)]
#![allow(unused_imports)]
#![allow(unused_results)]
#![allow(clippy::all)]
use protobuf::{CodedInputStream, CodedOutputStream, Message};
use std::collections::HashMap;
use std::sync::Arc;
Expand Down
8 changes: 4 additions & 4 deletions api-server-rest/src/ttrpc_proto/confidential_data_hub.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 3.2.0. Do not edit
// This file is generated by rust-protobuf 3.3.0. Do not edit
// .proto file is parsed by pure
// @generated

Expand All @@ -23,10 +23,10 @@
/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_2_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_3_0;

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:api.GetResourceRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetResourceRequest {
// message fields
// @@protoc_insertion_point(field:api.GetResourceRequest.ResourcePath)
Expand Down Expand Up @@ -147,8 +147,8 @@ impl ::protobuf::reflect::ProtobufValue for GetResourceRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:api.GetResourceResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetResourceResponse {
// message fields
// @@protoc_insertion_point(field:api.GetResourceResponse.Resource)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
// This file is generated by ttrpc-compiler 0.6.1. Do not edit
// This file is generated by ttrpc-compiler 0.6.2. Do not edit
// @generated

// https://github.com/Manishearth/rust-clippy/issues/702
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unknown_lints)]
#![allow(clipto_camel_casepy)]

#![cfg_attr(rustfmt, rustfmt_skip)]

#![allow(box_pointers)]
#![allow(dead_code)]
#![allow(missing_docs)]
Expand All @@ -17,6 +14,7 @@
#![allow(unsafe_code)]
#![allow(unused_imports)]
#![allow(unused_results)]
#![allow(clippy::all)]
use protobuf::{CodedInputStream, CodedOutputStream, Message};
use std::collections::HashMap;
use std::sync::Arc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 3.2.0. Do not edit
// This file is generated by rust-protobuf 3.3.0. Do not edit
// .proto file is parsed by pure
// @generated

Expand All @@ -23,10 +23,10 @@
/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_2_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_3_0;

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetEvidenceRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetEvidenceRequest {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetEvidenceRequest.RuntimeData)
Expand Down Expand Up @@ -147,8 +147,8 @@ impl ::protobuf::reflect::ProtobufValue for GetEvidenceRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetEvidenceResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetEvidenceResponse {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetEvidenceResponse.Evidence)
Expand Down Expand Up @@ -269,8 +269,8 @@ impl ::protobuf::reflect::ProtobufValue for GetEvidenceResponse {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetTokenRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetTokenRequest {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetTokenRequest.TokenType)
Expand Down Expand Up @@ -391,8 +391,8 @@ impl ::protobuf::reflect::ProtobufValue for GetTokenRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetTokenResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetTokenResponse {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetTokenResponse.Token)
Expand Down Expand Up @@ -513,8 +513,8 @@ impl ::protobuf::reflect::ProtobufValue for GetTokenResponse {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.ExtendRuntimeMeasurementRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct ExtendRuntimeMeasurementRequest {
// message fields
// @@protoc_insertion_point(field:attestation_agent.ExtendRuntimeMeasurementRequest.Events)
Expand Down Expand Up @@ -653,8 +653,8 @@ impl ::protobuf::reflect::ProtobufValue for ExtendRuntimeMeasurementRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.ExtendRuntimeMeasurementResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct ExtendRuntimeMeasurementResponse {
// special fields
// @@protoc_insertion_point(special_field:attestation_agent.ExtendRuntimeMeasurementResponse.special_fields)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
// This file is generated by ttrpc-compiler 0.6.1. Do not edit
// This file is generated by ttrpc-compiler 0.6.2. Do not edit
// @generated

// https://github.com/Manishearth/rust-clippy/issues/702
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unknown_lints)]
#![allow(clipto_camel_casepy)]

#![cfg_attr(rustfmt, rustfmt_skip)]

#![allow(box_pointers)]
#![allow(dead_code)]
#![allow(missing_docs)]
Expand All @@ -17,6 +14,7 @@
#![allow(unsafe_code)]
#![allow(unused_imports)]
#![allow(unused_results)]
#![allow(clippy::all)]
use protobuf::{CodedInputStream, CodedOutputStream, Message};
use std::collections::HashMap;
use std::sync::Arc;
Expand Down

0 comments on commit 95cfcf4

Please sign in to comment.