@@ -275,6 +275,8 @@ pub struct GetTokenRequest {
275275 // message fields
276276 // @@protoc_insertion_point(field:attestation_agent.GetTokenRequest.TokenType)
277277 pub TokenType : :: std:: string:: String ,
278+ // @@protoc_insertion_point(field:attestation_agent.GetTokenRequest.StructuredRuntimeData)
279+ pub StructuredRuntimeData : :: std:: option:: Option < :: std:: string:: String > ,
278280 // special fields
279281 // @@protoc_insertion_point(special_field:attestation_agent.GetTokenRequest.special_fields)
280282 pub special_fields : :: protobuf:: SpecialFields ,
@@ -292,13 +294,18 @@ impl GetTokenRequest {
292294 }
293295
294296 fn generated_message_descriptor_data ( ) -> :: protobuf:: reflect:: GeneratedMessageDescriptorData {
295- let mut fields = :: std:: vec:: Vec :: with_capacity ( 1 ) ;
297+ let mut fields = :: std:: vec:: Vec :: with_capacity ( 2 ) ;
296298 let mut oneofs = :: std:: vec:: Vec :: with_capacity ( 0 ) ;
297299 fields. push ( :: protobuf:: reflect:: rt:: v2:: make_simpler_field_accessor :: < _ , _ > (
298300 "TokenType" ,
299301 |m : & GetTokenRequest | { & m. TokenType } ,
300302 |m : & mut GetTokenRequest | { & mut m. TokenType } ,
301303 ) ) ;
304+ fields. push ( :: protobuf:: reflect:: rt:: v2:: make_option_accessor :: < _ , _ > (
305+ "StructuredRuntimeData" ,
306+ |m : & GetTokenRequest | { & m. StructuredRuntimeData } ,
307+ |m : & mut GetTokenRequest | { & mut m. StructuredRuntimeData } ,
308+ ) ) ;
302309 :: protobuf:: reflect:: GeneratedMessageDescriptorData :: new_2 :: < GetTokenRequest > (
303310 "GetTokenRequest" ,
304311 fields,
@@ -320,6 +327,9 @@ impl ::protobuf::Message for GetTokenRequest {
320327 10 => {
321328 self . TokenType = is. read_string ( ) ?;
322329 } ,
330+ 18 => {
331+ self . StructuredRuntimeData = :: std:: option:: Option :: Some ( is. read_string ( ) ?) ;
332+ } ,
323333 tag => {
324334 :: protobuf:: rt:: read_unknown_or_skip_group ( tag, is, self . special_fields . mut_unknown_fields ( ) ) ?;
325335 } ,
@@ -335,6 +345,9 @@ impl ::protobuf::Message for GetTokenRequest {
335345 if !self . TokenType . is_empty ( ) {
336346 my_size += :: protobuf:: rt:: string_size ( 1 , & self . TokenType ) ;
337347 }
348+ if let Some ( v) = self . StructuredRuntimeData . as_ref ( ) {
349+ my_size += :: protobuf:: rt:: string_size ( 2 , & v) ;
350+ }
338351 my_size += :: protobuf:: rt:: unknown_fields_size ( self . special_fields . unknown_fields ( ) ) ;
339352 self . special_fields . cached_size ( ) . set ( my_size as u32 ) ;
340353 my_size
@@ -344,6 +357,9 @@ impl ::protobuf::Message for GetTokenRequest {
344357 if !self . TokenType . is_empty ( ) {
345358 os. write_string ( 1 , & self . TokenType ) ?;
346359 }
360+ if let Some ( v) = self . StructuredRuntimeData . as_ref ( ) {
361+ os. write_string ( 2 , v) ?;
362+ }
347363 os. write_unknown_fields ( self . special_fields . unknown_fields ( ) ) ?;
348364 :: std:: result:: Result :: Ok ( ( ) )
349365 }
@@ -362,12 +378,14 @@ impl ::protobuf::Message for GetTokenRequest {
362378
363379 fn clear ( & mut self ) {
364380 self . TokenType . clear ( ) ;
381+ self . StructuredRuntimeData = :: std:: option:: Option :: None ;
365382 self . special_fields . clear ( ) ;
366383 }
367384
368385 fn default_instance ( ) -> & ' static GetTokenRequest {
369386 static instance: GetTokenRequest = GetTokenRequest {
370387 TokenType : :: std:: string:: String :: new ( ) ,
388+ StructuredRuntimeData : :: std:: option:: Option :: None ,
371389 special_fields : :: protobuf:: SpecialFields :: new ( ) ,
372390 } ;
373391 & instance
@@ -760,18 +778,20 @@ static file_descriptor_proto_data: &'static [u8] = b"\
760778 \n \x17 attestation-agent.proto\x12 \x11 attestation_agent\" 6\n \x12 GetEviden\
761779 ceRequest\x12 \x20 \n \x0b RuntimeData\x18 \x01 \x20 \x01 (\x0c R\x0b RuntimeData\
762780 \" 1\n \x13 GetEvidenceResponse\x12 \x1a \n \x08 Evidence\x18 \x01 \x20 \x01 (\x0c R\
763- \x08 Evidence\" /\n \x0f GetTokenRequest\x12 \x1c \n \t TokenType\x18 \x01 \x20 \
764- \x01 (\t R\t TokenType\" (\n \x10 GetTokenResponse\x12 \x14 \n \x05 Token\x18 \x01 \
765- \x20 \x01 (\x0c R\x05 Token\" v\n \x1f ExtendRuntimeMeasurementRequest\x12 \x16 \
766- \n \x06 Events\x18 \x01 \x20 \x03 (\x0c R\x06 Events\x12 )\n \r RegisterIndex\x18 \
767- \x02 \x20 \x01 (\x04 H\0 R\r RegisterIndex\x88 \x01 \x01 B\x10 \n \x0e _RegisterInde\
768- x\" \" \n \x20 ExtendRuntimeMeasurementResponse2\xd2 \x02 \n \x17 AttestationAge\
769- ntService\x12 \\ \n \x0b GetEvidence\x12 %.attestation_agent.GetEvidenceReque\
770- st\x1a &.attestation_agent.GetEvidenceResponse\x12 S\n \x08 GetToken\x12 \" .a\
771- ttestation_agent.GetTokenRequest\x1a #.attestation_agent.GetTokenResponse\
772- \x12 \x83 \x01 \n \x18 ExtendRuntimeMeasurement\x12 2.attestation_agent.Extend\
773- RuntimeMeasurementRequest\x1a 3.attestation_agent.ExtendRuntimeMeasuremen\
774- tResponseb\x06 proto3\
781+ \x08 Evidence\" \x84 \x01 \n \x0f GetTokenRequest\x12 \x1c \n \t TokenType\x18 \x01 \
782+ \x20 \x01 (\t R\t TokenType\x12 9\n \x15 StructuredRuntimeData\x18 \x02 \x20 \x01 (\
783+ \t H\0 R\x15 StructuredRuntimeData\x88 \x01 \x01 B\x18 \n \x16 _StructuredRuntime\
784+ Data\" (\n \x10 GetTokenResponse\x12 \x14 \n \x05 Token\x18 \x01 \x20 \x01 (\x0c R\
785+ \x05 Token\" v\n \x1f ExtendRuntimeMeasurementRequest\x12 \x16 \n \x06 Events\
786+ \x18 \x01 \x20 \x03 (\x0c R\x06 Events\x12 )\n \r RegisterIndex\x18 \x02 \x20 \x01 (\
787+ \x04 H\0 R\r RegisterIndex\x88 \x01 \x01 B\x10 \n \x0e _RegisterIndex\" \" \n \x20 Ex\
788+ tendRuntimeMeasurementResponse2\xd2 \x02 \n \x17 AttestationAgentService\x12 \
789+ \\ \n \x0b GetEvidence\x12 %.attestation_agent.GetEvidenceRequest\x1a &.attes\
790+ tation_agent.GetEvidenceResponse\x12 S\n \x08 GetToken\x12 \" .attestation_ag\
791+ ent.GetTokenRequest\x1a #.attestation_agent.GetTokenResponse\x12 \x83 \x01 \
792+ \n \x18 ExtendRuntimeMeasurement\x12 2.attestation_agent.ExtendRuntimeMeasu\
793+ rementRequest\x1a 3.attestation_agent.ExtendRuntimeMeasurementResponseb\
794+ \x06 proto3\
775795 ";
776796
777797/// `FileDescriptorProto` object which was a source for this generated file
0 commit comments