Class CreateTensorboardRunRequest.Builder (3.50.0)

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

Request message for TensorboardService.CreateTensorboardRun.

Protobuf type google.cloud.aiplatform.v1.CreateTensorboardRunRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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.v1.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.v1.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.v1.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.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the tensorboardRun field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TensorboardRun
Returns
Type Description
CreateTensorboardRunRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setTensorboardRun(TensorboardRun value)

public CreateTensorboardRunRequest.Builder setTensorboardRun(TensorboardRun value)

Required. The TensorboardRun to create.

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

setUnknownFields(UnknownFieldSet unknownFields)

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