Interface LockOrBuilder (0.42.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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getResourcesCase()

public abstract Lock.ResourcesCase getResourcesCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for tableId.

getType()

public abstract Lock.Type getType()

The lock type.

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

Returns
Type Description
Lock.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The lock type.

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the tableId field is set.