Interface LockOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Lock,Lock.Builder
public interface LockOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.Lock.ResourcesCasegetResourcesCase()Lock.StategetState()Output only.intgetStateValue()Output only.StringgetTableId()The table ID (not fully qualified name) in the same database that the lock will be created on.com.google.protobuf.ByteStringgetTableIdBytes()The table ID (not fully qualified name) in the same database that the lock will be created on.Lock.TypegetType()The lock type.intgetTypeValue()The lock type.booleanhasCreateTime()Output only.booleanhasTableId()The table ID (not fully qualified name) in the same database that the lock will be created on.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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()
-
-