Class ListRouteTablesResponse.Builder (1.46.0)

public static final class ListRouteTablesResponse.Builder extends GeneratedMessageV3.Builder<ListRouteTablesResponse.Builder> implements ListRouteTablesResponseOrBuilder

Response for HubService.ListRouteTables method.

Protobuf type google.cloud.networkconnectivity.v1.ListRouteTablesResponse

Static Methods

getDescriptor()

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

Methods

addAllRouteTables(Iterable<? extends RouteTable> values)

public ListRouteTablesResponse.Builder addAllRouteTables(Iterable<? extends RouteTable> values)

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.networkconnectivity.v1.RouteTable>
Returns
Type Description
ListRouteTablesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRouteTablesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRouteTablesResponse.Builder
Overrides

addRouteTables(RouteTable value)

public ListRouteTablesResponse.Builder addRouteTables(RouteTable value)

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Parameter
Name Description
value RouteTable
Returns
Type Description
ListRouteTablesResponse.Builder

addRouteTables(RouteTable.Builder builderForValue)

public ListRouteTablesResponse.Builder addRouteTables(RouteTable.Builder builderForValue)

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Parameter
Name Description
builderForValue RouteTable.Builder
Returns
Type Description
ListRouteTablesResponse.Builder

addRouteTables(int index, RouteTable value)

public ListRouteTablesResponse.Builder addRouteTables(int index, RouteTable value)

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Parameters
Name Description
index int
value RouteTable
Returns
Type Description
ListRouteTablesResponse.Builder

addRouteTables(int index, RouteTable.Builder builderForValue)

public ListRouteTablesResponse.Builder addRouteTables(int index, RouteTable.Builder builderForValue)

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Parameters
Name Description
index int
builderForValue RouteTable.Builder
Returns
Type Description
ListRouteTablesResponse.Builder

addRouteTablesBuilder()

public RouteTable.Builder addRouteTablesBuilder()

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Returns
Type Description
RouteTable.Builder

addRouteTablesBuilder(int index)

public RouteTable.Builder addRouteTablesBuilder(int index)

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Parameter
Name Description
index int
Returns
Type Description
RouteTable.Builder

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListRouteTablesResponse build()
Returns
Type Description
ListRouteTablesResponse

buildPartial()

public ListRouteTablesResponse buildPartial()
Returns
Type Description
ListRouteTablesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListRouteTablesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListRouteTablesResponse.Builder
Overrides

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRouteTablesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListRouteTablesResponse.Builder
Overrides

clearRouteTables()

public ListRouteTablesResponse.Builder clearRouteTables()

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Returns
Type Description
ListRouteTablesResponse.Builder

clearUnreachable()

public ListRouteTablesResponse.Builder clearUnreachable()

Hubs that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListRouteTablesResponse.Builder

This builder for chaining.

clone()

public ListRouteTablesResponse.Builder clone()
Returns
Type Description
ListRouteTablesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListRouteTablesResponse getDefaultInstanceForType()
Returns
Type Description
ListRouteTablesResponse

getDescriptorForType()

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

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.

getRouteTables(int index)

public RouteTable getRouteTables(int index)

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Parameter
Name Description
index int
Returns
Type Description
RouteTable

getRouteTablesBuilder(int index)

public RouteTable.Builder getRouteTablesBuilder(int index)

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Parameter
Name Description
index int
Returns
Type Description
RouteTable.Builder

getRouteTablesBuilderList()

public List<RouteTable.Builder> getRouteTablesBuilderList()

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Returns
Type Description
List<Builder>

getRouteTablesCount()

public int getRouteTablesCount()

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Returns
Type Description
int

getRouteTablesList()

public List<RouteTable> getRouteTablesList()

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Returns
Type Description
List<RouteTable>

getRouteTablesOrBuilder(int index)

public RouteTableOrBuilder getRouteTablesOrBuilder(int index)

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Parameter
Name Description
index int
Returns
Type Description
RouteTableOrBuilder

getRouteTablesOrBuilderList()

public List<? extends RouteTableOrBuilder> getRouteTablesOrBuilderList()

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Returns
Type Description
List<? extends com.google.cloud.networkconnectivity.v1.RouteTableOrBuilder>

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListRouteTablesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRouteTablesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRouteTablesResponse.Builder
Overrides

removeRouteTables(int index)

public ListRouteTablesResponse.Builder removeRouteTables(int index)

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Parameter
Name Description
index int
Returns
Type Description
ListRouteTablesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListRouteTablesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRouteTablesResponse.Builder
Overrides

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

public ListRouteTablesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListRouteTablesResponse.Builder
Overrides

setRouteTables(int index, RouteTable value)

public ListRouteTablesResponse.Builder setRouteTables(int index, RouteTable value)

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Parameters
Name Description
index int
value RouteTable
Returns
Type Description
ListRouteTablesResponse.Builder

setRouteTables(int index, RouteTable.Builder builderForValue)

public ListRouteTablesResponse.Builder setRouteTables(int index, RouteTable.Builder builderForValue)

The requested route tables.

repeated .google.cloud.networkconnectivity.v1.RouteTable route_tables = 1;

Parameters
Name Description
index int
builderForValue RouteTable.Builder
Returns
Type Description
ListRouteTablesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRouteTablesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRouteTablesResponse.Builder
Overrides

setUnreachable(int index, String value)

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

This builder for chaining.