Interface CreateLockRequestOrBuilder (0.33.0)

public interface CreateLockRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLock()

public abstract Lock getLock()

Required. The lock to create. The name field does not need to be provided for the lock creation.

.google.cloud.bigquery.biglake.v1alpha1.Lock lock = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Lock

The lock.

getLockOrBuilder()

public abstract LockOrBuilder getLockOrBuilder()

Required. The lock to create. The name field does not need to be provided for the lock creation.

.google.cloud.bigquery.biglake.v1alpha1.Lock lock = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LockOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource where this lock will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource where this lock will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasLock()

public abstract boolean hasLock()

Required. The lock to create. The name field does not need to be provided for the lock creation.

.google.cloud.bigquery.biglake.v1alpha1.Lock lock = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the lock field is set.