public static final class CreateLockRequest.Builder extends GeneratedMessageV3.Builder<CreateLockRequest.Builder> implements CreateLockRequestOrBuilder
Request message for the CreateLock method.
Protobuf type google.cloud.bigquery.biglake.v1alpha1.CreateLockRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateLockRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateLockRequest build()
buildPartial()
public CreateLockRequest buildPartial()
clear()
public CreateLockRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateLockRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateLockRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
clone()
public CreateLockRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateLockRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateLockRequest other)
public CreateLockRequest.Builder mergeFrom(CreateLockRequest other)
public CreateLockRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateLockRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateLockRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateLockRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
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];
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 | String
The parent to set.
|
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 | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateLockRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateLockRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides