Class CreateTensorboardExperimentRequest.Builder (3.12.0)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTensorboardExperimentRequest build()
Returns
TypeDescription
CreateTensorboardExperimentRequest

buildPartial()

public CreateTensorboardExperimentRequest buildPartial()
Returns
TypeDescription
CreateTensorboardExperimentRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearTensorboardExperiment()

public CreateTensorboardExperimentRequest.Builder clearTensorboardExperiment()

The TensorboardExperiment to create.

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

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateTensorboardExperimentRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateTensorboardExperimentRequest

getDescriptorForType()

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

The bytes for parent.

getTensorboardExperiment()

public TensorboardExperiment getTensorboardExperiment()

The TensorboardExperiment to create.

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

Returns
TypeDescription
TensorboardExperiment

The tensorboardExperiment.

getTensorboardExperimentBuilder()

public TensorboardExperiment.Builder getTensorboardExperimentBuilder()

The TensorboardExperiment to create.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for tensorboardExperimentId.

getTensorboardExperimentOrBuilder()

public TensorboardExperimentOrBuilder getTensorboardExperimentOrBuilder()

The TensorboardExperiment to create.

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

Returns
TypeDescription
TensorboardExperimentOrBuilder

hasTensorboardExperiment()

public boolean hasTensorboardExperiment()

The TensorboardExperiment to create.

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

Returns
TypeDescription
boolean

Whether the tensorboardExperiment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateTensorboardExperimentRequest other)

public CreateTensorboardExperimentRequest.Builder mergeFrom(CreateTensorboardExperimentRequest other)
Parameter
NameDescription
otherCreateTensorboardExperimentRequest
Returns
TypeDescription
CreateTensorboardExperimentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setTensorboardExperiment(TensorboardExperiment value)

public CreateTensorboardExperimentRequest.Builder setTensorboardExperiment(TensorboardExperiment value)

The TensorboardExperiment to create.

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

Parameter
NameDescription
valueTensorboardExperiment
Returns
TypeDescription
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
NameDescription
builderForValueTensorboardExperiment.Builder
Returns
TypeDescription
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
NameDescription
valueString

The tensorboardExperimentId to set.

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

The bytes for tensorboardExperimentId to set.

Returns
TypeDescription
CreateTensorboardExperimentRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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