Class ProgressTimeseries.Point.Builder (0.87.0)

public static final class ProgressTimeseries.Point.Builder extends GeneratedMessage.Builder<ProgressTimeseries.Point.Builder> implements ProgressTimeseries.PointOrBuilder

A point in the timeseries.

Protobuf type google.dataflow.v1beta3.ProgressTimeseries.Point

Static Methods

getDescriptor()

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

Methods

build()

public ProgressTimeseries.Point build()
Returns
Type Description
ProgressTimeseries.Point

buildPartial()

public ProgressTimeseries.Point buildPartial()
Returns
Type Description
ProgressTimeseries.Point

clear()

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

clearTime()

public ProgressTimeseries.Point.Builder clearTime()

The timestamp of the point.

.google.protobuf.Timestamp time = 1;

Returns
Type Description
ProgressTimeseries.Point.Builder

clearValue()

public ProgressTimeseries.Point.Builder clearValue()

The value of the point.

double value = 2;

Returns
Type Description
ProgressTimeseries.Point.Builder

This builder for chaining.

getDefaultInstanceForType()

public ProgressTimeseries.Point getDefaultInstanceForType()
Returns
Type Description
ProgressTimeseries.Point

getDescriptorForType()

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

getTime()

public Timestamp getTime()

The timestamp of the point.

.google.protobuf.Timestamp time = 1;

Returns
Type Description
Timestamp

The time.

getTimeBuilder()

public Timestamp.Builder getTimeBuilder()

The timestamp of the point.

.google.protobuf.Timestamp time = 1;

Returns
Type Description
Builder

getTimeOrBuilder()

public TimestampOrBuilder getTimeOrBuilder()

The timestamp of the point.

.google.protobuf.Timestamp time = 1;

Returns
Type Description
TimestampOrBuilder

getValue()

public double getValue()

The value of the point.

double value = 2;

Returns
Type Description
double

The value.

hasTime()

public boolean hasTime()

The timestamp of the point.

.google.protobuf.Timestamp time = 1;

Returns
Type Description
boolean

Whether the time field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProgressTimeseries.Point other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTime(Timestamp value)

public ProgressTimeseries.Point.Builder mergeTime(Timestamp value)

The timestamp of the point.

.google.protobuf.Timestamp time = 1;

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

setTime(Timestamp value)

public ProgressTimeseries.Point.Builder setTime(Timestamp value)

The timestamp of the point.

.google.protobuf.Timestamp time = 1;

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

setTime(Timestamp.Builder builderForValue)

public ProgressTimeseries.Point.Builder setTime(Timestamp.Builder builderForValue)

The timestamp of the point.

.google.protobuf.Timestamp time = 1;

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

setValue(double value)

public ProgressTimeseries.Point.Builder setValue(double value)

The value of the point.

double value = 2;

Parameter
Name Description
value double

The value to set.

Returns
Type Description
ProgressTimeseries.Point.Builder

This builder for chaining.