Class TimeSeriesData.Builder (3.33.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.TimeSeriesDataPoint>
Returns
TypeDescription
TimeSeriesData.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTimeSeriesDataPoint
Returns
TypeDescription
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
NameDescription
builderForValueTimeSeriesDataPoint.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTimeSeriesDataPoint
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTimeSeriesDataPoint.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TimeSeriesDataPoint.Builder

build()

public TimeSeriesData build()
Returns
TypeDescription
TimeSeriesData

buildPartial()

public TimeSeriesData buildPartial()
Returns
TypeDescription
TimeSeriesData

clear()

public TimeSeriesData.Builder clear()
Returns
TypeDescription
TimeSeriesData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TimeSeriesData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimeSeriesData.Builder

clone()

public TimeSeriesData.Builder clone()
Returns
TypeDescription
TimeSeriesData.Builder
Overrides

getDefaultInstanceForType()

public TimeSeriesData getDefaultInstanceForType()
Returns
TypeDescription
TimeSeriesData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.TimeSeriesDataPointOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TimeSeriesData other)

public TimeSeriesData.Builder mergeFrom(TimeSeriesData other)
Parameter
NameDescription
otherTimeSeriesData
Returns
TypeDescription
TimeSeriesData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TimeSeriesData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TimeSeriesData.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TimeSeriesData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimeSeriesData.Builder
Overrides

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

public TimeSeriesData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The tensorboardTimeSeriesId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for tensorboardTimeSeriesId to set.

Returns
TypeDescription
TimeSeriesData.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTensorboardTimeSeries.ValueType

The valueType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
indexint
valueTimeSeriesDataPoint
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTimeSeriesDataPoint.Builder
Returns
TypeDescription
TimeSeriesData.Builder