• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/talent/v4/common.proto
18 
19 package com.google.cloud.talent.v4;
20 
21 public interface LocationOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Location)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The type of a location, which corresponds to the address lines field of
31    * [google.type.PostalAddress][google.type.PostalAddress]. For example,
32    * "Downtown, Atlanta, GA, USA" has a type of
33    * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4.Location.LocationType.NEIGHBORHOOD],
34    * and "Kansas City, KS, USA" has a type of
35    * [LocationType.LOCALITY][google.cloud.talent.v4.Location.LocationType.LOCALITY].
36    * </pre>
37    *
38    * <code>.google.cloud.talent.v4.Location.LocationType location_type = 1;</code>
39    *
40    * @return The enum numeric value on the wire for locationType.
41    */
getLocationTypeValue()42   int getLocationTypeValue();
43   /**
44    *
45    *
46    * <pre>
47    * The type of a location, which corresponds to the address lines field of
48    * [google.type.PostalAddress][google.type.PostalAddress]. For example,
49    * "Downtown, Atlanta, GA, USA" has a type of
50    * [LocationType.NEIGHBORHOOD][google.cloud.talent.v4.Location.LocationType.NEIGHBORHOOD],
51    * and "Kansas City, KS, USA" has a type of
52    * [LocationType.LOCALITY][google.cloud.talent.v4.Location.LocationType.LOCALITY].
53    * </pre>
54    *
55    * <code>.google.cloud.talent.v4.Location.LocationType location_type = 1;</code>
56    *
57    * @return The locationType.
58    */
getLocationType()59   com.google.cloud.talent.v4.Location.LocationType getLocationType();
60 
61   /**
62    *
63    *
64    * <pre>
65    * Postal address of the location that includes human readable information,
66    * such as postal delivery and payments addresses. Given a postal address,
67    * a postal service can deliver items to a premises, P.O. Box, or other
68    * delivery location.
69    * </pre>
70    *
71    * <code>.google.type.PostalAddress postal_address = 2;</code>
72    *
73    * @return Whether the postalAddress field is set.
74    */
hasPostalAddress()75   boolean hasPostalAddress();
76   /**
77    *
78    *
79    * <pre>
80    * Postal address of the location that includes human readable information,
81    * such as postal delivery and payments addresses. Given a postal address,
82    * a postal service can deliver items to a premises, P.O. Box, or other
83    * delivery location.
84    * </pre>
85    *
86    * <code>.google.type.PostalAddress postal_address = 2;</code>
87    *
88    * @return The postalAddress.
89    */
getPostalAddress()90   com.google.type.PostalAddress getPostalAddress();
91   /**
92    *
93    *
94    * <pre>
95    * Postal address of the location that includes human readable information,
96    * such as postal delivery and payments addresses. Given a postal address,
97    * a postal service can deliver items to a premises, P.O. Box, or other
98    * delivery location.
99    * </pre>
100    *
101    * <code>.google.type.PostalAddress postal_address = 2;</code>
102    */
getPostalAddressOrBuilder()103   com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder();
104 
105   /**
106    *
107    *
108    * <pre>
109    * An object representing a latitude/longitude pair.
110    * </pre>
111    *
112    * <code>.google.type.LatLng lat_lng = 3;</code>
113    *
114    * @return Whether the latLng field is set.
115    */
hasLatLng()116   boolean hasLatLng();
117   /**
118    *
119    *
120    * <pre>
121    * An object representing a latitude/longitude pair.
122    * </pre>
123    *
124    * <code>.google.type.LatLng lat_lng = 3;</code>
125    *
126    * @return The latLng.
127    */
getLatLng()128   com.google.type.LatLng getLatLng();
129   /**
130    *
131    *
132    * <pre>
133    * An object representing a latitude/longitude pair.
134    * </pre>
135    *
136    * <code>.google.type.LatLng lat_lng = 3;</code>
137    */
getLatLngOrBuilder()138   com.google.type.LatLngOrBuilder getLatLngOrBuilder();
139 
140   /**
141    *
142    *
143    * <pre>
144    * Radius in miles of the job location. This value is derived from the
145    * location bounding box in which a circle with the specified radius
146    * centered from [google.type.LatLng][google.type.LatLng] covers the area
147    * associated with the job location. For example, currently, "Mountain View,
148    * CA, USA" has a radius of 6.17 miles.
149    * </pre>
150    *
151    * <code>double radius_miles = 4;</code>
152    *
153    * @return The radiusMiles.
154    */
getRadiusMiles()155   double getRadiusMiles();
156 }
157