Interface AutoscalingEventOrBuilder (0.57.0)

public interface AutoscalingEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCurrentNumWorkers()

public abstract long getCurrentNumWorkers()

The current number of workers the job has.

int64 current_num_workers = 1;

Returns
Type Description
long

The currentNumWorkers.

getDescription()

public abstract 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.

.google.dataflow.v1beta3.StructuredMessage description = 4;

Returns
Type Description
StructuredMessage

The description.

getDescriptionOrBuilder()

public abstract StructuredMessageOrBuilder getDescriptionOrBuilder()

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.

.google.dataflow.v1beta3.StructuredMessage description = 4;

Returns
Type Description
StructuredMessageOrBuilder

getEventType()

public abstract AutoscalingEvent.AutoscalingEventType getEventType()

The type of autoscaling event to report.

.google.dataflow.v1beta3.AutoscalingEvent.AutoscalingEventType event_type = 3;

Returns
Type Description
AutoscalingEvent.AutoscalingEventType

The eventType.

getEventTypeValue()

public abstract int getEventTypeValue()

The type of autoscaling event to report.

.google.dataflow.v1beta3.AutoscalingEvent.AutoscalingEventType event_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for eventType.

getTargetNumWorkers()

public abstract long getTargetNumWorkers()

The target number of workers the worker pool wants to resize to use.

int64 target_num_workers = 2;

Returns
Type Description
long

The targetNumWorkers.

getTime()

public abstract Timestamp getTime()

The time this event was emitted to indicate a new target or current num_workers value.

.google.protobuf.Timestamp time = 5;

Returns
Type Description
Timestamp

The time.

getTimeOrBuilder()

public abstract TimestampOrBuilder getTimeOrBuilder()

The time this event was emitted to indicate a new target or current num_workers value.

.google.protobuf.Timestamp time = 5;

Returns
Type Description
TimestampOrBuilder

getWorkerPool()

public abstract String getWorkerPool()

A short and friendly name for the worker pool this event refers to.

string worker_pool = 7;

Returns
Type Description
String

The workerPool.

getWorkerPoolBytes()

public abstract ByteString getWorkerPoolBytes()

A short and friendly name for the worker pool this event refers to.

string worker_pool = 7;

Returns
Type Description
ByteString

The bytes for workerPool.

hasDescription()

public abstract boolean hasDescription()

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.

.google.dataflow.v1beta3.StructuredMessage description = 4;

Returns
Type Description
boolean

Whether the description field is set.

hasTime()

public abstract boolean hasTime()

The time this event was emitted to indicate a new target or current num_workers value.

.google.protobuf.Timestamp time = 5;

Returns
Type Description
boolean

Whether the time field is set.