Class CreateTensorboardRunRequest.Builder (3.84.0)

public static final class CreateTensorboardRunRequest.Builder extends GeneratedMessage.Builder<CreateTensorboardRunRequest.Builder> implements CreateTensorboardRunRequestOrBuilder

Request message for TensorboardService.CreateTensorboardRun.

Protobuf type google.cloud.aiplatform.v1beta1.CreateTensorboardRunRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateTensorboardRunRequest build()
Returns
Type Description
CreateTensorboardRunRequest

buildPartial()

public CreateTensorboardRunRequest buildPartial()
Returns
Type Description
CreateTensorboardRunRequest

clear()

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

clearParent()

public CreateTensorboardRunRequest.Builder clearParent()

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

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

Returns
Type Description
CreateTensorboardRunRequest.Builder

This builder for chaining.

clearTensorboardRun()

public CreateTensorboardRunRequest.Builder clearTensorboardRun()

Required. The TensorboardRun to create.

.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateTensorboardRunRequest.Builder

clearTensorboardRunId()

public CreateTensorboardRunRequest.Builder clearTensorboardRunId()

Required. The ID to use for the Tensorboard run, which becomes the final component of the Tensorboard run's resource name.

This value should be 1-128 characters, and valid characters are /a-z-/.

string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateTensorboardRunRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateTensorboardRunRequest getDefaultInstanceForType()
Returns
Type Description
CreateTensorboardRunRequest

getDescriptorForType()

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

getParent()

public String getParent()

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

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

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

Returns
Type Description
ByteString

The bytes for parent.

getTensorboardRun()

public TensorboardRun getTensorboardRun()

Required. The TensorboardRun to create.

.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TensorboardRun

The tensorboardRun.

getTensorboardRunBuilder()

public TensorboardRun.Builder getTensorboardRunBuilder()

Required. The TensorboardRun to create.

.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TensorboardRun.Builder

getTensorboardRunId()

public String getTensorboardRunId()

Required. The ID to use for the Tensorboard run, which becomes the final component of the Tensorboard run's resource name.

This value should be 1-128 characters, and valid characters are /a-z-/.

string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The tensorboardRunId.

getTensorboardRunIdBytes()

public ByteString getTensorboardRunIdBytes()

Required. The ID to use for the Tensorboard run, which becomes the final component of the Tensorboard run's resource name.

This value should be 1-128 characters, and valid characters are /a-z-/.

string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for tensorboardRunId.

getTensorboardRunOrBuilder()

public TensorboardRunOrBuilder getTensorboardRunOrBuilder()

Required. The TensorboardRun to create.

.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TensorboardRunOrBuilder

hasTensorboardRun()

public boolean hasTensorboardRun()

Required. The TensorboardRun to create.

.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the tensorboardRun field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateTensorboardRunRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTensorboardRun(TensorboardRun value)

public CreateTensorboardRunRequest.Builder mergeTensorboardRun(TensorboardRun value)

Required. The TensorboardRun to create.

.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TensorboardRun
Returns
Type Description
CreateTensorboardRunRequest.Builder

setParent(String value)

public CreateTensorboardRunRequest.Builder setParent(String value)

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

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateTensorboardRunRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateTensorboardRunRequest.Builder setParentBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateTensorboardRunRequest.Builder

This builder for chaining.

setTensorboardRun(TensorboardRun value)

public CreateTensorboardRunRequest.Builder setTensorboardRun(TensorboardRun value)

Required. The TensorboardRun to create.

.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TensorboardRun
Returns
Type Description
CreateTensorboardRunRequest.Builder

setTensorboardRun(TensorboardRun.Builder builderForValue)

public CreateTensorboardRunRequest.Builder setTensorboardRun(TensorboardRun.Builder builderForValue)

Required. The TensorboardRun to create.

.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TensorboardRun.Builder
Returns
Type Description
CreateTensorboardRunRequest.Builder

setTensorboardRunId(String value)

public CreateTensorboardRunRequest.Builder setTensorboardRunId(String value)

Required. The ID to use for the Tensorboard run, which becomes the final component of the Tensorboard run's resource name.

This value should be 1-128 characters, and valid characters are /a-z-/.

string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The tensorboardRunId to set.

Returns
Type Description
CreateTensorboardRunRequest.Builder

This builder for chaining.

setTensorboardRunIdBytes(ByteString value)

public CreateTensorboardRunRequest.Builder setTensorboardRunIdBytes(ByteString value)

Required. The ID to use for the Tensorboard run, which becomes the final component of the Tensorboard run's resource name.

This value should be 1-128 characters, and valid characters are /a-z-/.

string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for tensorboardRunId to set.

Returns
Type Description
CreateTensorboardRunRequest.Builder

This builder for chaining.