Class TimeSeriesData.Builder (3.47.0)

public static final class TimeSeriesData.Builder extends GeneratedMessageV3.Builder<TimeSeriesData.Builder> implements TimeSeriesDataOrBuilder

All the data stored in a TensorboardTimeSeries.

Protobuf type google.cloud.aiplatform.v1.TimeSeriesData

Static Methods

getDescriptor()

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

Methods

addAllValues(Iterable<? extends TimeSeriesDataPoint> values)

public TimeSeriesData.Builder addAllValues(Iterable<? extends TimeSeriesDataPoint> values)

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.TimeSeriesDataPoint>
Returns
Type Description
TimeSeriesData.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addValues(TimeSeriesDataPoint value)

public TimeSeriesData.Builder addValues(TimeSeriesDataPoint value)

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TimeSeriesDataPoint
Returns
Type Description
TimeSeriesData.Builder

addValues(TimeSeriesDataPoint.Builder builderForValue)

public TimeSeriesData.Builder addValues(TimeSeriesDataPoint.Builder builderForValue)

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TimeSeriesDataPoint.Builder
Returns
Type Description
TimeSeriesData.Builder

addValues(int index, TimeSeriesDataPoint value)

public TimeSeriesData.Builder addValues(int index, TimeSeriesDataPoint value)

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value TimeSeriesDataPoint
Returns
Type Description
TimeSeriesData.Builder

addValues(int index, TimeSeriesDataPoint.Builder builderForValue)

public TimeSeriesData.Builder addValues(int index, TimeSeriesDataPoint.Builder builderForValue)

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue TimeSeriesDataPoint.Builder
Returns
Type Description
TimeSeriesData.Builder

addValuesBuilder()

public TimeSeriesDataPoint.Builder addValuesBuilder()

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimeSeriesDataPoint.Builder

addValuesBuilder(int index)

public TimeSeriesDataPoint.Builder addValuesBuilder(int index)

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
TimeSeriesDataPoint.Builder

build()

public TimeSeriesData build()
Returns
Type Description
TimeSeriesData

buildPartial()

public TimeSeriesData buildPartial()
Returns
Type Description
TimeSeriesData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTensorboardTimeSeriesId()

public TimeSeriesData.Builder clearTensorboardTimeSeriesId()

Required. The ID of the TensorboardTimeSeries, which will become the final component of the TensorboardTimeSeries' resource name

string tensorboard_time_series_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimeSeriesData.Builder

This builder for chaining.

clearValueType()

public TimeSeriesData.Builder clearValueType()

Required. Immutable. The value type of this time series. All the values in this time series data must match this value type.

.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
TimeSeriesData.Builder

This builder for chaining.

clearValues()

public TimeSeriesData.Builder clearValues()

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimeSeriesData.Builder

clone()

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

getDefaultInstanceForType()

public TimeSeriesData getDefaultInstanceForType()
Returns
Type Description
TimeSeriesData

getDescriptorForType()

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

getTensorboardTimeSeriesId()

public String getTensorboardTimeSeriesId()

Required. The ID of the TensorboardTimeSeries, which will become the final component of the TensorboardTimeSeries' resource name

string tensorboard_time_series_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The tensorboardTimeSeriesId.

getTensorboardTimeSeriesIdBytes()

public ByteString getTensorboardTimeSeriesIdBytes()

Required. The ID of the TensorboardTimeSeries, which will become the final component of the TensorboardTimeSeries' resource name

string tensorboard_time_series_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for tensorboardTimeSeriesId.

getValueType()

public TensorboardTimeSeries.ValueType getValueType()

Required. Immutable. The value type of this time series. All the values in this time series data must match this value type.

.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
TensorboardTimeSeries.ValueType

The valueType.

getValueTypeValue()

public int getValueTypeValue()

Required. Immutable. The value type of this time series. All the values in this time series data must match this value type.

.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

The enum numeric value on the wire for valueType.

getValues(int index)

public TimeSeriesDataPoint getValues(int index)

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
TimeSeriesDataPoint

getValuesBuilder(int index)

public TimeSeriesDataPoint.Builder getValuesBuilder(int index)

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
TimeSeriesDataPoint.Builder

getValuesBuilderList()

public List<TimeSeriesDataPoint.Builder> getValuesBuilderList()

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getValuesCount()

public int getValuesCount()

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getValuesList()

public List<TimeSeriesDataPoint> getValuesList()

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<TimeSeriesDataPoint>

getValuesOrBuilder(int index)

public TimeSeriesDataPointOrBuilder getValuesOrBuilder(int index)

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
TimeSeriesDataPointOrBuilder

getValuesOrBuilderList()

public List<? extends TimeSeriesDataPointOrBuilder> getValuesOrBuilderList()

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.TimeSeriesDataPointOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TimeSeriesData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeValues(int index)

public TimeSeriesData.Builder removeValues(int index)

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
TimeSeriesData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTensorboardTimeSeriesId(String value)

public TimeSeriesData.Builder setTensorboardTimeSeriesId(String value)

Required. The ID of the TensorboardTimeSeries, which will become the final component of the TensorboardTimeSeries' resource name

string tensorboard_time_series_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The tensorboardTimeSeriesId to set.

Returns
Type Description
TimeSeriesData.Builder

This builder for chaining.

setTensorboardTimeSeriesIdBytes(ByteString value)

public TimeSeriesData.Builder setTensorboardTimeSeriesIdBytes(ByteString value)

Required. The ID of the TensorboardTimeSeries, which will become the final component of the TensorboardTimeSeries' resource name

string tensorboard_time_series_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for tensorboardTimeSeriesId to set.

Returns
Type Description
TimeSeriesData.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setValueType(TensorboardTimeSeries.ValueType value)

public TimeSeriesData.Builder setValueType(TensorboardTimeSeries.ValueType value)

Required. Immutable. The value type of this time series. All the values in this time series data must match this value type.

.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value TensorboardTimeSeries.ValueType

The valueType to set.

Returns
Type Description
TimeSeriesData.Builder

This builder for chaining.

setValueTypeValue(int value)

public TimeSeriesData.Builder setValueTypeValue(int value)

Required. Immutable. The value type of this time series. All the values in this time series data must match this value type.

.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value int

The enum numeric value on the wire for valueType to set.

Returns
Type Description
TimeSeriesData.Builder

This builder for chaining.

setValues(int index, TimeSeriesDataPoint value)

public TimeSeriesData.Builder setValues(int index, TimeSeriesDataPoint value)

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value TimeSeriesDataPoint
Returns
Type Description
TimeSeriesData.Builder

setValues(int index, TimeSeriesDataPoint.Builder builderForValue)

public TimeSeriesData.Builder setValues(int index, TimeSeriesDataPoint.Builder builderForValue)

Required. Data points in this time series.

repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue TimeSeriesDataPoint.Builder
Returns
Type Description
TimeSeriesData.Builder