Class ListTcpRoutesResponse.Builder (0.1.0)

public static final class ListTcpRoutesResponse.Builder extends GeneratedMessageV3.Builder<ListTcpRoutesResponse.Builder> implements ListTcpRoutesResponseOrBuilder

Response returned by the ListTcpRoutes method.

Protobuf type google.cloud.networkservices.v1.ListTcpRoutesResponse

Static Methods

getDescriptor()

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

Methods

addAllTcpRoutes(Iterable<? extends TcpRoute> values)

public ListTcpRoutesResponse.Builder addAllTcpRoutes(Iterable<? extends TcpRoute> values)

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTcpRoutes(TcpRoute value)

public ListTcpRoutesResponse.Builder addTcpRoutes(TcpRoute value)

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Parameter
Name Description
value TcpRoute
Returns
Type Description
ListTcpRoutesResponse.Builder

addTcpRoutes(TcpRoute.Builder builderForValue)

public ListTcpRoutesResponse.Builder addTcpRoutes(TcpRoute.Builder builderForValue)

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Parameter
Name Description
builderForValue TcpRoute.Builder
Returns
Type Description
ListTcpRoutesResponse.Builder

addTcpRoutes(int index, TcpRoute value)

public ListTcpRoutesResponse.Builder addTcpRoutes(int index, TcpRoute value)

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Parameters
Name Description
index int
value TcpRoute
Returns
Type Description
ListTcpRoutesResponse.Builder

addTcpRoutes(int index, TcpRoute.Builder builderForValue)

public ListTcpRoutesResponse.Builder addTcpRoutes(int index, TcpRoute.Builder builderForValue)

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Parameters
Name Description
index int
builderForValue TcpRoute.Builder
Returns
Type Description
ListTcpRoutesResponse.Builder

addTcpRoutesBuilder()

public TcpRoute.Builder addTcpRoutesBuilder()

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Returns
Type Description
TcpRoute.Builder

addTcpRoutesBuilder(int index)

public TcpRoute.Builder addTcpRoutesBuilder(int index)

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
TcpRoute.Builder

build()

public ListTcpRoutesResponse build()
Returns
Type Description
ListTcpRoutesResponse

buildPartial()

public ListTcpRoutesResponse buildPartial()
Returns
Type Description
ListTcpRoutesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTcpRoutes()

public ListTcpRoutesResponse.Builder clearTcpRoutes()

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Returns
Type Description
ListTcpRoutesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTcpRoutesResponse getDefaultInstanceForType()
Returns
Type Description
ListTcpRoutesResponse

getDescriptorForType()

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

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.

getTcpRoutes(int index)

public TcpRoute getTcpRoutes(int index)

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
TcpRoute

getTcpRoutesBuilder(int index)

public TcpRoute.Builder getTcpRoutesBuilder(int index)

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
TcpRoute.Builder

getTcpRoutesBuilderList()

public List<TcpRoute.Builder> getTcpRoutesBuilderList()

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Returns
Type Description
List<Builder>

getTcpRoutesCount()

public int getTcpRoutesCount()

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Returns
Type Description
int

getTcpRoutesList()

public List<TcpRoute> getTcpRoutesList()

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Returns
Type Description
List<TcpRoute>

getTcpRoutesOrBuilder(int index)

public TcpRouteOrBuilder getTcpRoutesOrBuilder(int index)

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
TcpRouteOrBuilder

getTcpRoutesOrBuilderList()

public List<? extends TcpRouteOrBuilder> getTcpRoutesOrBuilderList()

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTcpRoutesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTcpRoutes(int index)

public ListTcpRoutesResponse.Builder removeTcpRoutes(int index)

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
ListTcpRoutesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setTcpRoutes(int index, TcpRoute value)

public ListTcpRoutesResponse.Builder setTcpRoutes(int index, TcpRoute value)

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Parameters
Name Description
index int
value TcpRoute
Returns
Type Description
ListTcpRoutesResponse.Builder

setTcpRoutes(int index, TcpRoute.Builder builderForValue)

public ListTcpRoutesResponse.Builder setTcpRoutes(int index, TcpRoute.Builder builderForValue)

List of TcpRoute resources.

repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;

Parameters
Name Description
index int
builderForValue TcpRoute.Builder
Returns
Type Description
ListTcpRoutesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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