Class CreateHyperparameterTuningJobRequest.Builder (3.47.0)

public static final class CreateHyperparameterTuningJobRequest.Builder extends GeneratedMessageV3.Builder<CreateHyperparameterTuningJobRequest.Builder> implements CreateHyperparameterTuningJobRequestOrBuilder

Request message for JobService.CreateHyperparameterTuningJob.

Protobuf type google.cloud.aiplatform.v1.CreateHyperparameterTuningJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateHyperparameterTuningJobRequest build()
Returns
Type Description
CreateHyperparameterTuningJobRequest

buildPartial()

public CreateHyperparameterTuningJobRequest buildPartial()
Returns
Type Description
CreateHyperparameterTuningJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHyperparameterTuningJob()

public CreateHyperparameterTuningJobRequest.Builder clearHyperparameterTuningJob()

Required. The HyperparameterTuningJob to create.

.google.cloud.aiplatform.v1.HyperparameterTuningJob hyperparameter_tuning_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateHyperparameterTuningJobRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateHyperparameterTuningJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateHyperparameterTuningJobRequest.Builder
Overrides

clearParent()

public CreateHyperparameterTuningJobRequest.Builder clearParent()

Required. The resource name of the Location to create the HyperparameterTuningJob in. Format: projects/{project}/locations/{location}

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

Returns
Type Description
CreateHyperparameterTuningJobRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateHyperparameterTuningJobRequest getDefaultInstanceForType()
Returns
Type Description
CreateHyperparameterTuningJobRequest

getDescriptorForType()

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

getHyperparameterTuningJob()

public HyperparameterTuningJob getHyperparameterTuningJob()

Required. The HyperparameterTuningJob to create.

.google.cloud.aiplatform.v1.HyperparameterTuningJob hyperparameter_tuning_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HyperparameterTuningJob

The hyperparameterTuningJob.

getHyperparameterTuningJobBuilder()

public HyperparameterTuningJob.Builder getHyperparameterTuningJobBuilder()

Required. The HyperparameterTuningJob to create.

.google.cloud.aiplatform.v1.HyperparameterTuningJob hyperparameter_tuning_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HyperparameterTuningJob.Builder

getHyperparameterTuningJobOrBuilder()

public HyperparameterTuningJobOrBuilder getHyperparameterTuningJobOrBuilder()

Required. The HyperparameterTuningJob to create.

.google.cloud.aiplatform.v1.HyperparameterTuningJob hyperparameter_tuning_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HyperparameterTuningJobOrBuilder

getParent()

public String getParent()

Required. The resource name of the Location to create the HyperparameterTuningJob in. Format: projects/{project}/locations/{location}

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 Location to create the HyperparameterTuningJob in. Format: projects/{project}/locations/{location}

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

Returns
Type Description
ByteString

The bytes for parent.

hasHyperparameterTuningJob()

public boolean hasHyperparameterTuningJob()

Required. The HyperparameterTuningJob to create.

.google.cloud.aiplatform.v1.HyperparameterTuningJob hyperparameter_tuning_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the hyperparameterTuningJob field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateHyperparameterTuningJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeHyperparameterTuningJob(HyperparameterTuningJob value)

public CreateHyperparameterTuningJobRequest.Builder mergeHyperparameterTuningJob(HyperparameterTuningJob value)

Required. The HyperparameterTuningJob to create.

.google.cloud.aiplatform.v1.HyperparameterTuningJob hyperparameter_tuning_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value HyperparameterTuningJob
Returns
Type Description
CreateHyperparameterTuningJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHyperparameterTuningJob(HyperparameterTuningJob value)

public CreateHyperparameterTuningJobRequest.Builder setHyperparameterTuningJob(HyperparameterTuningJob value)

Required. The HyperparameterTuningJob to create.

.google.cloud.aiplatform.v1.HyperparameterTuningJob hyperparameter_tuning_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value HyperparameterTuningJob
Returns
Type Description
CreateHyperparameterTuningJobRequest.Builder

setHyperparameterTuningJob(HyperparameterTuningJob.Builder builderForValue)

public CreateHyperparameterTuningJobRequest.Builder setHyperparameterTuningJob(HyperparameterTuningJob.Builder builderForValue)

Required. The HyperparameterTuningJob to create.

.google.cloud.aiplatform.v1.HyperparameterTuningJob hyperparameter_tuning_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue HyperparameterTuningJob.Builder
Returns
Type Description
CreateHyperparameterTuningJobRequest.Builder

setParent(String value)

public CreateHyperparameterTuningJobRequest.Builder setParent(String value)

Required. The resource name of the Location to create the HyperparameterTuningJob in. Format: projects/{project}/locations/{location}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateHyperparameterTuningJobRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateHyperparameterTuningJobRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location to create the HyperparameterTuningJob in. Format: projects/{project}/locations/{location}

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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