Interface BatchCreateInstancesMetadataOrBuilder

    • 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.v1.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.v1.BatchCreateInstanceStatus> instance_statuses = 2;
      • 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.v1.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.v1.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.v1.BatchCreateInstanceStatus> instance_statuses = 2;