Class ListInstanceConfigsResponse.Builder (6.52.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.spanner.admin.instance.v1.InstanceConfig>
Returns
TypeDescription
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
NameDescription
valueInstanceConfig
Returns
TypeDescription
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
NameDescription
builderForValueInstanceConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInstanceConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInstanceConfig.Builder
Returns
TypeDescription
ListInstanceConfigsResponse.Builder

addInstanceConfigsBuilder()

public InstanceConfig.Builder addInstanceConfigsBuilder()

The list of requested instance configurations.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InstanceConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListInstanceConfigsResponse build()
Returns
TypeDescription
ListInstanceConfigsResponse

buildPartial()

public ListInstanceConfigsResponse buildPartial()
Returns
TypeDescription
ListInstanceConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListInstanceConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListInstanceConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListInstanceConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListInstanceConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getInstanceConfigsCount()

public int getInstanceConfigsCount()

The list of requested instance configurations.

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

Returns
TypeDescription
int

getInstanceConfigsList()

public List<InstanceConfig> getInstanceConfigsList()

The list of requested instance configurations.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InstanceConfigOrBuilder

getInstanceConfigsOrBuilderList()

public List<? extends InstanceConfigOrBuilder> getInstanceConfigsOrBuilderList()

The list of requested instance configurations.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ListInstanceConfigsResponse other)

public ListInstanceConfigsResponse.Builder mergeFrom(ListInstanceConfigsResponse other)
Parameter
NameDescription
otherListInstanceConfigsResponse
Returns
TypeDescription
ListInstanceConfigsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListInstanceConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueInstanceConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInstanceConfig.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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