public static final class CreateLockRequest.Builder extends GeneratedMessage.Builder<CreateLockRequest.Builder> implements CreateLockRequestOrBuilderRequest message for the CreateLock method.
Protobuf type google.cloud.bigquery.biglake.v1alpha1.CreateLockRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateLockRequest.BuilderImplements
CreateLockRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateLockRequest build()| Returns | |
|---|---|
| Type | Description |
CreateLockRequest |
|
buildPartial()
public CreateLockRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateLockRequest |
|
clear()
public CreateLockRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateLockRequest.Builder |
|
clearLock()
public CreateLockRequest.Builder clearLock() 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 |
CreateLockRequest.Builder |
|
clearParent()
public CreateLockRequest.Builder clearParent()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 |
CreateLockRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateLockRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateLockRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLock()
public 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. |
getLockBuilder()
public Lock.Builder getLockBuilder() 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.Builder |
|
getLockOrBuilder()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateLockRequest other)
public CreateLockRequest.Builder mergeFrom(CreateLockRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateLockRequest |
| Returns | |
|---|---|
| Type | Description |
CreateLockRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateLockRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateLockRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateLockRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateLockRequest.Builder |
|
mergeLock(Lock value)
public CreateLockRequest.Builder mergeLock(Lock value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Lock |
| Returns | |
|---|---|
| Type | Description |
CreateLockRequest.Builder |
|
setLock(Lock value)
public CreateLockRequest.Builder setLock(Lock value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Lock |
| Returns | |
|---|---|
| Type | Description |
CreateLockRequest.Builder |
|
setLock(Lock.Builder builderForValue)
public CreateLockRequest.Builder setLock(Lock.Builder builderForValue) 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Lock.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateLockRequest.Builder |
|
setParent(String value)
public CreateLockRequest.Builder setParent(String value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateLockRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateLockRequest.Builder setParentBytes(ByteString value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateLockRequest.Builder |
This builder for chaining. |