Package com.google.cloud.alloydb.v1beta
Interface BatchCreateInstancesMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchCreateInstancesMetadata
,BatchCreateInstancesMetadata.Builder
public interface BatchCreateInstancesMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsInstanceStatuses(String key)
A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution.Map<String,BatchCreateInstanceStatus>
getInstanceStatuses()
Deprecated.int
getInstanceStatusesCount()
A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution.Map<String,BatchCreateInstanceStatus>
getInstanceStatusesMap()
A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution.BatchCreateInstanceStatus
getInstanceStatusesOrDefault(String key, BatchCreateInstanceStatus defaultValue)
A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution.BatchCreateInstanceStatus
getInstanceStatusesOrThrow(String key)
A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution.String
getInstanceTargets(int index)
The instances being created in the API call.com.google.protobuf.ByteString
getInstanceTargetsBytes(int index)
The instances being created in the API call.int
getInstanceTargetsCount()
The instances being created in the API call.List<String>
getInstanceTargetsList()
The instances being created in the API call.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getInstanceTargetsList
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:
- A list containing the instanceTargets.
-
getInstanceTargetsCount
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:
- The count of instanceTargets.
-
getInstanceTargets
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The instanceTargets at the given index.
-
getInstanceTargetsBytes
com.google.protobuf.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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the instanceTargets at the given index.
-
getInstanceStatusesCount
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;
-
containsInstanceStatuses
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;
-
getInstanceStatuses
@Deprecated Map<String,BatchCreateInstanceStatus> getInstanceStatuses()
Deprecated.UsegetInstanceStatusesMap()
instead.
-
getInstanceStatusesMap
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;
-
getInstanceStatusesOrDefault
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;
-
getInstanceStatusesOrThrow
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;
-
-