- 0.58.0 (latest)
- 0.57.0
- 0.56.0
- 0.55.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.5.0
public static final class AutoscalingEvent.Builder extends GeneratedMessageV3.Builder<AutoscalingEvent.Builder> implements AutoscalingEventOrBuilder
A structured message reporting an autoscaling decision made by the Dataflow service.
Protobuf type google.dataflow.v1beta3.AutoscalingEvent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutoscalingEvent.BuilderImplements
AutoscalingEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
build()
public AutoscalingEvent build()
Returns | |
---|---|
Type | Description |
AutoscalingEvent |
buildPartial()
public AutoscalingEvent buildPartial()
Returns | |
---|---|
Type | Description |
AutoscalingEvent |
clear()
public AutoscalingEvent.Builder clear()
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
clearCurrentNumWorkers()
public AutoscalingEvent.Builder clearCurrentNumWorkers()
The current number of workers the job has.
int64 current_num_workers = 1;
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
This builder for chaining. |
clearDescription()
public AutoscalingEvent.Builder clearDescription()
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 |
AutoscalingEvent.Builder |
clearEventType()
public AutoscalingEvent.Builder clearEventType()
The type of autoscaling event to report.
.google.dataflow.v1beta3.AutoscalingEvent.AutoscalingEventType event_type = 3;
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AutoscalingEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoscalingEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
clearTargetNumWorkers()
public AutoscalingEvent.Builder clearTargetNumWorkers()
The target number of workers the worker pool wants to resize to use.
int64 target_num_workers = 2;
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
This builder for chaining. |
clearTime()
public AutoscalingEvent.Builder clearTime()
The time this event was emitted to indicate a new target or current num_workers value.
.google.protobuf.Timestamp time = 5;
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
clearWorkerPool()
public AutoscalingEvent.Builder clearWorkerPool()
A short and friendly name for the worker pool this event refers to.
string worker_pool = 7;
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
This builder for chaining. |
clone()
public AutoscalingEvent.Builder clone()
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
getCurrentNumWorkers()
public long getCurrentNumWorkers()
The current number of workers the job has.
int64 current_num_workers = 1;
Returns | |
---|---|
Type | Description |
long |
The currentNumWorkers. |
getDefaultInstanceForType()
public AutoscalingEvent getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AutoscalingEvent |
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.
.google.dataflow.v1beta3.StructuredMessage description = 4;
Returns | |
---|---|
Type | Description |
StructuredMessage |
The description. |
getDescriptionBuilder()
public StructuredMessage.Builder getDescriptionBuilder()
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.Builder |
getDescriptionOrBuilder()
public 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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEventType()
public 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 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 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 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. |
getTimeBuilder()
public Timestamp.Builder getTimeBuilder()
The time this event was emitted to indicate a new target or current num_workers value.
.google.protobuf.Timestamp time = 5;
Returns | |
---|---|
Type | Description |
Builder |
getTimeOrBuilder()
public 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDescription(StructuredMessage value)
public AutoscalingEvent.Builder mergeDescription(StructuredMessage value)
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;
Parameter | |
---|---|
Name | Description |
value |
StructuredMessage |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
mergeFrom(AutoscalingEvent other)
public AutoscalingEvent.Builder mergeFrom(AutoscalingEvent other)
Parameter | |
---|---|
Name | Description |
other |
AutoscalingEvent |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutoscalingEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AutoscalingEvent.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
mergeTime(Timestamp value)
public AutoscalingEvent.Builder mergeTime(Timestamp value)
The time this event was emitted to indicate a new target or current num_workers value.
.google.protobuf.Timestamp time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
setCurrentNumWorkers(long value)
public AutoscalingEvent.Builder setCurrentNumWorkers(long value)
The current number of workers the job has.
int64 current_num_workers = 1;
Parameter | |
---|---|
Name | Description |
value |
long The currentNumWorkers to set. |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
This builder for chaining. |
setDescription(StructuredMessage value)
public AutoscalingEvent.Builder setDescription(StructuredMessage value)
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;
Parameter | |
---|---|
Name | Description |
value |
StructuredMessage |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
setDescription(StructuredMessage.Builder builderForValue)
public AutoscalingEvent.Builder setDescription(StructuredMessage.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
StructuredMessage.Builder |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
setEventType(AutoscalingEvent.AutoscalingEventType value)
public AutoscalingEvent.Builder setEventType(AutoscalingEvent.AutoscalingEventType value)
The type of autoscaling event to report.
.google.dataflow.v1beta3.AutoscalingEvent.AutoscalingEventType event_type = 3;
Parameter | |
---|---|
Name | Description |
value |
AutoscalingEvent.AutoscalingEventType The eventType to set. |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
This builder for chaining. |
setEventTypeValue(int value)
public AutoscalingEvent.Builder setEventTypeValue(int value)
The type of autoscaling event to report.
.google.dataflow.v1beta3.AutoscalingEvent.AutoscalingEventType event_type = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for eventType to set. |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoscalingEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
setTargetNumWorkers(long value)
public AutoscalingEvent.Builder setTargetNumWorkers(long value)
The target number of workers the worker pool wants to resize to use.
int64 target_num_workers = 2;
Parameter | |
---|---|
Name | Description |
value |
long The targetNumWorkers to set. |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
This builder for chaining. |
setTime(Timestamp value)
public AutoscalingEvent.Builder setTime(Timestamp value)
The time this event was emitted to indicate a new target or current num_workers value.
.google.protobuf.Timestamp time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
setTime(Timestamp.Builder builderForValue)
public AutoscalingEvent.Builder setTime(Timestamp.Builder builderForValue)
The time this event was emitted to indicate a new target or current num_workers value.
.google.protobuf.Timestamp time = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
setWorkerPool(String value)
public AutoscalingEvent.Builder setWorkerPool(String value)
A short and friendly name for the worker pool this event refers to.
string worker_pool = 7;
Parameter | |
---|---|
Name | Description |
value |
String The workerPool to set. |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
This builder for chaining. |
setWorkerPoolBytes(ByteString value)
public AutoscalingEvent.Builder setWorkerPoolBytes(ByteString value)
A short and friendly name for the worker pool this event refers to.
string worker_pool = 7;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for workerPool to set. |
Returns | |
---|---|
Type | Description |
AutoscalingEvent.Builder |
This builder for chaining. |