Package com.google.dataflow.v1beta3
Interface AutoscalingEventOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AutoscalingEvent,AutoscalingEvent.Builder
public interface AutoscalingEventOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCurrentNumWorkers()The current number of workers the job has.StructuredMessagegetDescription()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.StructuredMessageOrBuildergetDescriptionOrBuilder()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.AutoscalingEvent.AutoscalingEventTypegetEventType()The type of autoscaling event to report.intgetEventTypeValue()The type of autoscaling event to report.longgetTargetNumWorkers()The target number of workers the worker pool wants to resize to use.com.google.protobuf.TimestampgetTime()The time this event was emitted to indicate a new target or current num_workers value.com.google.protobuf.TimestampOrBuildergetTimeOrBuilder()The time this event was emitted to indicate a new target or current num_workers value.StringgetWorkerPool()A short and friendly name for the worker pool this event refers to.com.google.protobuf.ByteStringgetWorkerPoolBytes()A short and friendly name for the worker pool this event refers to.booleanhasDescription()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.booleanhasTime()The time this event was emitted to indicate a new target or current num_workers value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCurrentNumWorkers
long getCurrentNumWorkers()
The current number of workers the job has.
int64 current_num_workers = 1;- Returns:
- The currentNumWorkers.
-
getTargetNumWorkers
long getTargetNumWorkers()
The target number of workers the worker pool wants to resize to use.
int64 target_num_workers = 2;- Returns:
- The targetNumWorkers.
-
getEventTypeValue
int getEventTypeValue()
The type of autoscaling event to report.
.google.dataflow.v1beta3.AutoscalingEvent.AutoscalingEventType event_type = 3;- Returns:
- The enum numeric value on the wire for eventType.
-
getEventType
AutoscalingEvent.AutoscalingEventType getEventType()
The type of autoscaling event to report.
.google.dataflow.v1beta3.AutoscalingEvent.AutoscalingEventType event_type = 3;- Returns:
- The eventType.
-
hasDescription
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:
- Whether the description field is set.
-
getDescription
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:
- The description.
-
getDescriptionOrBuilder
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;
-
hasTime
boolean hasTime()
The time this event was emitted to indicate a new target or current num_workers value.
.google.protobuf.Timestamp time = 5;- Returns:
- Whether the time field is set.
-
getTime
com.google.protobuf.Timestamp getTime()
The time this event was emitted to indicate a new target or current num_workers value.
.google.protobuf.Timestamp time = 5;- Returns:
- The time.
-
getTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
The time this event was emitted to indicate a new target or current num_workers value.
.google.protobuf.Timestamp time = 5;
-
getWorkerPool
String getWorkerPool()
A short and friendly name for the worker pool this event refers to.
string worker_pool = 7;- Returns:
- The workerPool.
-
getWorkerPoolBytes
com.google.protobuf.ByteString getWorkerPoolBytes()
A short and friendly name for the worker pool this event refers to.
string worker_pool = 7;- Returns:
- The bytes for workerPool.
-
-