Class ListDatabasesResponse.Builder (0.24.0)

public static final class ListDatabasesResponse.Builder extends GeneratedMessageV3.Builder<ListDatabasesResponse.Builder> implements ListDatabasesResponseOrBuilder

Response message for the ListDatabases method.

Protobuf type google.cloud.bigquery.biglake.v1.ListDatabasesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDatabases(Iterable<? extends Database> values)

public ListDatabasesResponse.Builder addAllDatabases(Iterable<? extends Database> values)

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.biglake.v1.Database>
Returns
TypeDescription
ListDatabasesResponse.Builder

addDatabases(Database value)

public ListDatabasesResponse.Builder addDatabases(Database value)

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Parameter
NameDescription
valueDatabase
Returns
TypeDescription
ListDatabasesResponse.Builder

addDatabases(Database.Builder builderForValue)

public ListDatabasesResponse.Builder addDatabases(Database.Builder builderForValue)

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Parameter
NameDescription
builderForValueDatabase.Builder
Returns
TypeDescription
ListDatabasesResponse.Builder

addDatabases(int index, Database value)

public ListDatabasesResponse.Builder addDatabases(int index, Database value)

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Parameters
NameDescription
indexint
valueDatabase
Returns
TypeDescription
ListDatabasesResponse.Builder

addDatabases(int index, Database.Builder builderForValue)

public ListDatabasesResponse.Builder addDatabases(int index, Database.Builder builderForValue)

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Parameters
NameDescription
indexint
builderForValueDatabase.Builder
Returns
TypeDescription
ListDatabasesResponse.Builder

addDatabasesBuilder()

public Database.Builder addDatabasesBuilder()

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Returns
TypeDescription
Database.Builder

addDatabasesBuilder(int index)

public Database.Builder addDatabasesBuilder(int index)

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Database.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDatabasesResponse build()
Returns
TypeDescription
ListDatabasesResponse

buildPartial()

public ListDatabasesResponse buildPartial()
Returns
TypeDescription
ListDatabasesResponse

clear()

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

clearDatabases()

public ListDatabasesResponse.Builder clearDatabases()

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Returns
TypeDescription
ListDatabasesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDatabasesResponse.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
ListDatabasesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDatabases(int index)

public Database getDatabases(int index)

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Database

getDatabasesBuilder(int index)

public Database.Builder getDatabasesBuilder(int index)

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Database.Builder

getDatabasesBuilderList()

public List<Database.Builder> getDatabasesBuilderList()

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Returns
TypeDescription
List<Builder>

getDatabasesCount()

public int getDatabasesCount()

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Returns
TypeDescription
int

getDatabasesList()

public List<Database> getDatabasesList()

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Returns
TypeDescription
List<Database>

getDatabasesOrBuilder(int index)

public DatabaseOrBuilder getDatabasesOrBuilder(int index)

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DatabaseOrBuilder

getDatabasesOrBuilderList()

public List<? extends DatabaseOrBuilder> getDatabasesOrBuilderList()

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.biglake.v1.DatabaseOrBuilder>

getDefaultInstanceForType()

public ListDatabasesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDatabasesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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(ListDatabasesResponse other)

public ListDatabasesResponse.Builder mergeFrom(ListDatabasesResponse other)
Parameter
NameDescription
otherListDatabasesResponse
Returns
TypeDescription
ListDatabasesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDatabasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDatabasesResponse.Builder
Overrides

removeDatabases(int index)

public ListDatabasesResponse.Builder removeDatabases(int index)

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListDatabasesResponse.Builder

setDatabases(int index, Database value)

public ListDatabasesResponse.Builder setDatabases(int index, Database value)

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Parameters
NameDescription
indexint
valueDatabase
Returns
TypeDescription
ListDatabasesResponse.Builder

setDatabases(int index, Database.Builder builderForValue)

public ListDatabasesResponse.Builder setDatabases(int index, Database.Builder builderForValue)

The databases from the specified catalog.

repeated .google.cloud.bigquery.biglake.v1.Database databases = 1;

Parameters
NameDescription
indexint
builderForValueDatabase.Builder
Returns
TypeDescription
ListDatabasesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDatabasesResponse.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
ListDatabasesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDatabasesResponse.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
ListDatabasesResponse.Builder

This builder for chaining.

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

public ListDatabasesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDatabasesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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