Interface LockOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Lock,Lock.Builder
@Generated
public interface LockOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.The table ID (not fully qualified name) in the same database that the lock will be created on.com.google.protobuf.ByteStringThe table ID (not fully qualified name) in the same database that the lock will be created on.getType()The lock type.intThe lock type.booleanOutput only.booleanThe table ID (not fully qualified name) in the same database that the lock will be created on.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTableId
boolean hasTableId()The table ID (not fully qualified name) in the same database that the lock will be created on. The table must exist.
string table_id = 5;- Returns:
- Whether the tableId field is set.
-
getTableId
String getTableId()The table ID (not fully qualified name) in the same database that the lock will be created on. The table must exist.
string table_id = 5;- Returns:
- The tableId.
-
getTableIdBytes
com.google.protobuf.ByteString getTableIdBytes()The table ID (not fully qualified name) in the same database that the lock will be created on. The table must exist.
string table_id = 5;- Returns:
- The bytes for tableId.
-
getName
String getName()Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/locks/{lock_id}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/locks/{lock_id}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. The creation time of the lock.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The creation time of the lock.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The creation time of the lock.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTypeValue
int getTypeValue()The lock type.
.google.cloud.bigquery.biglake.v1alpha1.Lock.Type type = 3;- Returns:
- The enum numeric value on the wire for type.
-
getType
Lock.Type getType()The lock type.
.google.cloud.bigquery.biglake.v1alpha1.Lock.Type type = 3;- Returns:
- The type.
-
getStateValue
int getStateValue()Output only. The lock state.
.google.cloud.bigquery.biglake.v1alpha1.Lock.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
Lock.State getState()Output only. The lock state.
.google.cloud.bigquery.biglake.v1alpha1.Lock.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getResourcesCase
Lock.ResourcesCase getResourcesCase()
-