Interface AutoscalingEventOrBuilder

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
TypeDescription
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
TypeDescription
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
TypeDescription
StructuredMessageOrBuilder

getEventType()

public abstract AutoscalingEvent.AutoscalingEventType getEventType()

The type of autoscaling event to report.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getWorkerPool()

public abstract String getWorkerPool()

A short and friendly name for the worker pool this event refers to, populated from the value of PoolStageRelation::user_pool_name.

string worker_pool = 7;

Returns
TypeDescription
String

The workerPool.

getWorkerPoolBytes()

public abstract ByteString getWorkerPoolBytes()

A short and friendly name for the worker pool this event refers to, populated from the value of PoolStageRelation::user_pool_name.

string worker_pool = 7;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the time field is set.