Class ListRoutersResponse.Builder (0.9.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.edgenetwork.v1.Router>
Returns
TypeDescription
ListRoutersResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListRoutersResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRoutersBuilder()

public Router.Builder addRoutersBuilder()

The list of Router

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

Returns
TypeDescription
Router.Builder

addRoutersBuilder(int index)

public Router.Builder addRoutersBuilder(int index)

The list of Router

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Router.Builder

addUnreachable(String value)

public ListRoutersResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListRoutersResponse.Builder

This builder for chaining.

build()

public ListRoutersResponse build()
Returns
TypeDescription
ListRoutersResponse

buildPartial()

public ListRoutersResponse buildPartial()
Returns
TypeDescription
ListRoutersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRouters()

public ListRoutersResponse.Builder clearRouters()

The list of Router

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

Returns
TypeDescription
ListRoutersResponse.Builder

clearUnreachable()

public ListRoutersResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListRoutersResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListRoutersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListRoutersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

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

getRoutersBuilder(int index)

public Router.Builder getRoutersBuilder(int index)

The list of Router

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Router.Builder

getRoutersBuilderList()

public List<Router.Builder> getRoutersBuilderList()

The list of Router

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

Returns
TypeDescription
List<Builder>

getRoutersCount()

public int getRoutersCount()

The list of Router

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

Returns
TypeDescription
int

getRoutersList()

public List<Router> getRoutersList()

The list of Router

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

Returns
TypeDescription
List<Router>

getRoutersOrBuilder(int index)

public RouterOrBuilder getRoutersOrBuilder(int index)

The list of Router

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterOrBuilder

getRoutersOrBuilderList()

public List<? extends RouterOrBuilder> getRoutersOrBuilderList()

The list of Router

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

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

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

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

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

public ListRoutersResponse.Builder mergeFrom(ListRoutersResponse other)
Parameter
NameDescription
otherListRoutersResponse
Returns
TypeDescription
ListRoutersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRouter
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRouter.Builder
Returns
TypeDescription
ListRoutersResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListRoutersResponse.Builder

This builder for chaining.