Class ListRouteTablesResponse.Builder (1.27.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.networkconnectivity.v1.RouteTable>
Returns
TypeDescription
ListRouteTablesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Hubs that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListRouteTablesResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRouteTablesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRouteTable
Returns
TypeDescription
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
NameDescription
builderForValueRouteTable.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRouteTable
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRouteTable.Builder
Returns
TypeDescription
ListRouteTablesResponse.Builder

addRouteTablesBuilder()

public RouteTable.Builder addRouteTablesBuilder()

The requested route tables.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RouteTable.Builder

addUnreachable(String value)

public ListRouteTablesResponse.Builder addUnreachable(String value)

Hubs that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListRouteTablesResponse.Builder

This builder for chaining.

build()

public ListRouteTablesResponse build()
Returns
TypeDescription
ListRouteTablesResponse

buildPartial()

public ListRouteTablesResponse buildPartial()
Returns
TypeDescription
ListRouteTablesResponse

clear()

public ListRouteTablesResponse.Builder clear()
Returns
TypeDescription
ListRouteTablesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListRouteTablesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListRouteTablesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRouteTablesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListRouteTablesResponse.Builder
Overrides

clearRouteTables()

public ListRouteTablesResponse.Builder clearRouteTables()

The requested route tables.

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

Returns
TypeDescription
ListRouteTablesResponse.Builder

clearUnreachable()

public ListRouteTablesResponse.Builder clearUnreachable()

Hubs that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListRouteTablesResponse.Builder

This builder for chaining.

clone()

public ListRouteTablesResponse.Builder clone()
Returns
TypeDescription
ListRouteTablesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListRouteTablesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListRouteTablesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RouteTable

getRouteTablesBuilder(int index)

public RouteTable.Builder getRouteTablesBuilder(int index)

The requested route tables.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RouteTable.Builder

getRouteTablesBuilderList()

public List<RouteTable.Builder> getRouteTablesBuilderList()

The requested route tables.

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

Returns
TypeDescription
List<Builder>

getRouteTablesCount()

public int getRouteTablesCount()

The requested route tables.

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

Returns
TypeDescription
int

getRouteTablesList()

public List<RouteTable> getRouteTablesList()

The requested route tables.

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

Returns
TypeDescription
List<RouteTable>

getRouteTablesOrBuilder(int index)

public RouteTableOrBuilder getRouteTablesOrBuilder(int index)

The requested route tables.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RouteTableOrBuilder

getRouteTablesOrBuilderList()

public List<? extends RouteTableOrBuilder> getRouteTablesOrBuilderList()

The requested route tables.

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

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Hubs that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListRouteTablesResponse other)

public ListRouteTablesResponse.Builder mergeFrom(ListRouteTablesResponse other)
Parameter
NameDescription
otherListRouteTablesResponse
Returns
TypeDescription
ListRouteTablesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListRouteTablesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRouteTablesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListRouteTablesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListRouteTablesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRouteTablesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListRouteTablesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListRouteTablesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRouteTable
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRouteTable.Builder
Returns
TypeDescription
ListRouteTablesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRouteTablesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListRouteTablesResponse.Builder

This builder for chaining.