Class ListHttpRoutesResponse.Builder (0.8.0)

public static final class ListHttpRoutesResponse.Builder extends GeneratedMessageV3.Builder<ListHttpRoutesResponse.Builder> implements ListHttpRoutesResponseOrBuilder

Response returned by the ListHttpRoutes method.

Protobuf type google.cloud.networkservices.v1.ListHttpRoutesResponse

Static Methods

getDescriptor()

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

Methods

addAllHttpRoutes(Iterable<? extends HttpRoute> values)

public ListHttpRoutesResponse.Builder addAllHttpRoutes(Iterable<? extends HttpRoute> values)

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.networkservices.v1.HttpRoute>
Returns
Type Description
ListHttpRoutesResponse.Builder

addHttpRoutes(HttpRoute value)

public ListHttpRoutesResponse.Builder addHttpRoutes(HttpRoute value)

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Parameter
Name Description
value HttpRoute
Returns
Type Description
ListHttpRoutesResponse.Builder

addHttpRoutes(HttpRoute.Builder builderForValue)

public ListHttpRoutesResponse.Builder addHttpRoutes(HttpRoute.Builder builderForValue)

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Parameter
Name Description
builderForValue HttpRoute.Builder
Returns
Type Description
ListHttpRoutesResponse.Builder

addHttpRoutes(int index, HttpRoute value)

public ListHttpRoutesResponse.Builder addHttpRoutes(int index, HttpRoute value)

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Parameters
Name Description
index int
value HttpRoute
Returns
Type Description
ListHttpRoutesResponse.Builder

addHttpRoutes(int index, HttpRoute.Builder builderForValue)

public ListHttpRoutesResponse.Builder addHttpRoutes(int index, HttpRoute.Builder builderForValue)

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Parameters
Name Description
index int
builderForValue HttpRoute.Builder
Returns
Type Description
ListHttpRoutesResponse.Builder

addHttpRoutesBuilder()

public HttpRoute.Builder addHttpRoutesBuilder()

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Returns
Type Description
HttpRoute.Builder

addHttpRoutesBuilder(int index)

public HttpRoute.Builder addHttpRoutesBuilder(int index)

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
HttpRoute.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListHttpRoutesResponse build()
Returns
Type Description
ListHttpRoutesResponse

buildPartial()

public ListHttpRoutesResponse buildPartial()
Returns
Type Description
ListHttpRoutesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHttpRoutes()

public ListHttpRoutesResponse.Builder clearHttpRoutes()

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Returns
Type Description
ListHttpRoutesResponse.Builder

clearNextPageToken()

public ListHttpRoutesResponse.Builder clearNextPageToken()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
ListHttpRoutesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListHttpRoutesResponse getDefaultInstanceForType()
Returns
Type Description
ListHttpRoutesResponse

getDescriptorForType()

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

getHttpRoutes(int index)

public HttpRoute getHttpRoutes(int index)

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
HttpRoute

getHttpRoutesBuilder(int index)

public HttpRoute.Builder getHttpRoutesBuilder(int index)

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
HttpRoute.Builder

getHttpRoutesBuilderList()

public List<HttpRoute.Builder> getHttpRoutesBuilderList()

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Returns
Type Description
List<Builder>

getHttpRoutesCount()

public int getHttpRoutesCount()

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Returns
Type Description
int

getHttpRoutesList()

public List<HttpRoute> getHttpRoutesList()

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Returns
Type Description
List<HttpRoute>

getHttpRoutesOrBuilder(int index)

public HttpRouteOrBuilder getHttpRoutesOrBuilder(int index)

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
HttpRouteOrBuilder

getHttpRoutesOrBuilderList()

public List<? extends HttpRouteOrBuilder> getHttpRoutesOrBuilderList()

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Returns
Type Description
List<? extends com.google.cloud.networkservices.v1.HttpRouteOrBuilder>

getNextPageToken()

public String getNextPageToken()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListHttpRoutesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeHttpRoutes(int index)

public ListHttpRoutesResponse.Builder removeHttpRoutes(int index)

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
ListHttpRoutesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setHttpRoutes(int index, HttpRoute value)

public ListHttpRoutesResponse.Builder setHttpRoutes(int index, HttpRoute value)

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Parameters
Name Description
index int
value HttpRoute
Returns
Type Description
ListHttpRoutesResponse.Builder

setHttpRoutes(int index, HttpRoute.Builder builderForValue)

public ListHttpRoutesResponse.Builder setHttpRoutes(int index, HttpRoute.Builder builderForValue)

List of HttpRoute resources.

repeated .google.cloud.networkservices.v1.HttpRoute http_routes = 1;

Parameters
Name Description
index int
builderForValue HttpRoute.Builder
Returns
Type Description
ListHttpRoutesResponse.Builder

setNextPageToken(String value)

public ListHttpRoutesResponse.Builder setNextPageToken(String value)

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListHttpRoutesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListHttpRoutesResponse.Builder setNextPageTokenBytes(ByteString value)

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListHttpRoutesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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