Class ListTlsRoutesResponse.Builder (0.3.0)

public static final class ListTlsRoutesResponse.Builder extends GeneratedMessageV3.Builder<ListTlsRoutesResponse.Builder> implements ListTlsRoutesResponseOrBuilder

Response returned by the ListTlsRoutes method.

Protobuf type google.cloud.networkservices.v1.ListTlsRoutesResponse

Static Methods

getDescriptor()

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

Methods

addAllTlsRoutes(Iterable<? extends TlsRoute> values)

public ListTlsRoutesResponse.Builder addAllTlsRoutes(Iterable<? extends TlsRoute> values)

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTlsRoutes(TlsRoute value)

public ListTlsRoutesResponse.Builder addTlsRoutes(TlsRoute value)

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Parameter
Name Description
value TlsRoute
Returns
Type Description
ListTlsRoutesResponse.Builder

addTlsRoutes(TlsRoute.Builder builderForValue)

public ListTlsRoutesResponse.Builder addTlsRoutes(TlsRoute.Builder builderForValue)

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Parameter
Name Description
builderForValue TlsRoute.Builder
Returns
Type Description
ListTlsRoutesResponse.Builder

addTlsRoutes(int index, TlsRoute value)

public ListTlsRoutesResponse.Builder addTlsRoutes(int index, TlsRoute value)

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Parameters
Name Description
index int
value TlsRoute
Returns
Type Description
ListTlsRoutesResponse.Builder

addTlsRoutes(int index, TlsRoute.Builder builderForValue)

public ListTlsRoutesResponse.Builder addTlsRoutes(int index, TlsRoute.Builder builderForValue)

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Parameters
Name Description
index int
builderForValue TlsRoute.Builder
Returns
Type Description
ListTlsRoutesResponse.Builder

addTlsRoutesBuilder()

public TlsRoute.Builder addTlsRoutesBuilder()

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Returns
Type Description
TlsRoute.Builder

addTlsRoutesBuilder(int index)

public TlsRoute.Builder addTlsRoutesBuilder(int index)

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
TlsRoute.Builder

build()

public ListTlsRoutesResponse build()
Returns
Type Description
ListTlsRoutesResponse

buildPartial()

public ListTlsRoutesResponse buildPartial()
Returns
Type Description
ListTlsRoutesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTlsRoutes()

public ListTlsRoutesResponse.Builder clearTlsRoutes()

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Returns
Type Description
ListTlsRoutesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTlsRoutesResponse getDefaultInstanceForType()
Returns
Type Description
ListTlsRoutesResponse

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.

getTlsRoutes(int index)

public TlsRoute getTlsRoutes(int index)

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
TlsRoute

getTlsRoutesBuilder(int index)

public TlsRoute.Builder getTlsRoutesBuilder(int index)

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
TlsRoute.Builder

getTlsRoutesBuilderList()

public List<TlsRoute.Builder> getTlsRoutesBuilderList()

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Returns
Type Description
List<Builder>

getTlsRoutesCount()

public int getTlsRoutesCount()

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Returns
Type Description
int

getTlsRoutesList()

public List<TlsRoute> getTlsRoutesList()

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Returns
Type Description
List<TlsRoute>

getTlsRoutesOrBuilder(int index)

public TlsRouteOrBuilder getTlsRoutesOrBuilder(int index)

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
TlsRouteOrBuilder

getTlsRoutesOrBuilderList()

public List<? extends TlsRouteOrBuilder> getTlsRoutesOrBuilderList()

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTlsRoutesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTlsRoutes(int index)

public ListTlsRoutesResponse.Builder removeTlsRoutes(int index)

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
ListTlsRoutesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setTlsRoutes(int index, TlsRoute value)

public ListTlsRoutesResponse.Builder setTlsRoutes(int index, TlsRoute value)

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Parameters
Name Description
index int
value TlsRoute
Returns
Type Description
ListTlsRoutesResponse.Builder

setTlsRoutes(int index, TlsRoute.Builder builderForValue)

public ListTlsRoutesResponse.Builder setTlsRoutes(int index, TlsRoute.Builder builderForValue)

List of TlsRoute resources.

repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;

Parameters
Name Description
index int
builderForValue TlsRoute.Builder
Returns
Type Description
ListTlsRoutesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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