Documentation ¶
Index ¶
- Variables
- type ClientInfo
- func (*ClientInfo) Descriptor() ([]byte, []int)deprecated
- 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
- type ClientInfo_Platform
- func (ClientInfo_Platform) Descriptor() protoreflect.EnumDescriptor
- func (x ClientInfo_Platform) Enum() *ClientInfo_Platform
- func (ClientInfo_Platform) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientInfo_Platform) Number() protoreflect.EnumNumber
- func (x ClientInfo_Platform) String() string
- func (ClientInfo_Platform) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
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, } )
Enum value maps for ClientInfo_Platform.
View Source
var File_google_maps_unity_clientinfo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClientInfo ¶
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 }
Client information.
func (*ClientInfo) Descriptor
deprecated
func (*ClientInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.
func (*ClientInfo) GetApiClient ¶
func (x *ClientInfo) GetApiClient() string
func (*ClientInfo) GetApplicationId ¶
func (x *ClientInfo) GetApplicationId() string
func (*ClientInfo) GetApplicationVersion ¶
func (x *ClientInfo) GetApplicationVersion() string
func (*ClientInfo) GetDeviceModel ¶
func (x *ClientInfo) GetDeviceModel() string
func (*ClientInfo) GetLanguageCode ¶
func (x *ClientInfo) GetLanguageCode() string
func (*ClientInfo) GetOperatingSystem ¶
func (x *ClientInfo) GetOperatingSystem() string
func (*ClientInfo) GetOperatingSystemBuild ¶
func (x *ClientInfo) GetOperatingSystemBuild() string
func (*ClientInfo) GetPlatform ¶
func (x *ClientInfo) GetPlatform() ClientInfo_Platform
func (*ClientInfo) ProtoMessage ¶
func (*ClientInfo) ProtoMessage()
func (*ClientInfo) ProtoReflect ¶
func (x *ClientInfo) ProtoReflect() protoreflect.Message
func (*ClientInfo) Reset ¶
func (x *ClientInfo) Reset()
func (*ClientInfo) String ¶
func (x *ClientInfo) String() string
type ClientInfo_Platform ¶
type ClientInfo_Platform int32
Platform enum.
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 ¶
func (ClientInfo_Platform) Descriptor() protoreflect.EnumDescriptor
func (ClientInfo_Platform) Enum ¶
func (x ClientInfo_Platform) Enum() *ClientInfo_Platform
func (ClientInfo_Platform) EnumDescriptor
deprecated
func (ClientInfo_Platform) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientInfo_Platform.Descriptor instead.
func (ClientInfo_Platform) Number ¶
func (x ClientInfo_Platform) Number() protoreflect.EnumNumber
func (ClientInfo_Platform) String ¶
func (x ClientInfo_Platform) String() string
func (ClientInfo_Platform) Type ¶
func (ClientInfo_Platform) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.