Class ProgressTimeseries.Point.Builder (0.43.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProgressTimeseries.Point build()
Returns
TypeDescription
ProgressTimeseries.Point

buildPartial()

public ProgressTimeseries.Point buildPartial()
Returns
TypeDescription
ProgressTimeseries.Point

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTime()

public ProgressTimeseries.Point.Builder clearTime()

The timestamp of the point.

.google.protobuf.Timestamp time = 1;

Returns
TypeDescription
ProgressTimeseries.Point.Builder

clearValue()

public ProgressTimeseries.Point.Builder clearValue()

The value of the point.

double value = 2;

Returns
TypeDescription
ProgressTimeseries.Point.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ProgressTimeseries.Point getDefaultInstanceForType()
Returns
TypeDescription
ProgressTimeseries.Point

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTime()

public Timestamp getTime()

The timestamp of the point.

.google.protobuf.Timestamp time = 1;

Returns
TypeDescription
Timestamp

The time.

getTimeBuilder()

public Timestamp.Builder getTimeBuilder()

The timestamp of the point.

.google.protobuf.Timestamp time = 1;

Returns
TypeDescription
Builder

getTimeOrBuilder()

public TimestampOrBuilder getTimeOrBuilder()

The timestamp of the point.

.google.protobuf.Timestamp time = 1;

Returns
TypeDescription
TimestampOrBuilder

getValue()

public double getValue()

The value of the point.

double value = 2;

Returns
TypeDescription
double

The value.

hasTime()

public boolean hasTime()

The timestamp of the point.

.google.protobuf.Timestamp time = 1;

Returns
TypeDescription
boolean

Whether the time field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProgressTimeseries.Point other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ProgressTimeseries.Point.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ProgressTimeseries.Point.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ProgressTimeseries.Point.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ProgressTimeseries.Point.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(double value)

public ProgressTimeseries.Point.Builder setValue(double value)

The value of the point.

double value = 2;

Parameter
NameDescription
valuedouble

The value to set.

Returns
TypeDescription
ProgressTimeseries.Point.Builder

This builder for chaining.