Interface ListHubsResponseOrBuilder (1.36.0)

public interface ListHubsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHubs(int index)

public abstract Hub getHubs(int index)

Hubs to be returned.

repeated .google.cloud.networkconnectivity.v1alpha1.Hub hubs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Hub

getHubsCount()

public abstract int getHubsCount()

Hubs to be returned.

repeated .google.cloud.networkconnectivity.v1alpha1.Hub hubs = 1;

Returns
TypeDescription
int

getHubsList()

public abstract List<Hub> getHubsList()

Hubs to be returned.

repeated .google.cloud.networkconnectivity.v1alpha1.Hub hubs = 1;

Returns
TypeDescription
List<Hub>

getHubsOrBuilder(int index)

public abstract HubOrBuilder getHubsOrBuilder(int index)

Hubs to be returned.

repeated .google.cloud.networkconnectivity.v1alpha1.Hub hubs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
HubOrBuilder

getHubsOrBuilderList()

public abstract List<? extends HubOrBuilder> getHubsOrBuilderList()

Hubs to be returned.

repeated .google.cloud.networkconnectivity.v1alpha1.Hub hubs = 1;

Returns
TypeDescription
List<? extends com.google.cloud.networkconnectivity.v1alpha1.HubOrBuilder>

getNextPageToken()

public abstract String getNextPageToken()

The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public abstract String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachable at the given index.

getUnreachableBytes(int index)

public abstract ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public abstract int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public abstract List<String> getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
List<String>

A list containing the unreachable.