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/biglake/v1alpha1/metastore.proto 18 19 package com.google.cloud.bigquery.biglake.v1alpha1; 20 21 public interface LockOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.biglake.v1alpha1.Lock) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The table ID (not fully qualified name) in the same database that the 31 * lock will be created on. The table must exist. 32 * </pre> 33 * 34 * <code>string table_id = 5;</code> 35 * 36 * @return Whether the tableId field is set. 37 */ hasTableId()38 boolean hasTableId(); 39 /** 40 * 41 * 42 * <pre> 43 * The table ID (not fully qualified name) in the same database that the 44 * lock will be created on. The table must exist. 45 * </pre> 46 * 47 * <code>string table_id = 5;</code> 48 * 49 * @return The tableId. 50 */ getTableId()51 java.lang.String getTableId(); 52 /** 53 * 54 * 55 * <pre> 56 * The table ID (not fully qualified name) in the same database that the 57 * lock will be created on. The table must exist. 58 * </pre> 59 * 60 * <code>string table_id = 5;</code> 61 * 62 * @return The bytes for tableId. 63 */ getTableIdBytes()64 com.google.protobuf.ByteString getTableIdBytes(); 65 66 /** 67 * 68 * 69 * <pre> 70 * Output only. The resource name. 71 * Format: 72 * projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/locks/{lock_id} 73 * </pre> 74 * 75 * <code> 76 * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } 77 * </code> 78 * 79 * @return The name. 80 */ getName()81 java.lang.String getName(); 82 /** 83 * 84 * 85 * <pre> 86 * Output only. The resource name. 87 * Format: 88 * projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/locks/{lock_id} 89 * </pre> 90 * 91 * <code> 92 * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } 93 * </code> 94 * 95 * @return The bytes for name. 96 */ getNameBytes()97 com.google.protobuf.ByteString getNameBytes(); 98 99 /** 100 * 101 * 102 * <pre> 103 * Output only. The creation time of the lock. 104 * </pre> 105 * 106 * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 107 * </code> 108 * 109 * @return Whether the createTime field is set. 110 */ hasCreateTime()111 boolean hasCreateTime(); 112 /** 113 * 114 * 115 * <pre> 116 * Output only. The creation time of the lock. 117 * </pre> 118 * 119 * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 120 * </code> 121 * 122 * @return The createTime. 123 */ getCreateTime()124 com.google.protobuf.Timestamp getCreateTime(); 125 /** 126 * 127 * 128 * <pre> 129 * Output only. The creation time of the lock. 130 * </pre> 131 * 132 * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 133 * </code> 134 */ getCreateTimeOrBuilder()135 com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); 136 137 /** 138 * 139 * 140 * <pre> 141 * The lock type. 142 * </pre> 143 * 144 * <code>.google.cloud.bigquery.biglake.v1alpha1.Lock.Type type = 3;</code> 145 * 146 * @return The enum numeric value on the wire for type. 147 */ getTypeValue()148 int getTypeValue(); 149 /** 150 * 151 * 152 * <pre> 153 * The lock type. 154 * </pre> 155 * 156 * <code>.google.cloud.bigquery.biglake.v1alpha1.Lock.Type type = 3;</code> 157 * 158 * @return The type. 159 */ getType()160 com.google.cloud.bigquery.biglake.v1alpha1.Lock.Type getType(); 161 162 /** 163 * 164 * 165 * <pre> 166 * Output only. The lock state. 167 * </pre> 168 * 169 * <code> 170 * .google.cloud.bigquery.biglake.v1alpha1.Lock.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 171 * </code> 172 * 173 * @return The enum numeric value on the wire for state. 174 */ getStateValue()175 int getStateValue(); 176 /** 177 * 178 * 179 * <pre> 180 * Output only. The lock state. 181 * </pre> 182 * 183 * <code> 184 * .google.cloud.bigquery.biglake.v1alpha1.Lock.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 185 * </code> 186 * 187 * @return The state. 188 */ getState()189 com.google.cloud.bigquery.biglake.v1alpha1.Lock.State getState(); 190 getResourcesCase()191 public com.google.cloud.bigquery.biglake.v1alpha1.Lock.ResourcesCase getResourcesCase(); 192 } 193