Class ListHiveCatalogsResponse.Builder (0.76.0)

public static final class ListHiveCatalogsResponse.Builder extends GeneratedMessage.Builder<ListHiveCatalogsResponse.Builder> implements ListHiveCatalogsResponseOrBuilder

Response message for the ListHiveCatalogs method.

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

Static Methods

getDescriptor()

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

Methods

addAllCatalogs(Iterable<? extends HiveCatalog> values)

public ListHiveCatalogsResponse.Builder addAllCatalogs(Iterable<? extends HiveCatalog> values)

Output only. The catalogs from the specified project.

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

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

addAllUnreachable(Iterable<String> values)

public ListHiveCatalogsResponse.Builder addAllUnreachable(Iterable<String> values)

Output only. The list of unreachable cloud regions. If non-empty, the result set might be incomplete.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListHiveCatalogsResponse.Builder

This builder for chaining.

addCatalogs(HiveCatalog value)

public ListHiveCatalogsResponse.Builder addCatalogs(HiveCatalog value)

Output only. The catalogs from the specified project.

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

Parameter
Name Description
value HiveCatalog
Returns
Type Description
ListHiveCatalogsResponse.Builder

addCatalogs(HiveCatalog.Builder builderForValue)

public ListHiveCatalogsResponse.Builder addCatalogs(HiveCatalog.Builder builderForValue)

Output only. The catalogs from the specified project.

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

Parameter
Name Description
builderForValue HiveCatalog.Builder
Returns
Type Description
ListHiveCatalogsResponse.Builder

addCatalogs(int index, HiveCatalog value)

public ListHiveCatalogsResponse.Builder addCatalogs(int index, HiveCatalog value)

Output only. The catalogs from the specified project.

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

Parameters
Name Description
index int
value HiveCatalog
Returns
Type Description
ListHiveCatalogsResponse.Builder

addCatalogs(int index, HiveCatalog.Builder builderForValue)

public ListHiveCatalogsResponse.Builder addCatalogs(int index, HiveCatalog.Builder builderForValue)

Output only. The catalogs from the specified project.

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

Parameters
Name Description
index int
builderForValue HiveCatalog.Builder
Returns
Type Description
ListHiveCatalogsResponse.Builder

addCatalogsBuilder()

public HiveCatalog.Builder addCatalogsBuilder()

Output only. The catalogs from the specified project.

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

Returns
Type Description
HiveCatalog.Builder

addCatalogsBuilder(int index)

public HiveCatalog.Builder addCatalogsBuilder(int index)

Output only. The catalogs from the specified project.

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

Parameter
Name Description
index int
Returns
Type Description
HiveCatalog.Builder

addUnreachable(String value)

public ListHiveCatalogsResponse.Builder addUnreachable(String value)

Output only. The list of unreachable cloud regions. If non-empty, the result set might be incomplete.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListHiveCatalogsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListHiveCatalogsResponse.Builder addUnreachableBytes(ByteString value)

Output only. The list of unreachable cloud regions. If non-empty, the result set might be incomplete.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListHiveCatalogsResponse.Builder

This builder for chaining.

build()

public ListHiveCatalogsResponse build()
Returns
Type Description
ListHiveCatalogsResponse

buildPartial()

public ListHiveCatalogsResponse buildPartial()
Returns
Type Description
ListHiveCatalogsResponse

clear()

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

clearCatalogs()

public ListHiveCatalogsResponse.Builder clearCatalogs()

Output only. The catalogs from the specified project.

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

Returns
Type Description
ListHiveCatalogsResponse.Builder

clearNextPageToken()

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

This builder for chaining.

clearUnreachable()

public ListHiveCatalogsResponse.Builder clearUnreachable()

Output only. The list of unreachable cloud regions. If non-empty, the result set might be incomplete.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListHiveCatalogsResponse.Builder

This builder for chaining.

getCatalogs(int index)

public HiveCatalog getCatalogs(int index)

Output only. The catalogs from the specified project.

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

Parameter
Name Description
index int
Returns
Type Description
HiveCatalog

getCatalogsBuilder(int index)

public HiveCatalog.Builder getCatalogsBuilder(int index)

Output only. The catalogs from the specified project.

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

Parameter
Name Description
index int
Returns
Type Description
HiveCatalog.Builder

getCatalogsBuilderList()

public List<HiveCatalog.Builder> getCatalogsBuilderList()

Output only. The catalogs from the specified project.

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

Returns
Type Description
List<Builder>

getCatalogsCount()

public int getCatalogsCount()

Output only. The catalogs from the specified project.

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

Returns
Type Description
int

getCatalogsList()

public List<HiveCatalog> getCatalogsList()

Output only. The catalogs from the specified project.

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

Returns
Type Description
List<HiveCatalog>

getCatalogsOrBuilder(int index)

public HiveCatalogOrBuilder getCatalogsOrBuilder(int index)

Output only. The catalogs from the specified project.

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

Parameter
Name Description
index int
Returns
Type Description
HiveCatalogOrBuilder

getCatalogsOrBuilderList()

public List<? extends HiveCatalogOrBuilder> getCatalogsOrBuilderList()

Output only. The catalogs from the specified project.

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

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

getDefaultInstanceForType()

public ListHiveCatalogsResponse getDefaultInstanceForType()
Returns
Type Description
ListHiveCatalogsResponse

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.

getUnreachable(int index)

public String getUnreachable(int index)

Output only. The list of unreachable cloud regions. If non-empty, the result set might be incomplete.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Output only. The list of unreachable cloud regions. If non-empty, the result set might be incomplete.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Output only. The list of unreachable cloud regions. If non-empty, the result set might be incomplete.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Output only. The list of unreachable cloud regions. If non-empty, the result set might be incomplete.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListHiveCatalogsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeCatalogs(int index)

public ListHiveCatalogsResponse.Builder removeCatalogs(int index)

Output only. The catalogs from the specified project.

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

Parameter
Name Description
index int
Returns
Type Description
ListHiveCatalogsResponse.Builder

setCatalogs(int index, HiveCatalog value)

public ListHiveCatalogsResponse.Builder setCatalogs(int index, HiveCatalog value)

Output only. The catalogs from the specified project.

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

Parameters
Name Description
index int
value HiveCatalog
Returns
Type Description
ListHiveCatalogsResponse.Builder

setCatalogs(int index, HiveCatalog.Builder builderForValue)

public ListHiveCatalogsResponse.Builder setCatalogs(int index, HiveCatalog.Builder builderForValue)

Output only. The catalogs from the specified project.

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

Parameters
Name Description
index int
builderForValue HiveCatalog.Builder
Returns
Type Description
ListHiveCatalogsResponse.Builder

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setUnreachable(int index, String value)

public ListHiveCatalogsResponse.Builder setUnreachable(int index, String value)

Output only. The list of unreachable cloud regions. If non-empty, the result set might be incomplete.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListHiveCatalogsResponse.Builder

This builder for chaining.