...

Source file src/google.golang.org/genproto/googleapis/maps/regionlookup/v1alpha/region_match.pb.go

Documentation: google.golang.org/genproto/googleapis/maps/regionlookup/v1alpha

     1  // Copyright 2022 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/regionlookup/v1alpha/region_match.proto
    20  
    21  package regionlookup
    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  // Region Match.
    39  //
    40  // Next available tag: 5
    41  type RegionMatch struct {
    42  	state         protoimpl.MessageState
    43  	sizeCache     protoimpl.SizeCache
    44  	unknownFields protoimpl.UnknownFields
    45  
    46  	// Place ID of the region that is matched. If region is found, this field is
    47  	// not set.
    48  	MatchedPlaceId string `protobuf:"bytes,1,opt,name=matched_place_id,json=matchedPlaceId,proto3" json:"matched_place_id,omitempty"`
    49  	// Region candidate IDs. Up to three candidates may be returned.
    50  	CandidatePlaceIds []string `protobuf:"bytes,2,rep,name=candidate_place_ids,json=candidatePlaceIds,proto3" json:"candidate_place_ids,omitempty"`
    51  	// Matching debug information for when no match is found.
    52  	DebugInfo string `protobuf:"bytes,3,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"`
    53  }
    54  
    55  func (x *RegionMatch) Reset() {
    56  	*x = RegionMatch{}
    57  	if protoimpl.UnsafeEnabled {
    58  		mi := &file_google_maps_regionlookup_v1alpha_region_match_proto_msgTypes[0]
    59  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    60  		ms.StoreMessageInfo(mi)
    61  	}
    62  }
    63  
    64  func (x *RegionMatch) String() string {
    65  	return protoimpl.X.MessageStringOf(x)
    66  }
    67  
    68  func (*RegionMatch) ProtoMessage() {}
    69  
    70  func (x *RegionMatch) ProtoReflect() protoreflect.Message {
    71  	mi := &file_google_maps_regionlookup_v1alpha_region_match_proto_msgTypes[0]
    72  	if protoimpl.UnsafeEnabled && x != nil {
    73  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    74  		if ms.LoadMessageInfo() == nil {
    75  			ms.StoreMessageInfo(mi)
    76  		}
    77  		return ms
    78  	}
    79  	return mi.MessageOf(x)
    80  }
    81  
    82  // Deprecated: Use RegionMatch.ProtoReflect.Descriptor instead.
    83  func (*RegionMatch) Descriptor() ([]byte, []int) {
    84  	return file_google_maps_regionlookup_v1alpha_region_match_proto_rawDescGZIP(), []int{0}
    85  }
    86  
    87  func (x *RegionMatch) GetMatchedPlaceId() string {
    88  	if x != nil {
    89  		return x.MatchedPlaceId
    90  	}
    91  	return ""
    92  }
    93  
    94  func (x *RegionMatch) GetCandidatePlaceIds() []string {
    95  	if x != nil {
    96  		return x.CandidatePlaceIds
    97  	}
    98  	return nil
    99  }
   100  
   101  func (x *RegionMatch) GetDebugInfo() string {
   102  	if x != nil {
   103  		return x.DebugInfo
   104  	}
   105  	return ""
   106  }
   107  
   108  var File_google_maps_regionlookup_v1alpha_region_match_proto protoreflect.FileDescriptor
   109  
   110  var file_google_maps_regionlookup_v1alpha_region_match_proto_rawDesc = []byte{
   111  	0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x65,
   112  	0x67, 0x69, 0x6f, 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70,
   113  	0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x2e,
   114  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61,
   115  	0x70, 0x73, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2e,
   116  	0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x86, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x67, 0x69,
   117  	0x6f, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68,
   118  	0x65, 0x64, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
   119  	0x09, 0x52, 0x0e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49,
   120  	0x64, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x70,
   121  	0x6c, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11,
   122  	0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x64,
   123  	0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18,
   124  	0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, 0x62, 0x75, 0x67, 0x49, 0x6e, 0x66, 0x6f,
   125  	0x42, 0xda, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   126  	0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75,
   127  	0x70, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x10, 0x52, 0x65, 0x67, 0x69, 0x6f,
   128  	0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, 0x67,
   129  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67,
   130  	0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   131  	0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
   132  	0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x72,
   133  	0x65, 0x67, 0x69, 0x6f, 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0xf8, 0x01, 0x01, 0xa2, 0x02,
   134  	0x06, 0x4d, 0x52, 0x4c, 0x56, 0x31, 0x41, 0xaa, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   135  	0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x6f, 0x6b,
   136  	0x75, 0x70, 0x2e, 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f,
   137  	0x67, 0x6c, 0x65, 0x5c, 0x4d, 0x61, 0x70, 0x73, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4c,
   138  	0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70,
   139  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   140  }
   141  
   142  var (
   143  	file_google_maps_regionlookup_v1alpha_region_match_proto_rawDescOnce sync.Once
   144  	file_google_maps_regionlookup_v1alpha_region_match_proto_rawDescData = file_google_maps_regionlookup_v1alpha_region_match_proto_rawDesc
   145  )
   146  
   147  func file_google_maps_regionlookup_v1alpha_region_match_proto_rawDescGZIP() []byte {
   148  	file_google_maps_regionlookup_v1alpha_region_match_proto_rawDescOnce.Do(func() {
   149  		file_google_maps_regionlookup_v1alpha_region_match_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_regionlookup_v1alpha_region_match_proto_rawDescData)
   150  	})
   151  	return file_google_maps_regionlookup_v1alpha_region_match_proto_rawDescData
   152  }
   153  
   154  var file_google_maps_regionlookup_v1alpha_region_match_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   155  var file_google_maps_regionlookup_v1alpha_region_match_proto_goTypes = []interface{}{
   156  	(*RegionMatch)(nil), // 0: google.maps.regionlookup.v1alpha.RegionMatch
   157  }
   158  var file_google_maps_regionlookup_v1alpha_region_match_proto_depIdxs = []int32{
   159  	0, // [0:0] is the sub-list for method output_type
   160  	0, // [0:0] is the sub-list for method input_type
   161  	0, // [0:0] is the sub-list for extension type_name
   162  	0, // [0:0] is the sub-list for extension extendee
   163  	0, // [0:0] is the sub-list for field type_name
   164  }
   165  
   166  func init() { file_google_maps_regionlookup_v1alpha_region_match_proto_init() }
   167  func file_google_maps_regionlookup_v1alpha_region_match_proto_init() {
   168  	if File_google_maps_regionlookup_v1alpha_region_match_proto != nil {
   169  		return
   170  	}
   171  	if !protoimpl.UnsafeEnabled {
   172  		file_google_maps_regionlookup_v1alpha_region_match_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   173  			switch v := v.(*RegionMatch); i {
   174  			case 0:
   175  				return &v.state
   176  			case 1:
   177  				return &v.sizeCache
   178  			case 2:
   179  				return &v.unknownFields
   180  			default:
   181  				return nil
   182  			}
   183  		}
   184  	}
   185  	type x struct{}
   186  	out := protoimpl.TypeBuilder{
   187  		File: protoimpl.DescBuilder{
   188  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   189  			RawDescriptor: file_google_maps_regionlookup_v1alpha_region_match_proto_rawDesc,
   190  			NumEnums:      0,
   191  			NumMessages:   1,
   192  			NumExtensions: 0,
   193  			NumServices:   0,
   194  		},
   195  		GoTypes:           file_google_maps_regionlookup_v1alpha_region_match_proto_goTypes,
   196  		DependencyIndexes: file_google_maps_regionlookup_v1alpha_region_match_proto_depIdxs,
   197  		MessageInfos:      file_google_maps_regionlookup_v1alpha_region_match_proto_msgTypes,
   198  	}.Build()
   199  	File_google_maps_regionlookup_v1alpha_region_match_proto = out.File
   200  	file_google_maps_regionlookup_v1alpha_region_match_proto_rawDesc = nil
   201  	file_google_maps_regionlookup_v1alpha_region_match_proto_goTypes = nil
   202  	file_google_maps_regionlookup_v1alpha_region_match_proto_depIdxs = nil
   203  }
   204  

View as plain text