• 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 CustomAttributeOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CustomAttribute)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Exactly one of
31    * [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or
32    * [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be
33    * specified.
34    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
35    * `CASE_INSENSITIVE_MATCH`) search.
36    * For filterable `string_value`s, a maximum total number of 200 values
37    * is allowed, with each `string_value` has a byte size of no more than
38    * 500B. For unfilterable `string_values`, the maximum total byte size of
39    * unfilterable `string_values` is 50KB.
40    * Empty string isn't allowed.
41    * </pre>
42    *
43    * <code>repeated string string_values = 1;</code>
44    *
45    * @return A list containing the stringValues.
46    */
getStringValuesList()47   java.util.List<java.lang.String> getStringValuesList();
48   /**
49    *
50    *
51    * <pre>
52    * Exactly one of
53    * [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or
54    * [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be
55    * specified.
56    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
57    * `CASE_INSENSITIVE_MATCH`) search.
58    * For filterable `string_value`s, a maximum total number of 200 values
59    * is allowed, with each `string_value` has a byte size of no more than
60    * 500B. For unfilterable `string_values`, the maximum total byte size of
61    * unfilterable `string_values` is 50KB.
62    * Empty string isn't allowed.
63    * </pre>
64    *
65    * <code>repeated string string_values = 1;</code>
66    *
67    * @return The count of stringValues.
68    */
getStringValuesCount()69   int getStringValuesCount();
70   /**
71    *
72    *
73    * <pre>
74    * Exactly one of
75    * [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or
76    * [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be
77    * specified.
78    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
79    * `CASE_INSENSITIVE_MATCH`) search.
80    * For filterable `string_value`s, a maximum total number of 200 values
81    * is allowed, with each `string_value` has a byte size of no more than
82    * 500B. For unfilterable `string_values`, the maximum total byte size of
83    * unfilterable `string_values` is 50KB.
84    * Empty string isn't allowed.
85    * </pre>
86    *
87    * <code>repeated string string_values = 1;</code>
88    *
89    * @param index The index of the element to return.
90    * @return The stringValues at the given index.
91    */
getStringValues(int index)92   java.lang.String getStringValues(int index);
93   /**
94    *
95    *
96    * <pre>
97    * Exactly one of
98    * [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or
99    * [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be
100    * specified.
101    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
102    * `CASE_INSENSITIVE_MATCH`) search.
103    * For filterable `string_value`s, a maximum total number of 200 values
104    * is allowed, with each `string_value` has a byte size of no more than
105    * 500B. For unfilterable `string_values`, the maximum total byte size of
106    * unfilterable `string_values` is 50KB.
107    * Empty string isn't allowed.
108    * </pre>
109    *
110    * <code>repeated string string_values = 1;</code>
111    *
112    * @param index The index of the value to return.
113    * @return The bytes of the stringValues at the given index.
114    */
getStringValuesBytes(int index)115   com.google.protobuf.ByteString getStringValuesBytes(int index);
116 
117   /**
118    *
119    *
120    * <pre>
121    * Exactly one of
122    * [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or
123    * [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be
124    * specified.
125    * This field is used to perform number range search.
126    * (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
127    * Currently at most 1
128    * [long_values][google.cloud.talent.v4.CustomAttribute.long_values] is
129    * supported.
130    * </pre>
131    *
132    * <code>repeated int64 long_values = 2;</code>
133    *
134    * @return A list containing the longValues.
135    */
getLongValuesList()136   java.util.List<java.lang.Long> getLongValuesList();
137   /**
138    *
139    *
140    * <pre>
141    * Exactly one of
142    * [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or
143    * [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be
144    * specified.
145    * This field is used to perform number range search.
146    * (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
147    * Currently at most 1
148    * [long_values][google.cloud.talent.v4.CustomAttribute.long_values] is
149    * supported.
150    * </pre>
151    *
152    * <code>repeated int64 long_values = 2;</code>
153    *
154    * @return The count of longValues.
155    */
getLongValuesCount()156   int getLongValuesCount();
157   /**
158    *
159    *
160    * <pre>
161    * Exactly one of
162    * [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or
163    * [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be
164    * specified.
165    * This field is used to perform number range search.
166    * (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
167    * Currently at most 1
168    * [long_values][google.cloud.talent.v4.CustomAttribute.long_values] is
169    * supported.
170    * </pre>
171    *
172    * <code>repeated int64 long_values = 2;</code>
173    *
174    * @param index The index of the element to return.
175    * @return The longValues at the given index.
176    */
getLongValues(int index)177   long getLongValues(int index);
178 
179   /**
180    *
181    *
182    * <pre>
183    * If the `filterable` flag is true, the custom field values may be used for
184    * custom attribute filters
185    * [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
186    * If false, these values may not be used for custom attribute filters.
187    * Default is false.
188    * </pre>
189    *
190    * <code>bool filterable = 3;</code>
191    *
192    * @return The filterable.
193    */
getFilterable()194   boolean getFilterable();
195 
196   /**
197    *
198    *
199    * <pre>
200    * If the `keyword_searchable` flag is true, the keywords in custom fields are
201    * searchable by keyword match.
202    * If false, the values are not searchable by keyword match.
203    * Default is false.
204    * </pre>
205    *
206    * <code>bool keyword_searchable = 4;</code>
207    *
208    * @return The keywordSearchable.
209    */
getKeywordSearchable()210   boolean getKeywordSearchable();
211 }
212