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/area120/tables/v1alpha1/tables.proto 18 19 package com.google.area120.tables.v1alpha1; 20 21 public interface ColumnDescriptionOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.ColumnDescription) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * column name 31 * </pre> 32 * 33 * <code>string name = 1;</code> 34 * 35 * @return The name. 36 */ getName()37 java.lang.String getName(); 38 /** 39 * 40 * 41 * <pre> 42 * column name 43 * </pre> 44 * 45 * <code>string name = 1;</code> 46 * 47 * @return The bytes for name. 48 */ getNameBytes()49 com.google.protobuf.ByteString getNameBytes(); 50 51 /** 52 * 53 * 54 * <pre> 55 * Data type of the column 56 * Supported types are auto_id, boolean, boolean_list, creator, 57 * create_timestamp, date, dropdown, location, integer, 58 * integer_list, number, number_list, person, person_list, tags, check_list, 59 * text, text_list, update_timestamp, updater, relationship, 60 * file_attachment_list. 61 * These types directly map to the column types supported on Tables website. 62 * </pre> 63 * 64 * <code>string data_type = 2;</code> 65 * 66 * @return The dataType. 67 */ getDataType()68 java.lang.String getDataType(); 69 /** 70 * 71 * 72 * <pre> 73 * Data type of the column 74 * Supported types are auto_id, boolean, boolean_list, creator, 75 * create_timestamp, date, dropdown, location, integer, 76 * integer_list, number, number_list, person, person_list, tags, check_list, 77 * text, text_list, update_timestamp, updater, relationship, 78 * file_attachment_list. 79 * These types directly map to the column types supported on Tables website. 80 * </pre> 81 * 82 * <code>string data_type = 2;</code> 83 * 84 * @return The bytes for dataType. 85 */ getDataTypeBytes()86 com.google.protobuf.ByteString getDataTypeBytes(); 87 88 /** 89 * 90 * 91 * <pre> 92 * Internal id for a column. 93 * </pre> 94 * 95 * <code>string id = 3;</code> 96 * 97 * @return The id. 98 */ getId()99 java.lang.String getId(); 100 /** 101 * 102 * 103 * <pre> 104 * Internal id for a column. 105 * </pre> 106 * 107 * <code>string id = 3;</code> 108 * 109 * @return The bytes for id. 110 */ getIdBytes()111 com.google.protobuf.ByteString getIdBytes(); 112 113 /** 114 * 115 * 116 * <pre> 117 * Optional. Range of labeled values for the column. 118 * Some columns like tags and drop-downs limit the values to a set of 119 * possible values. We return the range of values in such cases to help 120 * clients implement better user data validation. 121 * </pre> 122 * 123 * <code> 124 * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; 125 * </code> 126 */ getLabelsList()127 java.util.List<com.google.area120.tables.v1alpha1.LabeledItem> getLabelsList(); 128 /** 129 * 130 * 131 * <pre> 132 * Optional. Range of labeled values for the column. 133 * Some columns like tags and drop-downs limit the values to a set of 134 * possible values. We return the range of values in such cases to help 135 * clients implement better user data validation. 136 * </pre> 137 * 138 * <code> 139 * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; 140 * </code> 141 */ getLabels(int index)142 com.google.area120.tables.v1alpha1.LabeledItem getLabels(int index); 143 /** 144 * 145 * 146 * <pre> 147 * Optional. Range of labeled values for the column. 148 * Some columns like tags and drop-downs limit the values to a set of 149 * possible values. We return the range of values in such cases to help 150 * clients implement better user data validation. 151 * </pre> 152 * 153 * <code> 154 * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; 155 * </code> 156 */ getLabelsCount()157 int getLabelsCount(); 158 /** 159 * 160 * 161 * <pre> 162 * Optional. Range of labeled values for the column. 163 * Some columns like tags and drop-downs limit the values to a set of 164 * possible values. We return the range of values in such cases to help 165 * clients implement better user data validation. 166 * </pre> 167 * 168 * <code> 169 * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; 170 * </code> 171 */ 172 java.util.List<? extends com.google.area120.tables.v1alpha1.LabeledItemOrBuilder> getLabelsOrBuilderList()173 getLabelsOrBuilderList(); 174 /** 175 * 176 * 177 * <pre> 178 * Optional. Range of labeled values for the column. 179 * Some columns like tags and drop-downs limit the values to a set of 180 * possible values. We return the range of values in such cases to help 181 * clients implement better user data validation. 182 * </pre> 183 * 184 * <code> 185 * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; 186 * </code> 187 */ getLabelsOrBuilder(int index)188 com.google.area120.tables.v1alpha1.LabeledItemOrBuilder getLabelsOrBuilder(int index); 189 190 /** 191 * 192 * 193 * <pre> 194 * Optional. Additional details about a relationship column. Specified when data_type 195 * is relationship. 196 * </pre> 197 * 198 * <code> 199 * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; 200 * </code> 201 * 202 * @return Whether the relationshipDetails field is set. 203 */ hasRelationshipDetails()204 boolean hasRelationshipDetails(); 205 /** 206 * 207 * 208 * <pre> 209 * Optional. Additional details about a relationship column. Specified when data_type 210 * is relationship. 211 * </pre> 212 * 213 * <code> 214 * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; 215 * </code> 216 * 217 * @return The relationshipDetails. 218 */ getRelationshipDetails()219 com.google.area120.tables.v1alpha1.RelationshipDetails getRelationshipDetails(); 220 /** 221 * 222 * 223 * <pre> 224 * Optional. Additional details about a relationship column. Specified when data_type 225 * is relationship. 226 * </pre> 227 * 228 * <code> 229 * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; 230 * </code> 231 */ getRelationshipDetailsOrBuilder()232 com.google.area120.tables.v1alpha1.RelationshipDetailsOrBuilder getRelationshipDetailsOrBuilder(); 233 234 /** 235 * 236 * 237 * <pre> 238 * Optional. Indicates that this is a lookup column whose value is derived from the 239 * relationship column specified in the details. Lookup columns can not be 240 * updated directly. To change the value you must update the associated 241 * relationship column. 242 * </pre> 243 * 244 * <code> 245 * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; 246 * </code> 247 * 248 * @return Whether the lookupDetails field is set. 249 */ hasLookupDetails()250 boolean hasLookupDetails(); 251 /** 252 * 253 * 254 * <pre> 255 * Optional. Indicates that this is a lookup column whose value is derived from the 256 * relationship column specified in the details. Lookup columns can not be 257 * updated directly. To change the value you must update the associated 258 * relationship column. 259 * </pre> 260 * 261 * <code> 262 * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; 263 * </code> 264 * 265 * @return The lookupDetails. 266 */ getLookupDetails()267 com.google.area120.tables.v1alpha1.LookupDetails getLookupDetails(); 268 /** 269 * 270 * 271 * <pre> 272 * Optional. Indicates that this is a lookup column whose value is derived from the 273 * relationship column specified in the details. Lookup columns can not be 274 * updated directly. To change the value you must update the associated 275 * relationship column. 276 * </pre> 277 * 278 * <code> 279 * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; 280 * </code> 281 */ getLookupDetailsOrBuilder()282 com.google.area120.tables.v1alpha1.LookupDetailsOrBuilder getLookupDetailsOrBuilder(); 283 } 284