Class ListHiveDatabasesResponse.Builder (0.76.0)

public static final class ListHiveDatabasesResponse.Builder extends GeneratedMessage.Builder<ListHiveDatabasesResponse.Builder> implements ListHiveDatabasesResponseOrBuilder

Response message for the ListHiveDatabases method.

Protobuf type google.cloud.biglake.hive.v1beta.ListHiveDatabasesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDatabases(Iterable<? extends HiveDatabase> values)

public ListHiveDatabasesResponse.Builder addAllDatabases(Iterable<? extends HiveDatabase> values)

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.biglake.hive.v1beta.HiveDatabase>
Returns
Type Description
ListHiveDatabasesResponse.Builder

addDatabases(HiveDatabase value)

public ListHiveDatabasesResponse.Builder addDatabases(HiveDatabase value)

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value HiveDatabase
Returns
Type Description
ListHiveDatabasesResponse.Builder

addDatabases(HiveDatabase.Builder builderForValue)

public ListHiveDatabasesResponse.Builder addDatabases(HiveDatabase.Builder builderForValue)

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue HiveDatabase.Builder
Returns
Type Description
ListHiveDatabasesResponse.Builder

addDatabases(int index, HiveDatabase value)

public ListHiveDatabasesResponse.Builder addDatabases(int index, HiveDatabase value)

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value HiveDatabase
Returns
Type Description
ListHiveDatabasesResponse.Builder

addDatabases(int index, HiveDatabase.Builder builderForValue)

public ListHiveDatabasesResponse.Builder addDatabases(int index, HiveDatabase.Builder builderForValue)

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue HiveDatabase.Builder
Returns
Type Description
ListHiveDatabasesResponse.Builder

addDatabasesBuilder()

public HiveDatabase.Builder addDatabasesBuilder()

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
HiveDatabase.Builder

addDatabasesBuilder(int index)

public HiveDatabase.Builder addDatabasesBuilder(int index)

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
HiveDatabase.Builder

build()

public ListHiveDatabasesResponse build()
Returns
Type Description
ListHiveDatabasesResponse

buildPartial()

public ListHiveDatabasesResponse buildPartial()
Returns
Type Description
ListHiveDatabasesResponse

clear()

public ListHiveDatabasesResponse.Builder clear()
Returns
Type Description
ListHiveDatabasesResponse.Builder
Overrides

clearDatabases()

public ListHiveDatabasesResponse.Builder clearDatabases()

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListHiveDatabasesResponse.Builder

clearNextPageToken()

public ListHiveDatabasesResponse.Builder clearNextPageToken()

Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListHiveDatabasesResponse.Builder

This builder for chaining.

getDatabases(int index)

public HiveDatabase getDatabases(int index)

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
HiveDatabase

getDatabasesBuilder(int index)

public HiveDatabase.Builder getDatabasesBuilder(int index)

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
HiveDatabase.Builder

getDatabasesBuilderList()

public List<HiveDatabase.Builder> getDatabasesBuilderList()

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getDatabasesCount()

public int getDatabasesCount()

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDatabasesList()

public List<HiveDatabase> getDatabasesList()

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<HiveDatabase>

getDatabasesOrBuilder(int index)

public HiveDatabaseOrBuilder getDatabasesOrBuilder(int index)

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
HiveDatabaseOrBuilder

getDatabasesOrBuilderList()

public List<? extends HiveDatabaseOrBuilder> getDatabasesOrBuilderList()

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.biglake.hive.v1beta.HiveDatabaseOrBuilder>

getDefaultInstanceForType()

public ListHiveDatabasesResponse getDefaultInstanceForType()
Returns
Type Description
ListHiveDatabasesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListHiveDatabasesResponse other)

public ListHiveDatabasesResponse.Builder mergeFrom(ListHiveDatabasesResponse other)
Parameter
Name Description
other ListHiveDatabasesResponse
Returns
Type Description
ListHiveDatabasesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListHiveDatabasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListHiveDatabasesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

removeDatabases(int index)

public ListHiveDatabasesResponse.Builder removeDatabases(int index)

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ListHiveDatabasesResponse.Builder

setDatabases(int index, HiveDatabase value)

public ListHiveDatabasesResponse.Builder setDatabases(int index, HiveDatabase value)

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value HiveDatabase
Returns
Type Description
ListHiveDatabasesResponse.Builder

setDatabases(int index, HiveDatabase.Builder builderForValue)

public ListHiveDatabasesResponse.Builder setDatabases(int index, HiveDatabase.Builder builderForValue)

Output only. The databases from the specified project and catalog.

repeated .google.cloud.biglake.hive.v1beta.HiveDatabase databases = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue HiveDatabase.Builder
Returns
Type Description
ListHiveDatabasesResponse.Builder

setNextPageToken(String value)

public ListHiveDatabasesResponse.Builder setNextPageToken(String value)

Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListHiveDatabasesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListHiveDatabasesResponse.Builder setNextPageTokenBytes(ByteString value)

Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListHiveDatabasesResponse.Builder

This builder for chaining.