Enum value maps for ClientInfo_Platform.
var ( ClientInfo_Platform_name = map[int32]string{ 0: "PLATFORM_UNSPECIFIED", 1: "EDITOR", 2: "MAC_OS", 3: "WINDOWS", 4: "LINUX", 5: "ANDROID", 6: "IOS", 7: "WEB_GL", } ClientInfo_Platform_value = map[string]int32{ "PLATFORM_UNSPECIFIED": 0, "EDITOR": 1, "MAC_OS": 2, "WINDOWS": 3, "LINUX": 4, "ANDROID": 5, "IOS": 6, "WEB_GL": 7, } )
var File_google_maps_unity_clientinfo_proto protoreflect.FileDescriptor
Client information.
type ClientInfo struct { // Application ID, such as the package name on Android and the bundle // identifier on iOS platforms. ApplicationId string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` // Application version number, such as "1.2.3". The exact format is // application-dependent. ApplicationVersion string `protobuf:"bytes,2,opt,name=application_version,json=applicationVersion,proto3" json:"application_version,omitempty"` // Platform where the application is running. Platform ClientInfo_Platform `protobuf:"varint,3,opt,name=platform,proto3,enum=google.maps.unity.ClientInfo_Platform" json:"platform,omitempty"` // Operating system name and version as reported by the OS. For example, // "Mac OS X 10.10.4". The exact format is platform-dependent. OperatingSystem string `protobuf:"bytes,4,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"` // API client name and version. For example, the SDK calling the API. The // exact format is up to the client. ApiClient string `protobuf:"bytes,5,opt,name=api_client,json=apiClient,proto3" json:"api_client,omitempty"` // Device model as reported by the device. The exact format is // platform-dependent. DeviceModel string `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"` // Language code (in BCP-47 format) indicating the UI language of the client. // Examples are "en", "en-US" or "ja-Latn". For more information, see // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. LanguageCode string `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Build number/version of the operating system. e.g., the contents of // android.os.Build.ID in Android, or the contents of sysctl "kern.osversion" // in iOS. OperatingSystemBuild string `protobuf:"bytes,8,opt,name=operating_system_build,json=operatingSystemBuild,proto3" json:"operating_system_build,omitempty"` // contains filtered or unexported fields }
func (*ClientInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.
func (x *ClientInfo) GetApiClient() string
func (x *ClientInfo) GetApplicationId() string
func (x *ClientInfo) GetApplicationVersion() string
func (x *ClientInfo) GetDeviceModel() string
func (x *ClientInfo) GetLanguageCode() string
func (x *ClientInfo) GetOperatingSystem() string
func (x *ClientInfo) GetOperatingSystemBuild() string
func (x *ClientInfo) GetPlatform() ClientInfo_Platform
func (*ClientInfo) ProtoMessage()
func (x *ClientInfo) ProtoReflect() protoreflect.Message
func (x *ClientInfo) Reset()
func (x *ClientInfo) String() string
Platform enum.
type ClientInfo_Platform int32
const ( // Unspecified or unknown OS. ClientInfo_PLATFORM_UNSPECIFIED ClientInfo_Platform = 0 // Development environment. ClientInfo_EDITOR ClientInfo_Platform = 1 // macOS. ClientInfo_MAC_OS ClientInfo_Platform = 2 // Windows. ClientInfo_WINDOWS ClientInfo_Platform = 3 // Linux ClientInfo_LINUX ClientInfo_Platform = 4 // Android ClientInfo_ANDROID ClientInfo_Platform = 5 // iOS ClientInfo_IOS ClientInfo_Platform = 6 // WebGL. ClientInfo_WEB_GL ClientInfo_Platform = 7 )
func (ClientInfo_Platform) Descriptor() protoreflect.EnumDescriptor
func (x ClientInfo_Platform) Enum() *ClientInfo_Platform
func (ClientInfo_Platform) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientInfo_Platform.Descriptor instead.
func (x ClientInfo_Platform) Number() protoreflect.EnumNumber
func (x ClientInfo_Platform) String() string
func (ClientInfo_Platform) Type() protoreflect.EnumType