Class CloudInstanceConfigResponse.Builder (6.74.0)

public static final class CloudInstanceConfigResponse.Builder extends GeneratedMessageV3.Builder<CloudInstanceConfigResponse.Builder> implements CloudInstanceConfigResponseOrBuilder

CloudInstanceConfigResponse contains results returned by cloud instance config related actions.

Protobuf type google.spanner.executor.v1.CloudInstanceConfigResponse

Static Methods

getDescriptor()

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

Methods

addAllListedInstanceConfigs(Iterable<? extends InstanceConfig> values)

public CloudInstanceConfigResponse.Builder addAllListedInstanceConfigs(Iterable<? extends InstanceConfig> values)

List of instance configs returned by ListCloudInstanceConfigsAction.

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

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

addListedInstanceConfigs(InstanceConfig value)

public CloudInstanceConfigResponse.Builder addListedInstanceConfigs(InstanceConfig value)

List of instance configs returned by ListCloudInstanceConfigsAction.

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

Parameter
Name Description
value InstanceConfig
Returns
Type Description
CloudInstanceConfigResponse.Builder

addListedInstanceConfigs(InstanceConfig.Builder builderForValue)

public CloudInstanceConfigResponse.Builder addListedInstanceConfigs(InstanceConfig.Builder builderForValue)

List of instance configs returned by ListCloudInstanceConfigsAction.

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

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

addListedInstanceConfigs(int index, InstanceConfig value)

public CloudInstanceConfigResponse.Builder addListedInstanceConfigs(int index, InstanceConfig value)

List of instance configs returned by ListCloudInstanceConfigsAction.

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

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

addListedInstanceConfigs(int index, InstanceConfig.Builder builderForValue)

public CloudInstanceConfigResponse.Builder addListedInstanceConfigs(int index, InstanceConfig.Builder builderForValue)

List of instance configs returned by ListCloudInstanceConfigsAction.

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

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

addListedInstanceConfigsBuilder()

public InstanceConfig.Builder addListedInstanceConfigsBuilder()

List of instance configs returned by ListCloudInstanceConfigsAction.

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

Returns
Type Description
InstanceConfig.Builder

addListedInstanceConfigsBuilder(int index)

public InstanceConfig.Builder addListedInstanceConfigsBuilder(int index)

List of instance configs returned by ListCloudInstanceConfigsAction.

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

Parameter
Name Description
index int
Returns
Type Description
InstanceConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudInstanceConfigResponse build()
Returns
Type Description
CloudInstanceConfigResponse

buildPartial()

public CloudInstanceConfigResponse buildPartial()
Returns
Type Description
CloudInstanceConfigResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceConfig()

public CloudInstanceConfigResponse.Builder clearInstanceConfig()

Instance config returned by GetCloudInstanceConfigAction.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 3;

Returns
Type Description
CloudInstanceConfigResponse.Builder

clearListedInstanceConfigs()

public CloudInstanceConfigResponse.Builder clearListedInstanceConfigs()

List of instance configs returned by ListCloudInstanceConfigsAction.

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

Returns
Type Description
CloudInstanceConfigResponse.Builder

clearNextPageToken()

public CloudInstanceConfigResponse.Builder clearNextPageToken()

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 2;

Returns
Type Description
CloudInstanceConfigResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CloudInstanceConfigResponse getDefaultInstanceForType()
Returns
Type Description
CloudInstanceConfigResponse

getDescriptorForType()

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

getInstanceConfig()

public InstanceConfig getInstanceConfig()

Instance config returned by GetCloudInstanceConfigAction.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 3;

Returns
Type Description
InstanceConfig

The instanceConfig.

getInstanceConfigBuilder()

public InstanceConfig.Builder getInstanceConfigBuilder()

Instance config returned by GetCloudInstanceConfigAction.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 3;

Returns
Type Description
InstanceConfig.Builder

getInstanceConfigOrBuilder()

public InstanceConfigOrBuilder getInstanceConfigOrBuilder()

Instance config returned by GetCloudInstanceConfigAction.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 3;

Returns
Type Description
InstanceConfigOrBuilder

