- 0.66.0 (latest)
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Lock.Builder extends GeneratedMessageV3.Builder<Lock.Builder> implements LockOrBuilderRepresents a lock.
Protobuf type google.cloud.bigquery.biglake.v1alpha1.Lock
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Lock.BuilderImplements
LockOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Lock.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
build()
public Lock build()| Returns | |
|---|---|
| Type | Description |
Lock |
|
buildPartial()
public Lock buildPartial()| Returns | |
|---|---|
| Type | Description |
Lock |
|
clear()
public Lock.Builder clear()| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
clearCreateTime()
public Lock.Builder clearCreateTime()Output only. The creation time of the lock.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public Lock.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
clearName()
public Lock.Builder clearName()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 |
Lock.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Lock.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
clearResources()
public Lock.Builder clearResources()| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
clearState()
public Lock.Builder clearState()Output only. The lock state.
.google.cloud.bigquery.biglake.v1alpha1.Lock.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
This builder for chaining. |
clearTableId()
public Lock.Builder clearTableId()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 |
Lock.Builder |
This builder for chaining. |
clearType()
public Lock.Builder clearType()The lock type.
.google.cloud.bigquery.biglake.v1alpha1.Lock.Type type = 3;
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
This builder for chaining. |
clone()
public Lock.Builder clone()| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
getCreateTime()
public 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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The creation time of the lock.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public 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 |
|
getDefaultInstanceForType()
public Lock getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Lock |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public 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 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 Lock.ResourcesCase getResourcesCase()| Returns | |
|---|---|
| Type | Description |
Lock.ResourcesCase |
|
getState()
public 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 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 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 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 Lock.Type getType()The lock type.
.google.cloud.bigquery.biglake.v1alpha1.Lock.Type type = 3;
| Returns | |
|---|---|
| Type | Description |
Lock.Type |
The type. |
getTypeValue()
public 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public Lock.Builder mergeCreateTime(Timestamp value)Output only. The creation time of the lock.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
mergeFrom(Lock other)
public Lock.Builder mergeFrom(Lock other)| Parameter | |
|---|---|
| Name | Description |
other |
Lock |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Lock.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Lock.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Lock.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
setCreateTime(Timestamp value)
public Lock.Builder setCreateTime(Timestamp value)Output only. The creation time of the lock.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Lock.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The creation time of the lock.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public Lock.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
setName(String value)
public Lock.Builder setName(String value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Lock.Builder setNameBytes(ByteString value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Lock.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
setState(Lock.State value)
public Lock.Builder setState(Lock.State value)Output only. The lock state.
.google.cloud.bigquery.biglake.v1alpha1.Lock.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Lock.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
This builder for chaining. |
setStateValue(int value)
public Lock.Builder setStateValue(int value)Output only. The lock state.
.google.cloud.bigquery.biglake.v1alpha1.Lock.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
This builder for chaining. |
setTableId(String value)
public Lock.Builder setTableId(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tableId to set. |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
This builder for chaining. |
setTableIdBytes(ByteString value)
public Lock.Builder setTableIdBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tableId to set. |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
This builder for chaining. |
setType(Lock.Type value)
public Lock.Builder setType(Lock.Type value)The lock type.
.google.cloud.bigquery.biglake.v1alpha1.Lock.Type type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Lock.TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
This builder for chaining. |
setTypeValue(int value)
public Lock.Builder setTypeValue(int value)The lock type.
.google.cloud.bigquery.biglake.v1alpha1.Lock.Type type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Lock.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|