Class ListApiConfigsResponse.Builder (2.28.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.apigateway.v1.ApiConfig>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachableLocations to add.

Returns
TypeDescription
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
NameDescription
valueApiConfig
Returns
TypeDescription
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
NameDescription
builderForValueApiConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueApiConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueApiConfig.Builder
Returns
TypeDescription
ListApiConfigsResponse.Builder

addApiConfigsBuilder()

public ApiConfig.Builder addApiConfigsBuilder()

API Configs.

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

Returns
TypeDescription
ApiConfig.Builder

addApiConfigsBuilder(int index)

public ApiConfig.Builder addApiConfigsBuilder(int index)

API Configs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachableLocations(String value)

public ListApiConfigsResponse.Builder addUnreachableLocations(String value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
valueString

The unreachableLocations to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachableLocations to add.

Returns
TypeDescription
ListApiConfigsResponse.Builder

This builder for chaining.

build()

public ListApiConfigsResponse build()
Returns
TypeDescription
ListApiConfigsResponse

buildPartial()

public ListApiConfigsResponse buildPartial()
Returns
TypeDescription
ListApiConfigsResponse

clear()

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

clearApiConfigs()

public ListApiConfigsResponse.Builder clearApiConfigs()

API Configs.

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

Returns
TypeDescription
ListApiConfigsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListApiConfigsResponse.Builder clearNextPageToken()

Next page token.

string next_page_token = 2;

Returns
TypeDescription
ListApiConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachableLocations()

public ListApiConfigsResponse.Builder clearUnreachableLocations()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
TypeDescription
ListApiConfigsResponse.Builder

This builder for chaining.

clone()

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

getApiConfigs(int index)

public ApiConfig getApiConfigs(int index)

API Configs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiConfig

getApiConfigsBuilder(int index)

public ApiConfig.Builder getApiConfigsBuilder(int index)

API Configs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiConfig.Builder

getApiConfigsBuilderList()

public List<ApiConfig.Builder> getApiConfigsBuilderList()

API Configs.

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

Returns
TypeDescription
List<Builder>

getApiConfigsCount()

public int getApiConfigsCount()

API Configs.

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

Returns
TypeDescription
int

getApiConfigsList()

public List<ApiConfig> getApiConfigsList()

API Configs.

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

Returns
TypeDescription
List<ApiConfig>

getApiConfigsOrBuilder(int index)

public ApiConfigOrBuilder getApiConfigsOrBuilder(int index)

API Configs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiConfigOrBuilder

getApiConfigsOrBuilderList()

public List<? extends ApiConfigOrBuilder> getApiConfigsOrBuilderList()

API Configs.

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

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

getDefaultInstanceForType()

public ListApiConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListApiConfigsResponse

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(ListApiConfigsResponse other)

public ListApiConfigsResponse.Builder mergeFrom(ListApiConfigsResponse other)
Parameter
NameDescription
otherListApiConfigsResponse
Returns
TypeDescription
ListApiConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeApiConfigs(int index)

public ListApiConfigsResponse.Builder removeApiConfigs(int index)

API Configs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueApiConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueApiConfig.Builder
Returns
TypeDescription
ListApiConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListApiConfigsResponse.Builder setNextPageToken(String value)

Next page token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListApiConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListApiConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

Next page token.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListApiConfigsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListApiConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachableLocations to set.

Returns
TypeDescription
ListApiConfigsResponse.Builder

This builder for chaining.