diff --git a/api/wasm/cpp/proxy_wasm_intrinsics.pb.cc b/api/wasm/cpp/proxy_wasm_intrinsics.pb.cc index bd93617c1298..a318dbbf34e3 100644 --- a/api/wasm/cpp/proxy_wasm_intrinsics.pb.cc +++ b/api/wasm/cpp/proxy_wasm_intrinsics.pb.cc @@ -18,10 +18,11 @@ extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DataSource_proxy_5fwasm_5fintrinsics_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_EnvoyGrpc_proxy_5fwasm_5fintrinsics_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_GrpcService_GoogleGrpc_proxy_5fwasm_5fintrinsics_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<5> scc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_proxy_5fwasm_5fintrinsics_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_proxy_5fwasm_5fintrinsics_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_proxy_5fwasm_5fintrinsics_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_GrpcService_GoogleGrpc_ChannelCredentials_proxy_5fwasm_5fintrinsics_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_GoogleGrpc_GoogleLocalCredentials_proxy_5fwasm_5fintrinsics_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_GrpcService_GoogleGrpc_SslCredentials_proxy_5fwasm_5fintrinsics_2eproto; @@ -74,6 +75,10 @@ class GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginDefaul const PROTOBUF_NAMESPACE_ID::Struct* config_; const PROTOBUF_NAMESPACE_ID::Any* typed_config_; } _GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_default_instance_; +class GrpcService_GoogleGrpc_CallCredentials_StsServiceDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; +} _GrpcService_GoogleGrpc_CallCredentials_StsService_default_instance_; class GrpcService_GoogleGrpc_CallCredentialsDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; @@ -83,6 +88,7 @@ class GrpcService_GoogleGrpc_CallCredentialsDefaultTypeInternal { const ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* service_account_jwt_access_; const ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* google_iam_; const ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* from_plugin_; + const ::GrpcService_GoogleGrpc_CallCredentials_StsService* sts_service_; } _GrpcService_GoogleGrpc_CallCredentials_default_instance_; class GrpcService_GoogleGrpcDefaultTypeInternal { public: @@ -172,12 +178,13 @@ static void InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5f ::GrpcService_GoogleGrpc_CallCredentials::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_2eproto}, { +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<5> scc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 5, InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_2eproto}, { &scc_info_Empty_google_2fprotobuf_2fempty_2eproto.base, &scc_info_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_proxy_5fwasm_5fintrinsics_2eproto.base, &scc_info_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_proxy_5fwasm_5fintrinsics_2eproto.base, - &scc_info_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_proxy_5fwasm_5fintrinsics_2eproto.base,}}; + &scc_info_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_proxy_5fwasm_5fintrinsics_2eproto.base, + &scc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_2eproto.base,}}; static void InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_proxy_5fwasm_5fintrinsics_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -223,6 +230,20 @@ static void InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_ServiceA ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_proxy_5fwasm_5fintrinsics_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_proxy_5fwasm_5fintrinsics_2eproto}, {}}; +static void InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::_GrpcService_GoogleGrpc_CallCredentials_StsService_default_instance_; + new (ptr) ::GrpcService_GoogleGrpc_CallCredentials_StsService(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::GrpcService_GoogleGrpc_CallCredentials_StsService::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_2eproto}, {}}; + static void InitDefaultsscc_info_GrpcService_GoogleGrpc_ChannelCredentials_proxy_5fwasm_5fintrinsics_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -298,7 +319,7 @@ ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_WKT_proxy_5fwasm_5fintrin {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_WKT_proxy_5fwasm_5fintrinsics_2eproto}, { &scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto.base,}}; -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_proxy_5fwasm_5fintrinsics_2eproto[13]; +static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_proxy_5fwasm_5fintrinsics_2eproto[14]; static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_proxy_5fwasm_5fintrinsics_2eproto = nullptr; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_proxy_5fwasm_5fintrinsics_2eproto = nullptr; @@ -370,6 +391,20 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_proxy_5fwasm_5fintrinsics_2epr offsetof(::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginDefaultTypeInternal, typed_config_), PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin, config_type_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, token_exchange_service_uri_), + PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, resource_), + PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, audience_), + PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, scope_), + PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, requested_token_type_), + PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, subject_token_path_), + PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, subject_token_type_), + PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, actor_token_path_), + PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, actor_token_type_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials, _internal_metadata_), ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials, _oneof_case_[0]), @@ -380,6 +415,7 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_proxy_5fwasm_5fintrinsics_2epr offsetof(::GrpcService_GoogleGrpc_CallCredentialsDefaultTypeInternal, service_account_jwt_access_), offsetof(::GrpcService_GoogleGrpc_CallCredentialsDefaultTypeInternal, google_iam_), offsetof(::GrpcService_GoogleGrpc_CallCredentialsDefaultTypeInternal, from_plugin_), + offsetof(::GrpcService_GoogleGrpc_CallCredentialsDefaultTypeInternal, sts_service_), PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials, credential_specifier_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc, _internal_metadata_), @@ -420,10 +456,11 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 43, -1, sizeof(::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials)}, { 50, -1, sizeof(::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials)}, { 57, -1, sizeof(::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin)}, - { 66, -1, sizeof(::GrpcService_GoogleGrpc_CallCredentials)}, - { 78, -1, sizeof(::GrpcService_GoogleGrpc)}, - { 89, -1, sizeof(::GrpcService_HeaderValue)}, - { 96, -1, sizeof(::GrpcService)}, + { 66, -1, sizeof(::GrpcService_GoogleGrpc_CallCredentials_StsService)}, + { 80, -1, sizeof(::GrpcService_GoogleGrpc_CallCredentials)}, + { 93, -1, sizeof(::GrpcService_GoogleGrpc)}, + { 104, -1, sizeof(::GrpcService_HeaderValue)}, + { 111, -1, sizeof(::GrpcService)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -436,6 +473,7 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = reinterpret_cast(&::_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_default_instance_), reinterpret_cast(&::_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_default_instance_), reinterpret_cast(&::_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_default_instance_), + reinterpret_cast(&::_GrpcService_GoogleGrpc_CallCredentials_StsService_default_instance_), reinterpret_cast(&::_GrpcService_GoogleGrpc_CallCredentials_default_instance_), reinterpret_cast(&::_GrpcService_GoogleGrpc_default_instance_), reinterpret_cast(&::_GrpcService_HeaderValue_default_instance_), @@ -450,13 +488,13 @@ const char descriptor_table_protodef_proxy_5fwasm_5fintrinsics_2eproto[] PROTOBU "ruct\030\001 \001(\0132\027.google.protobuf.Struct\"^\n\nD" "ataSource\022\022\n\010filename\030\001 \001(\tH\000\022\026\n\014inline_" "bytes\030\002 \001(\014H\000\022\027\n\rinline_string\030\003 \001(\tH\000B\013" - "\n\tspecifier\"\311\r\n\013GrpcService\022,\n\nenvoy_grp" + "\n\tspecifier\"\204\020\n\013GrpcService\022,\n\nenvoy_grp" "c\030\001 \001(\0132\026.GrpcService.EnvoyGrpcH\000\022.\n\013goo" "gle_grpc\030\002 \001(\0132\027.GrpcService.GoogleGrpcH" "\000\022*\n\007timeout\030\003 \001(\0132\031.google.protobuf.Dur" "ation\0222\n\020initial_metadata\030\005 \003(\0132\030.GrpcSe" "rvice.HeaderValue\032!\n\tEnvoyGrpc\022\024\n\014cluste" - "r_name\030\001 \001(\t\032\223\013\n\nGoogleGrpc\022\022\n\ntarget_ur" + "r_name\030\001 \001(\t\032\316\r\n\nGoogleGrpc\022\022\n\ntarget_ur" "i\030\001 \001(\t\022G\n\023channel_credentials\030\002 \001(\0132*.G" "rpcService.GoogleGrpc.ChannelCredentials" "\022A\n\020call_credentials\030\003 \003(\0132\'.GrpcService" @@ -472,7 +510,7 @@ const char descriptor_table_protodef_proxy_5fwasm_5fintrinsics_2eproto[] PROTOBU "\016google_default\030\002 \001(\0132\026.google.protobuf." "EmptyH\000\022K\n\021local_credentials\030\003 \001(\0132..Grp" "cService.GoogleGrpc.GoogleLocalCredentia" - "lsH\000B\026\n\024credential_specifier\032\203\006\n\017CallCre" + "lsH\000B\026\n\024credential_specifier\032\276\010\n\017CallCre" "dentials\022\026\n\014access_token\030\001 \001(\tH\000\0227\n\025goog" "le_compute_engine\030\002 \001(\0132\026.google.protobu" "f.EmptyH\000\022\036\n\024google_refresh_token\030\003 \001(\tH" @@ -483,17 +521,25 @@ const char descriptor_table_protodef_proxy_5fwasm_5fintrinsics_2eproto[] PROTOBU ".CallCredentials.GoogleIAMCredentialsH\000\022" "\\\n\013from_plugin\030\006 \001(\0132E.GrpcService.Googl" "eGrpc.CallCredentials.MetadataCredential" - "sFromPluginH\000\032V\n\"ServiceAccountJWTAccess" - "Credentials\022\020\n\010json_key\030\001 \001(\t\022\036\n\026token_l" - "ifetime_seconds\030\002 \001(\004\032O\n\024GoogleIAMCreden" - "tials\022\033\n\023authorization_token\030\001 \001(\t\022\032\n\022au" - "thority_selector\030\002 \001(\t\032\231\001\n\035MetadataCrede" - "ntialsFromPlugin\022\014\n\004name\030\001 \001(\t\022-\n\006config" - "\030\002 \001(\0132\027.google.protobuf.StructB\002\030\001H\000\022,\n" - "\014typed_config\030\003 \001(\0132\024.google.protobuf.An" - "yH\000B\r\n\013config_typeB\026\n\024credential_specifi" - "er\032)\n\013HeaderValue\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" - "\002 \001(\tB\022\n\020target_specifierJ\004\010\004\020\005b\006proto3" + "sFromPluginH\000\022I\n\013sts_service\030\007 \001(\01322.Grp" + "cService.GoogleGrpc.CallCredentials.StsS" + "erviceH\000\032V\n\"ServiceAccountJWTAccessCrede" + "ntials\022\020\n\010json_key\030\001 \001(\t\022\036\n\026token_lifeti" + "me_seconds\030\002 \001(\004\032O\n\024GoogleIAMCredentials" + "\022\033\n\023authorization_token\030\001 \001(\t\022\032\n\022authori" + "ty_selector\030\002 \001(\t\032\231\001\n\035MetadataCredential" + "sFromPlugin\022\014\n\004name\030\001 \001(\t\022-\n\006config\030\002 \001(" + "\0132\027.google.protobuf.StructB\002\030\001H\000\022,\n\014type" + "d_config\030\003 \001(\0132\024.google.protobuf.AnyH\000B\r" + "\n\013config_type\032\355\001\n\nStsService\022\"\n\032token_ex" + "change_service_uri\030\001 \001(\t\022\020\n\010resource\030\002 \001" + "(\t\022\020\n\010audience\030\003 \001(\t\022\r\n\005scope\030\004 \001(\t\022\034\n\024r" + "equested_token_type\030\005 \001(\t\022\032\n\022subject_tok" + "en_path\030\006 \001(\t\022\032\n\022subject_token_type\030\007 \001(" + "\t\022\030\n\020actor_token_path\030\010 \001(\t\022\030\n\020actor_tok" + "en_type\030\t \001(\tB\026\n\024credential_specifier\032)\n" + "\013HeaderValue\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + "B\022\n\020target_specifierJ\004\010\004\020\005b\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_deps[4] = { &::descriptor_table_google_2fprotobuf_2fany_2eproto, @@ -501,7 +547,7 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor &::descriptor_table_google_2fprotobuf_2fempty_2eproto, &::descriptor_table_google_2fprotobuf_2fstruct_2eproto, }; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_sccs[13] = { +static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_sccs[14] = { &scc_info_DataSource_proxy_5fwasm_5fintrinsics_2eproto.base, &scc_info_GrpcService_proxy_5fwasm_5fintrinsics_2eproto.base, &scc_info_GrpcService_EnvoyGrpc_proxy_5fwasm_5fintrinsics_2eproto.base, @@ -510,6 +556,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_pro &scc_info_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_proxy_5fwasm_5fintrinsics_2eproto.base, &scc_info_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_proxy_5fwasm_5fintrinsics_2eproto.base, &scc_info_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_proxy_5fwasm_5fintrinsics_2eproto.base, + &scc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_2eproto.base, &scc_info_GrpcService_GoogleGrpc_ChannelCredentials_proxy_5fwasm_5fintrinsics_2eproto.base, &scc_info_GrpcService_GoogleGrpc_GoogleLocalCredentials_proxy_5fwasm_5fintrinsics_2eproto.base, &scc_info_GrpcService_GoogleGrpc_SslCredentials_proxy_5fwasm_5fintrinsics_2eproto.base, @@ -519,10 +566,10 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_pro static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_once; static bool descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_proxy_5fwasm_5fintrinsics_2eproto = { - &descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_initialized, descriptor_table_protodef_proxy_5fwasm_5fintrinsics_2eproto, "proxy_wasm_intrinsics.proto", 2039, - &descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_once, descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_sccs, descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_deps, 13, 4, + &descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_initialized, descriptor_table_protodef_proxy_5fwasm_5fintrinsics_2eproto, "proxy_wasm_intrinsics.proto", 2354, + &descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_once, descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_sccs, descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_deps, 14, 4, schemas, file_default_instances, TableStruct_proxy_5fwasm_5fintrinsics_2eproto::offsets, - file_level_metadata_proxy_5fwasm_5fintrinsics_2eproto, 13, file_level_enum_descriptors_proxy_5fwasm_5fintrinsics_2eproto, file_level_service_descriptors_proxy_5fwasm_5fintrinsics_2eproto, + file_level_metadata_proxy_5fwasm_5fintrinsics_2eproto, 14, file_level_enum_descriptors_proxy_5fwasm_5fintrinsics_2eproto, file_level_service_descriptors_proxy_5fwasm_5fintrinsics_2eproto, }; // Force running AddDescriptors() at dynamic initialization time. @@ -3639,266 +3686,185 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GrpcService_GoogleGrpc_CallCredentials_Metadat // =================================================================== -void GrpcService_GoogleGrpc_CallCredentials::InitAsDefaultInstance() { - ::_GrpcService_GoogleGrpc_CallCredentials_default_instance_.access_token_.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::_GrpcService_GoogleGrpc_CallCredentials_default_instance_.google_compute_engine_ = const_cast< PROTOBUF_NAMESPACE_ID::Empty*>( - PROTOBUF_NAMESPACE_ID::Empty::internal_default_instance()); - ::_GrpcService_GoogleGrpc_CallCredentials_default_instance_.google_refresh_token_.UnsafeSetDefault( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::_GrpcService_GoogleGrpc_CallCredentials_default_instance_.service_account_jwt_access_ = const_cast< ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials*>( - ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials::internal_default_instance()); - ::_GrpcService_GoogleGrpc_CallCredentials_default_instance_.google_iam_ = const_cast< ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials*>( - ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials::internal_default_instance()); - ::_GrpcService_GoogleGrpc_CallCredentials_default_instance_.from_plugin_ = const_cast< ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin*>( - ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin::internal_default_instance()); +void GrpcService_GoogleGrpc_CallCredentials_StsService::InitAsDefaultInstance() { } -class GrpcService_GoogleGrpc_CallCredentials::_Internal { +class GrpcService_GoogleGrpc_CallCredentials_StsService::_Internal { public: - static const PROTOBUF_NAMESPACE_ID::Empty& google_compute_engine(const GrpcService_GoogleGrpc_CallCredentials* msg); - static const ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials& service_account_jwt_access(const GrpcService_GoogleGrpc_CallCredentials* msg); - static const ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials& google_iam(const GrpcService_GoogleGrpc_CallCredentials* msg); - static const ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin& from_plugin(const GrpcService_GoogleGrpc_CallCredentials* msg); }; -const PROTOBUF_NAMESPACE_ID::Empty& -GrpcService_GoogleGrpc_CallCredentials::_Internal::google_compute_engine(const GrpcService_GoogleGrpc_CallCredentials* msg) { - return *msg->credential_specifier_.google_compute_engine_; -} -const ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials& -GrpcService_GoogleGrpc_CallCredentials::_Internal::service_account_jwt_access(const GrpcService_GoogleGrpc_CallCredentials* msg) { - return *msg->credential_specifier_.service_account_jwt_access_; -} -const ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials& -GrpcService_GoogleGrpc_CallCredentials::_Internal::google_iam(const GrpcService_GoogleGrpc_CallCredentials* msg) { - return *msg->credential_specifier_.google_iam_; -} -const ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin& -GrpcService_GoogleGrpc_CallCredentials::_Internal::from_plugin(const GrpcService_GoogleGrpc_CallCredentials* msg) { - return *msg->credential_specifier_.from_plugin_; -} -void GrpcService_GoogleGrpc_CallCredentials::set_allocated_google_compute_engine(PROTOBUF_NAMESPACE_ID::Empty* google_compute_engine) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); - clear_credential_specifier(); - if (google_compute_engine) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(google_compute_engine)->GetArena(); - if (message_arena != submessage_arena) { - google_compute_engine = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, google_compute_engine, submessage_arena); - } - set_has_google_compute_engine(); - credential_specifier_.google_compute_engine_ = google_compute_engine; - } - // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.google_compute_engine) -} -void GrpcService_GoogleGrpc_CallCredentials::clear_google_compute_engine() { - if (has_google_compute_engine()) { - delete credential_specifier_.google_compute_engine_; - clear_has_credential_specifier(); - } -} -void GrpcService_GoogleGrpc_CallCredentials::set_allocated_service_account_jwt_access(::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* service_account_jwt_access) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); - clear_credential_specifier(); - if (service_account_jwt_access) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - service_account_jwt_access = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, service_account_jwt_access, submessage_arena); - } - set_has_service_account_jwt_access(); - credential_specifier_.service_account_jwt_access_ = service_account_jwt_access; - } - // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.service_account_jwt_access) -} -void GrpcService_GoogleGrpc_CallCredentials::set_allocated_google_iam(::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* google_iam) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); - clear_credential_specifier(); - if (google_iam) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - google_iam = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, google_iam, submessage_arena); - } - set_has_google_iam(); - credential_specifier_.google_iam_ = google_iam; - } - // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.google_iam) -} -void GrpcService_GoogleGrpc_CallCredentials::set_allocated_from_plugin(::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* from_plugin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); - clear_credential_specifier(); - if (from_plugin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - from_plugin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, from_plugin, submessage_arena); - } - set_has_from_plugin(); - credential_specifier_.from_plugin_ = from_plugin; - } - // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.from_plugin) -} -GrpcService_GoogleGrpc_CallCredentials::GrpcService_GoogleGrpc_CallCredentials() +GrpcService_GoogleGrpc_CallCredentials_StsService::GrpcService_GoogleGrpc_CallCredentials_StsService() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); - // @@protoc_insertion_point(constructor:GrpcService.GoogleGrpc.CallCredentials) + // @@protoc_insertion_point(constructor:GrpcService.GoogleGrpc.CallCredentials.StsService) } -GrpcService_GoogleGrpc_CallCredentials::GrpcService_GoogleGrpc_CallCredentials(const GrpcService_GoogleGrpc_CallCredentials& from) +GrpcService_GoogleGrpc_CallCredentials_StsService::GrpcService_GoogleGrpc_CallCredentials_StsService(const GrpcService_GoogleGrpc_CallCredentials_StsService& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_credential_specifier(); - switch (from.credential_specifier_case()) { - case kAccessToken: { - set_access_token(from.access_token()); - break; - } - case kGoogleComputeEngine: { - mutable_google_compute_engine()->PROTOBUF_NAMESPACE_ID::Empty::MergeFrom(from.google_compute_engine()); - break; - } - case kGoogleRefreshToken: { - set_google_refresh_token(from.google_refresh_token()); - break; - } - case kServiceAccountJwtAccess: { - mutable_service_account_jwt_access()->::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials::MergeFrom(from.service_account_jwt_access()); - break; - } - case kGoogleIam: { - mutable_google_iam()->::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials::MergeFrom(from.google_iam()); - break; - } - case kFromPlugin: { - mutable_from_plugin()->::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin::MergeFrom(from.from_plugin()); - break; - } - case CREDENTIAL_SPECIFIER_NOT_SET: { - break; - } + token_exchange_service_uri_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.token_exchange_service_uri().empty()) { + token_exchange_service_uri_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.token_exchange_service_uri_); } - // @@protoc_insertion_point(copy_constructor:GrpcService.GoogleGrpc.CallCredentials) + resource_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.resource().empty()) { + resource_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.resource_); + } + audience_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.audience().empty()) { + audience_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.audience_); + } + scope_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.scope().empty()) { + scope_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.scope_); + } + requested_token_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.requested_token_type().empty()) { + requested_token_type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.requested_token_type_); + } + subject_token_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.subject_token_path().empty()) { + subject_token_path_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_token_path_); + } + subject_token_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.subject_token_type().empty()) { + subject_token_type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_token_type_); + } + actor_token_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.actor_token_path().empty()) { + actor_token_path_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.actor_token_path_); + } + actor_token_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.actor_token_type().empty()) { + actor_token_type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.actor_token_type_); + } + // @@protoc_insertion_point(copy_constructor:GrpcService.GoogleGrpc.CallCredentials.StsService) } -void GrpcService_GoogleGrpc_CallCredentials::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_2eproto.base); - clear_has_credential_specifier(); +void GrpcService_GoogleGrpc_CallCredentials_StsService::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_2eproto.base); + token_exchange_service_uri_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + resource_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + audience_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + scope_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + requested_token_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + subject_token_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + subject_token_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + actor_token_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + actor_token_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -GrpcService_GoogleGrpc_CallCredentials::~GrpcService_GoogleGrpc_CallCredentials() { - // @@protoc_insertion_point(destructor:GrpcService.GoogleGrpc.CallCredentials) +GrpcService_GoogleGrpc_CallCredentials_StsService::~GrpcService_GoogleGrpc_CallCredentials_StsService() { + // @@protoc_insertion_point(destructor:GrpcService.GoogleGrpc.CallCredentials.StsService) SharedDtor(); } -void GrpcService_GoogleGrpc_CallCredentials::SharedDtor() { - if (has_credential_specifier()) { - clear_credential_specifier(); - } +void GrpcService_GoogleGrpc_CallCredentials_StsService::SharedDtor() { + token_exchange_service_uri_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + resource_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + audience_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + scope_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + requested_token_type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + subject_token_path_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + subject_token_type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + actor_token_path_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + actor_token_type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void GrpcService_GoogleGrpc_CallCredentials::SetCachedSize(int size) const { +void GrpcService_GoogleGrpc_CallCredentials_StsService::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GrpcService_GoogleGrpc_CallCredentials& GrpcService_GoogleGrpc_CallCredentials::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_2eproto.base); +const GrpcService_GoogleGrpc_CallCredentials_StsService& GrpcService_GoogleGrpc_CallCredentials_StsService::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_2eproto.base); return *internal_default_instance(); } -void GrpcService_GoogleGrpc_CallCredentials::clear_credential_specifier() { -// @@protoc_insertion_point(one_of_clear_start:GrpcService.GoogleGrpc.CallCredentials) - switch (credential_specifier_case()) { - case kAccessToken: { - credential_specifier_.access_token_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - break; - } - case kGoogleComputeEngine: { - delete credential_specifier_.google_compute_engine_; - break; - } - case kGoogleRefreshToken: { - credential_specifier_.google_refresh_token_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - break; - } - case kServiceAccountJwtAccess: { - delete credential_specifier_.service_account_jwt_access_; - break; - } - case kGoogleIam: { - delete credential_specifier_.google_iam_; - break; - } - case kFromPlugin: { - delete credential_specifier_.from_plugin_; - break; - } - case CREDENTIAL_SPECIFIER_NOT_SET: { - break; - } - } - _oneof_case_[0] = CREDENTIAL_SPECIFIER_NOT_SET; -} - - -void GrpcService_GoogleGrpc_CallCredentials::Clear() { -// @@protoc_insertion_point(message_clear_start:GrpcService.GoogleGrpc.CallCredentials) +void GrpcService_GoogleGrpc_CallCredentials_StsService::Clear() { +// @@protoc_insertion_point(message_clear_start:GrpcService.GoogleGrpc.CallCredentials.StsService) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - clear_credential_specifier(); + token_exchange_service_uri_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + resource_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + audience_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + scope_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + requested_token_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + subject_token_path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + subject_token_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + actor_token_path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + actor_token_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _internal_metadata_.Clear(); } #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GrpcService_GoogleGrpc_CallCredentials::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* GrpcService_GoogleGrpc_CallCredentials_StsService::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { - // string access_token = 1; + // string token_exchange_service_uri = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_access_token(), ptr, ctx, "GrpcService.GoogleGrpc.CallCredentials.access_token"); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_token_exchange_service_uri(), ptr, ctx, "GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri"); CHK_(ptr); } else goto handle_unusual; continue; - // .google.protobuf.Empty google_compute_engine = 2; + // string resource = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - ptr = ctx->ParseMessage(mutable_google_compute_engine(), ptr); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_resource(), ptr, ctx, "GrpcService.GoogleGrpc.CallCredentials.StsService.resource"); CHK_(ptr); } else goto handle_unusual; continue; - // string google_refresh_token = 3; + // string audience = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_google_refresh_token(), ptr, ctx, "GrpcService.GoogleGrpc.CallCredentials.google_refresh_token"); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_audience(), ptr, ctx, "GrpcService.GoogleGrpc.CallCredentials.StsService.audience"); CHK_(ptr); } else goto handle_unusual; continue; - // .GrpcService.GoogleGrpc.CallCredentials.ServiceAccountJWTAccessCredentials service_account_jwt_access = 4; + // string scope = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { - ptr = ctx->ParseMessage(mutable_service_account_jwt_access(), ptr); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_scope(), ptr, ctx, "GrpcService.GoogleGrpc.CallCredentials.StsService.scope"); CHK_(ptr); } else goto handle_unusual; continue; - // .GrpcService.GoogleGrpc.CallCredentials.GoogleIAMCredentials google_iam = 5; + // string requested_token_type = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { - ptr = ctx->ParseMessage(mutable_google_iam(), ptr); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_requested_token_type(), ptr, ctx, "GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type"); CHK_(ptr); } else goto handle_unusual; continue; - // .GrpcService.GoogleGrpc.CallCredentials.MetadataCredentialsFromPlugin from_plugin = 6; + // string subject_token_path = 6; case 6: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { - ptr = ctx->ParseMessage(mutable_from_plugin(), ptr); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_subject_token_path(), ptr, ctx, "GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string subject_token_type = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_subject_token_type(), ptr, ctx, "GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string actor_token_path = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_actor_token_path(), ptr, ctx, "GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string actor_token_type = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_actor_token_type(), ptr, ctx, "GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type"); CHK_(ptr); } else goto handle_unusual; continue; @@ -3922,86 +3888,987 @@ const char* GrpcService_GoogleGrpc_CallCredentials::_InternalParse(const char* p #undef CHK_ } #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool GrpcService_GoogleGrpc_CallCredentials::MergePartialFromCodedStream( +bool GrpcService_GoogleGrpc_CallCredentials_StsService::MergePartialFromCodedStream( ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure ::PROTOBUF_NAMESPACE_ID::uint32 tag; - // @@protoc_insertion_point(parse_start:GrpcService.GoogleGrpc.CallCredentials) + // @@protoc_insertion_point(parse_start:GrpcService.GoogleGrpc.CallCredentials.StsService) for (;;) { ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; if (!p.second) goto handle_unusual; switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string access_token = 1; + // string token_exchange_service_uri = 1; case 1: { if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( - input, this->mutable_access_token())); + input, this->mutable_token_exchange_service_uri())); DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->access_token().data(), static_cast(this->access_token().length()), + this->token_exchange_service_uri().data(), static_cast(this->token_exchange_service_uri().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, - "GrpcService.GoogleGrpc.CallCredentials.access_token")); + "GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri")); } else { goto handle_unusual; } break; } - // .google.protobuf.Empty google_compute_engine = 2; + // string resource = 2; case 2: { if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) { - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( - input, mutable_google_compute_engine())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_resource())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->resource().data(), static_cast(this->resource().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.resource")); } else { goto handle_unusual; } break; } - // string google_refresh_token = 3; + // string audience = 3; case 3: { if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 0xFF)) { DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( - input, this->mutable_google_refresh_token())); + input, this->mutable_audience())); DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->google_refresh_token().data(), static_cast(this->google_refresh_token().length()), + this->audience().data(), static_cast(this->audience().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, - "GrpcService.GoogleGrpc.CallCredentials.google_refresh_token")); + "GrpcService.GoogleGrpc.CallCredentials.StsService.audience")); } else { goto handle_unusual; } break; } - // .GrpcService.GoogleGrpc.CallCredentials.ServiceAccountJWTAccessCredentials service_account_jwt_access = 4; + // string scope = 4; case 4: { if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 0xFF)) { - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( - input, mutable_service_account_jwt_access())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_scope())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->scope().data(), static_cast(this->scope().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.scope")); } else { goto handle_unusual; } break; } - // .GrpcService.GoogleGrpc.CallCredentials.GoogleIAMCredentials google_iam = 5; + // string requested_token_type = 5; case 5: { if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (42 & 0xFF)) { - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( - input, mutable_google_iam())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_requested_token_type())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->requested_token_type().data(), static_cast(this->requested_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type")); } else { goto handle_unusual; } break; } - // .GrpcService.GoogleGrpc.CallCredentials.MetadataCredentialsFromPlugin from_plugin = 6; + // string subject_token_path = 6; case 6: { if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (50 & 0xFF)) { - DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( - input, mutable_from_plugin())); - } else { - goto handle_unusual; + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_subject_token_path())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->subject_token_path().data(), static_cast(this->subject_token_path().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path")); + } else { + goto handle_unusual; + } + break; + } + + // string subject_token_type = 7; + case 7: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (58 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_subject_token_type())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->subject_token_type().data(), static_cast(this->subject_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type")); + } else { + goto handle_unusual; + } + break; + } + + // string actor_token_path = 8; + case 8: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (66 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_actor_token_path())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->actor_token_path().data(), static_cast(this->actor_token_path().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path")); + } else { + goto handle_unusual; + } + break; + } + + // string actor_token_type = 9; + case 9: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (74 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_actor_token_type())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->actor_token_type().data(), static_cast(this->actor_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:GrpcService.GoogleGrpc.CallCredentials.StsService) + return true; +failure: + // @@protoc_insertion_point(parse_failure:GrpcService.GoogleGrpc.CallCredentials.StsService) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void GrpcService_GoogleGrpc_CallCredentials_StsService::SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GrpcService.GoogleGrpc.CallCredentials.StsService) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string token_exchange_service_uri = 1; + if (this->token_exchange_service_uri().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->token_exchange_service_uri().data(), static_cast(this->token_exchange_service_uri().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->token_exchange_service_uri(), output); + } + + // string resource = 2; + if (this->resource().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->resource().data(), static_cast(this->resource().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.resource"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->resource(), output); + } + + // string audience = 3; + if (this->audience().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->audience().data(), static_cast(this->audience().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.audience"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->audience(), output); + } + + // string scope = 4; + if (this->scope().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->scope().data(), static_cast(this->scope().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.scope"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 4, this->scope(), output); + } + + // string requested_token_type = 5; + if (this->requested_token_type().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->requested_token_type().data(), static_cast(this->requested_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 5, this->requested_token_type(), output); + } + + // string subject_token_path = 6; + if (this->subject_token_path().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->subject_token_path().data(), static_cast(this->subject_token_path().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 6, this->subject_token_path(), output); + } + + // string subject_token_type = 7; + if (this->subject_token_type().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->subject_token_type().data(), static_cast(this->subject_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 7, this->subject_token_type(), output); + } + + // string actor_token_path = 8; + if (this->actor_token_path().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->actor_token_path().data(), static_cast(this->actor_token_path().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 8, this->actor_token_path(), output); + } + + // string actor_token_type = 9; + if (this->actor_token_type().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->actor_token_type().data(), static_cast(this->actor_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 9, this->actor_token_type(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:GrpcService.GoogleGrpc.CallCredentials.StsService) +} + +::PROTOBUF_NAMESPACE_ID::uint8* GrpcService_GoogleGrpc_CallCredentials_StsService::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:GrpcService.GoogleGrpc.CallCredentials.StsService) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string token_exchange_service_uri = 1; + if (this->token_exchange_service_uri().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->token_exchange_service_uri().data(), static_cast(this->token_exchange_service_uri().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri"); + target = + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( + 1, this->token_exchange_service_uri(), target); + } + + // string resource = 2; + if (this->resource().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->resource().data(), static_cast(this->resource().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.resource"); + target = + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( + 2, this->resource(), target); + } + + // string audience = 3; + if (this->audience().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->audience().data(), static_cast(this->audience().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.audience"); + target = + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( + 3, this->audience(), target); + } + + // string scope = 4; + if (this->scope().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->scope().data(), static_cast(this->scope().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.scope"); + target = + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( + 4, this->scope(), target); + } + + // string requested_token_type = 5; + if (this->requested_token_type().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->requested_token_type().data(), static_cast(this->requested_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type"); + target = + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( + 5, this->requested_token_type(), target); + } + + // string subject_token_path = 6; + if (this->subject_token_path().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->subject_token_path().data(), static_cast(this->subject_token_path().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path"); + target = + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( + 6, this->subject_token_path(), target); + } + + // string subject_token_type = 7; + if (this->subject_token_type().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->subject_token_type().data(), static_cast(this->subject_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type"); + target = + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( + 7, this->subject_token_type(), target); + } + + // string actor_token_path = 8; + if (this->actor_token_path().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->actor_token_path().data(), static_cast(this->actor_token_path().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path"); + target = + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( + 8, this->actor_token_path(), target); + } + + // string actor_token_type = 9; + if (this->actor_token_type().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->actor_token_type().data(), static_cast(this->actor_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type"); + target = + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( + 9, this->actor_token_type(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:GrpcService.GoogleGrpc.CallCredentials.StsService) + return target; +} + +size_t GrpcService_GoogleGrpc_CallCredentials_StsService::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:GrpcService.GoogleGrpc.CallCredentials.StsService) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string token_exchange_service_uri = 1; + if (this->token_exchange_service_uri().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->token_exchange_service_uri()); + } + + // string resource = 2; + if (this->resource().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->resource()); + } + + // string audience = 3; + if (this->audience().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->audience()); + } + + // string scope = 4; + if (this->scope().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->scope()); + } + + // string requested_token_type = 5; + if (this->requested_token_type().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->requested_token_type()); + } + + // string subject_token_path = 6; + if (this->subject_token_path().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->subject_token_path()); + } + + // string subject_token_type = 7; + if (this->subject_token_type().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->subject_token_type()); + } + + // string actor_token_path = 8; + if (this->actor_token_path().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->actor_token_path()); + } + + // string actor_token_type = 9; + if (this->actor_token_type().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->actor_token_type()); + } + + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GrpcService_GoogleGrpc_CallCredentials_StsService::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:GrpcService.GoogleGrpc.CallCredentials.StsService) + GOOGLE_DCHECK_NE(&from, this); + const GrpcService_GoogleGrpc_CallCredentials_StsService* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:GrpcService.GoogleGrpc.CallCredentials.StsService) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:GrpcService.GoogleGrpc.CallCredentials.StsService) + MergeFrom(*source); + } +} + +void GrpcService_GoogleGrpc_CallCredentials_StsService::MergeFrom(const GrpcService_GoogleGrpc_CallCredentials_StsService& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:GrpcService.GoogleGrpc.CallCredentials.StsService) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.token_exchange_service_uri().size() > 0) { + + token_exchange_service_uri_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.token_exchange_service_uri_); + } + if (from.resource().size() > 0) { + + resource_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.resource_); + } + if (from.audience().size() > 0) { + + audience_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.audience_); + } + if (from.scope().size() > 0) { + + scope_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.scope_); + } + if (from.requested_token_type().size() > 0) { + + requested_token_type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.requested_token_type_); + } + if (from.subject_token_path().size() > 0) { + + subject_token_path_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_token_path_); + } + if (from.subject_token_type().size() > 0) { + + subject_token_type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_token_type_); + } + if (from.actor_token_path().size() > 0) { + + actor_token_path_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.actor_token_path_); + } + if (from.actor_token_type().size() > 0) { + + actor_token_type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.actor_token_type_); + } +} + +void GrpcService_GoogleGrpc_CallCredentials_StsService::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:GrpcService.GoogleGrpc.CallCredentials.StsService) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void GrpcService_GoogleGrpc_CallCredentials_StsService::CopyFrom(const GrpcService_GoogleGrpc_CallCredentials_StsService& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:GrpcService.GoogleGrpc.CallCredentials.StsService) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GrpcService_GoogleGrpc_CallCredentials_StsService::IsInitialized() const { + return true; +} + +void GrpcService_GoogleGrpc_CallCredentials_StsService::InternalSwap(GrpcService_GoogleGrpc_CallCredentials_StsService* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + token_exchange_service_uri_.Swap(&other->token_exchange_service_uri_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + resource_.Swap(&other->resource_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + audience_.Swap(&other->audience_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + scope_.Swap(&other->scope_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + requested_token_type_.Swap(&other->requested_token_type_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + subject_token_path_.Swap(&other->subject_token_path_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + subject_token_type_.Swap(&other->subject_token_type_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + actor_token_path_.Swap(&other->actor_token_path_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + actor_token_type_.Swap(&other->actor_token_type_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GrpcService_GoogleGrpc_CallCredentials_StsService::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void GrpcService_GoogleGrpc_CallCredentials::InitAsDefaultInstance() { + ::_GrpcService_GoogleGrpc_CallCredentials_default_instance_.access_token_.UnsafeSetDefault( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::_GrpcService_GoogleGrpc_CallCredentials_default_instance_.google_compute_engine_ = const_cast< PROTOBUF_NAMESPACE_ID::Empty*>( + PROTOBUF_NAMESPACE_ID::Empty::internal_default_instance()); + ::_GrpcService_GoogleGrpc_CallCredentials_default_instance_.google_refresh_token_.UnsafeSetDefault( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::_GrpcService_GoogleGrpc_CallCredentials_default_instance_.service_account_jwt_access_ = const_cast< ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials*>( + ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials::internal_default_instance()); + ::_GrpcService_GoogleGrpc_CallCredentials_default_instance_.google_iam_ = const_cast< ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials*>( + ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials::internal_default_instance()); + ::_GrpcService_GoogleGrpc_CallCredentials_default_instance_.from_plugin_ = const_cast< ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin*>( + ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin::internal_default_instance()); + ::_GrpcService_GoogleGrpc_CallCredentials_default_instance_.sts_service_ = const_cast< ::GrpcService_GoogleGrpc_CallCredentials_StsService*>( + ::GrpcService_GoogleGrpc_CallCredentials_StsService::internal_default_instance()); +} +class GrpcService_GoogleGrpc_CallCredentials::_Internal { + public: + static const PROTOBUF_NAMESPACE_ID::Empty& google_compute_engine(const GrpcService_GoogleGrpc_CallCredentials* msg); + static const ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials& service_account_jwt_access(const GrpcService_GoogleGrpc_CallCredentials* msg); + static const ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials& google_iam(const GrpcService_GoogleGrpc_CallCredentials* msg); + static const ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin& from_plugin(const GrpcService_GoogleGrpc_CallCredentials* msg); + static const ::GrpcService_GoogleGrpc_CallCredentials_StsService& sts_service(const GrpcService_GoogleGrpc_CallCredentials* msg); +}; + +const PROTOBUF_NAMESPACE_ID::Empty& +GrpcService_GoogleGrpc_CallCredentials::_Internal::google_compute_engine(const GrpcService_GoogleGrpc_CallCredentials* msg) { + return *msg->credential_specifier_.google_compute_engine_; +} +const ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials& +GrpcService_GoogleGrpc_CallCredentials::_Internal::service_account_jwt_access(const GrpcService_GoogleGrpc_CallCredentials* msg) { + return *msg->credential_specifier_.service_account_jwt_access_; +} +const ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials& +GrpcService_GoogleGrpc_CallCredentials::_Internal::google_iam(const GrpcService_GoogleGrpc_CallCredentials* msg) { + return *msg->credential_specifier_.google_iam_; +} +const ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin& +GrpcService_GoogleGrpc_CallCredentials::_Internal::from_plugin(const GrpcService_GoogleGrpc_CallCredentials* msg) { + return *msg->credential_specifier_.from_plugin_; +} +const ::GrpcService_GoogleGrpc_CallCredentials_StsService& +GrpcService_GoogleGrpc_CallCredentials::_Internal::sts_service(const GrpcService_GoogleGrpc_CallCredentials* msg) { + return *msg->credential_specifier_.sts_service_; +} +void GrpcService_GoogleGrpc_CallCredentials::set_allocated_google_compute_engine(PROTOBUF_NAMESPACE_ID::Empty* google_compute_engine) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + clear_credential_specifier(); + if (google_compute_engine) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(google_compute_engine)->GetArena(); + if (message_arena != submessage_arena) { + google_compute_engine = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, google_compute_engine, submessage_arena); + } + set_has_google_compute_engine(); + credential_specifier_.google_compute_engine_ = google_compute_engine; + } + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.google_compute_engine) +} +void GrpcService_GoogleGrpc_CallCredentials::clear_google_compute_engine() { + if (has_google_compute_engine()) { + delete credential_specifier_.google_compute_engine_; + clear_has_credential_specifier(); + } +} +void GrpcService_GoogleGrpc_CallCredentials::set_allocated_service_account_jwt_access(::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* service_account_jwt_access) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + clear_credential_specifier(); + if (service_account_jwt_access) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + service_account_jwt_access = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, service_account_jwt_access, submessage_arena); + } + set_has_service_account_jwt_access(); + credential_specifier_.service_account_jwt_access_ = service_account_jwt_access; + } + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.service_account_jwt_access) +} +void GrpcService_GoogleGrpc_CallCredentials::set_allocated_google_iam(::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* google_iam) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + clear_credential_specifier(); + if (google_iam) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + google_iam = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, google_iam, submessage_arena); + } + set_has_google_iam(); + credential_specifier_.google_iam_ = google_iam; + } + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.google_iam) +} +void GrpcService_GoogleGrpc_CallCredentials::set_allocated_from_plugin(::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* from_plugin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + clear_credential_specifier(); + if (from_plugin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + from_plugin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, from_plugin, submessage_arena); + } + set_has_from_plugin(); + credential_specifier_.from_plugin_ = from_plugin; + } + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.from_plugin) +} +void GrpcService_GoogleGrpc_CallCredentials::set_allocated_sts_service(::GrpcService_GoogleGrpc_CallCredentials_StsService* sts_service) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + clear_credential_specifier(); + if (sts_service) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + sts_service = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, sts_service, submessage_arena); + } + set_has_sts_service(); + credential_specifier_.sts_service_ = sts_service; + } + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.sts_service) +} +GrpcService_GoogleGrpc_CallCredentials::GrpcService_GoogleGrpc_CallCredentials() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:GrpcService.GoogleGrpc.CallCredentials) +} +GrpcService_GoogleGrpc_CallCredentials::GrpcService_GoogleGrpc_CallCredentials(const GrpcService_GoogleGrpc_CallCredentials& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + clear_has_credential_specifier(); + switch (from.credential_specifier_case()) { + case kAccessToken: { + set_access_token(from.access_token()); + break; + } + case kGoogleComputeEngine: { + mutable_google_compute_engine()->PROTOBUF_NAMESPACE_ID::Empty::MergeFrom(from.google_compute_engine()); + break; + } + case kGoogleRefreshToken: { + set_google_refresh_token(from.google_refresh_token()); + break; + } + case kServiceAccountJwtAccess: { + mutable_service_account_jwt_access()->::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials::MergeFrom(from.service_account_jwt_access()); + break; + } + case kGoogleIam: { + mutable_google_iam()->::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials::MergeFrom(from.google_iam()); + break; + } + case kFromPlugin: { + mutable_from_plugin()->::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin::MergeFrom(from.from_plugin()); + break; + } + case kStsService: { + mutable_sts_service()->::GrpcService_GoogleGrpc_CallCredentials_StsService::MergeFrom(from.sts_service()); + break; + } + case CREDENTIAL_SPECIFIER_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:GrpcService.GoogleGrpc.CallCredentials) +} + +void GrpcService_GoogleGrpc_CallCredentials::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_2eproto.base); + clear_has_credential_specifier(); +} + +GrpcService_GoogleGrpc_CallCredentials::~GrpcService_GoogleGrpc_CallCredentials() { + // @@protoc_insertion_point(destructor:GrpcService.GoogleGrpc.CallCredentials) + SharedDtor(); +} + +void GrpcService_GoogleGrpc_CallCredentials::SharedDtor() { + if (has_credential_specifier()) { + clear_credential_specifier(); + } +} + +void GrpcService_GoogleGrpc_CallCredentials::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const GrpcService_GoogleGrpc_CallCredentials& GrpcService_GoogleGrpc_CallCredentials::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_2eproto.base); + return *internal_default_instance(); +} + + +void GrpcService_GoogleGrpc_CallCredentials::clear_credential_specifier() { +// @@protoc_insertion_point(one_of_clear_start:GrpcService.GoogleGrpc.CallCredentials) + switch (credential_specifier_case()) { + case kAccessToken: { + credential_specifier_.access_token_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + break; + } + case kGoogleComputeEngine: { + delete credential_specifier_.google_compute_engine_; + break; + } + case kGoogleRefreshToken: { + credential_specifier_.google_refresh_token_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + break; + } + case kServiceAccountJwtAccess: { + delete credential_specifier_.service_account_jwt_access_; + break; + } + case kGoogleIam: { + delete credential_specifier_.google_iam_; + break; + } + case kFromPlugin: { + delete credential_specifier_.from_plugin_; + break; + } + case kStsService: { + delete credential_specifier_.sts_service_; + break; + } + case CREDENTIAL_SPECIFIER_NOT_SET: { + break; + } + } + _oneof_case_[0] = CREDENTIAL_SPECIFIER_NOT_SET; +} + + +void GrpcService_GoogleGrpc_CallCredentials::Clear() { +// @@protoc_insertion_point(message_clear_start:GrpcService.GoogleGrpc.CallCredentials) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_credential_specifier(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* GrpcService_GoogleGrpc_CallCredentials::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string access_token = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_access_token(), ptr, ctx, "GrpcService.GoogleGrpc.CallCredentials.access_token"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .google.protobuf.Empty google_compute_engine = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(mutable_google_compute_engine(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string google_refresh_token = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_google_refresh_token(), ptr, ctx, "GrpcService.GoogleGrpc.CallCredentials.google_refresh_token"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .GrpcService.GoogleGrpc.CallCredentials.ServiceAccountJWTAccessCredentials service_account_jwt_access = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(mutable_service_account_jwt_access(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .GrpcService.GoogleGrpc.CallCredentials.GoogleIAMCredentials google_iam = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(mutable_google_iam(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .GrpcService.GoogleGrpc.CallCredentials.MetadataCredentialsFromPlugin from_plugin = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + ptr = ctx->ParseMessage(mutable_from_plugin(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .GrpcService.GoogleGrpc.CallCredentials.StsService sts_service = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ctx->ParseMessage(mutable_sts_service(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool GrpcService_GoogleGrpc_CallCredentials::MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + // @@protoc_insertion_point(parse_start:GrpcService.GoogleGrpc.CallCredentials) + for (;;) { + ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string access_token = 1; + case 1: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_access_token())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->access_token().data(), static_cast(this->access_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.access_token")); + } else { + goto handle_unusual; + } + break; + } + + // .google.protobuf.Empty google_compute_engine = 2; + case 2: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( + input, mutable_google_compute_engine())); + } else { + goto handle_unusual; + } + break; + } + + // string google_refresh_token = 3; + case 3: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_google_refresh_token())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->google_refresh_token().data(), static_cast(this->google_refresh_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.google_refresh_token")); + } else { + goto handle_unusual; + } + break; + } + + // .GrpcService.GoogleGrpc.CallCredentials.ServiceAccountJWTAccessCredentials service_account_jwt_access = 4; + case 4: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( + input, mutable_service_account_jwt_access())); + } else { + goto handle_unusual; + } + break; + } + + // .GrpcService.GoogleGrpc.CallCredentials.GoogleIAMCredentials google_iam = 5; + case 5: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (42 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( + input, mutable_google_iam())); + } else { + goto handle_unusual; + } + break; + } + + // .GrpcService.GoogleGrpc.CallCredentials.MetadataCredentialsFromPlugin from_plugin = 6; + case 6: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (50 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( + input, mutable_from_plugin())); + } else { + goto handle_unusual; + } + break; + } + + // .GrpcService.GoogleGrpc.CallCredentials.StsService sts_service = 7; + case 7: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (58 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( + input, mutable_sts_service())); + } else { + goto handle_unusual; } break; } @@ -4077,6 +4944,12 @@ void GrpcService_GoogleGrpc_CallCredentials::SerializeWithCachedSizes( 6, _Internal::from_plugin(this), output); } + // .GrpcService.GoogleGrpc.CallCredentials.StsService sts_service = 7; + if (has_sts_service()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray( + 7, _Internal::sts_service(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -4140,6 +5013,13 @@ ::PROTOBUF_NAMESPACE_ID::uint8* GrpcService_GoogleGrpc_CallCredentials::Internal 6, _Internal::from_plugin(this), target); } + // .GrpcService.GoogleGrpc.CallCredentials.StsService sts_service = 7; + if (has_sts_service()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, _Internal::sts_service(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -4204,6 +5084,13 @@ size_t GrpcService_GoogleGrpc_CallCredentials::ByteSizeLong() const { *credential_specifier_.from_plugin_); break; } + // .GrpcService.GoogleGrpc.CallCredentials.StsService sts_service = 7; + case kStsService: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *credential_specifier_.sts_service_); + break; + } case CREDENTIAL_SPECIFIER_NOT_SET: { break; } @@ -4260,6 +5147,10 @@ void GrpcService_GoogleGrpc_CallCredentials::MergeFrom(const GrpcService_GoogleG mutable_from_plugin()->::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin::MergeFrom(from.from_plugin()); break; } + case kStsService: { + mutable_sts_service()->::GrpcService_GoogleGrpc_CallCredentials_StsService::MergeFrom(from.sts_service()); + break; + } case CREDENTIAL_SPECIFIER_NOT_SET: { break; } @@ -5737,6 +6628,9 @@ template<> PROTOBUF_NOINLINE ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMC template<> PROTOBUF_NOINLINE ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* Arena::CreateMaybeMessage< ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin >(Arena* arena) { return Arena::CreateInternal< ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin >(arena); } +template<> PROTOBUF_NOINLINE ::GrpcService_GoogleGrpc_CallCredentials_StsService* Arena::CreateMaybeMessage< ::GrpcService_GoogleGrpc_CallCredentials_StsService >(Arena* arena) { + return Arena::CreateInternal< ::GrpcService_GoogleGrpc_CallCredentials_StsService >(arena); +} template<> PROTOBUF_NOINLINE ::GrpcService_GoogleGrpc_CallCredentials* Arena::CreateMaybeMessage< ::GrpcService_GoogleGrpc_CallCredentials >(Arena* arena) { return Arena::CreateInternal< ::GrpcService_GoogleGrpc_CallCredentials >(arena); } diff --git a/api/wasm/cpp/proxy_wasm_intrinsics.pb.h b/api/wasm/cpp/proxy_wasm_intrinsics.pb.h index 7ad64f92d2d4..2e2dff727870 100644 --- a/api/wasm/cpp/proxy_wasm_intrinsics.pb.h +++ b/api/wasm/cpp/proxy_wasm_intrinsics.pb.h @@ -51,7 +51,7 @@ struct TableStruct_proxy_5fwasm_5fintrinsics_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[13] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[14] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; @@ -82,6 +82,9 @@ extern GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginDefau class GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials; class GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsDefaultTypeInternal; extern GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsDefaultTypeInternal _GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_default_instance_; +class GrpcService_GoogleGrpc_CallCredentials_StsService; +class GrpcService_GoogleGrpc_CallCredentials_StsServiceDefaultTypeInternal; +extern GrpcService_GoogleGrpc_CallCredentials_StsServiceDefaultTypeInternal _GrpcService_GoogleGrpc_CallCredentials_StsService_default_instance_; class GrpcService_GoogleGrpc_ChannelCredentials; class GrpcService_GoogleGrpc_ChannelCredentialsDefaultTypeInternal; extern GrpcService_GoogleGrpc_ChannelCredentialsDefaultTypeInternal _GrpcService_GoogleGrpc_ChannelCredentials_default_instance_; @@ -106,6 +109,7 @@ template<> ::GrpcService_GoogleGrpc_CallCredentials* Arena::CreateMaybeMessage<: template<> ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* Arena::CreateMaybeMessage<::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials>(Arena*); template<> ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* Arena::CreateMaybeMessage<::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin>(Arena*); template<> ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* Arena::CreateMaybeMessage<::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials>(Arena*); +template<> ::GrpcService_GoogleGrpc_CallCredentials_StsService* Arena::CreateMaybeMessage<::GrpcService_GoogleGrpc_CallCredentials_StsService>(Arena*); template<> ::GrpcService_GoogleGrpc_ChannelCredentials* Arena::CreateMaybeMessage<::GrpcService_GoogleGrpc_ChannelCredentials>(Arena*); template<> ::GrpcService_GoogleGrpc_GoogleLocalCredentials* Arena::CreateMaybeMessage<::GrpcService_GoogleGrpc_GoogleLocalCredentials>(Arena*); template<> ::GrpcService_GoogleGrpc_SslCredentials* Arena::CreateMaybeMessage<::GrpcService_GoogleGrpc_SslCredentials>(Arena*); @@ -1497,6 +1501,247 @@ class GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin : }; // ------------------------------------------------------------------- +class GrpcService_GoogleGrpc_CallCredentials_StsService : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:GrpcService.GoogleGrpc.CallCredentials.StsService) */ { + public: + GrpcService_GoogleGrpc_CallCredentials_StsService(); + virtual ~GrpcService_GoogleGrpc_CallCredentials_StsService(); + + GrpcService_GoogleGrpc_CallCredentials_StsService(const GrpcService_GoogleGrpc_CallCredentials_StsService& from); + GrpcService_GoogleGrpc_CallCredentials_StsService(GrpcService_GoogleGrpc_CallCredentials_StsService&& from) noexcept + : GrpcService_GoogleGrpc_CallCredentials_StsService() { + *this = ::std::move(from); + } + + inline GrpcService_GoogleGrpc_CallCredentials_StsService& operator=(const GrpcService_GoogleGrpc_CallCredentials_StsService& from) { + CopyFrom(from); + return *this; + } + inline GrpcService_GoogleGrpc_CallCredentials_StsService& operator=(GrpcService_GoogleGrpc_CallCredentials_StsService&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } + static const GrpcService_GoogleGrpc_CallCredentials_StsService& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const GrpcService_GoogleGrpc_CallCredentials_StsService* internal_default_instance() { + return reinterpret_cast( + &_GrpcService_GoogleGrpc_CallCredentials_StsService_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(GrpcService_GoogleGrpc_CallCredentials_StsService& a, GrpcService_GoogleGrpc_CallCredentials_StsService& b) { + a.Swap(&b); + } + inline void Swap(GrpcService_GoogleGrpc_CallCredentials_StsService* other) { + if (other == this) return; + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + inline GrpcService_GoogleGrpc_CallCredentials_StsService* New() const final { + return CreateMaybeMessage(nullptr); + } + + GrpcService_GoogleGrpc_CallCredentials_StsService* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void CopyFrom(const GrpcService_GoogleGrpc_CallCredentials_StsService& from); + void MergeFrom(const GrpcService_GoogleGrpc_CallCredentials_StsService& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + #else + bool MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; + ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GrpcService_GoogleGrpc_CallCredentials_StsService* other); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "GrpcService.GoogleGrpc.CallCredentials.StsService"; + } + private: + inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proxy_5fwasm_5fintrinsics_2eproto); + return ::descriptor_table_proxy_5fwasm_5fintrinsics_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kTokenExchangeServiceUriFieldNumber = 1, + kResourceFieldNumber = 2, + kAudienceFieldNumber = 3, + kScopeFieldNumber = 4, + kRequestedTokenTypeFieldNumber = 5, + kSubjectTokenPathFieldNumber = 6, + kSubjectTokenTypeFieldNumber = 7, + kActorTokenPathFieldNumber = 8, + kActorTokenTypeFieldNumber = 9, + }; + // string token_exchange_service_uri = 1; + void clear_token_exchange_service_uri(); + const std::string& token_exchange_service_uri() const; + void set_token_exchange_service_uri(const std::string& value); + void set_token_exchange_service_uri(std::string&& value); + void set_token_exchange_service_uri(const char* value); + void set_token_exchange_service_uri(const char* value, size_t size); + std::string* mutable_token_exchange_service_uri(); + std::string* release_token_exchange_service_uri(); + void set_allocated_token_exchange_service_uri(std::string* token_exchange_service_uri); + + // string resource = 2; + void clear_resource(); + const std::string& resource() const; + void set_resource(const std::string& value); + void set_resource(std::string&& value); + void set_resource(const char* value); + void set_resource(const char* value, size_t size); + std::string* mutable_resource(); + std::string* release_resource(); + void set_allocated_resource(std::string* resource); + + // string audience = 3; + void clear_audience(); + const std::string& audience() const; + void set_audience(const std::string& value); + void set_audience(std::string&& value); + void set_audience(const char* value); + void set_audience(const char* value, size_t size); + std::string* mutable_audience(); + std::string* release_audience(); + void set_allocated_audience(std::string* audience); + + // string scope = 4; + void clear_scope(); + const std::string& scope() const; + void set_scope(const std::string& value); + void set_scope(std::string&& value); + void set_scope(const char* value); + void set_scope(const char* value, size_t size); + std::string* mutable_scope(); + std::string* release_scope(); + void set_allocated_scope(std::string* scope); + + // string requested_token_type = 5; + void clear_requested_token_type(); + const std::string& requested_token_type() const; + void set_requested_token_type(const std::string& value); + void set_requested_token_type(std::string&& value); + void set_requested_token_type(const char* value); + void set_requested_token_type(const char* value, size_t size); + std::string* mutable_requested_token_type(); + std::string* release_requested_token_type(); + void set_allocated_requested_token_type(std::string* requested_token_type); + + // string subject_token_path = 6; + void clear_subject_token_path(); + const std::string& subject_token_path() const; + void set_subject_token_path(const std::string& value); + void set_subject_token_path(std::string&& value); + void set_subject_token_path(const char* value); + void set_subject_token_path(const char* value, size_t size); + std::string* mutable_subject_token_path(); + std::string* release_subject_token_path(); + void set_allocated_subject_token_path(std::string* subject_token_path); + + // string subject_token_type = 7; + void clear_subject_token_type(); + const std::string& subject_token_type() const; + void set_subject_token_type(const std::string& value); + void set_subject_token_type(std::string&& value); + void set_subject_token_type(const char* value); + void set_subject_token_type(const char* value, size_t size); + std::string* mutable_subject_token_type(); + std::string* release_subject_token_type(); + void set_allocated_subject_token_type(std::string* subject_token_type); + + // string actor_token_path = 8; + void clear_actor_token_path(); + const std::string& actor_token_path() const; + void set_actor_token_path(const std::string& value); + void set_actor_token_path(std::string&& value); + void set_actor_token_path(const char* value); + void set_actor_token_path(const char* value, size_t size); + std::string* mutable_actor_token_path(); + std::string* release_actor_token_path(); + void set_allocated_actor_token_path(std::string* actor_token_path); + + // string actor_token_type = 9; + void clear_actor_token_type(); + const std::string& actor_token_type() const; + void set_actor_token_type(const std::string& value); + void set_actor_token_type(std::string&& value); + void set_actor_token_type(const char* value); + void set_actor_token_type(const char* value, size_t size); + std::string* mutable_actor_token_type(); + std::string* release_actor_token_type(); + void set_allocated_actor_token_type(std::string* actor_token_type); + + // @@protoc_insertion_point(class_scope:GrpcService.GoogleGrpc.CallCredentials.StsService) + private: + class _Internal; + + ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_exchange_service_uri_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr resource_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr audience_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scope_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr requested_token_type_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr subject_token_path_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr subject_token_type_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr actor_token_path_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr actor_token_type_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_proxy_5fwasm_5fintrinsics_2eproto; +}; +// ------------------------------------------------------------------- + class GrpcService_GoogleGrpc_CallCredentials : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:GrpcService.GoogleGrpc.CallCredentials) */ { public: @@ -1540,6 +1785,7 @@ class GrpcService_GoogleGrpc_CallCredentials : kServiceAccountJwtAccess = 4, kGoogleIam = 5, kFromPlugin = 6, + kStsService = 7, CREDENTIAL_SPECIFIER_NOT_SET = 0, }; @@ -1549,7 +1795,7 @@ class GrpcService_GoogleGrpc_CallCredentials : &_GrpcService_GoogleGrpc_CallCredentials_default_instance_); } static constexpr int kIndexInFileMessages = - 9; + 10; friend void swap(GrpcService_GoogleGrpc_CallCredentials& a, GrpcService_GoogleGrpc_CallCredentials& b) { a.Swap(&b); @@ -1620,6 +1866,7 @@ class GrpcService_GoogleGrpc_CallCredentials : typedef GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials ServiceAccountJWTAccessCredentials; typedef GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials GoogleIAMCredentials; typedef GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin MetadataCredentialsFromPlugin; + typedef GrpcService_GoogleGrpc_CallCredentials_StsService StsService; // accessors ------------------------------------------------------- @@ -1630,6 +1877,7 @@ class GrpcService_GoogleGrpc_CallCredentials : kServiceAccountJwtAccessFieldNumber = 4, kGoogleIamFieldNumber = 5, kFromPluginFieldNumber = 6, + kStsServiceFieldNumber = 7, }; // string access_token = 1; private: @@ -1691,6 +1939,14 @@ class GrpcService_GoogleGrpc_CallCredentials : ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* mutable_from_plugin(); void set_allocated_from_plugin(::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* from_plugin); + // .GrpcService.GoogleGrpc.CallCredentials.StsService sts_service = 7; + bool has_sts_service() const; + void clear_sts_service(); + const ::GrpcService_GoogleGrpc_CallCredentials_StsService& sts_service() const; + ::GrpcService_GoogleGrpc_CallCredentials_StsService* release_sts_service(); + ::GrpcService_GoogleGrpc_CallCredentials_StsService* mutable_sts_service(); + void set_allocated_sts_service(::GrpcService_GoogleGrpc_CallCredentials_StsService* sts_service); + void clear_credential_specifier(); CredentialSpecifierCase credential_specifier_case() const; // @@protoc_insertion_point(class_scope:GrpcService.GoogleGrpc.CallCredentials) @@ -1702,6 +1958,7 @@ class GrpcService_GoogleGrpc_CallCredentials : void set_has_service_account_jwt_access(); void set_has_google_iam(); void set_has_from_plugin(); + void set_has_sts_service(); inline bool has_credential_specifier() const; inline void clear_has_credential_specifier(); @@ -1715,6 +1972,7 @@ class GrpcService_GoogleGrpc_CallCredentials : ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* service_account_jwt_access_; ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* google_iam_; ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* from_plugin_; + ::GrpcService_GoogleGrpc_CallCredentials_StsService* sts_service_; } credential_specifier_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; @@ -1765,7 +2023,7 @@ class GrpcService_GoogleGrpc : &_GrpcService_GoogleGrpc_default_instance_); } static constexpr int kIndexInFileMessages = - 10; + 11; friend void swap(GrpcService_GoogleGrpc& a, GrpcService_GoogleGrpc& b) { a.Swap(&b); @@ -1966,7 +2224,7 @@ class GrpcService_HeaderValue : &_GrpcService_HeaderValue_default_instance_); } static constexpr int kIndexInFileMessages = - 11; + 12; friend void swap(GrpcService_HeaderValue& a, GrpcService_HeaderValue& b) { a.Swap(&b); @@ -2122,7 +2380,7 @@ class GrpcService : &_GrpcService_default_instance_); } static constexpr int kIndexInFileMessages = - 12; + 13; friend void swap(GrpcService& a, GrpcService& b) { a.Swap(&b); @@ -3258,6 +3516,469 @@ inline GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin::Con } // ------------------------------------------------------------------- +// GrpcService_GoogleGrpc_CallCredentials_StsService + +// string token_exchange_service_uri = 1; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_token_exchange_service_uri() { + token_exchange_service_uri_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::token_exchange_service_uri() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) + return token_exchange_service_uri_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_token_exchange_service_uri(const std::string& value) { + + token_exchange_service_uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_token_exchange_service_uri(std::string&& value) { + + token_exchange_service_uri_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_token_exchange_service_uri(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + token_exchange_service_uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_token_exchange_service_uri(const char* value, size_t size) { + + token_exchange_service_uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_token_exchange_service_uri() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) + return token_exchange_service_uri_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_token_exchange_service_uri() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) + + return token_exchange_service_uri_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_token_exchange_service_uri(std::string* token_exchange_service_uri) { + if (token_exchange_service_uri != nullptr) { + + } else { + + } + token_exchange_service_uri_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), token_exchange_service_uri); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) +} + +// string resource = 2; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_resource() { + resource_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::resource() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) + return resource_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_resource(const std::string& value) { + + resource_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_resource(std::string&& value) { + + resource_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_resource(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + resource_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_resource(const char* value, size_t size) { + + resource_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_resource() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) + return resource_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_resource() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) + + return resource_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_resource(std::string* resource) { + if (resource != nullptr) { + + } else { + + } + resource_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), resource); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) +} + +// string audience = 3; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_audience() { + audience_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::audience() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) + return audience_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_audience(const std::string& value) { + + audience_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_audience(std::string&& value) { + + audience_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_audience(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + audience_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_audience(const char* value, size_t size) { + + audience_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_audience() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) + return audience_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_audience() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) + + return audience_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_audience(std::string* audience) { + if (audience != nullptr) { + + } else { + + } + audience_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), audience); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) +} + +// string scope = 4; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_scope() { + scope_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::scope() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) + return scope_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_scope(const std::string& value) { + + scope_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_scope(std::string&& value) { + + scope_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_scope(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + scope_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_scope(const char* value, size_t size) { + + scope_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_scope() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) + return scope_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_scope() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) + + return scope_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_scope(std::string* scope) { + if (scope != nullptr) { + + } else { + + } + scope_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), scope); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) +} + +// string requested_token_type = 5; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_requested_token_type() { + requested_token_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::requested_token_type() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) + return requested_token_type_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_requested_token_type(const std::string& value) { + + requested_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_requested_token_type(std::string&& value) { + + requested_token_type_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_requested_token_type(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + requested_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_requested_token_type(const char* value, size_t size) { + + requested_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_requested_token_type() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) + return requested_token_type_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_requested_token_type() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) + + return requested_token_type_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_requested_token_type(std::string* requested_token_type) { + if (requested_token_type != nullptr) { + + } else { + + } + requested_token_type_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), requested_token_type); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) +} + +// string subject_token_path = 6; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_subject_token_path() { + subject_token_path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::subject_token_path() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) + return subject_token_path_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_path(const std::string& value) { + + subject_token_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_path(std::string&& value) { + + subject_token_path_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_path(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + subject_token_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_path(const char* value, size_t size) { + + subject_token_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_subject_token_path() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) + return subject_token_path_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_subject_token_path() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) + + return subject_token_path_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_subject_token_path(std::string* subject_token_path) { + if (subject_token_path != nullptr) { + + } else { + + } + subject_token_path_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), subject_token_path); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) +} + +// string subject_token_type = 7; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_subject_token_type() { + subject_token_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::subject_token_type() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) + return subject_token_type_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_type(const std::string& value) { + + subject_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_type(std::string&& value) { + + subject_token_type_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_type(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + subject_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_type(const char* value, size_t size) { + + subject_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_subject_token_type() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) + return subject_token_type_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_subject_token_type() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) + + return subject_token_type_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_subject_token_type(std::string* subject_token_type) { + if (subject_token_type != nullptr) { + + } else { + + } + subject_token_type_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), subject_token_type); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) +} + +// string actor_token_path = 8; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_actor_token_path() { + actor_token_path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::actor_token_path() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) + return actor_token_path_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_path(const std::string& value) { + + actor_token_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_path(std::string&& value) { + + actor_token_path_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_path(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + actor_token_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_path(const char* value, size_t size) { + + actor_token_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_actor_token_path() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) + return actor_token_path_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_actor_token_path() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) + + return actor_token_path_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_actor_token_path(std::string* actor_token_path) { + if (actor_token_path != nullptr) { + + } else { + + } + actor_token_path_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), actor_token_path); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) +} + +// string actor_token_type = 9; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_actor_token_type() { + actor_token_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::actor_token_type() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) + return actor_token_type_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_type(const std::string& value) { + + actor_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_type(std::string&& value) { + + actor_token_type_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_type(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + actor_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_type(const char* value, size_t size) { + + actor_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_actor_token_type() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) + return actor_token_type_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_actor_token_type() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) + + return actor_token_type_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_actor_token_type(std::string* actor_token_type) { + if (actor_token_type != nullptr) { + + } else { + + } + actor_token_type_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), actor_token_type); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) +} + +// ------------------------------------------------------------------- + // GrpcService_GoogleGrpc_CallCredentials // string access_token = 1; @@ -3598,6 +4319,47 @@ inline ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* G return credential_specifier_.from_plugin_; } +// .GrpcService.GoogleGrpc.CallCredentials.StsService sts_service = 7; +inline bool GrpcService_GoogleGrpc_CallCredentials::has_sts_service() const { + return credential_specifier_case() == kStsService; +} +inline void GrpcService_GoogleGrpc_CallCredentials::set_has_sts_service() { + _oneof_case_[0] = kStsService; +} +inline void GrpcService_GoogleGrpc_CallCredentials::clear_sts_service() { + if (has_sts_service()) { + delete credential_specifier_.sts_service_; + clear_has_credential_specifier(); + } +} +inline ::GrpcService_GoogleGrpc_CallCredentials_StsService* GrpcService_GoogleGrpc_CallCredentials::release_sts_service() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.sts_service) + if (has_sts_service()) { + clear_has_credential_specifier(); + ::GrpcService_GoogleGrpc_CallCredentials_StsService* temp = credential_specifier_.sts_service_; + credential_specifier_.sts_service_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::GrpcService_GoogleGrpc_CallCredentials_StsService& GrpcService_GoogleGrpc_CallCredentials::sts_service() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.sts_service) + return has_sts_service() + ? *credential_specifier_.sts_service_ + : *reinterpret_cast< ::GrpcService_GoogleGrpc_CallCredentials_StsService*>(&::_GrpcService_GoogleGrpc_CallCredentials_StsService_default_instance_); +} +inline ::GrpcService_GoogleGrpc_CallCredentials_StsService* GrpcService_GoogleGrpc_CallCredentials::mutable_sts_service() { + if (!has_sts_service()) { + clear_credential_specifier(); + set_has_sts_service(); + credential_specifier_.sts_service_ = CreateMaybeMessage< ::GrpcService_GoogleGrpc_CallCredentials_StsService >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.sts_service) + return credential_specifier_.sts_service_; +} + inline bool GrpcService_GoogleGrpc_CallCredentials::has_credential_specifier() const { return credential_specifier_case() != CREDENTIAL_SPECIFIER_NOT_SET; } @@ -4195,6 +4957,8 @@ inline GrpcService::TargetSpecifierCase GrpcService::target_specifier_case() con // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/api/wasm/cpp/proxy_wasm_intrinsics.proto b/api/wasm/cpp/proxy_wasm_intrinsics.proto index d22124a3af55..20a9ccced1ea 100644 --- a/api/wasm/cpp/proxy_wasm_intrinsics.proto +++ b/api/wasm/cpp/proxy_wasm_intrinsics.proto @@ -54,6 +54,17 @@ message GrpcService { google.protobuf.Any typed_config = 3; } } + message StsService { + string token_exchange_service_uri = 1; + string resource = 2; + string audience = 3; + string scope = 4; + string requested_token_type = 5; + string subject_token_path = 6; + string subject_token_type = 7; + string actor_token_path = 8; + string actor_token_type = 9; + } oneof credential_specifier { string access_token = 1; google.protobuf.Empty google_compute_engine = 2; @@ -61,6 +72,7 @@ message GrpcService { ServiceAccountJWTAccessCredentials service_account_jwt_access = 4; GoogleIAMCredentials google_iam = 5; MetadataCredentialsFromPlugin from_plugin = 6; + StsService sts_service = 7; } } repeated CallCredentials call_credentials = 3; diff --git a/api/wasm/cpp/proxy_wasm_intrinsics_lite.pb.cc b/api/wasm/cpp/proxy_wasm_intrinsics_lite.pb.cc index 72d56c4f38c6..d30dcd4f9c75 100644 --- a/api/wasm/cpp/proxy_wasm_intrinsics_lite.pb.cc +++ b/api/wasm/cpp/proxy_wasm_intrinsics_lite.pb.cc @@ -16,10 +16,11 @@ extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_5flite_2eproto ::PROTO extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_5flite_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DataSource_proxy_5fwasm_5fintrinsics_5flite_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_5flite_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_EnvoyGrpc_proxy_5fwasm_5fintrinsics_5flite_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_5flite_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_GrpcService_GoogleGrpc_proxy_5fwasm_5fintrinsics_5flite_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_5flite_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_5flite_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<5> scc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_5flite_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_5flite_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_proxy_5fwasm_5fintrinsics_5flite_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_5flite_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_5flite_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_5flite_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_5flite_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_GrpcService_GoogleGrpc_ChannelCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_5flite_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_GoogleGrpc_Empty_proxy_5fwasm_5fintrinsics_5flite_2eproto; extern PROTOBUF_INTERNAL_EXPORT_proxy_5fwasm_5fintrinsics_5flite_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_GoogleGrpc_GoogleLocalCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto; @@ -78,6 +79,10 @@ class GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginDefaul const ::google::protobuf::Struct* config_; const ::Any* typed_config_; } _GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_default_instance_; +class GrpcService_GoogleGrpc_CallCredentials_StsServiceDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; +} _GrpcService_GoogleGrpc_CallCredentials_StsService_default_instance_; class GrpcService_GoogleGrpc_CallCredentialsDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; @@ -87,6 +92,7 @@ class GrpcService_GoogleGrpc_CallCredentialsDefaultTypeInternal { const ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* service_account_jwt_access_; const ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* google_iam_; const ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* from_plugin_; + const ::GrpcService_GoogleGrpc_CallCredentials_StsService* sts_service_; } _GrpcService_GoogleGrpc_CallCredentials_default_instance_; class GrpcService_GoogleGrpcDefaultTypeInternal { public: @@ -189,12 +195,13 @@ static void InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5f ::GrpcService_GoogleGrpc_CallCredentials::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto}, { +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<5> scc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 5, InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto}, { &scc_info_GrpcService_GoogleGrpc_Empty_proxy_5fwasm_5fintrinsics_5flite_2eproto.base, &scc_info_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto.base, &scc_info_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto.base, - &scc_info_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_proxy_5fwasm_5fintrinsics_5flite_2eproto.base,}}; + &scc_info_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_proxy_5fwasm_5fintrinsics_5flite_2eproto.base, + &scc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_5flite_2eproto.base,}}; static void InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -240,6 +247,20 @@ static void InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_ServiceA ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto}, {}}; +static void InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_5flite_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::_GrpcService_GoogleGrpc_CallCredentials_StsService_default_instance_; + new (ptr) ::GrpcService_GoogleGrpc_CallCredentials_StsService(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::GrpcService_GoogleGrpc_CallCredentials_StsService::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_5flite_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_5flite_2eproto}, {}}; + static void InitDefaultsscc_info_GrpcService_GoogleGrpc_ChannelCredentials_proxy_5fwasm_5fintrinsics_5flite_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -3440,6 +3461,651 @@ std::string GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin } +// =================================================================== + +void GrpcService_GoogleGrpc_CallCredentials_StsService::InitAsDefaultInstance() { +} +class GrpcService_GoogleGrpc_CallCredentials_StsService::_Internal { + public: +}; + +GrpcService_GoogleGrpc_CallCredentials_StsService::GrpcService_GoogleGrpc_CallCredentials_StsService() + : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:GrpcService.GoogleGrpc.CallCredentials.StsService) +} +GrpcService_GoogleGrpc_CallCredentials_StsService::GrpcService_GoogleGrpc_CallCredentials_StsService(const GrpcService_GoogleGrpc_CallCredentials_StsService& from) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + token_exchange_service_uri_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.token_exchange_service_uri().empty()) { + token_exchange_service_uri_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.token_exchange_service_uri_); + } + resource_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.resource().empty()) { + resource_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.resource_); + } + audience_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.audience().empty()) { + audience_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.audience_); + } + scope_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.scope().empty()) { + scope_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.scope_); + } + requested_token_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.requested_token_type().empty()) { + requested_token_type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.requested_token_type_); + } + subject_token_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.subject_token_path().empty()) { + subject_token_path_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_token_path_); + } + subject_token_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.subject_token_type().empty()) { + subject_token_type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_token_type_); + } + actor_token_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.actor_token_path().empty()) { + actor_token_path_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.actor_token_path_); + } + actor_token_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.actor_token_type().empty()) { + actor_token_type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.actor_token_type_); + } + // @@protoc_insertion_point(copy_constructor:GrpcService.GoogleGrpc.CallCredentials.StsService) +} + +void GrpcService_GoogleGrpc_CallCredentials_StsService::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_5flite_2eproto.base); + token_exchange_service_uri_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + resource_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + audience_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + scope_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + requested_token_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + subject_token_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + subject_token_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + actor_token_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + actor_token_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +GrpcService_GoogleGrpc_CallCredentials_StsService::~GrpcService_GoogleGrpc_CallCredentials_StsService() { + // @@protoc_insertion_point(destructor:GrpcService.GoogleGrpc.CallCredentials.StsService) + SharedDtor(); +} + +void GrpcService_GoogleGrpc_CallCredentials_StsService::SharedDtor() { + token_exchange_service_uri_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + resource_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + audience_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + scope_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + requested_token_type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + subject_token_path_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + subject_token_type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + actor_token_path_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + actor_token_type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void GrpcService_GoogleGrpc_CallCredentials_StsService::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const GrpcService_GoogleGrpc_CallCredentials_StsService& GrpcService_GoogleGrpc_CallCredentials_StsService::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GrpcService_GoogleGrpc_CallCredentials_StsService_proxy_5fwasm_5fintrinsics_5flite_2eproto.base); + return *internal_default_instance(); +} + + +void GrpcService_GoogleGrpc_CallCredentials_StsService::Clear() { +// @@protoc_insertion_point(message_clear_start:GrpcService.GoogleGrpc.CallCredentials.StsService) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + token_exchange_service_uri_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + resource_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + audience_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + scope_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + requested_token_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + subject_token_path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + subject_token_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + actor_token_path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + actor_token_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* GrpcService_GoogleGrpc_CallCredentials_StsService::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string token_exchange_service_uri = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_token_exchange_service_uri(), ptr, ctx, nullptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string resource = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_resource(), ptr, ctx, nullptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string audience = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_audience(), ptr, ctx, nullptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string scope = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_scope(), ptr, ctx, nullptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string requested_token_type = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_requested_token_type(), ptr, ctx, nullptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string subject_token_path = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_subject_token_path(), ptr, ctx, nullptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string subject_token_type = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_subject_token_type(), ptr, ctx, nullptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string actor_token_path = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_actor_token_path(), ptr, ctx, nullptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string actor_token_type = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_actor_token_type(), ptr, ctx, nullptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool GrpcService_GoogleGrpc_CallCredentials_StsService::MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ::PROTOBUF_NAMESPACE_ID::internal::LiteUnknownFieldSetter unknown_fields_setter( + &_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::io::StringOutputStream unknown_fields_output( + unknown_fields_setter.buffer()); + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream unknown_fields_stream( + &unknown_fields_output, false); + // @@protoc_insertion_point(parse_start:GrpcService.GoogleGrpc.CallCredentials.StsService) + for (;;) { + ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string token_exchange_service_uri = 1; + case 1: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_token_exchange_service_uri())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->token_exchange_service_uri().data(), static_cast(this->token_exchange_service_uri().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri")); + } else { + goto handle_unusual; + } + break; + } + + // string resource = 2; + case 2: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_resource())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->resource().data(), static_cast(this->resource().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.resource")); + } else { + goto handle_unusual; + } + break; + } + + // string audience = 3; + case 3: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_audience())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->audience().data(), static_cast(this->audience().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.audience")); + } else { + goto handle_unusual; + } + break; + } + + // string scope = 4; + case 4: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_scope())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->scope().data(), static_cast(this->scope().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.scope")); + } else { + goto handle_unusual; + } + break; + } + + // string requested_token_type = 5; + case 5: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (42 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_requested_token_type())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->requested_token_type().data(), static_cast(this->requested_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type")); + } else { + goto handle_unusual; + } + break; + } + + // string subject_token_path = 6; + case 6: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (50 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_subject_token_path())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->subject_token_path().data(), static_cast(this->subject_token_path().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path")); + } else { + goto handle_unusual; + } + break; + } + + // string subject_token_type = 7; + case 7: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (58 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_subject_token_type())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->subject_token_type().data(), static_cast(this->subject_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type")); + } else { + goto handle_unusual; + } + break; + } + + // string actor_token_path = 8; + case 8: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (66 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_actor_token_path())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->actor_token_path().data(), static_cast(this->actor_token_path().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path")); + } else { + goto handle_unusual; + } + break; + } + + // string actor_token_type = 9; + case 9: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (74 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_actor_token_type())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->actor_token_type().data(), static_cast(this->actor_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SkipField( + input, tag, &unknown_fields_stream)); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:GrpcService.GoogleGrpc.CallCredentials.StsService) + return true; +failure: + // @@protoc_insertion_point(parse_failure:GrpcService.GoogleGrpc.CallCredentials.StsService) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void GrpcService_GoogleGrpc_CallCredentials_StsService::SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:GrpcService.GoogleGrpc.CallCredentials.StsService) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string token_exchange_service_uri = 1; + if (this->token_exchange_service_uri().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->token_exchange_service_uri().data(), static_cast(this->token_exchange_service_uri().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->token_exchange_service_uri(), output); + } + + // string resource = 2; + if (this->resource().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->resource().data(), static_cast(this->resource().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.resource"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->resource(), output); + } + + // string audience = 3; + if (this->audience().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->audience().data(), static_cast(this->audience().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.audience"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->audience(), output); + } + + // string scope = 4; + if (this->scope().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->scope().data(), static_cast(this->scope().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.scope"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 4, this->scope(), output); + } + + // string requested_token_type = 5; + if (this->requested_token_type().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->requested_token_type().data(), static_cast(this->requested_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 5, this->requested_token_type(), output); + } + + // string subject_token_path = 6; + if (this->subject_token_path().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->subject_token_path().data(), static_cast(this->subject_token_path().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 6, this->subject_token_path(), output); + } + + // string subject_token_type = 7; + if (this->subject_token_type().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->subject_token_type().data(), static_cast(this->subject_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 7, this->subject_token_type(), output); + } + + // string actor_token_path = 8; + if (this->actor_token_path().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->actor_token_path().data(), static_cast(this->actor_token_path().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 8, this->actor_token_path(), output); + } + + // string actor_token_type = 9; + if (this->actor_token_type().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->actor_token_type().data(), static_cast(this->actor_token_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 9, this->actor_token_type(), output); + } + + output->WriteRaw(_internal_metadata_.unknown_fields().data(), + static_cast(_internal_metadata_.unknown_fields().size())); + // @@protoc_insertion_point(serialize_end:GrpcService.GoogleGrpc.CallCredentials.StsService) +} + +size_t GrpcService_GoogleGrpc_CallCredentials_StsService::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:GrpcService.GoogleGrpc.CallCredentials.StsService) + size_t total_size = 0; + + total_size += _internal_metadata_.unknown_fields().size(); + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string token_exchange_service_uri = 1; + if (this->token_exchange_service_uri().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->token_exchange_service_uri()); + } + + // string resource = 2; + if (this->resource().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->resource()); + } + + // string audience = 3; + if (this->audience().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->audience()); + } + + // string scope = 4; + if (this->scope().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->scope()); + } + + // string requested_token_type = 5; + if (this->requested_token_type().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->requested_token_type()); + } + + // string subject_token_path = 6; + if (this->subject_token_path().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->subject_token_path()); + } + + // string subject_token_type = 7; + if (this->subject_token_type().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->subject_token_type()); + } + + // string actor_token_path = 8; + if (this->actor_token_path().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->actor_token_path()); + } + + // string actor_token_type = 9; + if (this->actor_token_type().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->actor_token_type()); + } + + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GrpcService_GoogleGrpc_CallCredentials_StsService::CheckTypeAndMergeFrom( + const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { + MergeFrom(*::PROTOBUF_NAMESPACE_ID::internal::DownCast( + &from)); +} + +void GrpcService_GoogleGrpc_CallCredentials_StsService::MergeFrom(const GrpcService_GoogleGrpc_CallCredentials_StsService& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:GrpcService.GoogleGrpc.CallCredentials.StsService) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.token_exchange_service_uri().size() > 0) { + + token_exchange_service_uri_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.token_exchange_service_uri_); + } + if (from.resource().size() > 0) { + + resource_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.resource_); + } + if (from.audience().size() > 0) { + + audience_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.audience_); + } + if (from.scope().size() > 0) { + + scope_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.scope_); + } + if (from.requested_token_type().size() > 0) { + + requested_token_type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.requested_token_type_); + } + if (from.subject_token_path().size() > 0) { + + subject_token_path_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_token_path_); + } + if (from.subject_token_type().size() > 0) { + + subject_token_type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_token_type_); + } + if (from.actor_token_path().size() > 0) { + + actor_token_path_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.actor_token_path_); + } + if (from.actor_token_type().size() > 0) { + + actor_token_type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.actor_token_type_); + } +} + +void GrpcService_GoogleGrpc_CallCredentials_StsService::CopyFrom(const GrpcService_GoogleGrpc_CallCredentials_StsService& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:GrpcService.GoogleGrpc.CallCredentials.StsService) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GrpcService_GoogleGrpc_CallCredentials_StsService::IsInitialized() const { + return true; +} + +void GrpcService_GoogleGrpc_CallCredentials_StsService::InternalSwap(GrpcService_GoogleGrpc_CallCredentials_StsService* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + token_exchange_service_uri_.Swap(&other->token_exchange_service_uri_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + resource_.Swap(&other->resource_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + audience_.Swap(&other->audience_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + scope_.Swap(&other->scope_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + requested_token_type_.Swap(&other->requested_token_type_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + subject_token_path_.Swap(&other->subject_token_path_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + subject_token_type_.Swap(&other->subject_token_type_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + actor_token_path_.Swap(&other->actor_token_path_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + actor_token_type_.Swap(&other->actor_token_type_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +std::string GrpcService_GoogleGrpc_CallCredentials_StsService::GetTypeName() const { + return "GrpcService.GoogleGrpc.CallCredentials.StsService"; +} + + // =================================================================== void GrpcService_GoogleGrpc_CallCredentials::InitAsDefaultInstance() { @@ -3450,6 +4116,7 @@ class GrpcService_GoogleGrpc_CallCredentials::_Internal { static const ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials& service_account_jwt_access(const GrpcService_GoogleGrpc_CallCredentials* msg); static const ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials& google_iam(const GrpcService_GoogleGrpc_CallCredentials* msg); static const ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin& from_plugin(const GrpcService_GoogleGrpc_CallCredentials* msg); + static const ::GrpcService_GoogleGrpc_CallCredentials_StsService& sts_service(const GrpcService_GoogleGrpc_CallCredentials* msg); }; const ::GrpcService_GoogleGrpc_Empty& @@ -3468,6 +4135,10 @@ const ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin& GrpcService_GoogleGrpc_CallCredentials::_Internal::from_plugin(const GrpcService_GoogleGrpc_CallCredentials* msg) { return *msg->credential_specifier_.from_plugin_; } +const ::GrpcService_GoogleGrpc_CallCredentials_StsService& +GrpcService_GoogleGrpc_CallCredentials::_Internal::sts_service(const GrpcService_GoogleGrpc_CallCredentials* msg) { + return *msg->credential_specifier_.sts_service_; +} void GrpcService_GoogleGrpc_CallCredentials::set_allocated_google_compute_engine(::GrpcService_GoogleGrpc_Empty* google_compute_engine) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); clear_credential_specifier(); @@ -3524,6 +4195,20 @@ void GrpcService_GoogleGrpc_CallCredentials::set_allocated_from_plugin(::GrpcSer } // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.from_plugin) } +void GrpcService_GoogleGrpc_CallCredentials::set_allocated_sts_service(::GrpcService_GoogleGrpc_CallCredentials_StsService* sts_service) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + clear_credential_specifier(); + if (sts_service) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + sts_service = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, sts_service, submessage_arena); + } + set_has_sts_service(); + credential_specifier_.sts_service_ = sts_service; + } + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.sts_service) +} GrpcService_GoogleGrpc_CallCredentials::GrpcService_GoogleGrpc_CallCredentials() : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _internal_metadata_(nullptr) { SharedCtor(); @@ -3559,6 +4244,10 @@ GrpcService_GoogleGrpc_CallCredentials::GrpcService_GoogleGrpc_CallCredentials(c mutable_from_plugin()->::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin::MergeFrom(from.from_plugin()); break; } + case kStsService: { + mutable_sts_service()->::GrpcService_GoogleGrpc_CallCredentials_StsService::MergeFrom(from.sts_service()); + break; + } case CREDENTIAL_SPECIFIER_NOT_SET: { break; } @@ -3618,6 +4307,10 @@ void GrpcService_GoogleGrpc_CallCredentials::clear_credential_specifier() { delete credential_specifier_.from_plugin_; break; } + case kStsService: { + delete credential_specifier_.sts_service_; + break; + } case CREDENTIAL_SPECIFIER_NOT_SET: { break; } @@ -3686,6 +4379,13 @@ const char* GrpcService_GoogleGrpc_CallCredentials::_InternalParse(const char* p CHK_(ptr); } else goto handle_unusual; continue; + // .GrpcService.GoogleGrpc.CallCredentials.StsService sts_service = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ctx->ParseMessage(mutable_sts_service(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -3796,6 +4496,17 @@ bool GrpcService_GoogleGrpc_CallCredentials::MergePartialFromCodedStream( break; } + // .GrpcService.GoogleGrpc.CallCredentials.StsService sts_service = 7; + case 7: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (58 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( + input, mutable_sts_service())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -3867,6 +4578,12 @@ void GrpcService_GoogleGrpc_CallCredentials::SerializeWithCachedSizes( 6, _Internal::from_plugin(this), output); } + // .GrpcService.GoogleGrpc.CallCredentials.StsService sts_service = 7; + if (has_sts_service()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessage( + 7, _Internal::sts_service(this), output); + } + output->WriteRaw(_internal_metadata_.unknown_fields().data(), static_cast(_internal_metadata_.unknown_fields().size())); // @@protoc_insertion_point(serialize_end:GrpcService.GoogleGrpc.CallCredentials) @@ -3925,6 +4642,13 @@ size_t GrpcService_GoogleGrpc_CallCredentials::ByteSizeLong() const { *credential_specifier_.from_plugin_); break; } + // .GrpcService.GoogleGrpc.CallCredentials.StsService sts_service = 7; + case kStsService: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *credential_specifier_.sts_service_); + break; + } case CREDENTIAL_SPECIFIER_NOT_SET: { break; } @@ -3972,6 +4696,10 @@ void GrpcService_GoogleGrpc_CallCredentials::MergeFrom(const GrpcService_GoogleG mutable_from_plugin()->::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin::MergeFrom(from.from_plugin()); break; } + case kStsService: { + mutable_sts_service()->::GrpcService_GoogleGrpc_CallCredentials_StsService::MergeFrom(from.sts_service()); + break; + } case CREDENTIAL_SPECIFIER_NOT_SET: { break; } @@ -5192,6 +5920,9 @@ template<> PROTOBUF_NOINLINE ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMC template<> PROTOBUF_NOINLINE ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* Arena::CreateMaybeMessage< ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin >(Arena* arena) { return Arena::CreateInternal< ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin >(arena); } +template<> PROTOBUF_NOINLINE ::GrpcService_GoogleGrpc_CallCredentials_StsService* Arena::CreateMaybeMessage< ::GrpcService_GoogleGrpc_CallCredentials_StsService >(Arena* arena) { + return Arena::CreateInternal< ::GrpcService_GoogleGrpc_CallCredentials_StsService >(arena); +} template<> PROTOBUF_NOINLINE ::GrpcService_GoogleGrpc_CallCredentials* Arena::CreateMaybeMessage< ::GrpcService_GoogleGrpc_CallCredentials >(Arena* arena) { return Arena::CreateInternal< ::GrpcService_GoogleGrpc_CallCredentials >(arena); } diff --git a/api/wasm/cpp/proxy_wasm_intrinsics_lite.pb.h b/api/wasm/cpp/proxy_wasm_intrinsics_lite.pb.h index 501edccef7df..aa581ab0f6c3 100644 --- a/api/wasm/cpp/proxy_wasm_intrinsics_lite.pb.h +++ b/api/wasm/cpp/proxy_wasm_intrinsics_lite.pb.h @@ -46,7 +46,7 @@ struct TableStruct_proxy_5fwasm_5fintrinsics_5flite_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[15] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[16] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; @@ -79,6 +79,9 @@ extern GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginDefau class GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials; class GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsDefaultTypeInternal; extern GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsDefaultTypeInternal _GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_default_instance_; +class GrpcService_GoogleGrpc_CallCredentials_StsService; +class GrpcService_GoogleGrpc_CallCredentials_StsServiceDefaultTypeInternal; +extern GrpcService_GoogleGrpc_CallCredentials_StsServiceDefaultTypeInternal _GrpcService_GoogleGrpc_CallCredentials_StsService_default_instance_; class GrpcService_GoogleGrpc_ChannelCredentials; class GrpcService_GoogleGrpc_ChannelCredentialsDefaultTypeInternal; extern GrpcService_GoogleGrpc_ChannelCredentialsDefaultTypeInternal _GrpcService_GoogleGrpc_ChannelCredentials_default_instance_; @@ -107,6 +110,7 @@ template<> ::GrpcService_GoogleGrpc_CallCredentials* Arena::CreateMaybeMessage<: template<> ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* Arena::CreateMaybeMessage<::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials>(Arena*); template<> ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* Arena::CreateMaybeMessage<::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin>(Arena*); template<> ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* Arena::CreateMaybeMessage<::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials>(Arena*); +template<> ::GrpcService_GoogleGrpc_CallCredentials_StsService* Arena::CreateMaybeMessage<::GrpcService_GoogleGrpc_CallCredentials_StsService>(Arena*); template<> ::GrpcService_GoogleGrpc_ChannelCredentials* Arena::CreateMaybeMessage<::GrpcService_GoogleGrpc_ChannelCredentials>(Arena*); template<> ::GrpcService_GoogleGrpc_Empty* Arena::CreateMaybeMessage<::GrpcService_GoogleGrpc_Empty>(Arena*); template<> ::GrpcService_GoogleGrpc_GoogleLocalCredentials* Arena::CreateMaybeMessage<::GrpcService_GoogleGrpc_GoogleLocalCredentials>(Arena*); @@ -1584,6 +1588,230 @@ class GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin : }; // ------------------------------------------------------------------- +class GrpcService_GoogleGrpc_CallCredentials_StsService : + public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GrpcService.GoogleGrpc.CallCredentials.StsService) */ { + public: + GrpcService_GoogleGrpc_CallCredentials_StsService(); + virtual ~GrpcService_GoogleGrpc_CallCredentials_StsService(); + + GrpcService_GoogleGrpc_CallCredentials_StsService(const GrpcService_GoogleGrpc_CallCredentials_StsService& from); + GrpcService_GoogleGrpc_CallCredentials_StsService(GrpcService_GoogleGrpc_CallCredentials_StsService&& from) noexcept + : GrpcService_GoogleGrpc_CallCredentials_StsService() { + *this = ::std::move(from); + } + + inline GrpcService_GoogleGrpc_CallCredentials_StsService& operator=(const GrpcService_GoogleGrpc_CallCredentials_StsService& from) { + CopyFrom(from); + return *this; + } + inline GrpcService_GoogleGrpc_CallCredentials_StsService& operator=(GrpcService_GoogleGrpc_CallCredentials_StsService&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const GrpcService_GoogleGrpc_CallCredentials_StsService& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const GrpcService_GoogleGrpc_CallCredentials_StsService* internal_default_instance() { + return reinterpret_cast( + &_GrpcService_GoogleGrpc_CallCredentials_StsService_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(GrpcService_GoogleGrpc_CallCredentials_StsService& a, GrpcService_GoogleGrpc_CallCredentials_StsService& b) { + a.Swap(&b); + } + inline void Swap(GrpcService_GoogleGrpc_CallCredentials_StsService* other) { + if (other == this) return; + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + inline GrpcService_GoogleGrpc_CallCredentials_StsService* New() const final { + return CreateMaybeMessage(nullptr); + } + + GrpcService_GoogleGrpc_CallCredentials_StsService* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) + final; + void CopyFrom(const GrpcService_GoogleGrpc_CallCredentials_StsService& from); + void MergeFrom(const GrpcService_GoogleGrpc_CallCredentials_StsService& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + #else + bool MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; + void DiscardUnknownFields(); + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const; + void InternalSwap(GrpcService_GoogleGrpc_CallCredentials_StsService* other); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "GrpcService.GoogleGrpc.CallCredentials.StsService"; + } + private: + inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + std::string GetTypeName() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kTokenExchangeServiceUriFieldNumber = 1, + kResourceFieldNumber = 2, + kAudienceFieldNumber = 3, + kScopeFieldNumber = 4, + kRequestedTokenTypeFieldNumber = 5, + kSubjectTokenPathFieldNumber = 6, + kSubjectTokenTypeFieldNumber = 7, + kActorTokenPathFieldNumber = 8, + kActorTokenTypeFieldNumber = 9, + }; + // string token_exchange_service_uri = 1; + void clear_token_exchange_service_uri(); + const std::string& token_exchange_service_uri() const; + void set_token_exchange_service_uri(const std::string& value); + void set_token_exchange_service_uri(std::string&& value); + void set_token_exchange_service_uri(const char* value); + void set_token_exchange_service_uri(const char* value, size_t size); + std::string* mutable_token_exchange_service_uri(); + std::string* release_token_exchange_service_uri(); + void set_allocated_token_exchange_service_uri(std::string* token_exchange_service_uri); + + // string resource = 2; + void clear_resource(); + const std::string& resource() const; + void set_resource(const std::string& value); + void set_resource(std::string&& value); + void set_resource(const char* value); + void set_resource(const char* value, size_t size); + std::string* mutable_resource(); + std::string* release_resource(); + void set_allocated_resource(std::string* resource); + + // string audience = 3; + void clear_audience(); + const std::string& audience() const; + void set_audience(const std::string& value); + void set_audience(std::string&& value); + void set_audience(const char* value); + void set_audience(const char* value, size_t size); + std::string* mutable_audience(); + std::string* release_audience(); + void set_allocated_audience(std::string* audience); + + // string scope = 4; + void clear_scope(); + const std::string& scope() const; + void set_scope(const std::string& value); + void set_scope(std::string&& value); + void set_scope(const char* value); + void set_scope(const char* value, size_t size); + std::string* mutable_scope(); + std::string* release_scope(); + void set_allocated_scope(std::string* scope); + + // string requested_token_type = 5; + void clear_requested_token_type(); + const std::string& requested_token_type() const; + void set_requested_token_type(const std::string& value); + void set_requested_token_type(std::string&& value); + void set_requested_token_type(const char* value); + void set_requested_token_type(const char* value, size_t size); + std::string* mutable_requested_token_type(); + std::string* release_requested_token_type(); + void set_allocated_requested_token_type(std::string* requested_token_type); + + // string subject_token_path = 6; + void clear_subject_token_path(); + const std::string& subject_token_path() const; + void set_subject_token_path(const std::string& value); + void set_subject_token_path(std::string&& value); + void set_subject_token_path(const char* value); + void set_subject_token_path(const char* value, size_t size); + std::string* mutable_subject_token_path(); + std::string* release_subject_token_path(); + void set_allocated_subject_token_path(std::string* subject_token_path); + + // string subject_token_type = 7; + void clear_subject_token_type(); + const std::string& subject_token_type() const; + void set_subject_token_type(const std::string& value); + void set_subject_token_type(std::string&& value); + void set_subject_token_type(const char* value); + void set_subject_token_type(const char* value, size_t size); + std::string* mutable_subject_token_type(); + std::string* release_subject_token_type(); + void set_allocated_subject_token_type(std::string* subject_token_type); + + // string actor_token_path = 8; + void clear_actor_token_path(); + const std::string& actor_token_path() const; + void set_actor_token_path(const std::string& value); + void set_actor_token_path(std::string&& value); + void set_actor_token_path(const char* value); + void set_actor_token_path(const char* value, size_t size); + std::string* mutable_actor_token_path(); + std::string* release_actor_token_path(); + void set_allocated_actor_token_path(std::string* actor_token_path); + + // string actor_token_type = 9; + void clear_actor_token_type(); + const std::string& actor_token_type() const; + void set_actor_token_type(const std::string& value); + void set_actor_token_type(std::string&& value); + void set_actor_token_type(const char* value); + void set_actor_token_type(const char* value, size_t size); + std::string* mutable_actor_token_type(); + std::string* release_actor_token_type(); + void set_allocated_actor_token_type(std::string* actor_token_type); + + // @@protoc_insertion_point(class_scope:GrpcService.GoogleGrpc.CallCredentials.StsService) + private: + class _Internal; + + ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_exchange_service_uri_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr resource_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr audience_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scope_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr requested_token_type_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr subject_token_path_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr subject_token_type_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr actor_token_path_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr actor_token_type_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_proxy_5fwasm_5fintrinsics_5flite_2eproto; +}; +// ------------------------------------------------------------------- + class GrpcService_GoogleGrpc_CallCredentials : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GrpcService.GoogleGrpc.CallCredentials) */ { public: @@ -1618,6 +1846,7 @@ class GrpcService_GoogleGrpc_CallCredentials : kServiceAccountJwtAccess = 4, kGoogleIam = 5, kFromPlugin = 6, + kStsService = 7, CREDENTIAL_SPECIFIER_NOT_SET = 0, }; @@ -1627,7 +1856,7 @@ class GrpcService_GoogleGrpc_CallCredentials : &_GrpcService_GoogleGrpc_CallCredentials_default_instance_); } static constexpr int kIndexInFileMessages = - 11; + 12; friend void swap(GrpcService_GoogleGrpc_CallCredentials& a, GrpcService_GoogleGrpc_CallCredentials& b) { a.Swap(&b); @@ -1690,6 +1919,7 @@ class GrpcService_GoogleGrpc_CallCredentials : typedef GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials ServiceAccountJWTAccessCredentials; typedef GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials GoogleIAMCredentials; typedef GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin MetadataCredentialsFromPlugin; + typedef GrpcService_GoogleGrpc_CallCredentials_StsService StsService; // accessors ------------------------------------------------------- @@ -1700,6 +1930,7 @@ class GrpcService_GoogleGrpc_CallCredentials : kServiceAccountJwtAccessFieldNumber = 4, kGoogleIamFieldNumber = 5, kFromPluginFieldNumber = 6, + kStsServiceFieldNumber = 7, }; // string access_token = 1; private: @@ -1761,6 +1992,14 @@ class GrpcService_GoogleGrpc_CallCredentials : ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* mutable_from_plugin(); void set_allocated_from_plugin(::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* from_plugin); + // .GrpcService.GoogleGrpc.CallCredentials.StsService sts_service = 7; + bool has_sts_service() const; + void clear_sts_service(); + const ::GrpcService_GoogleGrpc_CallCredentials_StsService& sts_service() const; + ::GrpcService_GoogleGrpc_CallCredentials_StsService* release_sts_service(); + ::GrpcService_GoogleGrpc_CallCredentials_StsService* mutable_sts_service(); + void set_allocated_sts_service(::GrpcService_GoogleGrpc_CallCredentials_StsService* sts_service); + void clear_credential_specifier(); CredentialSpecifierCase credential_specifier_case() const; // @@protoc_insertion_point(class_scope:GrpcService.GoogleGrpc.CallCredentials) @@ -1772,6 +2011,7 @@ class GrpcService_GoogleGrpc_CallCredentials : void set_has_service_account_jwt_access(); void set_has_google_iam(); void set_has_from_plugin(); + void set_has_sts_service(); inline bool has_credential_specifier() const; inline void clear_has_credential_specifier(); @@ -1785,6 +2025,7 @@ class GrpcService_GoogleGrpc_CallCredentials : ::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials* service_account_jwt_access_; ::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials* google_iam_; ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* from_plugin_; + ::GrpcService_GoogleGrpc_CallCredentials_StsService* sts_service_; } credential_specifier_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; @@ -1826,7 +2067,7 @@ class GrpcService_GoogleGrpc : &_GrpcService_GoogleGrpc_default_instance_); } static constexpr int kIndexInFileMessages = - 12; + 13; friend void swap(GrpcService_GoogleGrpc& a, GrpcService_GoogleGrpc& b) { a.Swap(&b); @@ -2011,7 +2252,7 @@ class GrpcService_HeaderValue : &_GrpcService_HeaderValue_default_instance_); } static constexpr int kIndexInFileMessages = - 13; + 14; friend void swap(GrpcService_HeaderValue& a, GrpcService_HeaderValue& b) { a.Swap(&b); @@ -2150,7 +2391,7 @@ class GrpcService : &_GrpcService_default_instance_); } static constexpr int kIndexInFileMessages = - 14; + 15; friend void swap(GrpcService& a, GrpcService& b) { a.Swap(&b); @@ -3390,6 +3631,469 @@ inline GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin::Con } // ------------------------------------------------------------------- +// GrpcService_GoogleGrpc_CallCredentials_StsService + +// string token_exchange_service_uri = 1; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_token_exchange_service_uri() { + token_exchange_service_uri_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::token_exchange_service_uri() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) + return token_exchange_service_uri_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_token_exchange_service_uri(const std::string& value) { + + token_exchange_service_uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_token_exchange_service_uri(std::string&& value) { + + token_exchange_service_uri_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_token_exchange_service_uri(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + token_exchange_service_uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_token_exchange_service_uri(const char* value, size_t size) { + + token_exchange_service_uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_token_exchange_service_uri() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) + return token_exchange_service_uri_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_token_exchange_service_uri() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) + + return token_exchange_service_uri_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_token_exchange_service_uri(std::string* token_exchange_service_uri) { + if (token_exchange_service_uri != nullptr) { + + } else { + + } + token_exchange_service_uri_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), token_exchange_service_uri); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.token_exchange_service_uri) +} + +// string resource = 2; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_resource() { + resource_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::resource() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) + return resource_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_resource(const std::string& value) { + + resource_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_resource(std::string&& value) { + + resource_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_resource(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + resource_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_resource(const char* value, size_t size) { + + resource_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_resource() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) + return resource_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_resource() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) + + return resource_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_resource(std::string* resource) { + if (resource != nullptr) { + + } else { + + } + resource_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), resource); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.resource) +} + +// string audience = 3; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_audience() { + audience_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::audience() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) + return audience_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_audience(const std::string& value) { + + audience_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_audience(std::string&& value) { + + audience_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_audience(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + audience_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_audience(const char* value, size_t size) { + + audience_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_audience() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) + return audience_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_audience() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) + + return audience_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_audience(std::string* audience) { + if (audience != nullptr) { + + } else { + + } + audience_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), audience); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.audience) +} + +// string scope = 4; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_scope() { + scope_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::scope() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) + return scope_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_scope(const std::string& value) { + + scope_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_scope(std::string&& value) { + + scope_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_scope(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + scope_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_scope(const char* value, size_t size) { + + scope_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_scope() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) + return scope_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_scope() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) + + return scope_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_scope(std::string* scope) { + if (scope != nullptr) { + + } else { + + } + scope_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), scope); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.scope) +} + +// string requested_token_type = 5; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_requested_token_type() { + requested_token_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::requested_token_type() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) + return requested_token_type_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_requested_token_type(const std::string& value) { + + requested_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_requested_token_type(std::string&& value) { + + requested_token_type_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_requested_token_type(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + requested_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_requested_token_type(const char* value, size_t size) { + + requested_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_requested_token_type() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) + return requested_token_type_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_requested_token_type() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) + + return requested_token_type_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_requested_token_type(std::string* requested_token_type) { + if (requested_token_type != nullptr) { + + } else { + + } + requested_token_type_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), requested_token_type); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.requested_token_type) +} + +// string subject_token_path = 6; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_subject_token_path() { + subject_token_path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::subject_token_path() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) + return subject_token_path_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_path(const std::string& value) { + + subject_token_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_path(std::string&& value) { + + subject_token_path_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_path(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + subject_token_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_path(const char* value, size_t size) { + + subject_token_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_subject_token_path() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) + return subject_token_path_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_subject_token_path() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) + + return subject_token_path_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_subject_token_path(std::string* subject_token_path) { + if (subject_token_path != nullptr) { + + } else { + + } + subject_token_path_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), subject_token_path); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_path) +} + +// string subject_token_type = 7; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_subject_token_type() { + subject_token_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::subject_token_type() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) + return subject_token_type_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_type(const std::string& value) { + + subject_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_type(std::string&& value) { + + subject_token_type_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_type(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + subject_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_subject_token_type(const char* value, size_t size) { + + subject_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_subject_token_type() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) + return subject_token_type_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_subject_token_type() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) + + return subject_token_type_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_subject_token_type(std::string* subject_token_type) { + if (subject_token_type != nullptr) { + + } else { + + } + subject_token_type_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), subject_token_type); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.subject_token_type) +} + +// string actor_token_path = 8; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_actor_token_path() { + actor_token_path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::actor_token_path() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) + return actor_token_path_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_path(const std::string& value) { + + actor_token_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_path(std::string&& value) { + + actor_token_path_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_path(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + actor_token_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_path(const char* value, size_t size) { + + actor_token_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_actor_token_path() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) + return actor_token_path_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_actor_token_path() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) + + return actor_token_path_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_actor_token_path(std::string* actor_token_path) { + if (actor_token_path != nullptr) { + + } else { + + } + actor_token_path_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), actor_token_path); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_path) +} + +// string actor_token_type = 9; +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::clear_actor_token_type() { + actor_token_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& GrpcService_GoogleGrpc_CallCredentials_StsService::actor_token_type() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) + return actor_token_type_.GetNoArena(); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_type(const std::string& value) { + + actor_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_type(std::string&& value) { + + actor_token_type_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_type(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + actor_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_actor_token_type(const char* value, size_t size) { + + actor_token_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::mutable_actor_token_type() { + + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) + return actor_token_type_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* GrpcService_GoogleGrpc_CallCredentials_StsService::release_actor_token_type() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) + + return actor_token_type_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void GrpcService_GoogleGrpc_CallCredentials_StsService::set_allocated_actor_token_type(std::string* actor_token_type) { + if (actor_token_type != nullptr) { + + } else { + + } + actor_token_type_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), actor_token_type); + // @@protoc_insertion_point(field_set_allocated:GrpcService.GoogleGrpc.CallCredentials.StsService.actor_token_type) +} + +// ------------------------------------------------------------------- + // GrpcService_GoogleGrpc_CallCredentials // string access_token = 1; @@ -3736,6 +4440,47 @@ inline ::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin* G return credential_specifier_.from_plugin_; } +// .GrpcService.GoogleGrpc.CallCredentials.StsService sts_service = 7; +inline bool GrpcService_GoogleGrpc_CallCredentials::has_sts_service() const { + return credential_specifier_case() == kStsService; +} +inline void GrpcService_GoogleGrpc_CallCredentials::set_has_sts_service() { + _oneof_case_[0] = kStsService; +} +inline void GrpcService_GoogleGrpc_CallCredentials::clear_sts_service() { + if (has_sts_service()) { + delete credential_specifier_.sts_service_; + clear_has_credential_specifier(); + } +} +inline ::GrpcService_GoogleGrpc_CallCredentials_StsService* GrpcService_GoogleGrpc_CallCredentials::release_sts_service() { + // @@protoc_insertion_point(field_release:GrpcService.GoogleGrpc.CallCredentials.sts_service) + if (has_sts_service()) { + clear_has_credential_specifier(); + ::GrpcService_GoogleGrpc_CallCredentials_StsService* temp = credential_specifier_.sts_service_; + credential_specifier_.sts_service_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::GrpcService_GoogleGrpc_CallCredentials_StsService& GrpcService_GoogleGrpc_CallCredentials::sts_service() const { + // @@protoc_insertion_point(field_get:GrpcService.GoogleGrpc.CallCredentials.sts_service) + return has_sts_service() + ? *credential_specifier_.sts_service_ + : *reinterpret_cast< ::GrpcService_GoogleGrpc_CallCredentials_StsService*>(&::_GrpcService_GoogleGrpc_CallCredentials_StsService_default_instance_); +} +inline ::GrpcService_GoogleGrpc_CallCredentials_StsService* GrpcService_GoogleGrpc_CallCredentials::mutable_sts_service() { + if (!has_sts_service()) { + clear_credential_specifier(); + set_has_sts_service(); + credential_specifier_.sts_service_ = CreateMaybeMessage< ::GrpcService_GoogleGrpc_CallCredentials_StsService >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:GrpcService.GoogleGrpc.CallCredentials.sts_service) + return credential_specifier_.sts_service_; +} + inline bool GrpcService_GoogleGrpc_CallCredentials::has_credential_specifier() const { return credential_specifier_case() != CREDENTIAL_SPECIFIER_NOT_SET; } @@ -4291,6 +5036,8 @@ inline GrpcService::TargetSpecifierCase GrpcService::target_specifier_case() con // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/api/wasm/cpp/proxy_wasm_intrinsics_lite.proto b/api/wasm/cpp/proxy_wasm_intrinsics_lite.proto index 8160c9bb0055..82303187d3d6 100644 --- a/api/wasm/cpp/proxy_wasm_intrinsics_lite.proto +++ b/api/wasm/cpp/proxy_wasm_intrinsics_lite.proto @@ -59,6 +59,17 @@ message GrpcService { Any typed_config = 3; } } + message StsService { + string token_exchange_service_uri = 1; + string resource = 2; + string audience = 3; + string scope = 4; + string requested_token_type = 5; + string subject_token_path = 6; + string subject_token_type = 7; + string actor_token_path = 8; + string actor_token_type = 9; + } oneof credential_specifier { string access_token = 1; Empty google_compute_engine = 2; @@ -66,6 +77,7 @@ message GrpcService { ServiceAccountJWTAccessCredentials service_account_jwt_access = 4; GoogleIAMCredentials google_iam = 5; MetadataCredentialsFromPlugin from_plugin = 6; + StsService sts_service = 7; } } repeated CallCredentials call_credentials = 3;