Class WriteTensorboardRunDataRequest.Builder (3.4.1)

public static final class WriteTensorboardRunDataRequest.Builder extends GeneratedMessageV3.Builder<WriteTensorboardRunDataRequest.Builder> implements WriteTensorboardRunDataRequestOrBuilder

Request message for TensorboardService.WriteTensorboardRunData.

Protobuf type google.cloud.aiplatform.v1.WriteTensorboardRunDataRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllTimeSeriesData(Iterable<? extends TimeSeriesData> values)

public WriteTensorboardRunDataRequest.Builder addAllTimeSeriesData(Iterable<? extends TimeSeriesData> values)

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.TimeSeriesData>
Returns
TypeDescription
WriteTensorboardRunDataRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTimeSeriesData(TimeSeriesData value)

public WriteTensorboardRunDataRequest.Builder addTimeSeriesData(TimeSeriesData value)

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueTimeSeriesData
Returns
TypeDescription
WriteTensorboardRunDataRequest.Builder

addTimeSeriesData(TimeSeriesData.Builder builderForValue)

public WriteTensorboardRunDataRequest.Builder addTimeSeriesData(TimeSeriesData.Builder builderForValue)

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueTimeSeriesData.Builder
Returns
TypeDescription
WriteTensorboardRunDataRequest.Builder

addTimeSeriesData(int index, TimeSeriesData value)

public WriteTensorboardRunDataRequest.Builder addTimeSeriesData(int index, TimeSeriesData value)

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueTimeSeriesData
Returns
TypeDescription
WriteTensorboardRunDataRequest.Builder

addTimeSeriesData(int index, TimeSeriesData.Builder builderForValue)

public WriteTensorboardRunDataRequest.Builder addTimeSeriesData(int index, TimeSeriesData.Builder builderForValue)

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueTimeSeriesData.Builder
Returns
TypeDescription
WriteTensorboardRunDataRequest.Builder

addTimeSeriesDataBuilder()

public TimeSeriesData.Builder addTimeSeriesDataBuilder()

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TimeSeriesData.Builder

addTimeSeriesDataBuilder(int index)

public TimeSeriesData.Builder addTimeSeriesDataBuilder(int index)

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesData.Builder

build()

public WriteTensorboardRunDataRequest build()
Returns
TypeDescription
WriteTensorboardRunDataRequest

buildPartial()

public WriteTensorboardRunDataRequest buildPartial()
Returns
TypeDescription
WriteTensorboardRunDataRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTensorboardRun()

public WriteTensorboardRunDataRequest.Builder clearTensorboardRun()

Required. The resource name of the TensorboardRun to write data to. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}

string tensorboard_run = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
WriteTensorboardRunDataRequest.Builder

This builder for chaining.

clearTimeSeriesData()

public WriteTensorboardRunDataRequest.Builder clearTimeSeriesData()

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
WriteTensorboardRunDataRequest.Builder

clone()

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

getDefaultInstanceForType()

public WriteTensorboardRunDataRequest getDefaultInstanceForType()
Returns
TypeDescription
WriteTensorboardRunDataRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTensorboardRun()

public String getTensorboardRun()

Required. The resource name of the TensorboardRun to write data to. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}

string tensorboard_run = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The tensorboardRun.

getTensorboardRunBytes()

public ByteString getTensorboardRunBytes()

Required. The resource name of the TensorboardRun to write data to. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}

string tensorboard_run = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for tensorboardRun.

getTimeSeriesData(int index)

public TimeSeriesData getTimeSeriesData(int index)

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesData

getTimeSeriesDataBuilder(int index)

public TimeSeriesData.Builder getTimeSeriesDataBuilder(int index)

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesData.Builder

getTimeSeriesDataBuilderList()

public List<TimeSeriesData.Builder> getTimeSeriesDataBuilderList()

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Builder>

getTimeSeriesDataCount()

public int getTimeSeriesDataCount()

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getTimeSeriesDataList()

public List<TimeSeriesData> getTimeSeriesDataList()

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<TimeSeriesData>

getTimeSeriesDataOrBuilder(int index)

public TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(int index)

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesDataOrBuilder

getTimeSeriesDataOrBuilderList()

public List<? extends TimeSeriesDataOrBuilder> getTimeSeriesDataOrBuilderList()

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.TimeSeriesDataOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WriteTensorboardRunDataRequest other)

public WriteTensorboardRunDataRequest.Builder mergeFrom(WriteTensorboardRunDataRequest other)
Parameter
NameDescription
otherWriteTensorboardRunDataRequest
Returns
TypeDescription
WriteTensorboardRunDataRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTimeSeriesData(int index)

public WriteTensorboardRunDataRequest.Builder removeTimeSeriesData(int index)

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
WriteTensorboardRunDataRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public WriteTensorboardRunDataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WriteTensorboardRunDataRequest.Builder
Overrides

setTensorboardRun(String value)

public WriteTensorboardRunDataRequest.Builder setTensorboardRun(String value)

Required. The resource name of the TensorboardRun to write data to. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}

string tensorboard_run = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The tensorboardRun to set.

Returns
TypeDescription
WriteTensorboardRunDataRequest.Builder

This builder for chaining.

setTensorboardRunBytes(ByteString value)

public WriteTensorboardRunDataRequest.Builder setTensorboardRunBytes(ByteString value)

Required. The resource name of the TensorboardRun to write data to. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}

string tensorboard_run = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for tensorboardRun to set.

Returns
TypeDescription
WriteTensorboardRunDataRequest.Builder

This builder for chaining.

setTimeSeriesData(int index, TimeSeriesData value)

public WriteTensorboardRunDataRequest.Builder setTimeSeriesData(int index, TimeSeriesData value)

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueTimeSeriesData
Returns
TypeDescription
WriteTensorboardRunDataRequest.Builder

setTimeSeriesData(int index, TimeSeriesData.Builder builderForValue)

public WriteTensorboardRunDataRequest.Builder setTimeSeriesData(int index, TimeSeriesData.Builder builderForValue)

Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.

repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueTimeSeriesData.Builder
Returns
TypeDescription
WriteTensorboardRunDataRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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