genproto: google.golang.org/genproto/googleapis/maps/unity Index | Files

package unity

import "google.golang.org/genproto/googleapis/maps/unity"

Index

Package Files

clientinfo.pb.go

Variables

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.

var File_google_maps_unity_clientinfo_proto protoreflect.FileDescriptor

type ClientInfo Uses

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 Uses

func (*ClientInfo) Descriptor() ([]byte, []int)

Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.

func (*ClientInfo) GetApiClient Uses

func (x *ClientInfo) GetApiClient() string

func (*ClientInfo) GetApplicationId Uses

func (x *ClientInfo) GetApplicationId() string

func (*ClientInfo) GetApplicationVersion Uses

func (x *ClientInfo) GetApplicationVersion() string

func (*ClientInfo) GetDeviceModel Uses

func (x *ClientInfo) GetDeviceModel() string

func (*ClientInfo) GetLanguageCode Uses

func (x *ClientInfo) GetLanguageCode() string

func (*ClientInfo) GetOperatingSystem Uses

func (x *ClientInfo) GetOperatingSystem() string

func (*ClientInfo) GetOperatingSystemBuild Uses

func (x *ClientInfo) GetOperatingSystemBuild() string

func (*ClientInfo) GetPlatform Uses

func (x *ClientInfo) GetPlatform() ClientInfo_Platform

func (*ClientInfo) ProtoMessage Uses

func (*ClientInfo) ProtoMessage()

func (*ClientInfo) ProtoReflect Uses

func (x *ClientInfo) ProtoReflect() protoreflect.Message

func (*ClientInfo) Reset Uses

func (x *ClientInfo) Reset()

func (*ClientInfo) String Uses

func (x *ClientInfo) String() string

type ClientInfo_Platform Uses

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 Uses

func (ClientInfo_Platform) Descriptor() protoreflect.EnumDescriptor

func (ClientInfo_Platform) Enum Uses

func (x ClientInfo_Platform) Enum() *ClientInfo_Platform

func (ClientInfo_Platform) EnumDescriptor Uses

func (ClientInfo_Platform) EnumDescriptor() ([]byte, []int)

Deprecated: Use ClientInfo_Platform.Descriptor instead.

func (ClientInfo_Platform) Number Uses

func (x ClientInfo_Platform) Number() protoreflect.EnumNumber

func (ClientInfo_Platform) String Uses

func (x ClientInfo_Platform) String() string

func (ClientInfo_Platform) Type Uses

func (ClientInfo_Platform) Type() protoreflect.EnumType

Package unity imports 5 packages (graph) and is imported by 1 packages. Updated 2020-08-05. Refresh now. Tools for package owners.