Class ListLocksResponse.Builder (0.7.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.biglake.v1alpha1.Lock>
Returns
TypeDescription
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
NameDescription
valueLock
Returns
TypeDescription
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
NameDescription
builderForValueLock.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLock
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLock.Builder
Returns
TypeDescription
ListLocksResponse.Builder

addLocksBuilder()

public Lock.Builder addLocksBuilder()

The locks from the specified database.

repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Lock.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListLocksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListLocksResponse.Builder
Overrides

build()

public ListLocksResponse build()
Returns
TypeDescription
ListLocksResponse

buildPartial()

public ListLocksResponse buildPartial()
Returns
TypeDescription
ListLocksResponse

clear()

public ListLocksResponse.Builder clear()
Returns
TypeDescription
ListLocksResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListLocksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListLocksResponse.Builder
Overrides

clearLocks()

public ListLocksResponse.Builder clearLocks()

The locks from the specified database.

repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;

Returns
TypeDescription
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
TypeDescription
ListLocksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListLocksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListLocksResponse.Builder
Overrides

clone()

public ListLocksResponse.Builder clone()
Returns
TypeDescription
ListLocksResponse.Builder
Overrides

getDefaultInstanceForType()

public ListLocksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListLocksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Lock.Builder

getLocksBuilderList()

public List<Lock.Builder> getLocksBuilderList()

The locks from the specified database.

repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;

Returns
TypeDescription
List<Builder>

getLocksCount()

public int getLocksCount()

The locks from the specified database.

repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;

Returns
TypeDescription
int

getLocksList()

public List<Lock> getLocksList()

The locks from the specified database.

repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
LockOrBuilder

getLocksOrBuilderList()

public List<? extends LockOrBuilder> getLocksOrBuilderList()

The locks from the specified database.

repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListLocksResponse other)

public ListLocksResponse.Builder mergeFrom(ListLocksResponse other)
Parameter
NameDescription
otherListLocksResponse
Returns
TypeDescription
ListLocksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListLocksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListLocksResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListLocksResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListLocksResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListLocksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListLocksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListLocksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueLock
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLock.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListLocksResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListLocksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListLocksResponse.Builder
Overrides