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/bigquery/reservation/v1/reservation.proto 18 19 package com.google.cloud.bigquery.reservation.v1; 20 21 public interface BiReservationOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.reservation.v1.BiReservation) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The resource name of the singleton BI reservation. 31 * Reservation names have the form 32 * `projects/{project_id}/locations/{location_id}/biReservation`. 33 * </pre> 34 * 35 * <code>string name = 1;</code> 36 * 37 * @return The name. 38 */ getName()39 java.lang.String getName(); 40 /** 41 * 42 * 43 * <pre> 44 * The resource name of the singleton BI reservation. 45 * Reservation names have the form 46 * `projects/{project_id}/locations/{location_id}/biReservation`. 47 * </pre> 48 * 49 * <code>string name = 1;</code> 50 * 51 * @return The bytes for name. 52 */ getNameBytes()53 com.google.protobuf.ByteString getNameBytes(); 54 55 /** 56 * 57 * 58 * <pre> 59 * Output only. The last update timestamp of a reservation. 60 * </pre> 61 * 62 * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 63 * </code> 64 * 65 * @return Whether the updateTime field is set. 66 */ hasUpdateTime()67 boolean hasUpdateTime(); 68 /** 69 * 70 * 71 * <pre> 72 * Output only. The last update timestamp of a reservation. 73 * </pre> 74 * 75 * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 76 * </code> 77 * 78 * @return The updateTime. 79 */ getUpdateTime()80 com.google.protobuf.Timestamp getUpdateTime(); 81 /** 82 * 83 * 84 * <pre> 85 * Output only. The last update timestamp of a reservation. 86 * </pre> 87 * 88 * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 89 * </code> 90 */ getUpdateTimeOrBuilder()91 com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); 92 93 /** 94 * 95 * 96 * <pre> 97 * Size of a reservation, in bytes. 98 * </pre> 99 * 100 * <code>int64 size = 4;</code> 101 * 102 * @return The size. 103 */ getSize()104 long getSize(); 105 106 /** 107 * 108 * 109 * <pre> 110 * Preferred tables to use BI capacity for. 111 * </pre> 112 * 113 * <code>repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; 114 * </code> 115 */ getPreferredTablesList()116 java.util.List<com.google.cloud.bigquery.reservation.v1.TableReference> getPreferredTablesList(); 117 /** 118 * 119 * 120 * <pre> 121 * Preferred tables to use BI capacity for. 122 * </pre> 123 * 124 * <code>repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; 125 * </code> 126 */ getPreferredTables(int index)127 com.google.cloud.bigquery.reservation.v1.TableReference getPreferredTables(int index); 128 /** 129 * 130 * 131 * <pre> 132 * Preferred tables to use BI capacity for. 133 * </pre> 134 * 135 * <code>repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; 136 * </code> 137 */ getPreferredTablesCount()138 int getPreferredTablesCount(); 139 /** 140 * 141 * 142 * <pre> 143 * Preferred tables to use BI capacity for. 144 * </pre> 145 * 146 * <code>repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; 147 * </code> 148 */ 149 java.util.List<? extends com.google.cloud.bigquery.reservation.v1.TableReferenceOrBuilder> getPreferredTablesOrBuilderList()150 getPreferredTablesOrBuilderList(); 151 /** 152 * 153 * 154 * <pre> 155 * Preferred tables to use BI capacity for. 156 * </pre> 157 * 158 * <code>repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; 159 * </code> 160 */ getPreferredTablesOrBuilder( int index)161 com.google.cloud.bigquery.reservation.v1.TableReferenceOrBuilder getPreferredTablesOrBuilder( 162 int index); 163 } 164