Class ProgressTimeseries.Point.Builder (0.50.0)

public static final class ProgressTimeseries.Point.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ProgressTimeseries.Point.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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.