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/automl/v1beta1/data_items.proto 18 19 package com.google.cloud.automl.v1beta1; 20 21 public interface RowOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1beta1.Row) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The resource IDs of the column specs describing the columns of the row. 31 * If set must contain, but possibly in a different order, all input 32 * feature 33 * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] 34 * of the Model this row is being passed to. 35 * Note: The below `values` field must match order of this field, if this 36 * field is set. 37 * </pre> 38 * 39 * <code>repeated string column_spec_ids = 2;</code> 40 * 41 * @return A list containing the columnSpecIds. 42 */ getColumnSpecIdsList()43 java.util.List<java.lang.String> getColumnSpecIdsList(); 44 /** 45 * 46 * 47 * <pre> 48 * The resource IDs of the column specs describing the columns of the row. 49 * If set must contain, but possibly in a different order, all input 50 * feature 51 * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] 52 * of the Model this row is being passed to. 53 * Note: The below `values` field must match order of this field, if this 54 * field is set. 55 * </pre> 56 * 57 * <code>repeated string column_spec_ids = 2;</code> 58 * 59 * @return The count of columnSpecIds. 60 */ getColumnSpecIdsCount()61 int getColumnSpecIdsCount(); 62 /** 63 * 64 * 65 * <pre> 66 * The resource IDs of the column specs describing the columns of the row. 67 * If set must contain, but possibly in a different order, all input 68 * feature 69 * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] 70 * of the Model this row is being passed to. 71 * Note: The below `values` field must match order of this field, if this 72 * field is set. 73 * </pre> 74 * 75 * <code>repeated string column_spec_ids = 2;</code> 76 * 77 * @param index The index of the element to return. 78 * @return The columnSpecIds at the given index. 79 */ getColumnSpecIds(int index)80 java.lang.String getColumnSpecIds(int index); 81 /** 82 * 83 * 84 * <pre> 85 * The resource IDs of the column specs describing the columns of the row. 86 * If set must contain, but possibly in a different order, all input 87 * feature 88 * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] 89 * of the Model this row is being passed to. 90 * Note: The below `values` field must match order of this field, if this 91 * field is set. 92 * </pre> 93 * 94 * <code>repeated string column_spec_ids = 2;</code> 95 * 96 * @param index The index of the value to return. 97 * @return The bytes of the columnSpecIds at the given index. 98 */ getColumnSpecIdsBytes(int index)99 com.google.protobuf.ByteString getColumnSpecIdsBytes(int index); 100 101 /** 102 * 103 * 104 * <pre> 105 * Required. The values of the row cells, given in the same order as the 106 * column_spec_ids, or, if not set, then in the same order as input 107 * feature 108 * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] 109 * of the Model this row is being passed to. 110 * </pre> 111 * 112 * <code>repeated .google.protobuf.Value values = 3;</code> 113 */ getValuesList()114 java.util.List<com.google.protobuf.Value> getValuesList(); 115 /** 116 * 117 * 118 * <pre> 119 * Required. The values of the row cells, given in the same order as the 120 * column_spec_ids, or, if not set, then in the same order as input 121 * feature 122 * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] 123 * of the Model this row is being passed to. 124 * </pre> 125 * 126 * <code>repeated .google.protobuf.Value values = 3;</code> 127 */ getValues(int index)128 com.google.protobuf.Value getValues(int index); 129 /** 130 * 131 * 132 * <pre> 133 * Required. The values of the row cells, given in the same order as the 134 * column_spec_ids, or, if not set, then in the same order as input 135 * feature 136 * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] 137 * of the Model this row is being passed to. 138 * </pre> 139 * 140 * <code>repeated .google.protobuf.Value values = 3;</code> 141 */ getValuesCount()142 int getValuesCount(); 143 /** 144 * 145 * 146 * <pre> 147 * Required. The values of the row cells, given in the same order as the 148 * column_spec_ids, or, if not set, then in the same order as input 149 * feature 150 * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] 151 * of the Model this row is being passed to. 152 * </pre> 153 * 154 * <code>repeated .google.protobuf.Value values = 3;</code> 155 */ getValuesOrBuilderList()156 java.util.List<? extends com.google.protobuf.ValueOrBuilder> getValuesOrBuilderList(); 157 /** 158 * 159 * 160 * <pre> 161 * Required. The values of the row cells, given in the same order as the 162 * column_spec_ids, or, if not set, then in the same order as input 163 * feature 164 * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] 165 * of the Model this row is being passed to. 166 * </pre> 167 * 168 * <code>repeated .google.protobuf.Value values = 3;</code> 169 */ getValuesOrBuilder(int index)170 com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index); 171 } 172