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/dataproc/v1/jobs.proto 18 19 package com.google.cloud.dataproc.v1; 20 21 public interface QueryListOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.QueryList) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. The queries to execute. You do not need to end a query expression 31 * with a semicolon. Multiple queries can be specified in one 32 * string by separating each with a semicolon. Here is an example of a 33 * Dataproc API snippet that uses a QueryList to specify a HiveJob: 34 * "hiveJob": { 35 * "queryList": { 36 * "queries": [ 37 * "query1", 38 * "query2", 39 * "query3;query4", 40 * ] 41 * } 42 * } 43 * </pre> 44 * 45 * <code>repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED];</code> 46 * 47 * @return A list containing the queries. 48 */ getQueriesList()49 java.util.List<java.lang.String> getQueriesList(); 50 /** 51 * 52 * 53 * <pre> 54 * Required. The queries to execute. You do not need to end a query expression 55 * with a semicolon. Multiple queries can be specified in one 56 * string by separating each with a semicolon. Here is an example of a 57 * Dataproc API snippet that uses a QueryList to specify a HiveJob: 58 * "hiveJob": { 59 * "queryList": { 60 * "queries": [ 61 * "query1", 62 * "query2", 63 * "query3;query4", 64 * ] 65 * } 66 * } 67 * </pre> 68 * 69 * <code>repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED];</code> 70 * 71 * @return The count of queries. 72 */ getQueriesCount()73 int getQueriesCount(); 74 /** 75 * 76 * 77 * <pre> 78 * Required. The queries to execute. You do not need to end a query expression 79 * with a semicolon. Multiple queries can be specified in one 80 * string by separating each with a semicolon. Here is an example of a 81 * Dataproc API snippet that uses a QueryList to specify a HiveJob: 82 * "hiveJob": { 83 * "queryList": { 84 * "queries": [ 85 * "query1", 86 * "query2", 87 * "query3;query4", 88 * ] 89 * } 90 * } 91 * </pre> 92 * 93 * <code>repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED];</code> 94 * 95 * @param index The index of the element to return. 96 * @return The queries at the given index. 97 */ getQueries(int index)98 java.lang.String getQueries(int index); 99 /** 100 * 101 * 102 * <pre> 103 * Required. The queries to execute. You do not need to end a query expression 104 * with a semicolon. Multiple queries can be specified in one 105 * string by separating each with a semicolon. Here is an example of a 106 * Dataproc API snippet that uses a QueryList to specify a HiveJob: 107 * "hiveJob": { 108 * "queryList": { 109 * "queries": [ 110 * "query1", 111 * "query2", 112 * "query3;query4", 113 * ] 114 * } 115 * } 116 * </pre> 117 * 118 * <code>repeated string queries = 1 [(.google.api.field_behavior) = REQUIRED];</code> 119 * 120 * @param index The index of the value to return. 121 * @return The bytes of the queries at the given index. 122 */ getQueriesBytes(int index)123 com.google.protobuf.ByteString getQueriesBytes(int index); 124 } 125