...

Source file src/google.golang.org/genproto/googleapis/maps/unity/clientinfo.pb.go

Documentation: google.golang.org/genproto/googleapis/maps/unity

     1  // Copyright 2020 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v3.12.2
    19  // source: google/maps/unity/clientinfo.proto
    20  
    21  package unity
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  // Platform enum.
    39  type ClientInfo_Platform int32
    40  
    41  const (
    42  	// Unspecified or unknown OS.
    43  	ClientInfo_PLATFORM_UNSPECIFIED ClientInfo_Platform = 0
    44  	// Development environment.
    45  	ClientInfo_EDITOR ClientInfo_Platform = 1
    46  	// macOS.
    47  	ClientInfo_MAC_OS ClientInfo_Platform = 2
    48  	// Windows.
    49  	ClientInfo_WINDOWS ClientInfo_Platform = 3
    50  	// Linux
    51  	ClientInfo_LINUX ClientInfo_Platform = 4
    52  	// Android
    53  	ClientInfo_ANDROID ClientInfo_Platform = 5
    54  	// iOS
    55  	ClientInfo_IOS ClientInfo_Platform = 6
    56  	// WebGL.
    57  	ClientInfo_WEB_GL ClientInfo_Platform = 7
    58  )
    59  
    60  // Enum value maps for ClientInfo_Platform.
    61  var (
    62  	ClientInfo_Platform_name = map[int32]string{
    63  		0: "PLATFORM_UNSPECIFIED",
    64  		1: "EDITOR",
    65  		2: "MAC_OS",
    66  		3: "WINDOWS",
    67  		4: "LINUX",
    68  		5: "ANDROID",
    69  		6: "IOS",
    70  		7: "WEB_GL",
    71  	}
    72  	ClientInfo_Platform_value = map[string]int32{
    73  		"PLATFORM_UNSPECIFIED": 0,
    74  		"EDITOR":               1,
    75  		"MAC_OS":               2,
    76  		"WINDOWS":              3,
    77  		"LINUX":                4,
    78  		"ANDROID":              5,
    79  		"IOS":                  6,
    80  		"WEB_GL":               7,
    81  	}
    82  )
    83  
    84  func (x ClientInfo_Platform) Enum() *ClientInfo_Platform {
    85  	p := new(ClientInfo_Platform)
    86  	*p = x
    87  	return p
    88  }
    89  
    90  func (x ClientInfo_Platform) String() string {
    91  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    92  }
    93  
    94  func (ClientInfo_Platform) Descriptor() protoreflect.EnumDescriptor {
    95  	return file_google_maps_unity_clientinfo_proto_enumTypes[0].Descriptor()
    96  }
    97  
    98  func (ClientInfo_Platform) Type() protoreflect.EnumType {
    99  	return &file_google_maps_unity_clientinfo_proto_enumTypes[0]
   100  }
   101  
   102  func (x ClientInfo_Platform) Number() protoreflect.EnumNumber {
   103  	return protoreflect.EnumNumber(x)
   104  }
   105  
   106  // Deprecated: Use ClientInfo_Platform.Descriptor instead.
   107  func (ClientInfo_Platform) EnumDescriptor() ([]byte, []int) {
   108  	return file_google_maps_unity_clientinfo_proto_rawDescGZIP(), []int{0, 0}
   109  }
   110  
   111  // Client information.
   112  type ClientInfo struct {
   113  	state         protoimpl.MessageState
   114  	sizeCache     protoimpl.SizeCache
   115  	unknownFields protoimpl.UnknownFields
   116  
   117  	// Application ID, such as the package name on Android and the bundle
   118  	// identifier on iOS platforms.
   119  	ApplicationId string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
   120  	// Application version number, such as "1.2.3". The exact format is
   121  	// application-dependent.
   122  	ApplicationVersion string `protobuf:"bytes,2,opt,name=application_version,json=applicationVersion,proto3" json:"application_version,omitempty"`
   123  	// Platform where the application is running.
   124  	Platform ClientInfo_Platform `protobuf:"varint,3,opt,name=platform,proto3,enum=google.maps.unity.ClientInfo_Platform" json:"platform,omitempty"`
   125  	// Operating system name and version as reported by the OS. For example,
   126  	// "Mac OS X 10.10.4". The exact format is platform-dependent.
   127  	OperatingSystem string `protobuf:"bytes,4,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"`
   128  	// API client name and version. For example, the SDK calling the API. The
   129  	// exact format is up to the client.
   130  	ApiClient string `protobuf:"bytes,5,opt,name=api_client,json=apiClient,proto3" json:"api_client,omitempty"`
   131  	// Device model as reported by the device. The exact format is
   132  	// platform-dependent.
   133  	DeviceModel string `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"`
   134  	// Language code (in BCP-47 format) indicating the UI language of the client.
   135  	// Examples are "en", "en-US" or "ja-Latn". For more information, see
   136  	// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
   137  	LanguageCode string `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
   138  	// Build number/version of the operating system. e.g., the contents of
   139  	// android.os.Build.ID in Android, or the contents of sysctl "kern.osversion"
   140  	// in iOS.
   141  	OperatingSystemBuild string `protobuf:"bytes,8,opt,name=operating_system_build,json=operatingSystemBuild,proto3" json:"operating_system_build,omitempty"`
   142  }
   143  
   144  func (x *ClientInfo) Reset() {
   145  	*x = ClientInfo{}
   146  	if protoimpl.UnsafeEnabled {
   147  		mi := &file_google_maps_unity_clientinfo_proto_msgTypes[0]
   148  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   149  		ms.StoreMessageInfo(mi)
   150  	}
   151  }
   152  
   153  func (x *ClientInfo) String() string {
   154  	return protoimpl.X.MessageStringOf(x)
   155  }
   156  
   157  func (*ClientInfo) ProtoMessage() {}
   158  
   159  func (x *ClientInfo) ProtoReflect() protoreflect.Message {
   160  	mi := &file_google_maps_unity_clientinfo_proto_msgTypes[0]
   161  	if protoimpl.UnsafeEnabled && x != nil {
   162  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   163  		if ms.LoadMessageInfo() == nil {
   164  			ms.StoreMessageInfo(mi)
   165  		}
   166  		return ms
   167  	}
   168  	return mi.MessageOf(x)
   169  }
   170  
   171  // Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.
   172  func (*ClientInfo) Descriptor() ([]byte, []int) {
   173  	return file_google_maps_unity_clientinfo_proto_rawDescGZIP(), []int{0}
   174  }
   175  
   176  func (x *ClientInfo) GetApplicationId() string {
   177  	if x != nil {
   178  		return x.ApplicationId
   179  	}
   180  	return ""
   181  }
   182  
   183  func (x *ClientInfo) GetApplicationVersion() string {
   184  	if x != nil {
   185  		return x.ApplicationVersion
   186  	}
   187  	return ""
   188  }
   189  
   190  func (x *ClientInfo) GetPlatform() ClientInfo_Platform {
   191  	if x != nil {
   192  		return x.Platform
   193  	}
   194  	return ClientInfo_PLATFORM_UNSPECIFIED
   195  }
   196  
   197  func (x *ClientInfo) GetOperatingSystem() string {
   198  	if x != nil {
   199  		return x.OperatingSystem
   200  	}
   201  	return ""
   202  }
   203  
   204  func (x *ClientInfo) GetApiClient() string {
   205  	if x != nil {
   206  		return x.ApiClient
   207  	}
   208  	return ""
   209  }
   210  
   211  func (x *ClientInfo) GetDeviceModel() string {
   212  	if x != nil {
   213  		return x.DeviceModel
   214  	}
   215  	return ""
   216  }
   217  
   218  func (x *ClientInfo) GetLanguageCode() string {
   219  	if x != nil {
   220  		return x.LanguageCode
   221  	}
   222  	return ""
   223  }
   224  
   225  func (x *ClientInfo) GetOperatingSystemBuild() string {
   226  	if x != nil {
   227  		return x.OperatingSystemBuild
   228  	}
   229  	return ""
   230  }
   231  
   232  var File_google_maps_unity_clientinfo_proto protoreflect.FileDescriptor
   233  
   234  var file_google_maps_unity_clientinfo_proto_rawDesc = []byte{
   235  	0x0a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x75, 0x6e,
   236  	0x69, 0x74, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70,
   237  	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70,
   238  	0x73, 0x2e, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x22, 0xe8, 0x03, 0x0a, 0x0a, 0x43, 0x6c, 0x69, 0x65,
   239  	0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63,
   240  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
   241  	0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2f, 0x0a,
   242  	0x13, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x65, 0x72,
   243  	0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x61, 0x70, 0x70, 0x6c,
   244  	0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x42,
   245  	0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,
   246  	0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x75,
   247  	0x6e, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e,
   248  	0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f,
   249  	0x72, 0x6d, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f,
   250  	0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x70,
   251  	0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x1d, 0x0a,
   252  	0x0a, 0x61, 0x70, 0x69, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
   253  	0x09, 0x52, 0x09, 0x61, 0x70, 0x69, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c,
   254  	0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01,
   255  	0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12,
   256  	0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65,
   257  	0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
   258  	0x43, 0x6f, 0x64, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e,
   259  	0x67, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x08,
   260  	0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53,
   261  	0x79, 0x73, 0x74, 0x65, 0x6d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x76, 0x0a, 0x08, 0x50, 0x6c,
   262  	0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f,
   263  	0x52, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
   264  	0x12, 0x0a, 0x0a, 0x06, 0x45, 0x44, 0x49, 0x54, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06,
   265  	0x4d, 0x41, 0x43, 0x5f, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x49, 0x4e, 0x44,
   266  	0x4f, 0x57, 0x53, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x49, 0x4e, 0x55, 0x58, 0x10, 0x04,
   267  	0x12, 0x0b, 0x0a, 0x07, 0x41, 0x4e, 0x44, 0x52, 0x4f, 0x49, 0x44, 0x10, 0x05, 0x12, 0x07, 0x0a,
   268  	0x03, 0x49, 0x4f, 0x53, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x57, 0x45, 0x42, 0x5f, 0x47, 0x4c,
   269  	0x10, 0x07, 0x42, 0x7c, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   270  	0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x42, 0x0f, 0x43, 0x6c, 0x69,
   271  	0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36,
   272  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
   273  	0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   274  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x75, 0x6e, 0x69, 0x74, 0x79,
   275  	0x3b, 0x75, 0x6e, 0x69, 0x74, 0x79, 0xa2, 0x02, 0x03, 0x47, 0x4d, 0x55, 0xaa, 0x02, 0x11, 0x47,
   276  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x55, 0x6e, 0x69, 0x74, 0x79,
   277  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   278  }
   279  
   280  var (
   281  	file_google_maps_unity_clientinfo_proto_rawDescOnce sync.Once
   282  	file_google_maps_unity_clientinfo_proto_rawDescData = file_google_maps_unity_clientinfo_proto_rawDesc
   283  )
   284  
   285  func file_google_maps_unity_clientinfo_proto_rawDescGZIP() []byte {
   286  	file_google_maps_unity_clientinfo_proto_rawDescOnce.Do(func() {
   287  		file_google_maps_unity_clientinfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_unity_clientinfo_proto_rawDescData)
   288  	})
   289  	return file_google_maps_unity_clientinfo_proto_rawDescData
   290  }
   291  
   292  var file_google_maps_unity_clientinfo_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   293  var file_google_maps_unity_clientinfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   294  var file_google_maps_unity_clientinfo_proto_goTypes = []interface{}{
   295  	(ClientInfo_Platform)(0), // 0: google.maps.unity.ClientInfo.Platform
   296  	(*ClientInfo)(nil),       // 1: google.maps.unity.ClientInfo
   297  }
   298  var file_google_maps_unity_clientinfo_proto_depIdxs = []int32{
   299  	0, // 0: google.maps.unity.ClientInfo.platform:type_name -> google.maps.unity.ClientInfo.Platform
   300  	1, // [1:1] is the sub-list for method output_type
   301  	1, // [1:1] is the sub-list for method input_type
   302  	1, // [1:1] is the sub-list for extension type_name
   303  	1, // [1:1] is the sub-list for extension extendee
   304  	0, // [0:1] is the sub-list for field type_name
   305  }
   306  
   307  func init() { file_google_maps_unity_clientinfo_proto_init() }
   308  func file_google_maps_unity_clientinfo_proto_init() {
   309  	if File_google_maps_unity_clientinfo_proto != nil {
   310  		return
   311  	}
   312  	if !protoimpl.UnsafeEnabled {
   313  		file_google_maps_unity_clientinfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   314  			switch v := v.(*ClientInfo); i {
   315  			case 0:
   316  				return &v.state
   317  			case 1:
   318  				return &v.sizeCache
   319  			case 2:
   320  				return &v.unknownFields
   321  			default:
   322  				return nil
   323  			}
   324  		}
   325  	}
   326  	type x struct{}
   327  	out := protoimpl.TypeBuilder{
   328  		File: protoimpl.DescBuilder{
   329  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   330  			RawDescriptor: file_google_maps_unity_clientinfo_proto_rawDesc,
   331  			NumEnums:      1,
   332  			NumMessages:   1,
   333  			NumExtensions: 0,
   334  			NumServices:   0,
   335  		},
   336  		GoTypes:           file_google_maps_unity_clientinfo_proto_goTypes,
   337  		DependencyIndexes: file_google_maps_unity_clientinfo_proto_depIdxs,
   338  		EnumInfos:         file_google_maps_unity_clientinfo_proto_enumTypes,
   339  		MessageInfos:      file_google_maps_unity_clientinfo_proto_msgTypes,
   340  	}.Build()
   341  	File_google_maps_unity_clientinfo_proto = out.File
   342  	file_google_maps_unity_clientinfo_proto_rawDesc = nil
   343  	file_google_maps_unity_clientinfo_proto_goTypes = nil
   344  	file_google_maps_unity_clientinfo_proto_depIdxs = nil
   345  }
   346  

View as plain text