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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
public TimeSeriesData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
public TimeSeriesData build()
Returns
public TimeSeriesData buildPartial()
Returns
public TimeSeriesData.Builder clear()
Returns
Overrides
public TimeSeriesData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public TimeSeriesData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
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
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
public TimeSeriesData.Builder clone()
Returns
Overrides
public TimeSeriesData getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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.
|
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
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.
|
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
Returns
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
Returns
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
public int getValuesCount()
Required. Data points in this time series.
repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint values = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
Returns
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> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TimeSeriesData.Builder mergeFrom(TimeSeriesData other)
Parameter
Returns
public TimeSeriesData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public TimeSeriesData.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final TimeSeriesData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
public TimeSeriesData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TimeSeriesData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
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
public final TimeSeriesData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
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
Returns
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
Returns