Class Point.Builder (0.1.0)

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

A single data point in a time series.

Protobuf type google.cloud.capacityplanner.v1beta.Point

Implements

PointOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Point build()
Returns
Type Description
Point

buildPartial()

public Point buildPartial()
Returns
Type Description
Point

clear()

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

clearEventTime()

public Point.Builder clearEventTime()

The time which the data point applies.

.google.protobuf.Timestamp event_time = 1;

Returns
Type Description
Point.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValue()

public Point.Builder clearValue()

The value of the data point.

double value = 2;

Returns
Type Description
Point.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Point getDefaultInstanceForType()
Returns
Type Description
Point

getDescriptorForType()

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

getEventTime()

public Timestamp getEventTime()

The time which the data point applies.

.google.protobuf.Timestamp event_time = 1;

Returns
Type Description
Timestamp

The eventTime.

getEventTimeBuilder()

public Timestamp.Builder getEventTimeBuilder()

The time which the data point applies.

.google.protobuf.Timestamp event_time = 1;

Returns
Type Description
Builder

getEventTimeOrBuilder()

public TimestampOrBuilder getEventTimeOrBuilder()

The time which the data point applies.

.google.protobuf.Timestamp event_time = 1;

Returns
Type Description
TimestampOrBuilder

getValue()

public double getValue()

The value of the data point.

double value = 2;

Returns
Type Description
double

The value.

hasEventTime()

public boolean hasEventTime()

The time which the data point applies.

.google.protobuf.Timestamp event_time = 1;

Returns
Type Description
boolean

Whether the eventTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEventTime(Timestamp value)

public Point.Builder mergeEventTime(Timestamp value)

The time which the data point applies.

.google.protobuf.Timestamp event_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
Point.Builder

mergeFrom(Point other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEventTime(Timestamp value)

public Point.Builder setEventTime(Timestamp value)

The time which the data point applies.

.google.protobuf.Timestamp event_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
Point.Builder

setEventTime(Timestamp.Builder builderForValue)

public Point.Builder setEventTime(Timestamp.Builder builderForValue)

The time which the data point applies.

.google.protobuf.Timestamp event_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Point.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(double value)

public Point.Builder setValue(double value)

The value of the data point.

double value = 2;

Parameter
Name Description
value double

The value to set.

Returns
Type Description
Point.Builder

This builder for chaining.