Class ListApiConfigsResponse.Builder (2.46.0)

public static final class ListApiConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListApiConfigsResponse.Builder> implements ListApiConfigsResponseOrBuilder

Response message for ApiGatewayService.ListApiConfigs

Protobuf type google.cloud.apigateway.v1.ListApiConfigsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllApiConfigs(Iterable<? extends ApiConfig> values)

public ListApiConfigsResponse.Builder addAllApiConfigs(Iterable<? extends ApiConfig> values)

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

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

addAllUnreachableLocations(Iterable<String> values)

public ListApiConfigsResponse.Builder addAllUnreachableLocations(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
ListApiConfigsResponse.Builder

This builder for chaining.

addApiConfigs(ApiConfig value)

public ListApiConfigsResponse.Builder addApiConfigs(ApiConfig value)

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Parameter
Name Description
value ApiConfig
Returns
Type Description
ListApiConfigsResponse.Builder

addApiConfigs(ApiConfig.Builder builderForValue)

public ListApiConfigsResponse.Builder addApiConfigs(ApiConfig.Builder builderForValue)

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Parameter
Name Description
builderForValue ApiConfig.Builder
Returns
Type Description
ListApiConfigsResponse.Builder

addApiConfigs(int index, ApiConfig value)

public ListApiConfigsResponse.Builder addApiConfigs(int index, ApiConfig value)

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Parameters
Name Description
index int
value ApiConfig
Returns
Type Description
ListApiConfigsResponse.Builder

addApiConfigs(int index, ApiConfig.Builder builderForValue)

public ListApiConfigsResponse.Builder addApiConfigs(int index, ApiConfig.Builder builderForValue)

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Parameters
Name Description
index int
builderForValue ApiConfig.Builder
Returns
Type Description
ListApiConfigsResponse.Builder

addApiConfigsBuilder()

public ApiConfig.Builder addApiConfigsBuilder()

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Returns
Type Description
ApiConfig.Builder

addApiConfigsBuilder(int index)

public ApiConfig.Builder addApiConfigsBuilder(int index)

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListApiConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListApiConfigsResponse.Builder
Overrides

addUnreachableLocations(String value)

public ListApiConfigsResponse.Builder addUnreachableLocations(String value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
Name Description
value String

The unreachableLocations to add.

Returns
Type Description
ListApiConfigsResponse.Builder

This builder for chaining.

addUnreachableLocationsBytes(ByteString value)

public ListApiConfigsResponse.Builder addUnreachableLocationsBytes(ByteString value)

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
ListApiConfigsResponse.Builder

This builder for chaining.

build()

public ListApiConfigsResponse build()
Returns
Type Description
ListApiConfigsResponse

buildPartial()

public ListApiConfigsResponse buildPartial()
Returns
Type Description
ListApiConfigsResponse

clear()

public ListApiConfigsResponse.Builder clear()
Returns
Type Description
ListApiConfigsResponse.Builder
Overrides

clearApiConfigs()

public ListApiConfigsResponse.Builder clearApiConfigs()

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Returns
Type Description
ListApiConfigsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListApiConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListApiConfigsResponse.Builder
Overrides

clearNextPageToken()

public ListApiConfigsResponse.Builder clearNextPageToken()

Next page token.

string next_page_token = 2;

Returns
Type Description
ListApiConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListApiConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListApiConfigsResponse.Builder
Overrides

clearUnreachableLocations()

public ListApiConfigsResponse.Builder clearUnreachableLocations()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
Type Description
ListApiConfigsResponse.Builder

This builder for chaining.

clone()

public ListApiConfigsResponse.Builder clone()
Returns
Type Description
ListApiConfigsResponse.Builder
Overrides

getApiConfigs(int index)

public ApiConfig getApiConfigs(int index)

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiConfig

getApiConfigsBuilder(int index)

public ApiConfig.Builder getApiConfigsBuilder(int index)

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiConfig.Builder

getApiConfigsBuilderList()

public List<ApiConfig.Builder> getApiConfigsBuilderList()

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Returns
Type Description
List<Builder>

getApiConfigsCount()

public int getApiConfigsCount()

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Returns
Type Description
int

getApiConfigsList()

public List<ApiConfig> getApiConfigsList()

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Returns
Type Description
List<ApiConfig>

getApiConfigsOrBuilder(int index)

public ApiConfigOrBuilder getApiConfigsOrBuilder(int index)

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiConfigOrBuilder

getApiConfigsOrBuilderList()

public List<? extends ApiConfigOrBuilder> getApiConfigsOrBuilderList()

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

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

getDefaultInstanceForType()

public ListApiConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListApiConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Next page token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Next page token.

string next_page_token = 2;

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
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()

public int getUnreachableLocationsCount()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
Type Description
int

The count of unreachableLocations.

getUnreachableLocationsList()

public ProtocolStringList getUnreachableLocationsList()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachableLocations.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListApiConfigsResponse other)

public ListApiConfigsResponse.Builder mergeFrom(ListApiConfigsResponse other)
Parameter
Name Description
other ListApiConfigsResponse
Returns
Type Description
ListApiConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListApiConfigsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListApiConfigsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListApiConfigsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListApiConfigsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListApiConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListApiConfigsResponse.Builder
Overrides

removeApiConfigs(int index)

public ListApiConfigsResponse.Builder removeApiConfigs(int index)

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListApiConfigsResponse.Builder

setApiConfigs(int index, ApiConfig value)

public ListApiConfigsResponse.Builder setApiConfigs(int index, ApiConfig value)

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Parameters
Name Description
index int
value ApiConfig
Returns
Type Description
ListApiConfigsResponse.Builder

setApiConfigs(int index, ApiConfig.Builder builderForValue)

public ListApiConfigsResponse.Builder setApiConfigs(int index, ApiConfig.Builder builderForValue)

API Configs.

repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;

Parameters
Name Description
index int
builderForValue ApiConfig.Builder
Returns
Type Description
ListApiConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListApiConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListApiConfigsResponse.Builder
Overrides

setNextPageToken(String value)

public ListApiConfigsResponse.Builder setNextPageToken(String value)

Next page token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListApiConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListApiConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

Next page token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListApiConfigsResponse.Builder

This builder for chaining.

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

public ListApiConfigsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListApiConfigsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListApiConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListApiConfigsResponse.Builder
Overrides

setUnreachableLocations(int index, String value)

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

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
ListApiConfigsResponse.Builder

This builder for chaining.