public static final class ListGrpcRoutesResponse.Builder extends GeneratedMessageV3.Builder<ListGrpcRoutesResponse.Builder> implements ListGrpcRoutesResponseOrBuilder
Response returned by the ListGrpcRoutes method.
Protobuf type google.cloud.networkservices.v1.ListGrpcRoutesResponse
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
addAllGrpcRoutes(Iterable<? extends GrpcRoute> values)
public ListGrpcRoutesResponse.Builder addAllGrpcRoutes(Iterable<? extends GrpcRoute> values)
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.networkservices.v1.GrpcRoute>
|
addGrpcRoutes(GrpcRoute value)
public ListGrpcRoutesResponse.Builder addGrpcRoutes(GrpcRoute value)
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
addGrpcRoutes(GrpcRoute.Builder builderForValue)
public ListGrpcRoutesResponse.Builder addGrpcRoutes(GrpcRoute.Builder builderForValue)
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
addGrpcRoutes(int index, GrpcRoute value)
public ListGrpcRoutesResponse.Builder addGrpcRoutes(int index, GrpcRoute value)
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
addGrpcRoutes(int index, GrpcRoute.Builder builderForValue)
public ListGrpcRoutesResponse.Builder addGrpcRoutes(int index, GrpcRoute.Builder builderForValue)
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
addGrpcRoutesBuilder()
public GrpcRoute.Builder addGrpcRoutesBuilder()
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
addGrpcRoutesBuilder(int index)
public GrpcRoute.Builder addGrpcRoutesBuilder(int index)
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListGrpcRoutesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListGrpcRoutesResponse build()
buildPartial()
public ListGrpcRoutesResponse buildPartial()
clear()
public ListGrpcRoutesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListGrpcRoutesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGrpcRoutes()
public ListGrpcRoutesResponse.Builder clearGrpcRoutes()
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
clearNextPageToken()
public ListGrpcRoutesResponse.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 ListGrpcRoutesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListGrpcRoutesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListGrpcRoutesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGrpcRoutes(int index)
public GrpcRoute getGrpcRoutes(int index)
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
Parameter |
Name |
Description |
index |
int
|
getGrpcRoutesBuilder(int index)
public GrpcRoute.Builder getGrpcRoutesBuilder(int index)
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
Parameter |
Name |
Description |
index |
int
|
getGrpcRoutesBuilderList()
public List<GrpcRoute.Builder> getGrpcRoutesBuilderList()
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
getGrpcRoutesCount()
public int getGrpcRoutesCount()
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
Returns |
Type |
Description |
int |
|
getGrpcRoutesList()
public List<GrpcRoute> getGrpcRoutesList()
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
getGrpcRoutesOrBuilder(int index)
public GrpcRouteOrBuilder getGrpcRoutesOrBuilder(int index)
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
Parameter |
Name |
Description |
index |
int
|
getGrpcRoutesOrBuilderList()
public List<? extends GrpcRouteOrBuilder> getGrpcRoutesOrBuilderList()
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.networkservices.v1.GrpcRouteOrBuilder> |
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListGrpcRoutesResponse other)
public ListGrpcRoutesResponse.Builder mergeFrom(ListGrpcRoutesResponse other)
public ListGrpcRoutesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListGrpcRoutesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListGrpcRoutesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeGrpcRoutes(int index)
public ListGrpcRoutesResponse.Builder removeGrpcRoutes(int index)
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListGrpcRoutesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGrpcRoutes(int index, GrpcRoute value)
public ListGrpcRoutesResponse.Builder setGrpcRoutes(int index, GrpcRoute value)
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
setGrpcRoutes(int index, GrpcRoute.Builder builderForValue)
public ListGrpcRoutesResponse.Builder setGrpcRoutes(int index, GrpcRoute.Builder builderForValue)
List of GrpcRoute resources.
repeated .google.cloud.networkservices.v1.GrpcRoute grpc_routes = 1;
setNextPageToken(String value)
public ListGrpcRoutesResponse.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 ListGrpcRoutesResponse.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 ListGrpcRoutesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListGrpcRoutesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides