pub trait Message: Send + Sync {
// Required methods
fn encoded_len(&self) -> usize;
fn clear(&mut self);
// Provided methods
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized { ... }
fn encode_to_vec(&self) -> Vec<u8> ⓘ
where Self: Sized { ... }
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>
where Self: Sized { ... }
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘ
where Self: Sized { ... }
fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default { ... }
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default { ... }
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized { ... }
fn merge_length_delimited(
&mut self,
buf: impl Buf,
) -> Result<(), DecodeError>
where Self: Sized { ... }
}Expand description
A Protocol Buffers message.
Required Methods§
Sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Provided Methods§
Sourcefn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer.
An error will be returned if the buffer does not have sufficient capacity.
Sourcefn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Sourcefn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer.
An error will be returned if the buffer does not have sufficient capacity.
Sourcefn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Sourcefn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer.
The entire buffer will be consumed.
Sourcefn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Sourcefn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into self.
The entire buffer will be consumed.
Sourcefn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into self.
Implementations on Foreign Types§
Implementors§
impl Message for source2_demo::proto::c_demo_class_info::ClassT
impl Message for DemoInitialSpawnGroupEntry
impl Message for ItemsT
impl Message for TableT
impl Message for CHeroSelectEvent
impl Message for CPlayerInfo
impl Message for CCsGameInfo
impl Message for CDotaGameInfo
impl Message for ConVar
impl Message for CVar
impl Message for SingleMetric
impl Message for Keyvalue
impl Message for Location
impl Message for CMsgHaveVersions
impl Message for CMsgUpdate
impl Message for CustomItemScalar
impl Message for Request
impl Message for Version
impl Message for Cache
impl Message for TypeCache
impl Message for Player
impl Message for Port
impl Message for ItemPosition
impl Message for SubscribedType
impl Message for SingleObject
impl Message for source2_demo::proto::c_msg_source1_legacy_game_event::KeyT
impl Message for source2_demo::proto::c_msg_source1_legacy_game_event_list::DescriptorT
impl Message for source2_demo::proto::c_msg_source1_legacy_game_event_list::KeyT
impl Message for Tag
impl Message for CacheDataAccessToken
impl Message for InferenceAccessToken
impl Message for SnapshotProjectAccessToken
impl Message for BinaryCrossEntropyOutput
impl Message for CategoricalCrossEntropyOutput
impl Message for MutliBinaryCrossEntropyOutput
impl Message for NamedInferenceOutput
impl Message for Output
impl Message for RegressionOutput
impl Message for Sequence
impl Message for source2_demo::proto::c_msg_steam_learn_inference_metadata_response::compact_table::Entry
impl Message for source2_demo::proto::c_msg_steam_learn_inference_metadata_response::compact_table::MapMappingsEntry
impl Message for source2_demo::proto::c_msg_steam_learn_inference_metadata_response::compact_table::MapValuesEntry
impl Message for Cluster
impl Message for source2_demo::proto::c_msg_steam_learn_inference_metadata_response::sequence_table::Entry
impl Message for source2_demo::proto::c_msg_steam_learn_inference_metadata_response::sequence_table::MapMappingsEntry
impl Message for source2_demo::proto::c_msg_steam_learn_inference_metadata_response::sequence_table::MapValuesEntry
impl Message for AppInfo
impl Message for AppInfoEntry
impl Message for CompactTable
impl Message for KMeans
impl Message for Range
impl Message for RowRange
impl Message for SequenceTable
impl Message for SnapshotHistogram
impl Message for StdDev
impl Message for ProjectInfo
impl Message for Client
impl Message for TransitionDataDriven
impl Message for source2_demo::proto::c_user_message_diagnostic_response::Diagnostic
impl Message for CModule
impl Message for CvDiagnostic
impl Message for InventoryDetail
impl Message for Criteria
impl Message for source2_demo::proto::c_user_message_request_diagnostic::Diagnostic
impl Message for ItemDetail
impl Message for EHandleContext
impl Message for FloatContextValue
impl Message for TransformContextValue
impl Message for VectorContextValue
impl Message for AddFan
impl Message for AddModellistOverrideElement
impl Message for ChangeControlPointAttachment
impl Message for ClearModellistOverride
impl Message for CreateParticle
impl Message for CreatePhysicsSim
impl Message for DestroyParticle
impl Message for DestroyParticleInvolving
impl Message for DestroyParticleNamed
impl Message for DestroyPhysicsSim
impl Message for FreezeParticleInvolving
impl Message for ParticleCanFreeze
impl Message for ParticleFreezeTransitionOverride
impl Message for ParticleSkipToTime
impl Message for ReleaseParticleIndex
impl Message for RemoveFan
impl Message for SetControlPointModel
impl Message for SetControlPointSnapshot
impl Message for SetMaterialOverride
impl Message for SetParticleClusterGrowth
impl Message for SetParticleFoWProperties
impl Message for SetParticleNamedValueContext
impl Message for SetParticleShouldCheckFoW
impl Message for SetParticleText
impl Message for SetSceneObjectGenericFlag
impl Message for SetSceneObjectTintAndDesat
impl Message for SetTextureAttribute
impl Message for SetVData
impl Message for UpdateEntityPosition
impl Message for UpdateFan
impl Message for UpdateParticleEnt
impl Message for UpdateParticleFallback
impl Message for UpdateParticleFwdObsolete
impl Message for UpdateParticleObsolete
impl Message for UpdateParticleOffset
impl Message for UpdateParticleOrientObsolete
impl Message for UpdateParticleSetFrozen
impl Message for UpdateParticleShouldDraw
impl Message for UpdateParticleTransform
impl Message for ItemDescriptionsLanguageBlock
impl Message for SingleItemDescription
impl Message for PartnerItemPaymentRule
impl Message for WorkshopDirectPaymentRule
impl Message for WorkshopItemPaymentRule
impl Message for Process
impl Message for GcInfo
impl Message for source2_demo::proto::csvc_msg_class_info::ClassT
impl Message for source2_demo::proto::csvc_msg_game_event::KeyT
impl Message for source2_demo::proto::csvc_msg_game_event_list::DescriptorT
impl Message for source2_demo::proto::csvc_msg_game_event_list::KeyT
impl Message for EventT
impl Message for AlternateBaselineT
impl Message for NonTransmittedEntitiesT
impl Message for OutofpvsEntityUpdatesT
impl Message for SendpropT
impl Message for SounddataT
impl Message for PolymorphicFieldT
impl Message for CBidirMsgPredictionEvent
impl Message for CBidirMsgRebroadcastGameEvent
impl Message for CBidirMsgRebroadcastSource
impl Message for CBroadcastPostGameDataFrameRequest
impl Message for CCommunityClanAnnouncementInfo
impl Message for CCommunityGetClanAnnouncementsRequest
impl Message for CCommunityGetClanAnnouncementsResponse
impl Message for CDemoAnimationData
impl Message for CDemoAnimationHeader
impl Message for CDemoClassInfo
impl Message for CDemoConsoleCmd
impl Message for CDemoCustomData
impl Message for CDemoCustomDataCallbacks
impl Message for CDemoFileHeader
impl Message for CDemoFileInfo
impl Message for CDemoFullPacket
impl Message for CDemoPacket
impl Message for CDemoRecovery
impl Message for CDemoSaveGame
impl Message for CDemoSendTables
impl Message for CDemoSpawnGroups
impl Message for CDemoStop
impl Message for CDemoStringTables
impl Message for CDemoSyncTick
impl Message for CDemoUserCmd
impl Message for CEntityMessageDoSpark
impl Message for CEntityMessageFixAngle
impl Message for CEntityMessagePlayJingle
impl Message for CEntityMessagePropagateForce
impl Message for CEntityMessageRemoveAllDecals
impl Message for CEntityMessageScreenOverlay
impl Message for CEntityMsg
impl Message for CExtraMsgBlock
impl Message for CGameInfo
impl Message for CGcMsgCompressedMsgToClient
impl Message for CGcMsgGetIpLocationResponse
impl Message for CGcStorePurchaseInitLineItem
impl Message for CGcSystemMsgGetAccountDetails
impl Message for CGcSystemMsgGetAccountDetailsResponse
impl Message for CGcToGcMsgMasterAck
impl Message for CGcToGcMsgMasterAckResponse
impl Message for CGcToGcMsgMasterStartupComplete
impl Message for CGcToGcMsgRouted
impl Message for CGcToGcMsgRoutedReply
impl Message for CIpLocationInfo
impl Message for CMsgAddItemToSocket
impl Message for CMsgAddItemToSocketData
impl Message for CMsgAddItemToSocketResponse
impl Message for CMsgAddSocket
impl Message for CMsgAddSocketResponse
impl Message for CMsgApplyEggEssence
impl Message for CMsgApplyPennantUpgrade
impl Message for CMsgApplyRemoteConVars
impl Message for CMsgApplyStrangePart
impl Message for CMsgCVars
impl Message for CMsgClearDecalsForEntityEvent
impl Message for CMsgClearEntityDecalsEvent
impl Message for CMsgClearWorldDecalsEvent
impl Message for CMsgClientHello
impl Message for CMsgClientPingData
impl Message for CMsgClientToGcAggregateMetrics
impl Message for CMsgClientToGcIntegrityStatus
impl Message for CMsgClientWelcome
impl Message for CMsgConnectionStatus
impl Message for CMsgCustomGameInstallStatus
impl Message for CMsgExtractGems
impl Message for CMsgExtractGemsResponse
impl Message for CMsgGcAdditionalWelcomeMsgList
impl Message for CMsgGcAssertJobData
impl Message for CMsgGcClientPing
impl Message for CMsgGcClientVersionUpdated
impl Message for CMsgGcConCommand
impl Message for CMsgGcMultiplexMessage
impl Message for CMsgGcRequestSubGcSessionInfo
impl Message for CMsgGcRequestSubGcSessionInfoResponse
impl Message for CMsgGcServerVersionUpdated
impl Message for CMsgGcStorePurchaseCancel
impl Message for CMsgGcStorePurchaseCancelResponse
impl Message for CMsgGcStorePurchaseFinalize
impl Message for CMsgGcStorePurchaseFinalizeResponse
impl Message for CMsgGcStorePurchaseInit
impl Message for CMsgGcStorePurchaseInitResponse
impl Message for CMsgGcToClientAggregateMetricsBackoff
impl Message for CMsgGcToClientApplyRemoteConVars
impl Message for CMsgGcToClientPollConvarRequest
impl Message for CMsgGcToClientPollConvarResponse
impl Message for CMsgGcToClientPollFileRequest
impl Message for CMsgGcToClientPollFileResponse
impl Message for CMsgGcToClientRequestDropped
impl Message for CMsgGcToGcBannedWordListUpdated
impl Message for CMsgGcToGcDirtySdoCache
impl Message for CMsgGcToGcForwardAccountDetails
impl Message for CMsgGcToGcLoadSessionSoCache
impl Message for CMsgGcToGcLoadSessionSoCacheResponse
impl Message for CMsgGcToGcMasterBroadcastMessage
impl Message for CMsgGcToGcMasterDestroyCache
impl Message for CMsgGcToGcMasterSubscribeToCache
impl Message for CMsgGcToGcMasterSubscribeToCacheAsync
impl Message for CMsgGcToGcMasterSubscribeToCacheResponse
impl Message for CMsgGcToGcMasterUnsubscribeFromCache
impl Message for CMsgGcToGcPerformManualOp
impl Message for CMsgGcToGcPerformManualOpCompleted
impl Message for CMsgGcToGcReloadServerRegionSettings
impl Message for CMsgGcToGcSubGcStarting
impl Message for CMsgGcToGcUniverseStartup
impl Message for CMsgGcToGcUniverseStartupResponse
impl Message for CMsgGcToGcUpdateSessionStats
impl Message for CMsgGcToGcUpdateSqlKeyValue
impl Message for CMsgGcToGcWebApiAccountChanged
impl Message for CMsgGcToGcsoCacheSubscribe
impl Message for CMsgGcToGcsoCacheUnsubscribe
impl Message for CMsgGcToServerApplyRemoteConVars
impl Message for CMsgGcToServerSteamLearnAccessTokensChanged
impl Message for CMsgGcToServerSteamLearnUseHttp
impl Message for CMsgGcUpdateSubGcSessionInfo
impl Message for CMsgInferenceIterateBeamSearch
impl Message for CMsgInvitationCreated
impl Message for CMsgInviteToLobby
impl Message for CMsgInviteToParty
impl Message for CMsgIpcAddress
impl Message for CMsgItemAcknowledged
impl Message for CMsgKickFromParty
impl Message for CMsgLanServerAvailable
impl Message for CMsgLeaveParty
impl Message for CMsgLobbyInviteResponse
impl Message for CMsgPartyInviteResponse
impl Message for CMsgPlaceDecalEvent
impl Message for CMsgPlayerInfo
impl Message for CMsgProtoBufHeader
impl Message for CMsgQAngle
impl Message for CMsgQuaternion
impl Message for CMsgResetStrangeGemCount
impl Message for CMsgResetStrangeGemCountResponse
impl Message for CMsgRgba
impl Message for CMsgSdoAssert
impl Message for CMsgSdoNoMemcached
impl Message for CMsgSerializedSoCache
impl Message for CMsgServerAvailable
impl Message for CMsgServerNetworkStats
impl Message for CMsgServerPeer
impl Message for CMsgServerUserCmd
impl Message for CMsgSetItemPositions
impl Message for CMsgSoCacheHaveVersion
impl Message for CMsgSoCacheSubscribed
impl Message for CMsgSoCacheSubscribedUpToDate
impl Message for CMsgSoCacheSubscriptionCheck
impl Message for CMsgSoCacheSubscriptionRefresh
impl Message for CMsgSoCacheUnsubscribed
impl Message for CMsgSoCacheVersion
impl Message for CMsgSoMultipleObjects
impl Message for CMsgSoSingleObject
impl Message for CMsgSoidOwner
impl Message for CMsgSortItems
impl Message for CMsgSosSetLibraryStackFields
impl Message for CMsgSosSetSoundEventParams
impl Message for CMsgSosStartSoundEvent
impl Message for CMsgSosStopSoundEvent
impl Message for CMsgSosStopSoundEventHash
impl Message for CMsgSource1LegacyGameEvent
impl Message for CMsgSource1LegacyGameEventList
impl Message for CMsgSource1LegacyListenEvents
impl Message for CMsgSource2NetworkFlowQuality
impl Message for CMsgSource2PerfIntervalSample
impl Message for CMsgSource2SystemSpecs
impl Message for CMsgSource2VProfLiteReport
impl Message for CMsgSource2VProfLiteReportItem
impl Message for CMsgSteamLearnAccessTokens
impl Message for CMsgSteamLearnBatchOperationRequest
impl Message for CMsgSteamLearnBatchOperationResponse
impl Message for CMsgSteamLearnCacheDataRequest
impl Message for CMsgSteamLearnCacheDataResponse
impl Message for CMsgSteamLearnData
impl Message for CMsgSteamLearnDataElement
impl Message for CMsgSteamLearnDataList
impl Message for CMsgSteamLearnDataObject
impl Message for CMsgSteamLearnDataSource
impl Message for CMsgSteamLearnDataSourceDescElement
impl Message for CMsgSteamLearnDataSourceDescObject
impl Message for CMsgSteamLearnGetAccessTokensRequest
impl Message for CMsgSteamLearnGetAccessTokensResponse
impl Message for CMsgSteamLearnInferenceBackendResponse
impl Message for CMsgSteamLearnInferenceMetadataBackendRequest
impl Message for CMsgSteamLearnInferenceMetadataRequest
impl Message for CMsgSteamLearnInferenceMetadataResponse
impl Message for CMsgSteamLearnInferenceRequest
impl Message for CMsgSteamLearnInferenceResponse
impl Message for CMsgSteamLearnRegisterDataSourceRequest
impl Message for CMsgSteamLearnRegisterDataSourceResponse
impl Message for CMsgSteamLearnServerInfo
impl Message for CMsgSteamLearnSnapshotProjectRequest
impl Message for CMsgSteamLearnSnapshotProjectResponse
impl Message for CMsgTransform
impl Message for CMsgVDebugGameSessionIdEvent
impl Message for CMsgVector2D
impl Message for CMsgVector
impl Message for CMsgVoiceAudio
impl Message for CNetMsgDebugOverlay
impl Message for CNetMsgNop
impl Message for CNetMsgSetConVar
impl Message for CNetMsgSignonState
impl Message for CNetMsgSpawnGroupLoad
impl Message for CNetMsgSpawnGroupLoadCompleted
impl Message for CNetMsgSpawnGroupManifestUpdate
impl Message for CNetMsgSpawnGroupSetCreationTick
impl Message for CNetMsgSpawnGroupUnload
impl Message for CNetMsgSplitScreenUser
impl Message for CNetMsgStringCmd
impl Message for CNetMsgTick
impl Message for CSoEconGameAccountClient
impl Message for CSoEconItem
impl Message for CSoEconItemAttribute
impl Message for CSoEconItemEquipped
impl Message for CSource2MetricsMatchPerfSummaryNotification
impl Message for CSvcMsgBroadcastCommand
impl Message for CSvcMsgBspDecal
impl Message for CSvcMsgClassInfo
impl Message for CSvcMsgClearAllStringTables
impl Message for CSvcMsgCmdKeyValues
impl Message for CSvcMsgCreateStringTable
impl Message for CSvcMsgCrosshairAngle
impl Message for CSvcMsgFixAngle
impl Message for CSvcMsgFlattenedSerializer
impl Message for CSvcMsgFullFrameSplit
impl Message for CSvcMsgGameEvent
impl Message for CSvcMsgGameEventList
impl Message for CSvcMsgGameSessionConfiguration
impl Message for CSvcMsgGetCvarValue
impl Message for CSvcMsgHltvFixupOperatorStatus
impl Message for CSvcMsgHltvReplay
impl Message for CSvcMsgHltvStatus
impl Message for CSvcMsgListGameEvents
impl Message for CSvcMsgMenu
impl Message for CSvcMsgNextMsgPredicted
impl Message for CSvcMsgPacketEntities
impl Message for CSvcMsgPacketReliable
impl Message for CSvcMsgPeerList
impl Message for CSvcMsgPrefetch
impl Message for CSvcMsgPrint
impl Message for CSvcMsgRconServerDetails
impl Message for CSvcMsgSendTable
impl Message for CSvcMsgServerInfo
impl Message for CSvcMsgServerSteamId
impl Message for CSvcMsgSetPause
impl Message for CSvcMsgSetView
impl Message for CSvcMsgSounds
impl Message for CSvcMsgSplitScreen
impl Message for CSvcMsgStopSound
impl Message for CSvcMsgTempEntities
impl Message for CSvcMsgUpdateStringTable
impl Message for CSvcMsgUserCommands
impl Message for CSvcMsgUserMessage
impl Message for CSvcMsgVoiceData
impl Message for CSvcMsgVoiceInit
impl Message for CUserMessageAchievementEvent
impl Message for CUserMessageAmmoDenied
impl Message for CUserMessageAnimStateGraphState
impl Message for CUserMessageAudioParameter
impl Message for CUserMessageCameraTransition
impl Message for CUserMessageCloseCaption
impl Message for CUserMessageCloseCaptionDirect
impl Message for CUserMessageCloseCaptionPlaceholder
impl Message for CUserMessageColoredText
impl Message for CUserMessageCreditsMsg
impl Message for CUserMessageCurrentTimescale
impl Message for CUserMessageDesiredTimescale
impl Message for CUserMessageDiagnosticResponse
impl Message for CUserMessageDllStatus
impl Message for CUserMessageExtraUserData
impl Message for CUserMessageFade
impl Message for CUserMessageGameTitle
impl Message for CUserMessageHapticsManagerEffect
impl Message for CUserMessageHapticsManagerPulse
impl Message for CUserMessageHudMsg
impl Message for CUserMessageHudText
impl Message for CUserMessageInventoryResponse
impl Message for CUserMessageItemPickup
impl Message for CUserMessageLagCompensationError
impl Message for CUserMessageNotifyResponseFound
impl Message for CUserMessagePlayResponseConditional
impl Message for CUserMessageRequestDiagnostic
impl Message for CUserMessageRequestDllStatus
impl Message for CUserMessageRequestInventory
impl Message for CUserMessageRequestState
impl Message for CUserMessageRequestUtilAction
impl Message for CUserMessageResetHud
impl Message for CUserMessageRumble
impl Message for CUserMessageSayText2
impl Message for CUserMessageSayText
impl Message for CUserMessageSayTextChannel
impl Message for CUserMessageScreenTilt
impl Message for CUserMessageSendAudio
impl Message for CUserMessageServerFrameTime
impl Message for CUserMessageShake
impl Message for CUserMessageShakeDir
impl Message for CUserMessageShowMenu
impl Message for CUserMessageTextMsg
impl Message for CUserMessageUpdateCssClasses
impl Message for CUserMessageUtilMsgResponse
impl Message for CUserMessageVoiceMask
impl Message for CUserMessageWaterShake
impl Message for CUserMsgCustomGameEvent
impl Message for CUserMsgHudError
impl Message for CUserMsgParticleManager
impl Message for CWorkshopGetContributorsRequest
impl Message for CWorkshopGetContributorsResponse
impl Message for CWorkshopPopulateItemDescriptionsRequest
impl Message for CWorkshopSetItemPaymentRulesRequest
impl Message for CWorkshopSetItemPaymentRulesResponse
impl Message for CclcMsgBaselineAck
impl Message for CclcMsgClientInfo
impl Message for CclcMsgCmdKeyValues
impl Message for CclcMsgDiagnostic
impl Message for CclcMsgHltvFixupOperatorTick
impl Message for CclcMsgHltvReplay
impl Message for CclcMsgListenEvents
impl Message for CclcMsgLoadingProgress
impl Message for CclcMsgMove
impl Message for CclcMsgRconServerDetails
impl Message for CclcMsgRequestPause
impl Message for CclcMsgRespondCvarValue
impl Message for CclcMsgServerStatus
impl Message for CclcMsgSplitPlayerConnect
impl Message for CclcMsgSplitPlayerDisconnect
impl Message for CclcMsgVoiceData
impl Message for ProtoFlattenedSerializerFieldT
impl Message for ProtoFlattenedSerializerT
impl Message for String
google.protobuf.StringValue
impl Message for Vec<u8>
google.protobuf.BytesValue
impl Message for Bytes
google.protobuf.BytesValue