Interface LockOrBuilder (0.23.0)

public interface LockOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation time of the lock.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time of the lock.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getResourcesCase()

public abstract Lock.ResourcesCase getResourcesCase()
Returns
TypeDescription
Lock.ResourcesCase

getState()

public abstract Lock.State getState()

Output only. The lock state.

.google.cloud.bigquery.biglake.v1alpha1.Lock.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Lock.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. The lock state.

.google.cloud.bigquery.biglake.v1alpha1.Lock.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTableId()

public abstract 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
TypeDescription
String

The tableId.

getTableIdBytes()

public abstract 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
TypeDescription
ByteString

The bytes for tableId.

getType()

public abstract Lock.Type getType()

The lock type.

.google.cloud.bigquery.biglake.v1alpha1.Lock.Type type = 3;

Returns
TypeDescription
Lock.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The lock type.

.google.cloud.bigquery.biglake.v1alpha1.Lock.Type type = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The creation time of the lock.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasTableId()

public abstract 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
TypeDescription
boolean

Whether the tableId field is set.