Class ListApisResponse.Builder (2.14.0)

public static final class ListApisResponse.Builder extends GeneratedMessageV3.Builder<ListApisResponse.Builder> implements ListApisResponseOrBuilder

Response message for ApiGatewayService.ListApis

Protobuf type google.cloud.apigateway.v1.ListApisResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllApis(Iterable<? extends Api> values)

public ListApisResponse.Builder addAllApis(Iterable<? extends Api> values)

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.apigateway.v1.Api>
Returns
TypeDescription
ListApisResponse.Builder

addAllUnreachableLocations(Iterable<String> values)

public ListApisResponse.Builder addAllUnreachableLocations(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachableLocations to add.

Returns
TypeDescription
ListApisResponse.Builder

This builder for chaining.

addApis(Api value)

public ListApisResponse.Builder addApis(Api value)

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Parameter
NameDescription
valueApi
Returns
TypeDescription
ListApisResponse.Builder

addApis(Api.Builder builderForValue)

public ListApisResponse.Builder addApis(Api.Builder builderForValue)

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Parameter
NameDescription
builderForValueApi.Builder
Returns
TypeDescription
ListApisResponse.Builder

addApis(int index, Api value)

public ListApisResponse.Builder addApis(int index, Api value)

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Parameters
NameDescription
indexint
valueApi
Returns
TypeDescription
ListApisResponse.Builder

addApis(int index, Api.Builder builderForValue)

public ListApisResponse.Builder addApis(int index, Api.Builder builderForValue)

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Parameters
NameDescription
indexint
builderForValueApi.Builder
Returns
TypeDescription
ListApisResponse.Builder

addApisBuilder()

public Api.Builder addApisBuilder()

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Returns
TypeDescription
Api.Builder

addApisBuilder(int index)

public Api.Builder addApisBuilder(int index)

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Api.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListApisResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListApisResponse.Builder
Overrides

addUnreachableLocations(String value)

public ListApisResponse.Builder addUnreachableLocations(String value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
valueString

The unreachableLocations to add.

Returns
TypeDescription
ListApisResponse.Builder

This builder for chaining.

addUnreachableLocationsBytes(ByteString value)

public ListApisResponse.Builder addUnreachableLocationsBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachableLocations to add.

Returns
TypeDescription
ListApisResponse.Builder

This builder for chaining.

build()

public ListApisResponse build()
Returns
TypeDescription
ListApisResponse

buildPartial()

public ListApisResponse buildPartial()
Returns
TypeDescription
ListApisResponse

clear()

public ListApisResponse.Builder clear()
Returns
TypeDescription
ListApisResponse.Builder
Overrides

clearApis()

public ListApisResponse.Builder clearApis()

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Returns
TypeDescription
ListApisResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListApisResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListApisResponse.Builder
Overrides

clearNextPageToken()

public ListApisResponse.Builder clearNextPageToken()

Next page token.

string next_page_token = 2;

Returns
TypeDescription
ListApisResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListApisResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListApisResponse.Builder
Overrides

clearUnreachableLocations()

public ListApisResponse.Builder clearUnreachableLocations()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
TypeDescription
ListApisResponse.Builder

This builder for chaining.

clone()

public ListApisResponse.Builder clone()
Returns
TypeDescription
ListApisResponse.Builder
Overrides

getApis(int index)

public Api getApis(int index)

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Api

getApisBuilder(int index)

public Api.Builder getApisBuilder(int index)

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Api.Builder

getApisBuilderList()

public List<Api.Builder> getApisBuilderList()

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Returns
TypeDescription
List<Builder>

getApisCount()

public int getApisCount()

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Returns
TypeDescription
int

getApisList()

public List<Api> getApisList()

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Returns
TypeDescription
List<Api>

getApisOrBuilder(int index)

public ApiOrBuilder getApisOrBuilder(int index)

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiOrBuilder

getApisOrBuilderList()

public List<? extends ApiOrBuilder> getApisOrBuilderList()

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Returns
TypeDescription
List<? extends com.google.cloud.apigateway.v1.ApiOrBuilder>

getDefaultInstanceForType()

public ListApisResponse getDefaultInstanceForType()
Returns
TypeDescription
ListApisResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Next page token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Next page token.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachableLocations(int index)

public String getUnreachableLocations(int index)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachableLocations at the given index.

getUnreachableLocationsBytes(int index)

public ByteString getUnreachableLocationsBytes(int index)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachableLocations at the given index.

getUnreachableLocationsCount()

public int getUnreachableLocationsCount()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
TypeDescription
int

The count of unreachableLocations.

getUnreachableLocationsList()

public ProtocolStringList getUnreachableLocationsList()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachableLocations.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListApisResponse other)

public ListApisResponse.Builder mergeFrom(ListApisResponse other)
Parameter
NameDescription
otherListApisResponse
Returns
TypeDescription
ListApisResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListApisResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListApisResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListApisResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListApisResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListApisResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListApisResponse.Builder
Overrides

removeApis(int index)

public ListApisResponse.Builder removeApis(int index)

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListApisResponse.Builder

setApis(int index, Api value)

public ListApisResponse.Builder setApis(int index, Api value)

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Parameters
NameDescription
indexint
valueApi
Returns
TypeDescription
ListApisResponse.Builder

setApis(int index, Api.Builder builderForValue)

public ListApisResponse.Builder setApis(int index, Api.Builder builderForValue)

APIs.

repeated .google.cloud.apigateway.v1.Api apis = 1;

Parameters
NameDescription
indexint
builderForValueApi.Builder
Returns
TypeDescription
ListApisResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListApisResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListApisResponse.Builder
Overrides

setNextPageToken(String value)

public ListApisResponse.Builder setNextPageToken(String value)

Next page token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListApisResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListApisResponse.Builder setNextPageTokenBytes(ByteString value)

Next page token.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListApisResponse.Builder

This builder for chaining.

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

public ListApisResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListApisResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListApisResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListApisResponse.Builder
Overrides

setUnreachableLocations(int index, String value)

public ListApisResponse.Builder setUnreachableLocations(int index, String value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachableLocations to set.

Returns
TypeDescription
ListApisResponse.Builder

This builder for chaining.