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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListTcpRoutesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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
|
addTcpRoutes(TcpRoute.Builder builderForValue)
public ListTcpRoutesResponse.Builder addTcpRoutes(TcpRoute.Builder builderForValue)
List of TcpRoute resources.
repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;
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;
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;
addTcpRoutesBuilder()
public TcpRoute.Builder addTcpRoutesBuilder()
List of TcpRoute resources.
repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;
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
|
build()
public ListTcpRoutesResponse build()
buildPartial()
public ListTcpRoutesResponse buildPartial()
clear()
public ListTcpRoutesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListTcpRoutesResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListTcpRoutesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTcpRoutes()
public ListTcpRoutesResponse.Builder clearTcpRoutes()
List of TcpRoute resources.
repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;
clone()
public ListTcpRoutesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListTcpRoutesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getTcpRoutesBuilderList()
public List<TcpRoute.Builder> getTcpRoutesBuilderList()
List of TcpRoute resources.
repeated .google.cloud.networkservices.v1.TcpRoute tcp_routes = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListTcpRoutesResponse other)
public ListTcpRoutesResponse.Builder mergeFrom(ListTcpRoutesResponse other)
public ListTcpRoutesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListTcpRoutesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTcpRoutesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListTcpRoutesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListTcpRoutesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListTcpRoutesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides