All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.dataflow.model.AutoscalingEvent.html Maven / Gradle / Ivy

There is a newer version: v1b4-rev7-1.20.0
Show newest version






AutoscalingEvent (Dataflow API v1b3-rev20231112-2.0.0)












com.google.api.services.dataflow.model

Class AutoscalingEvent

    • Constructor Detail

      • AutoscalingEvent

        public AutoscalingEvent()
    • Method Detail

      • getCurrentNumWorkers

        public Long getCurrentNumWorkers()
        The current number of workers the job has.
        Returns:
        value or null for none
      • setCurrentNumWorkers

        public AutoscalingEvent setCurrentNumWorkers(Long currentNumWorkers)
        The current number of workers the job has.
        Parameters:
        currentNumWorkers - currentNumWorkers or null for none
      • getDescription

        public StructuredMessage getDescription()
        A message describing why the system decided to adjust the current number of workers, why it failed, or why the system decided to not make any changes to the number of workers.
        Returns:
        value or null for none
      • setDescription

        public AutoscalingEvent setDescription(StructuredMessage description)
        A message describing why the system decided to adjust the current number of workers, why it failed, or why the system decided to not make any changes to the number of workers.
        Parameters:
        description - description or null for none
      • getEventType

        public String getEventType()
        The type of autoscaling event to report.
        Returns:
        value or null for none
      • setEventType

        public AutoscalingEvent setEventType(String eventType)
        The type of autoscaling event to report.
        Parameters:
        eventType - eventType or null for none
      • getTargetNumWorkers

        public Long getTargetNumWorkers()
        The target number of workers the worker pool wants to resize to use.
        Returns:
        value or null for none
      • setTargetNumWorkers

        public AutoscalingEvent setTargetNumWorkers(Long targetNumWorkers)
        The target number of workers the worker pool wants to resize to use.
        Parameters:
        targetNumWorkers - targetNumWorkers or null for none
      • getTime

        public String getTime()
        The time this event was emitted to indicate a new target or current num_workers value.
        Returns:
        value or null for none
      • setTime

        public AutoscalingEvent setTime(String time)
        The time this event was emitted to indicate a new target or current num_workers value.
        Parameters:
        time - time or null for none
      • getWorkerPool

        public String getWorkerPool()
        A short and friendly name for the worker pool this event refers to.
        Returns:
        value or null for none
      • setWorkerPool

        public AutoscalingEvent setWorkerPool(String workerPool)
        A short and friendly name for the worker pool this event refers to.
        Parameters:
        workerPool - workerPool or null for none
      • clone

        public AutoscalingEvent clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2023 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy