public static final class ListGatewaysResponse.Builder extends GeneratedMessageV3.Builder<ListGatewaysResponse.Builder> implements ListGatewaysResponseOrBuilder
Response returned by the ListGateways method.
Protobuf type google.cloud.networkservices.v1.ListGatewaysResponse
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
addAllGateways(Iterable<? extends Gateway> values)
public ListGatewaysResponse.Builder addAllGateways(Iterable<? extends Gateway> values)
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.networkservices.v1.Gateway>
|
addGateways(Gateway value)
public ListGatewaysResponse.Builder addGateways(Gateway value)
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
Parameter |
Name |
Description |
value |
Gateway
|
addGateways(Gateway.Builder builderForValue)
public ListGatewaysResponse.Builder addGateways(Gateway.Builder builderForValue)
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
addGateways(int index, Gateway value)
public ListGatewaysResponse.Builder addGateways(int index, Gateway value)
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Gateway
|
addGateways(int index, Gateway.Builder builderForValue)
public ListGatewaysResponse.Builder addGateways(int index, Gateway.Builder builderForValue)
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
addGatewaysBuilder()
public Gateway.Builder addGatewaysBuilder()
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
addGatewaysBuilder(int index)
public Gateway.Builder addGatewaysBuilder(int index)
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListGatewaysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListGatewaysResponse build()
buildPartial()
public ListGatewaysResponse buildPartial()
clear()
public ListGatewaysResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListGatewaysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGateways()
public ListGatewaysResponse.Builder clearGateways()
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
clearNextPageToken()
public ListGatewaysResponse.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 ListGatewaysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListGatewaysResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListGatewaysResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGateways(int index)
public Gateway getGateways(int index)
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
Parameter |
Name |
Description |
index |
int
|
getGatewaysBuilder(int index)
public Gateway.Builder getGatewaysBuilder(int index)
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
Parameter |
Name |
Description |
index |
int
|
getGatewaysBuilderList()
public List<Gateway.Builder> getGatewaysBuilderList()
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
getGatewaysCount()
public int getGatewaysCount()
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
Returns |
Type |
Description |
int |
|
getGatewaysList()
public List<Gateway> getGatewaysList()
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
getGatewaysOrBuilder(int index)
public GatewayOrBuilder getGatewaysOrBuilder(int index)
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
Parameter |
Name |
Description |
index |
int
|
getGatewaysOrBuilderList()
public List<? extends GatewayOrBuilder> getGatewaysOrBuilderList()
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.networkservices.v1.GatewayOrBuilder> |
|
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(ListGatewaysResponse other)
public ListGatewaysResponse.Builder mergeFrom(ListGatewaysResponse other)
public ListGatewaysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListGatewaysResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListGatewaysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeGateways(int index)
public ListGatewaysResponse.Builder removeGateways(int index)
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListGatewaysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGateways(int index, Gateway value)
public ListGatewaysResponse.Builder setGateways(int index, Gateway value)
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Gateway
|
setGateways(int index, Gateway.Builder builderForValue)
public ListGatewaysResponse.Builder setGateways(int index, Gateway.Builder builderForValue)
List of Gateway resources.
repeated .google.cloud.networkservices.v1.Gateway gateways = 1;
setNextPageToken(String value)
public ListGatewaysResponse.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 ListGatewaysResponse.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 ListGatewaysResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListGatewaysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides