public static final class ListLocksResponse.Builder extends GeneratedMessage.Builder<ListLocksResponse.Builder> implements ListLocksResponseOrBuilderResponse message for the ListLocks method.
Protobuf type google.cloud.bigquery.biglake.v1alpha1.ListLocksResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListLocksResponse.BuilderImplements
ListLocksResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllLocks(Iterable<? extends Lock> values)
public ListLocksResponse.Builder addAllLocks(Iterable<? extends Lock> values)The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.bigquery.biglake.v1alpha1.Lock> |
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
|
addLocks(Lock value)
public ListLocksResponse.Builder addLocks(Lock value)The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Lock |
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
|
addLocks(Lock.Builder builderForValue)
public ListLocksResponse.Builder addLocks(Lock.Builder builderForValue)The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Lock.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
|
addLocks(int index, Lock value)
public ListLocksResponse.Builder addLocks(int index, Lock value)The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Lock |
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
|
addLocks(int index, Lock.Builder builderForValue)
public ListLocksResponse.Builder addLocks(int index, Lock.Builder builderForValue)The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Lock.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
|
addLocksBuilder()
public Lock.Builder addLocksBuilder()The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
addLocksBuilder(int index)
public Lock.Builder addLocksBuilder(int index)The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
build()
public ListLocksResponse build()| Returns | |
|---|---|
| Type | Description |
ListLocksResponse |
|
buildPartial()
public ListLocksResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListLocksResponse |
|
clear()
public ListLocksResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
|
clearLocks()
public ListLocksResponse.Builder clearLocks()The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
|
clearNextPageToken()
public ListLocksResponse.Builder clearNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListLocksResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListLocksResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocks(int index)
public Lock getLocks(int index)The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Lock |
|
getLocksBuilder(int index)
public Lock.Builder getLocksBuilder(int index)The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Lock.Builder |
|
getLocksBuilderList()
public List<Lock.Builder> getLocksBuilderList()The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getLocksCount()
public int getLocksCount()The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLocksList()
public List<Lock> getLocksList()The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Returns | |
|---|---|
| Type | Description |
List<Lock> |
|
getLocksOrBuilder(int index)
public LockOrBuilder getLocksOrBuilder(int index)The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LockOrBuilder |
|
getLocksOrBuilderList()
public List<? extends LockOrBuilder> getLocksOrBuilderList()The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.bigquery.biglake.v1alpha1.LockOrBuilder> |
|
getNextPageToken()
public String getNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListLocksResponse other)
public ListLocksResponse.Builder mergeFrom(ListLocksResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListLocksResponse |
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListLocksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListLocksResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
|
removeLocks(int index)
public ListLocksResponse.Builder removeLocks(int index)The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
|
setLocks(int index, Lock value)
public ListLocksResponse.Builder setLocks(int index, Lock value)The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Lock |
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
|
setLocks(int index, Lock.Builder builderForValue)
public ListLocksResponse.Builder setLocks(int index, Lock.Builder builderForValue)The locks from the specified database.
repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Lock.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
|
setNextPageToken(String value)
public ListLocksResponse.Builder setNextPageToken(String value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListLocksResponse.Builder setNextPageTokenBytes(ByteString value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListLocksResponse.Builder |
This builder for chaining. |