public static final class ListTcpRoutesResponse.Builder extends GeneratedMessageV3.Builder<ListTcpRoutesResponse.Builder> implements ListTcpRoutesResponseOrBuilderResponse returned by the ListTcpRoutes method.
Protobuf type google.cloud.networkservices.v1.ListTcpRoutesResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListTcpRoutesResponse.BuilderImplements
ListTcpRoutesResponseOrBuilderStatic 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 |
|
addAllUnreachable(Iterable<String> values)
public ListTcpRoutesResponse.Builder addAllUnreachable(Iterable<String> values)Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListTcpRoutesResponse.Builder |
This builder for chaining. |
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 |
|
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 |
|
addUnreachable(String value)
public ListTcpRoutesResponse.Builder addUnreachable(String value)Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListTcpRoutesResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListTcpRoutesResponse.Builder addUnreachableBytes(ByteString value)Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListTcpRoutesResponse.Builder |
This builder for chaining. |
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 |
|
clearField(Descriptors.FieldDescriptor field)
public ListTcpRoutesResponse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListTcpRoutesResponse.Builder |
|
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 |
|
clearTcpRoutes()
public ListTcpRoutesResponse.Builder clearTcpRoutes()List of TcpRoute resources.
repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;
| Returns | |
|---|---|
| Type | Description |
ListTcpRoutesResponse.Builder |
|
clearUnreachable()
public ListTcpRoutesResponse.Builder clearUnreachable()Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ListTcpRoutesResponse.Builder |
This builder for chaining. |
clone()
public ListTcpRoutesResponse.Builder clone()| Returns | |
|---|---|
| Type | Description |
ListTcpRoutesResponse.Builder |
|
getDefaultInstanceForType()
public ListTcpRoutesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListTcpRoutesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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> |
|
getUnreachable(int index)
public String getUnreachable(int index)Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListTcpRoutesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListTcpRoutesResponse.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTcpRoutesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListTcpRoutesResponse.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
|
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 |
|
setUnreachable(int index, String value)
public ListTcpRoutesResponse.Builder setUnreachable(int index, String value)Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
repeated string unreachable = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListTcpRoutesResponse.Builder |
This builder for chaining. |