Class WriteTensorboardExperimentDataRequest.Builder (3.42.0)

public static final class WriteTensorboardExperimentDataRequest.Builder extends GeneratedMessageV3.Builder<WriteTensorboardExperimentDataRequest.Builder> implements WriteTensorboardExperimentDataRequestOrBuilder

Request message for TensorboardService.WriteTensorboardExperimentData.

Protobuf type google.cloud.aiplatform.v1.WriteTensorboardExperimentDataRequest

Static Methods

getDescriptor()

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

Methods

addAllWriteRunDataRequests(Iterable<? extends WriteTensorboardRunDataRequest> values)

public WriteTensorboardExperimentDataRequest.Builder addAllWriteRunDataRequests(Iterable<? extends WriteTensorboardRunDataRequest> values)

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addWriteRunDataRequests(WriteTensorboardRunDataRequest value)

public WriteTensorboardExperimentDataRequest.Builder addWriteRunDataRequests(WriteTensorboardRunDataRequest value)

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Parameter
Name Description
value WriteTensorboardRunDataRequest
Returns
Type Description
WriteTensorboardExperimentDataRequest.Builder

addWriteRunDataRequests(WriteTensorboardRunDataRequest.Builder builderForValue)

public WriteTensorboardExperimentDataRequest.Builder addWriteRunDataRequests(WriteTensorboardRunDataRequest.Builder builderForValue)

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Parameter
Name Description
builderForValue WriteTensorboardRunDataRequest.Builder
Returns
Type Description
WriteTensorboardExperimentDataRequest.Builder

addWriteRunDataRequests(int index, WriteTensorboardRunDataRequest value)

public WriteTensorboardExperimentDataRequest.Builder addWriteRunDataRequests(int index, WriteTensorboardRunDataRequest value)

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Parameters
Name Description
index int
value WriteTensorboardRunDataRequest
Returns
Type Description
WriteTensorboardExperimentDataRequest.Builder

addWriteRunDataRequests(int index, WriteTensorboardRunDataRequest.Builder builderForValue)

public WriteTensorboardExperimentDataRequest.Builder addWriteRunDataRequests(int index, WriteTensorboardRunDataRequest.Builder builderForValue)

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Parameters
Name Description
index int
builderForValue WriteTensorboardRunDataRequest.Builder
Returns
Type Description
WriteTensorboardExperimentDataRequest.Builder

addWriteRunDataRequestsBuilder()

public WriteTensorboardRunDataRequest.Builder addWriteRunDataRequestsBuilder()

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Returns
Type Description
WriteTensorboardRunDataRequest.Builder

addWriteRunDataRequestsBuilder(int index)

public WriteTensorboardRunDataRequest.Builder addWriteRunDataRequestsBuilder(int index)

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Parameter
Name Description
index int
Returns
Type Description
WriteTensorboardRunDataRequest.Builder

build()

public WriteTensorboardExperimentDataRequest build()
Returns
Type Description
WriteTensorboardExperimentDataRequest

buildPartial()

public WriteTensorboardExperimentDataRequest buildPartial()
Returns
Type Description
WriteTensorboardExperimentDataRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTensorboardExperiment()

public WriteTensorboardExperimentDataRequest.Builder clearTensorboardExperiment()

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

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

Returns
Type Description
WriteTensorboardExperimentDataRequest.Builder

This builder for chaining.

clearWriteRunDataRequests()

public WriteTensorboardExperimentDataRequest.Builder clearWriteRunDataRequests()

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Returns
Type Description
WriteTensorboardExperimentDataRequest.Builder

clone()

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

getDefaultInstanceForType()

public WriteTensorboardExperimentDataRequest getDefaultInstanceForType()
Returns
Type Description
WriteTensorboardExperimentDataRequest

getDescriptorForType()

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

getTensorboardExperiment()

public String getTensorboardExperiment()

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

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

Returns
Type Description
String

The tensorboardExperiment.

getTensorboardExperimentBytes()

public ByteString getTensorboardExperimentBytes()

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

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

Returns
Type Description
ByteString

The bytes for tensorboardExperiment.

getWriteRunDataRequests(int index)

public WriteTensorboardRunDataRequest getWriteRunDataRequests(int index)

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Parameter
Name Description
index int
Returns
Type Description
WriteTensorboardRunDataRequest

getWriteRunDataRequestsBuilder(int index)

public WriteTensorboardRunDataRequest.Builder getWriteRunDataRequestsBuilder(int index)

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Parameter
Name Description
index int
Returns
Type Description
WriteTensorboardRunDataRequest.Builder

getWriteRunDataRequestsBuilderList()

public List<WriteTensorboardRunDataRequest.Builder> getWriteRunDataRequestsBuilderList()

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Returns
Type Description
List<Builder>

getWriteRunDataRequestsCount()

public int getWriteRunDataRequestsCount()

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Returns
Type Description
int

getWriteRunDataRequestsList()

public List<WriteTensorboardRunDataRequest> getWriteRunDataRequestsList()

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Returns
Type Description
List<WriteTensorboardRunDataRequest>

getWriteRunDataRequestsOrBuilder(int index)

public WriteTensorboardRunDataRequestOrBuilder getWriteRunDataRequestsOrBuilder(int index)

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Parameter
Name Description
index int
Returns
Type Description
WriteTensorboardRunDataRequestOrBuilder

getWriteRunDataRequestsOrBuilderList()

public List<? extends WriteTensorboardRunDataRequestOrBuilder> getWriteRunDataRequestsOrBuilderList()

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WriteTensorboardExperimentDataRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeWriteRunDataRequests(int index)

public WriteTensorboardExperimentDataRequest.Builder removeWriteRunDataRequests(int index)

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Parameter
Name Description
index int
Returns
Type Description
WriteTensorboardExperimentDataRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTensorboardExperiment(String value)

public WriteTensorboardExperimentDataRequest.Builder setTensorboardExperiment(String value)

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

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

Parameter
Name Description
value String

The tensorboardExperiment to set.

Returns
Type Description
WriteTensorboardExperimentDataRequest.Builder

This builder for chaining.

setTensorboardExperimentBytes(ByteString value)

public WriteTensorboardExperimentDataRequest.Builder setTensorboardExperimentBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for tensorboardExperiment to set.

Returns
Type Description
WriteTensorboardExperimentDataRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setWriteRunDataRequests(int index, WriteTensorboardRunDataRequest value)

public WriteTensorboardExperimentDataRequest.Builder setWriteRunDataRequests(int index, WriteTensorboardRunDataRequest value)

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Parameters
Name Description
index int
value WriteTensorboardRunDataRequest
Returns
Type Description
WriteTensorboardExperimentDataRequest.Builder

setWriteRunDataRequests(int index, WriteTensorboardRunDataRequest.Builder builderForValue)

public WriteTensorboardExperimentDataRequest.Builder setWriteRunDataRequests(int index, WriteTensorboardRunDataRequest.Builder builderForValue)

Required. Requests containing per-run TensorboardTimeSeries data to write.

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

Parameters
Name Description
index int
builderForValue WriteTensorboardRunDataRequest.Builder
Returns
Type Description
WriteTensorboardExperimentDataRequest.Builder