Class ListGatewaysResponse.Builder (2.64.0)

publicstaticfinalclass ListGatewaysResponse.BuilderextendsGeneratedMessageV3.Builder<ListGatewaysResponse.Builder>implementsListGatewaysResponseOrBuilder

Response message for ApiGatewayService.ListGateways

Protobuf type google.cloud.apigateway.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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllGateways(Iterable<? extends Gateway> values)

publicListGatewaysResponse.BuilderaddAllGateways(Iterable<?extendsGateway>values)

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.apigateway.v1.Gateway>
Returns
Type Description
ListGatewaysResponse.Builder

addAllUnreachableLocations(Iterable<String> values)

publicListGatewaysResponse.BuilderaddAllUnreachableLocations(Iterable<String>values)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
Name Description
values Iterable<String>

The unreachableLocations to add.

Returns
Type Description
ListGatewaysResponse.Builder

This builder for chaining.

addGateways(Gateway value)

publicListGatewaysResponse.BuilderaddGateways(Gatewayvalue)

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Parameter
Name Description
value Gateway
Returns
Type Description
ListGatewaysResponse.Builder

addGateways(Gateway.Builder builderForValue)

publicListGatewaysResponse.BuilderaddGateways(Gateway.BuilderbuilderForValue)

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Parameter
Name Description
builderForValue Gateway.Builder
Returns
Type Description
ListGatewaysResponse.Builder

addGateways(int index, Gateway value)

publicListGatewaysResponse.BuilderaddGateways(intindex,Gatewayvalue)

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Parameters
Name Description
index int
value Gateway
Returns
Type Description
ListGatewaysResponse.Builder

addGateways(int index, Gateway.Builder builderForValue)

publicListGatewaysResponse.BuilderaddGateways(intindex,Gateway.BuilderbuilderForValue)

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Parameters
Name Description
index int
builderForValue Gateway.Builder
Returns
Type Description
ListGatewaysResponse.Builder

addGatewaysBuilder()

publicGateway.BuilderaddGatewaysBuilder()

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Returns
Type Description
Gateway.Builder

addGatewaysBuilder(int index)

publicGateway.BuilderaddGatewaysBuilder(intindex)

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Parameter
Name Description
index int
Returns
Type Description
Gateway.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicListGatewaysResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListGatewaysResponse.Builder
Overrides

addUnreachableLocations(String value)

publicListGatewaysResponse.BuilderaddUnreachableLocations(Stringvalue)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
Name Description
value String

The unreachableLocations to add.

Returns
Type Description
ListGatewaysResponse.Builder

This builder for chaining.

addUnreachableLocationsBytes(ByteString value)

publicListGatewaysResponse.BuilderaddUnreachableLocationsBytes(ByteStringvalue)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachableLocations to add.

Returns
Type Description
ListGatewaysResponse.Builder

This builder for chaining.

build()

publicListGatewaysResponsebuild()
Returns
Type Description
ListGatewaysResponse

buildPartial()

publicListGatewaysResponsebuildPartial()
Returns
Type Description
ListGatewaysResponse

clear()

publicListGatewaysResponse.Builderclear()
Returns
Type Description
ListGatewaysResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicListGatewaysResponse.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListGatewaysResponse.Builder
Overrides

clearGateways()

publicListGatewaysResponse.BuilderclearGateways()

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Returns
Type Description
ListGatewaysResponse.Builder

clearNextPageToken()

publicListGatewaysResponse.BuilderclearNextPageToken()

Next page token.

string next_page_token = 2;

Returns
Type Description
ListGatewaysResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicListGatewaysResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListGatewaysResponse.Builder
Overrides

clearUnreachableLocations()

publicListGatewaysResponse.BuilderclearUnreachableLocations()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
Type Description
ListGatewaysResponse.Builder

This builder for chaining.

clone()

publicListGatewaysResponse.Builderclone()
Returns
Type Description
ListGatewaysResponse.Builder
Overrides

