Interface CreateLockRequestOrBuilder (0.8.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the lock field is set.