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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudInstanceConfigResponse build()
Returns
TypeDescription
CloudInstanceConfigResponse

buildPartial()

public CloudInstanceConfigResponse buildPartial()
Returns
TypeDescription
CloudInstanceConfigResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceConfig()

public CloudInstanceConfigResponse.Builder clearInstanceConfig()

Instance config returned by GetCloudInstanceConfigAction.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CloudInstanceConfigResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CloudInstanceConfigResponse getDefaultInstanceForType()
Returns
TypeDescription
CloudInstanceConfigResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceConfig()

public InstanceConfig getInstanceConfig()

Instance config returned by GetCloudInstanceConfigAction.

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

Returns
TypeDescription
InstanceConfig

The instanceConfig.

getInstanceConfigBuilder()

public InstanceConfig.Builder getInstanceConfigBuilder()

Instance config returned by GetCloudInstanceConfigAction.

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

Returns
TypeDescription
InstanceConfig.Builder

getInstanceConfigOrBuilder()

public InstanceConfigOrBuilder getInstanceConfigOrBuilder()

Instance config returned by GetCloudInstanceConfigAction.

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

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

The bytes for nextPageToken.

hasInstanceConfig()

public boolean hasInstanceConfig()

Instance config returned by GetCloudInstanceConfigAction.

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

Returns
TypeDescription
boolean

Whether the instanceConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(CloudInstanceConfigResponse other)

public CloudInstanceConfigResponse.Builder mergeFrom(CloudInstanceConfigResponse other)
Parameter
NameDescription
otherCloudInstanceConfigResponse
Returns
TypeDescription
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
NameDescription
valueInstanceConfig
Returns
TypeDescription
CloudInstanceConfigResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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