getDefaultInstanceForType()

publicListGatewaysResponsegetDefaultInstanceForType()
Returns
Type Description
ListGatewaysResponse

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGateways(int index)

publicGatewaygetGateways(intindex)

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Parameter
Name Description
index int
Returns
Type Description
Gateway

getGatewaysBuilder(int index)

publicGateway.BuildergetGatewaysBuilder(intindex)

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Parameter
Name Description
index int
Returns
Type Description
Gateway.Builder

getGatewaysBuilderList()

publicList<Gateway.Builder>getGatewaysBuilderList()

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Returns
Type Description
List<Builder>

getGatewaysCount()

publicintgetGatewaysCount()

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Returns
Type Description
int

getGatewaysList()

publicList<Gateway>getGatewaysList()

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Returns
Type Description
List<Gateway>

getGatewaysOrBuilder(int index)

publicGatewayOrBuildergetGatewaysOrBuilder(intindex)

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Parameter
Name Description
index int
Returns
Type Description
GatewayOrBuilder

getGatewaysOrBuilderList()

publicList<?extendsGatewayOrBuilder>getGatewaysOrBuilderList()

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Returns
Type Description
List<? extends com.google.cloud.apigateway.v1.GatewayOrBuilder>

getNextPageToken()

publicStringgetNextPageToken()

Next page token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

publicByteStringgetNextPageTokenBytes()

Next page token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachableLocations(int index)

publicStringgetUnreachableLocations(intindex)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachableLocations at the given index.

getUnreachableLocationsBytes(int index)

publicByteStringgetUnreachableLocationsBytes(intindex)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachableLocations at the given index.

getUnreachableLocationsCount()

publicintgetUnreachableLocationsCount()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
Type Description
int

The count of unreachableLocations.

getUnreachableLocationsList()

publicProtocolStringListgetUnreachableLocationsList()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachableLocations.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListGatewaysResponse other)

publicListGatewaysResponse.BuildermergeFrom(ListGatewaysResponseother)
Parameter
Name Description
other ListGatewaysResponse
Returns
Type Description
ListGatewaysResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicListGatewaysResponse.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListGatewaysResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicListGatewaysResponse.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
ListGatewaysResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalListGatewaysResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListGatewaysResponse.Builder
Overrides

removeGateways(int index)

publicListGatewaysResponse.BuilderremoveGateways(intindex)

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Parameter
Name Description
index int
Returns
Type Description
ListGatewaysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicListGatewaysResponse.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListGatewaysResponse.Builder
Overrides

setGateways(int index, Gateway value)

publicListGatewaysResponse.BuildersetGateways(intindex,Gatewayvalue)

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Parameters
Name Description
index int
value Gateway
Returns
Type Description
ListGatewaysResponse.Builder

setGateways(int index, Gateway.Builder builderForValue)

publicListGatewaysResponse.BuildersetGateways(intindex,Gateway.BuilderbuilderForValue)

Gateways.

repeated .google.cloud.apigateway.v1.Gateway gateways = 1;

Parameters
Name Description
index int
builderForValue Gateway.Builder
Returns
Type Description
ListGatewaysResponse.Builder

setNextPageToken(String value)

publicListGatewaysResponse.BuildersetNextPageToken(Stringvalue)

Next page token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListGatewaysResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

publicListGatewaysResponse.BuildersetNextPageTokenBytes(ByteStringvalue)

Next page token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListGatewaysResponse.Builder

This builder for chaining.

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

publicListGatewaysResponse.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListGatewaysResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalListGatewaysResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListGatewaysResponse.Builder
Overrides

setUnreachableLocations(int index, String value)

publicListGatewaysResponse.BuildersetUnreachableLocations(intindex,Stringvalue)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachableLocations to set.

Returns
Type Description
ListGatewaysResponse.Builder

This builder for chaining.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.