Interface BatchCreateInstancesMetadataOrBuilder (0.31.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.v1.BatchCreateInstanceStatus> instance_statuses = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getInstanceStatuses() (deprecated)

public abstract Map<String,BatchCreateInstanceStatus> getInstanceStatuses()
Returns
Type Description
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.v1.BatchCreateInstanceStatus> instance_statuses = 2;

Returns
Type Description
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.v1.BatchCreateInstanceStatus> instance_statuses = 2;

Returns
Type Description
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.v1.BatchCreateInstanceStatus> instance_statuses = 2;

Parameters
Name Description
key String
defaultValue BatchCreateInstanceStatus
Returns
Type Description
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.v1.BatchCreateInstanceStatus> instance_statuses = 2;

Parameter
Name Description
key String
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the instanceTargets.