Class CreateTensorboardExperimentRequest.Builder (3.49.0)

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

Request message for TensorboardService.CreateTensorboardExperiment.

Protobuf type google.cloud.aiplatform.v1beta1.CreateTensorboardExperimentRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateTensorboardExperimentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.v1beta1.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.

clone()

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

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.v1beta1.TensorboardExperiment tensorboard_experiment = 2;

Returns
Type Description
TensorboardExperiment

The tensorboardExperiment.

getTensorboardExperimentBuilder()

public TensorboardExperiment.Builder getTensorboardExperimentBuilder()

The TensorboardExperiment to create.

.google.cloud.aiplatform.v1beta1.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.v1beta1.TensorboardExperiment tensorboard_experiment = 2;

Returns
Type Description
TensorboardExperimentOrBuilder

hasTensorboardExperiment()

public boolean hasTensorboardExperiment()

The TensorboardExperiment to create.

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

Returns
Type Description
boolean

Whether the tensorboardExperiment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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.v1beta1.TensorboardExperiment tensorboard_experiment = 2;

Parameter
Name Description
value TensorboardExperiment
Returns
Type Description
CreateTensorboardExperimentRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setTensorboardExperiment(TensorboardExperiment value)

public CreateTensorboardExperimentRequest.Builder setTensorboardExperiment(TensorboardExperiment value)

The TensorboardExperiment to create.

.google.cloud.aiplatform.v1beta1.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.v1beta1.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.

setUnknownFields(UnknownFieldSet unknownFields)

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