public interface BatchCreateInstancesMetadataOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
Name | Description |
key |
String |
Type | Description |
boolean |
getInstanceStatuses()
public abstract Map<String,BatchCreateInstanceStatus> getInstanceStatuses()
Use #getInstanceStatusesMap() instead.
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.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
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.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
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.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
Name | Description |
key |
String |
defaultValue |
BatchCreateInstanceStatus |
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.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
Name | Description |
key |
String |
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;
Name | Description |
index |
int The index of the element to return. |
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;
Name | Description |
index |
int The index of the value to return. |
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;
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;
Type | Description |
List<String> |
A list containing the instanceTargets. |