getListedInstanceConfigs(int index)

public InstanceConfig getListedInstanceConfigs(int index)

List of instance configs returned by ListCloudInstanceConfigsAction.

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

Parameter
Name Description
index int
Returns
Type Description
InstanceConfig

getListedInstanceConfigsBuilder(int index)

public InstanceConfig.Builder getListedInstanceConfigsBuilder(int index)

List of instance configs returned by ListCloudInstanceConfigsAction.

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

Parameter
Name Description
index int
Returns
Type Description
InstanceConfig.Builder

getListedInstanceConfigsBuilderList()

public List<InstanceConfig.Builder> getListedInstanceConfigsBuilderList()

List of instance configs returned by ListCloudInstanceConfigsAction.

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

Returns
Type Description
List<Builder>

getListedInstanceConfigsCount()

public int getListedInstanceConfigsCount()

List of instance configs returned by ListCloudInstanceConfigsAction.

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

Returns
Type Description
int

getListedInstanceConfigsList()

public List<InstanceConfig> getListedInstanceConfigsList()

List of instance configs returned by ListCloudInstanceConfigsAction.

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

Returns
Type Description
List<InstanceConfig>

getListedInstanceConfigsOrBuilder(int index)

public InstanceConfigOrBuilder getListedInstanceConfigsOrBuilder(int index)

List of instance configs returned by ListCloudInstanceConfigsAction.

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

Parameter
Name Description
index int
Returns
Type Description
InstanceConfigOrBuilder

getListedInstanceConfigsOrBuilderList()

public List<? extends InstanceConfigOrBuilder> getListedInstanceConfigsOrBuilderList()

List of instance configs returned by ListCloudInstanceConfigsAction.

repeated .google.spanner.admin.instance.v1.InstanceConfig listed_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 list action to fetch more of the matching data.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

hasInstanceConfig()

public boolean hasInstanceConfig()

Instance config returned by GetCloudInstanceConfigAction.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 3;

Returns
Type Description
boolean

Whether the instanceConfig field is set.

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 CloudInstanceConfigResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudInstanceConfigResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(CloudInstanceConfigResponse other)

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

mergeInstanceConfig(InstanceConfig value)

public CloudInstanceConfigResponse.Builder mergeInstanceConfig(InstanceConfig value)

Instance config returned by GetCloudInstanceConfigAction.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 3;

Parameter
Name Description
value InstanceConfig
Returns
Type Description
CloudInstanceConfigResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeListedInstanceConfigs(int index)

public CloudInstanceConfigResponse.Builder removeListedInstanceConfigs(int index)

List of instance configs returned by ListCloudInstanceConfigsAction.

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

Parameter
Name Description
index int
Returns
Type Description
CloudInstanceConfigResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceConfig(InstanceConfig value)

public CloudInstanceConfigResponse.Builder setInstanceConfig(InstanceConfig value)

Instance config returned by GetCloudInstanceConfigAction.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 3;

Parameter
Name Description
value InstanceConfig
Returns
Type Description
CloudInstanceConfigResponse.Builder

setInstanceConfig(InstanceConfig.Builder builderForValue)

public CloudInstanceConfigResponse.Builder setInstanceConfig(InstanceConfig.Builder builderForValue)

Instance config returned by GetCloudInstanceConfigAction.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 3;

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

setListedInstanceConfigs(int index, InstanceConfig value)

public CloudInstanceConfigResponse.Builder setListedInstanceConfigs(int index, InstanceConfig value)

List of instance configs returned by ListCloudInstanceConfigsAction.

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

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

setListedInstanceConfigs(int index, InstanceConfig.Builder builderForValue)

public CloudInstanceConfigResponse.Builder setListedInstanceConfigs(int index, InstanceConfig.Builder builderForValue)

List of instance configs returned by ListCloudInstanceConfigsAction.

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

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

setNextPageToken(String value)

public CloudInstanceConfigResponse.Builder setNextPageToken(String value)

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
CloudInstanceConfigResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public CloudInstanceConfigResponse.Builder setNextPageTokenBytes(ByteString value)

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
CloudInstanceConfigResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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