Class CreateTensorboardRunRequest.Builder (3.14.0)

public static final class CreateTensorboardRunRequest.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateTensorboardRunRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateTensorboardRunRequest.Builder
Overrides

build()

public CreateTensorboardRunRequest build()
Returns
TypeDescription
CreateTensorboardRunRequest

buildPartial()

public CreateTensorboardRunRequest buildPartial()
Returns
TypeDescription
CreateTensorboardRunRequest

clear()

public CreateTensorboardRunRequest.Builder clear()
Returns
TypeDescription
CreateTensorboardRunRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateTensorboardRunRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateTensorboardRunRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateTensorboardRunRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CreateTensorboardRunRequest.Builder

This builder for chaining.

clone()

public CreateTensorboardRunRequest.Builder clone()
Returns
TypeDescription
CreateTensorboardRunRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateTensorboardRunRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateTensorboardRunRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TensorboardRunOrBuilder

hasTensorboardRun()

public boolean hasTensorboardRun()

Required. The TensorboardRun to create.

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

Returns
TypeDescription
boolean

Whether the tensorboardRun field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateTensorboardRunRequest other)

public CreateTensorboardRunRequest.Builder mergeFrom(CreateTensorboardRunRequest other)
Parameter
NameDescription
otherCreateTensorboardRunRequest
Returns
TypeDescription
CreateTensorboardRunRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateTensorboardRunRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTensorboardRunRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateTensorboardRunRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTensorboardRun
Returns
TypeDescription
CreateTensorboardRunRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateTensorboardRunRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateTensorboardRunRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateTensorboardRunRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateTensorboardRunRequest.Builder
Overrides

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
NameDescription
valueTensorboardRun
Returns
TypeDescription
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
NameDescription
builderForValueTensorboardRun.Builder
Returns
TypeDescription
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
NameDescription
valueString

The tensorboardRunId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for tensorboardRunId to set.

Returns
TypeDescription
CreateTensorboardRunRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateTensorboardRunRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateTensorboardRunRequest.Builder
Overrides