Interface BatchCreateInstancesMetadataOrBuilder (0.30.0)

public interface BatchCreateInstancesMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsInstanceStatuses(String key)

public abstract boolean containsInstanceStatuses(String key)

A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.

map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getInstanceStatuses() (deprecated)

public abstract Map<String,BatchCreateInstanceStatus> getInstanceStatuses()
Returns
TypeDescription
Map<String,BatchCreateInstanceStatus>

getInstanceStatusesCount()

public abstract int getInstanceStatusesCount()

A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.

map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2;

Returns
TypeDescription
int

getInstanceStatusesMap()

public abstract Map<String,BatchCreateInstanceStatus> getInstanceStatusesMap()

A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.

map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2;

Returns
TypeDescription
Map<String,BatchCreateInstanceStatus>

getInstanceStatusesOrDefault(String key, BatchCreateInstanceStatus defaultValue)

public abstract BatchCreateInstanceStatus getInstanceStatusesOrDefault(String key, BatchCreateInstanceStatus defaultValue)

A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.

map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2;

Parameters
NameDescription
keyString
defaultValueBatchCreateInstanceStatus
Returns
TypeDescription
BatchCreateInstanceStatus

getInstanceStatusesOrThrow(String key)

public abstract BatchCreateInstanceStatus getInstanceStatusesOrThrow(String key)

A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.

map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
BatchCreateInstanceStatus

getInstanceTargets(int index)

public abstract String getInstanceTargets(int index)

The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.

repeated string instance_targets = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The instanceTargets at the given index.

getInstanceTargetsBytes(int index)

public abstract ByteString getInstanceTargetsBytes(int index)

The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.

repeated string instance_targets = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the instanceTargets at the given index.

getInstanceTargetsCount()

public abstract int getInstanceTargetsCount()

The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.

repeated string instance_targets = 1;

Returns
TypeDescription
int

The count of instanceTargets.

getInstanceTargetsList()

public abstract List<String> getInstanceTargetsList()

The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.

repeated string instance_targets = 1;

Returns
TypeDescription
List<String>

A list containing the instanceTargets.