Class CreateTensorboardExperimentRequest.Builder (3.84.0)

public static final class CreateTensorboardExperimentRequest.Builder extends GeneratedMessage.Builder<CreateTensorboardExperimentRequest.Builder> implements CreateTensorboardExperimentRequestOrBuilder

Request message for TensorboardService.CreateTensorboardExperiment.

Protobuf type google.cloud.aiplatform.v1.CreateTensorboardExperimentRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateTensorboardExperimentRequest build()
Returns
Type Description
CreateTensorboardExperimentRequest

buildPartial()

public CreateTensorboardExperimentRequest buildPartial()
Returns
Type Description
CreateTensorboardExperimentRequest

clear()

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

clearParent()

public CreateTensorboardExperimentRequest.Builder clearParent()

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

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

Returns
Type Description
CreateTensorboardExperimentRequest.Builder

This builder for chaining.

clearTensorboardExperiment()

public CreateTensorboardExperimentRequest.Builder clearTensorboardExperiment()

The TensorboardExperiment to create.

.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;

Returns
Type Description
CreateTensorboardExperimentRequest.Builder

clearTensorboardExperimentId()

public CreateTensorboardExperimentRequest.Builder clearTensorboardExperimentId()

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

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

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

Returns
Type Description
CreateTensorboardExperimentRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateTensorboardExperimentRequest getDefaultInstanceForType()
Returns
Type Description
CreateTensorboardExperimentRequest

getDescriptorForType()

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

getParent()

public String getParent()

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

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 Tensorboard to create the TensorboardExperiment in. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}

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

Returns
Type Description
ByteString

The bytes for parent.

getTensorboardExperiment()

public TensorboardExperiment getTensorboardExperiment()

The TensorboardExperiment to create.

.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;

Returns
Type Description
TensorboardExperiment

The tensorboardExperiment.

getTensorboardExperimentBuilder()

public TensorboardExperiment.Builder getTensorboardExperimentBuilder()

The TensorboardExperiment to create.

.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;

Returns
Type Description
TensorboardExperiment.Builder

getTensorboardExperimentId()

public String getTensorboardExperimentId()

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

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

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

Returns
Type Description
String

The tensorboardExperimentId.

getTensorboardExperimentIdBytes()

public ByteString getTensorboardExperimentIdBytes()

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

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

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

Returns
Type Description
ByteString

The bytes for tensorboardExperimentId.

getTensorboardExperimentOrBuilder()

public TensorboardExperimentOrBuilder getTensorboardExperimentOrBuilder()

The TensorboardExperiment to create.

.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;

Returns
Type Description
TensorboardExperimentOrBuilder

hasTensorboardExperiment()

public boolean hasTensorboardExperiment()

The TensorboardExperiment to create.

.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;

Returns
Type Description
boolean

Whether the tensorboardExperiment field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateTensorboardExperimentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTensorboardExperiment(TensorboardExperiment value)

public CreateTensorboardExperimentRequest.Builder mergeTensorboardExperiment(TensorboardExperiment value)

The TensorboardExperiment to create.

.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;

Parameter
Name Description
value TensorboardExperiment
Returns
Type Description
CreateTensorboardExperimentRequest.Builder

setParent(String value)

public CreateTensorboardExperimentRequest.Builder setParent(String value)

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

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateTensorboardExperimentRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateTensorboardExperimentRequest.Builder setParentBytes(ByteString value)

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

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
CreateTensorboardExperimentRequest.Builder

This builder for chaining.

setTensorboardExperiment(TensorboardExperiment value)

public CreateTensorboardExperimentRequest.Builder setTensorboardExperiment(TensorboardExperiment value)

The TensorboardExperiment to create.

.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;

Parameter
Name Description
value TensorboardExperiment
Returns
Type Description
CreateTensorboardExperimentRequest.Builder

setTensorboardExperiment(TensorboardExperiment.Builder builderForValue)

public CreateTensorboardExperimentRequest.Builder setTensorboardExperiment(TensorboardExperiment.Builder builderForValue)

The TensorboardExperiment to create.

.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;

Parameter
Name Description
builderForValue TensorboardExperiment.Builder
Returns
Type Description
CreateTensorboardExperimentRequest.Builder

setTensorboardExperimentId(String value)

public CreateTensorboardExperimentRequest.Builder setTensorboardExperimentId(String value)

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

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

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

Parameter
Name Description
value String

The tensorboardExperimentId to set.

Returns
Type Description
CreateTensorboardExperimentRequest.Builder

This builder for chaining.

setTensorboardExperimentIdBytes(ByteString value)

public CreateTensorboardExperimentRequest.Builder setTensorboardExperimentIdBytes(ByteString value)

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

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

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

Parameter
Name Description
value ByteString

The bytes for tensorboardExperimentId to set.

Returns
Type Description
CreateTensorboardExperimentRequest.Builder

This builder for chaining.