Class ListLocksResponse.Builder (0.35.0)

public static final class ListLocksResponse.Builder extends GeneratedMessageV3.Builder<ListLocksResponse.Builder> implements ListLocksResponseOrBuilder

Response message for the ListLocks method.

Protobuf type google.cloud.bigquery.biglake.v1alpha1.ListLocksResponse

Static 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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListLocksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListLocksResponse.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListLocksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListLocksResponse.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListLocksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListLocksResponse.Builder
Overrides

clone()

public ListLocksResponse.Builder clone()
Returns
Type Description
ListLocksResponse.Builder
Overrides

getDefaultInstanceForType()

public ListLocksResponse getDefaultInstanceForType()
Returns
Type Description
ListLocksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListLocksResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListLocksResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListLocksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListLocksResponse.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListLocksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListLocksResponse.Builder
Overrides

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 String

The 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 ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListLocksResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListLocksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListLocksResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListLocksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListLocksResponse.Builder
Overrides