Class ListInstanceConfigsResponse.Builder (6.71.0)

public static final class ListInstanceConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListInstanceConfigsResponse.Builder> implements ListInstanceConfigsResponseOrBuilder

The response for ListInstanceConfigs.

Protobuf type google.spanner.admin.instance.v1.ListInstanceConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllInstanceConfigs(Iterable<? extends InstanceConfig> values)

public ListInstanceConfigsResponse.Builder addAllInstanceConfigs(Iterable<? extends InstanceConfig> values)

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.spanner.admin.instance.v1.InstanceConfig>
Returns
Type Description
ListInstanceConfigsResponse.Builder

addInstanceConfigs(InstanceConfig value)

public ListInstanceConfigsResponse.Builder addInstanceConfigs(InstanceConfig value)

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Parameter
Name Description
value InstanceConfig
Returns
Type Description
ListInstanceConfigsResponse.Builder

addInstanceConfigs(InstanceConfig.Builder builderForValue)

public ListInstanceConfigsResponse.Builder addInstanceConfigs(InstanceConfig.Builder builderForValue)

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Parameter
Name Description
builderForValue InstanceConfig.Builder
Returns
Type Description
ListInstanceConfigsResponse.Builder

addInstanceConfigs(int index, InstanceConfig value)

public ListInstanceConfigsResponse.Builder addInstanceConfigs(int index, InstanceConfig value)

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Parameters
Name Description
index int
value InstanceConfig
Returns
Type Description
ListInstanceConfigsResponse.Builder

addInstanceConfigs(int index, InstanceConfig.Builder builderForValue)

public ListInstanceConfigsResponse.Builder addInstanceConfigs(int index, InstanceConfig.Builder builderForValue)

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Parameters
Name Description
index int
builderForValue InstanceConfig.Builder
Returns
Type Description
ListInstanceConfigsResponse.Builder

addInstanceConfigsBuilder()

public InstanceConfig.Builder addInstanceConfigsBuilder()

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Returns
Type Description
InstanceConfig.Builder

addInstanceConfigsBuilder(int index)

public InstanceConfig.Builder addInstanceConfigsBuilder(int index)

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
InstanceConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListInstanceConfigsResponse build()
Returns
Type Description
ListInstanceConfigsResponse

buildPartial()

public ListInstanceConfigsResponse buildPartial()
Returns
Type Description
ListInstanceConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceConfigs()

public ListInstanceConfigsResponse.Builder clearInstanceConfigs()

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Returns
Type Description
ListInstanceConfigsResponse.Builder

clearNextPageToken()

public ListInstanceConfigsResponse.Builder clearNextPageToken()

next_page_token can be sent in a subsequent ListInstanceConfigs call to fetch more of the matching instance configurations.

string next_page_token = 2;

Returns
Type Description
ListInstanceConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListInstanceConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListInstanceConfigsResponse

getDescriptorForType()

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

getInstanceConfigs(int index)

public InstanceConfig getInstanceConfigs(int index)

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
InstanceConfig

getInstanceConfigsBuilder(int index)

public InstanceConfig.Builder getInstanceConfigsBuilder(int index)

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
InstanceConfig.Builder

getInstanceConfigsBuilderList()

public List<InstanceConfig.Builder> getInstanceConfigsBuilderList()

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Returns
Type Description
List<Builder>

getInstanceConfigsCount()

public int getInstanceConfigsCount()

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Returns
Type Description
int

getInstanceConfigsList()

public List<InstanceConfig> getInstanceConfigsList()

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Returns
Type Description
List<InstanceConfig>

getInstanceConfigsOrBuilder(int index)

public InstanceConfigOrBuilder getInstanceConfigsOrBuilder(int index)

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
InstanceConfigOrBuilder

getInstanceConfigsOrBuilderList()

public List<? extends InstanceConfigOrBuilder> getInstanceConfigsOrBuilderList()

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Returns
Type Description
List<? extends com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>

getNextPageToken()

public String getNextPageToken()

next_page_token can be sent in a subsequent ListInstanceConfigs call to fetch more of the matching instance configurations.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

next_page_token can be sent in a subsequent ListInstanceConfigs call to fetch more of the matching instance configurations.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ListInstanceConfigsResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInstanceConfigs(int index)

public ListInstanceConfigsResponse.Builder removeInstanceConfigs(int index)

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListInstanceConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceConfigs(int index, InstanceConfig value)

public ListInstanceConfigsResponse.Builder setInstanceConfigs(int index, InstanceConfig value)

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Parameters
Name Description
index int
value InstanceConfig
Returns
Type Description
ListInstanceConfigsResponse.Builder

setInstanceConfigs(int index, InstanceConfig.Builder builderForValue)

public ListInstanceConfigsResponse.Builder setInstanceConfigs(int index, InstanceConfig.Builder builderForValue)

The list of requested instance configurations.

repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;

Parameters
Name Description
index int
builderForValue InstanceConfig.Builder
Returns
Type Description
ListInstanceConfigsResponse.Builder

setNextPageToken(String value)

public ListInstanceConfigsResponse.Builder setNextPageToken(String value)

next_page_token can be sent in a subsequent ListInstanceConfigs call to fetch more of the matching instance configurations.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListInstanceConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListInstanceConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

next_page_token can be sent in a subsequent ListInstanceConfigs call to fetch more of the matching instance configurations.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListInstanceConfigsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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