Class ProgressTimeseries.Builder (0.50.0)

public static final class ProgressTimeseries.Builder extends GeneratedMessageV3.Builder<ProgressTimeseries.Builder> implements ProgressTimeseriesOrBuilder

Information about the progress of some component of job execution.

Protobuf type google.dataflow.v1beta3.ProgressTimeseries

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDataPoints(Iterable<? extends ProgressTimeseries.Point> values)

public ProgressTimeseries.Builder addAllDataPoints(Iterable<? extends ProgressTimeseries.Point> values)

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Parameter
Name Description
values Iterable<? extends com.google.dataflow.v1beta3.ProgressTimeseries.Point>
Returns
Type Description
ProgressTimeseries.Builder

addDataPoints(ProgressTimeseries.Point value)

public ProgressTimeseries.Builder addDataPoints(ProgressTimeseries.Point value)

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Parameter
Name Description
value ProgressTimeseries.Point
Returns
Type Description
ProgressTimeseries.Builder

addDataPoints(ProgressTimeseries.Point.Builder builderForValue)

public ProgressTimeseries.Builder addDataPoints(ProgressTimeseries.Point.Builder builderForValue)

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Parameter
Name Description
builderForValue ProgressTimeseries.Point.Builder
Returns
Type Description
ProgressTimeseries.Builder

addDataPoints(int index, ProgressTimeseries.Point value)

public ProgressTimeseries.Builder addDataPoints(int index, ProgressTimeseries.Point value)

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Parameters
Name Description
index int
value ProgressTimeseries.Point
Returns
Type Description
ProgressTimeseries.Builder

addDataPoints(int index, ProgressTimeseries.Point.Builder builderForValue)

public ProgressTimeseries.Builder addDataPoints(int index, ProgressTimeseries.Point.Builder builderForValue)

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Parameters
Name Description
index int
builderForValue ProgressTimeseries.Point.Builder
Returns
Type Description
ProgressTimeseries.Builder

addDataPointsBuilder()

public ProgressTimeseries.Point.Builder addDataPointsBuilder()

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Returns
Type Description
ProgressTimeseries.Point.Builder

addDataPointsBuilder(int index)

public ProgressTimeseries.Point.Builder addDataPointsBuilder(int index)

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Parameter
Name Description
index int
Returns
Type Description
ProgressTimeseries.Point.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProgressTimeseries.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProgressTimeseries.Builder
Overrides

build()

public ProgressTimeseries build()
Returns
Type Description
ProgressTimeseries

buildPartial()

public ProgressTimeseries buildPartial()
Returns
Type Description
ProgressTimeseries

clear()

public ProgressTimeseries.Builder clear()
Returns
Type Description
ProgressTimeseries.Builder
Overrides

clearCurrentProgress()

public ProgressTimeseries.Builder clearCurrentProgress()

The current progress of the component, in the range [0,1].

double current_progress = 1;

Returns
Type Description
ProgressTimeseries.Builder

This builder for chaining.

clearDataPoints()

public ProgressTimeseries.Builder clearDataPoints()

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Returns
Type Description
ProgressTimeseries.Builder

clearField(Descriptors.FieldDescriptor field)

public ProgressTimeseries.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProgressTimeseries.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProgressTimeseries.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ProgressTimeseries.Builder
Overrides

clone()

public ProgressTimeseries.Builder clone()
Returns
Type Description
ProgressTimeseries.Builder
Overrides

getCurrentProgress()

public double getCurrentProgress()

The current progress of the component, in the range [0,1].

double current_progress = 1;

Returns
Type Description
double

The currentProgress.

getDataPoints(int index)

public ProgressTimeseries.Point getDataPoints(int index)

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Parameter
Name Description
index int
Returns
Type Description
ProgressTimeseries.Point

getDataPointsBuilder(int index)

public ProgressTimeseries.Point.Builder getDataPointsBuilder(int index)

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Parameter
Name Description
index int
Returns
Type Description
ProgressTimeseries.Point.Builder

getDataPointsBuilderList()

public List<ProgressTimeseries.Point.Builder> getDataPointsBuilderList()

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Returns
Type Description
List<Builder>

getDataPointsCount()

public int getDataPointsCount()

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Returns
Type Description
int

getDataPointsList()

public List<ProgressTimeseries.Point> getDataPointsList()

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Returns
Type Description
List<Point>

getDataPointsOrBuilder(int index)

public ProgressTimeseries.PointOrBuilder getDataPointsOrBuilder(int index)

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Parameter
Name Description
index int
Returns
Type Description
ProgressTimeseries.PointOrBuilder

getDataPointsOrBuilderList()

public List<? extends ProgressTimeseries.PointOrBuilder> getDataPointsOrBuilderList()

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Returns
Type Description
List<? extends com.google.dataflow.v1beta3.ProgressTimeseries.PointOrBuilder>

getDefaultInstanceForType()

public ProgressTimeseries getDefaultInstanceForType()
Returns
Type Description
ProgressTimeseries

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProgressTimeseries other)

public ProgressTimeseries.Builder mergeFrom(ProgressTimeseries other)
Parameter
Name Description
other ProgressTimeseries
Returns
Type Description
ProgressTimeseries.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProgressTimeseries.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProgressTimeseries.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProgressTimeseries.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProgressTimeseries.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProgressTimeseries.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProgressTimeseries.Builder
Overrides

removeDataPoints(int index)

public ProgressTimeseries.Builder removeDataPoints(int index)

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Parameter
Name Description
index int
Returns
Type Description
ProgressTimeseries.Builder

setCurrentProgress(double value)

public ProgressTimeseries.Builder setCurrentProgress(double value)

The current progress of the component, in the range [0,1].

double current_progress = 1;

Parameter
Name Description
value double

The currentProgress to set.

Returns
Type Description
ProgressTimeseries.Builder

This builder for chaining.

setDataPoints(int index, ProgressTimeseries.Point value)

public ProgressTimeseries.Builder setDataPoints(int index, ProgressTimeseries.Point value)

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Parameters
Name Description
index int
value ProgressTimeseries.Point
Returns
Type Description
ProgressTimeseries.Builder

setDataPoints(int index, ProgressTimeseries.Point.Builder builderForValue)

public ProgressTimeseries.Builder setDataPoints(int index, ProgressTimeseries.Point.Builder builderForValue)

History of progress for the component.

Points are sorted by time.

repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;

Parameters
Name Description
index int
builderForValue ProgressTimeseries.Point.Builder
Returns
Type Description
ProgressTimeseries.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ProgressTimeseries.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProgressTimeseries.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ProgressTimeseries.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ProgressTimeseries.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ProgressTimeseries.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProgressTimeseries.Builder
Overrides