Class ListGatewayAdvertisedRoutesResponse.Builder (1.87.0)

public static final class ListGatewayAdvertisedRoutesResponse.Builder extends GeneratedMessage.Builder<ListGatewayAdvertisedRoutesResponse.Builder> implements ListGatewayAdvertisedRoutesResponseOrBuilder

Response for HubService.ListGatewayAdvertisedRoutes method.

Protobuf type google.cloud.networkconnectivity.v1beta.ListGatewayAdvertisedRoutesResponse

Static Methods

getDescriptor()

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

Methods

addAllGatewayAdvertisedRoutes(Iterable<? extends GatewayAdvertisedRoute> values)

public ListGatewayAdvertisedRoutesResponse.Builder addAllGatewayAdvertisedRoutes(Iterable<? extends GatewayAdvertisedRoute> values)

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute>
Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Hubs that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

This builder for chaining.

addGatewayAdvertisedRoutes(GatewayAdvertisedRoute value)

public ListGatewayAdvertisedRoutesResponse.Builder addGatewayAdvertisedRoutes(GatewayAdvertisedRoute value)

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Parameter
Name Description
value GatewayAdvertisedRoute
Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

addGatewayAdvertisedRoutes(GatewayAdvertisedRoute.Builder builderForValue)

public ListGatewayAdvertisedRoutesResponse.Builder addGatewayAdvertisedRoutes(GatewayAdvertisedRoute.Builder builderForValue)

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Parameter
Name Description
builderForValue GatewayAdvertisedRoute.Builder
Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

addGatewayAdvertisedRoutes(int index, GatewayAdvertisedRoute value)

public ListGatewayAdvertisedRoutesResponse.Builder addGatewayAdvertisedRoutes(int index, GatewayAdvertisedRoute value)

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Parameters
Name Description
index int
value GatewayAdvertisedRoute
Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

addGatewayAdvertisedRoutes(int index, GatewayAdvertisedRoute.Builder builderForValue)

public ListGatewayAdvertisedRoutesResponse.Builder addGatewayAdvertisedRoutes(int index, GatewayAdvertisedRoute.Builder builderForValue)

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Parameters
Name Description
index int
builderForValue GatewayAdvertisedRoute.Builder
Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

addGatewayAdvertisedRoutesBuilder()

public GatewayAdvertisedRoute.Builder addGatewayAdvertisedRoutesBuilder()

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Returns
Type Description
GatewayAdvertisedRoute.Builder

addGatewayAdvertisedRoutesBuilder(int index)

public GatewayAdvertisedRoute.Builder addGatewayAdvertisedRoutesBuilder(int index)

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
GatewayAdvertisedRoute.Builder

addUnreachable(String value)

public ListGatewayAdvertisedRoutesResponse.Builder addUnreachable(String value)

Hubs that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListGatewayAdvertisedRoutesResponse.Builder addUnreachableBytes(ByteString value)

Hubs that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

This builder for chaining.

build()

public ListGatewayAdvertisedRoutesResponse build()
Returns
Type Description
ListGatewayAdvertisedRoutesResponse

buildPartial()

public ListGatewayAdvertisedRoutesResponse buildPartial()
Returns
Type Description
ListGatewayAdvertisedRoutesResponse

clear()

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

clearGatewayAdvertisedRoutes()

public ListGatewayAdvertisedRoutesResponse.Builder clearGatewayAdvertisedRoutes()

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

clearNextPageToken()

public ListGatewayAdvertisedRoutesResponse.Builder clearNextPageToken()

The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

string next_page_token = 2;

Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

This builder for chaining.

clearUnreachable()

public ListGatewayAdvertisedRoutesResponse.Builder clearUnreachable()

Hubs that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListGatewayAdvertisedRoutesResponse getDefaultInstanceForType()
Returns
Type Description
ListGatewayAdvertisedRoutesResponse

getDescriptorForType()

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

getGatewayAdvertisedRoutes(int index)

public GatewayAdvertisedRoute getGatewayAdvertisedRoutes(int index)

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
GatewayAdvertisedRoute

getGatewayAdvertisedRoutesBuilder(int index)

public GatewayAdvertisedRoute.Builder getGatewayAdvertisedRoutesBuilder(int index)

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
GatewayAdvertisedRoute.Builder

getGatewayAdvertisedRoutesBuilderList()

public List<GatewayAdvertisedRoute.Builder> getGatewayAdvertisedRoutesBuilderList()

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Returns
Type Description
List<Builder>

getGatewayAdvertisedRoutesCount()

public int getGatewayAdvertisedRoutesCount()

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Returns
Type Description
int

getGatewayAdvertisedRoutesList()

public List<GatewayAdvertisedRoute> getGatewayAdvertisedRoutesList()

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Returns
Type Description
List<GatewayAdvertisedRoute>

getGatewayAdvertisedRoutesOrBuilder(int index)

public GatewayAdvertisedRouteOrBuilder getGatewayAdvertisedRoutesOrBuilder(int index)

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
GatewayAdvertisedRouteOrBuilder

getGatewayAdvertisedRoutesOrBuilderList()

public List<? extends GatewayAdvertisedRouteOrBuilder> getGatewayAdvertisedRoutesOrBuilderList()

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Returns
Type Description
List<? extends com.google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRouteOrBuilder>

getNextPageToken()

public String getNextPageToken()

The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Hubs that could not be reached.

repeated string unreachable = 3;

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)

Hubs that could not be reached.

repeated string unreachable = 3;

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

Hubs that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Hubs that could not be reached.

repeated string unreachable = 3;

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeGatewayAdvertisedRoutes(int index)

public ListGatewayAdvertisedRoutesResponse.Builder removeGatewayAdvertisedRoutes(int index)

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

setGatewayAdvertisedRoutes(int index, GatewayAdvertisedRoute value)

public ListGatewayAdvertisedRoutesResponse.Builder setGatewayAdvertisedRoutes(int index, GatewayAdvertisedRoute value)

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Parameters
Name Description
index int
value GatewayAdvertisedRoute
Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

setGatewayAdvertisedRoutes(int index, GatewayAdvertisedRoute.Builder builderForValue)

public ListGatewayAdvertisedRoutesResponse.Builder setGatewayAdvertisedRoutes(int index, GatewayAdvertisedRoute.Builder builderForValue)

The requested gateway advertised routes.

repeated .google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute gateway_advertised_routes = 1;

Parameters
Name Description
index int
builderForValue GatewayAdvertisedRoute.Builder
Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

setNextPageToken(String value)

public ListGatewayAdvertisedRoutesResponse.Builder setNextPageToken(String value)

The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListGatewayAdvertisedRoutesResponse.Builder setNextPageTokenBytes(ByteString value)

The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

This builder for chaining.

setUnreachable(int index, String value)

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

Hubs that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListGatewayAdvertisedRoutesResponse.Builder

This builder for chaining.