Class CreateHyperparameterTuningJobRequest.Builder (3.4.0)

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

Request message for JobService.CreateHyperparameterTuningJob.

Protobuf type google.cloud.aiplatform.v1beta1.CreateHyperparameterTuningJobRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateHyperparameterTuningJobRequest build()
Returns
TypeDescription
CreateHyperparameterTuningJobRequest

buildPartial()

public CreateHyperparameterTuningJobRequest buildPartial()
Returns
TypeDescription
CreateHyperparameterTuningJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHyperparameterTuningJob()

public CreateHyperparameterTuningJobRequest.Builder clearHyperparameterTuningJob()

Required. The HyperparameterTuningJob to create.

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

Returns
TypeDescription
CreateHyperparameterTuningJobRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateHyperparameterTuningJobRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateHyperparameterTuningJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHyperparameterTuningJob()

public HyperparameterTuningJob getHyperparameterTuningJob()

Required. The HyperparameterTuningJob to create.

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

Returns
TypeDescription
HyperparameterTuningJob

The hyperparameterTuningJob.

getHyperparameterTuningJobBuilder()

public HyperparameterTuningJob.Builder getHyperparameterTuningJobBuilder()

Required. The HyperparameterTuningJob to create.

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

Returns
TypeDescription
HyperparameterTuningJob.Builder

getHyperparameterTuningJobOrBuilder()

public HyperparameterTuningJobOrBuilder getHyperparameterTuningJobOrBuilder()

Required. The HyperparameterTuningJob to create.

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

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

The bytes for parent.

hasHyperparameterTuningJob()

public boolean hasHyperparameterTuningJob()

Required. The HyperparameterTuningJob to create.

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

Returns
TypeDescription
boolean

Whether the hyperparameterTuningJob field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateHyperparameterTuningJobRequest other)

public CreateHyperparameterTuningJobRequest.Builder mergeFrom(CreateHyperparameterTuningJobRequest other)
Parameter
NameDescription
otherCreateHyperparameterTuningJobRequest
Returns
TypeDescription
CreateHyperparameterTuningJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateHyperparameterTuningJobRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateHyperparameterTuningJobRequest.Builder
Overrides

mergeHyperparameterTuningJob(HyperparameterTuningJob value)

public CreateHyperparameterTuningJobRequest.Builder mergeHyperparameterTuningJob(HyperparameterTuningJob value)

Required. The HyperparameterTuningJob to create.

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

Parameter
NameDescription
valueHyperparameterTuningJob
Returns
TypeDescription
CreateHyperparameterTuningJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHyperparameterTuningJob(HyperparameterTuningJob value)

public CreateHyperparameterTuningJobRequest.Builder setHyperparameterTuningJob(HyperparameterTuningJob value)

Required. The HyperparameterTuningJob to create.

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

Parameter
NameDescription
valueHyperparameterTuningJob
Returns
TypeDescription
CreateHyperparameterTuningJobRequest.Builder

setHyperparameterTuningJob(HyperparameterTuningJob.Builder builderForValue)

public CreateHyperparameterTuningJobRequest.Builder setHyperparameterTuningJob(HyperparameterTuningJob.Builder builderForValue)

Required. The HyperparameterTuningJob to create.

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

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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