Class ProgressTimeseries.Builder

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

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
NameDescription
valuesIterable<? extends com.google.dataflow.v1beta3.ProgressTimeseries.Point>
Returns
TypeDescription
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
NameDescription
valueProgressTimeseries.Point
Returns
TypeDescription
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
NameDescription
builderForValueProgressTimeseries.Point.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueProgressTimeseries.Point
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProgressTimeseries.Point.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ProgressTimeseries.Point.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProgressTimeseries.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProgressTimeseries.Builder
Overrides

build()

public ProgressTimeseries build()
Returns
TypeDescription
ProgressTimeseries

buildPartial()

public ProgressTimeseries buildPartial()
Returns
TypeDescription
ProgressTimeseries

clear()

public ProgressTimeseries.Builder clear()
Returns
TypeDescription
ProgressTimeseries.Builder
Overrides

clearCurrentProgress()

public ProgressTimeseries.Builder clearCurrentProgress()

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

double current_progress = 1;

Returns
TypeDescription
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
TypeDescription
ProgressTimeseries.Builder

clearField(Descriptors.FieldDescriptor field)

public ProgressTimeseries.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ProgressTimeseries.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProgressTimeseries.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ProgressTimeseries.Builder
Overrides

clone()

public ProgressTimeseries.Builder clone()
Returns
TypeDescription
ProgressTimeseries.Builder
Overrides

getCurrentProgress()

public double getCurrentProgress()

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

double current_progress = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.dataflow.v1beta3.ProgressTimeseries.PointOrBuilder>

getDefaultInstanceForType()

public ProgressTimeseries getDefaultInstanceForType()
Returns
TypeDescription
ProgressTimeseries

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProgressTimeseries other)

public ProgressTimeseries.Builder mergeFrom(ProgressTimeseries other)
Parameter
NameDescription
otherProgressTimeseries
Returns
TypeDescription
ProgressTimeseries.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProgressTimeseries.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProgressTimeseries.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ProgressTimeseries.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ProgressTimeseries.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProgressTimeseries.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuedouble

The currentProgress to set.

Returns
TypeDescription
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
NameDescription
indexint
valueProgressTimeseries.Point
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProgressTimeseries.Point.Builder
Returns
TypeDescription
ProgressTimeseries.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ProgressTimeseries.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProgressTimeseries.Builder
Overrides

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

public ProgressTimeseries.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ProgressTimeseries.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ProgressTimeseries.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProgressTimeseries.Builder
Overrides