Class ListRoutersResponse.Builder (0.16.0)

public static final class ListRoutersResponse.Builder extends GeneratedMessageV3.Builder<ListRoutersResponse.Builder> implements ListRoutersResponseOrBuilder

Message for response to listing Routers

Protobuf type google.cloud.edgenetwork.v1.ListRoutersResponse

Static Methods

getDescriptor()

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

Methods

addAllRouters(Iterable<? extends Router> values)

public ListRoutersResponse.Builder addAllRouters(Iterable<? extends Router> values)

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.edgenetwork.v1.Router>
Returns
Type Description
ListRoutersResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListRoutersResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRouters(Router value)

public ListRoutersResponse.Builder addRouters(Router value)

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Parameter
Name Description
value Router
Returns
Type Description
ListRoutersResponse.Builder

addRouters(Router.Builder builderForValue)

public ListRoutersResponse.Builder addRouters(Router.Builder builderForValue)

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Parameter
Name Description
builderForValue Router.Builder
Returns
Type Description
ListRoutersResponse.Builder

addRouters(int index, Router value)

public ListRoutersResponse.Builder addRouters(int index, Router value)

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Parameters
Name Description
index int
value Router
Returns
Type Description
ListRoutersResponse.Builder

addRouters(int index, Router.Builder builderForValue)

public ListRoutersResponse.Builder addRouters(int index, Router.Builder builderForValue)

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Parameters
Name Description
index int
builderForValue Router.Builder
Returns
Type Description
ListRoutersResponse.Builder

addRoutersBuilder()

public Router.Builder addRoutersBuilder()

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Returns
Type Description
Router.Builder

addRoutersBuilder(int index)

public Router.Builder addRoutersBuilder(int index)

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Parameter
Name Description
index int
Returns
Type Description
Router.Builder

addUnreachable(String value)

public ListRoutersResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListRoutersResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListRoutersResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListRoutersResponse.Builder

This builder for chaining.

build()

public ListRoutersResponse build()
Returns
Type Description
ListRoutersResponse

buildPartial()

public ListRoutersResponse buildPartial()
Returns
Type Description
ListRoutersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListRoutersResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListRoutersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRouters()

public ListRoutersResponse.Builder clearRouters()

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Returns
Type Description
ListRoutersResponse.Builder

clearUnreachable()

public ListRoutersResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListRoutersResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListRoutersResponse getDefaultInstanceForType()
Returns
Type Description
ListRoutersResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getRouters(int index)

public Router getRouters(int index)

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Parameter
Name Description
index int
Returns
Type Description
Router

getRoutersBuilder(int index)

public Router.Builder getRoutersBuilder(int index)

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Parameter
Name Description
index int
Returns
Type Description
Router.Builder

getRoutersBuilderList()

public List<Router.Builder> getRoutersBuilderList()

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Returns
Type Description
List<Builder>

getRoutersCount()

public int getRoutersCount()

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Returns
Type Description
int

getRoutersList()

public List<Router> getRoutersList()

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Returns
Type Description
List<Router>

getRoutersOrBuilder(int index)

public RouterOrBuilder getRoutersOrBuilder(int index)

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Parameter
Name Description
index int
Returns
Type Description
RouterOrBuilder

getRoutersOrBuilderList()

public List<? extends RouterOrBuilder> getRoutersOrBuilderList()

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Returns
Type Description
List<? extends com.google.cloud.edgenetwork.v1.RouterOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

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

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

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations 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(ListRoutersResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRouters(int index)

public ListRoutersResponse.Builder removeRouters(int index)

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Parameter
Name Description
index int
Returns
Type Description
ListRoutersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListRoutersResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListRoutersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListRoutersResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListRoutersResponse.Builder

This builder for chaining.

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

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

setRouters(int index, Router value)

public ListRoutersResponse.Builder setRouters(int index, Router value)

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Parameters
Name Description
index int
value Router
Returns
Type Description
ListRoutersResponse.Builder

setRouters(int index, Router.Builder builderForValue)

public ListRoutersResponse.Builder setRouters(int index, Router.Builder builderForValue)

The list of Router

repeated .google.cloud.edgenetwork.v1.Router routers = 1;

Parameters
Name Description
index int
builderForValue Router.Builder
Returns
Type Description
ListRoutersResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

Locations 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
ListRoutersResponse.Builder

This builder for chaining.