Class NasJobSpec.Builder (3.54.0)

public static final class NasJobSpec.Builder extends GeneratedMessageV3.Builder<NasJobSpec.Builder> implements NasJobSpecOrBuilder

Represents the spec of a NasJob.

Protobuf type google.cloud.aiplatform.v1.NasJobSpec

Implements

NasJobSpecOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NasJobSpec build()
Returns
Type Description
NasJobSpec

buildPartial()

public NasJobSpec buildPartial()
Returns
Type Description
NasJobSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMultiTrialAlgorithmSpec()

public NasJobSpec.Builder clearMultiTrialAlgorithmSpec()

The spec of multi-trial algorithms.

.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;

Returns
Type Description
NasJobSpec.Builder

clearNasAlgorithmSpec()

public NasJobSpec.Builder clearNasAlgorithmSpec()
Returns
Type Description
NasJobSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResumeNasJobId()

public NasJobSpec.Builder clearResumeNasJobId()

The ID of the existing NasJob in the same Project and Location which will be used to resume search. search_space_spec and nas_algorithm_spec are obtained from previous NasJob hence should not provide them again for this NasJob.

string resume_nas_job_id = 3;

Returns
Type Description
NasJobSpec.Builder

This builder for chaining.

clearSearchSpaceSpec()

public NasJobSpec.Builder clearSearchSpaceSpec()

It defines the search space for Neural Architecture Search (NAS).

string search_space_spec = 1;

Returns
Type Description
NasJobSpec.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public NasJobSpec getDefaultInstanceForType()
Returns
Type Description
NasJobSpec

getDescriptorForType()

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

getMultiTrialAlgorithmSpec()

public NasJobSpec.MultiTrialAlgorithmSpec getMultiTrialAlgorithmSpec()

The spec of multi-trial algorithms.

.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;

Returns
Type Description
NasJobSpec.MultiTrialAlgorithmSpec

The multiTrialAlgorithmSpec.

getMultiTrialAlgorithmSpecBuilder()

public NasJobSpec.MultiTrialAlgorithmSpec.Builder getMultiTrialAlgorithmSpecBuilder()

The spec of multi-trial algorithms.

.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;

Returns
Type Description
NasJobSpec.MultiTrialAlgorithmSpec.Builder

getMultiTrialAlgorithmSpecOrBuilder()

public NasJobSpec.MultiTrialAlgorithmSpecOrBuilder getMultiTrialAlgorithmSpecOrBuilder()

The spec of multi-trial algorithms.

.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;

Returns
Type Description
NasJobSpec.MultiTrialAlgorithmSpecOrBuilder

getNasAlgorithmSpecCase()

public NasJobSpec.NasAlgorithmSpecCase getNasAlgorithmSpecCase()
Returns
Type Description
NasJobSpec.NasAlgorithmSpecCase

getResumeNasJobId()

public String getResumeNasJobId()

The ID of the existing NasJob in the same Project and Location which will be used to resume search. search_space_spec and nas_algorithm_spec are obtained from previous NasJob hence should not provide them again for this NasJob.

string resume_nas_job_id = 3;

Returns
Type Description
String

The resumeNasJobId.

getResumeNasJobIdBytes()

public ByteString getResumeNasJobIdBytes()

The ID of the existing NasJob in the same Project and Location which will be used to resume search. search_space_spec and nas_algorithm_spec are obtained from previous NasJob hence should not provide them again for this NasJob.

string resume_nas_job_id = 3;

Returns
Type Description
ByteString

The bytes for resumeNasJobId.

getSearchSpaceSpec()

public String getSearchSpaceSpec()

It defines the search space for Neural Architecture Search (NAS).

string search_space_spec = 1;

Returns
Type Description
String

The searchSpaceSpec.

getSearchSpaceSpecBytes()

public ByteString getSearchSpaceSpecBytes()

It defines the search space for Neural Architecture Search (NAS).

string search_space_spec = 1;

Returns
Type Description
ByteString

The bytes for searchSpaceSpec.

hasMultiTrialAlgorithmSpec()

public boolean hasMultiTrialAlgorithmSpec()

The spec of multi-trial algorithms.

.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;

Returns
Type Description
boolean

Whether the multiTrialAlgorithmSpec field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NasJobSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMultiTrialAlgorithmSpec(NasJobSpec.MultiTrialAlgorithmSpec value)

public NasJobSpec.Builder mergeMultiTrialAlgorithmSpec(NasJobSpec.MultiTrialAlgorithmSpec value)

The spec of multi-trial algorithms.

.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;

Parameter
Name Description
value NasJobSpec.MultiTrialAlgorithmSpec
Returns
Type Description
NasJobSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMultiTrialAlgorithmSpec(NasJobSpec.MultiTrialAlgorithmSpec value)

public NasJobSpec.Builder setMultiTrialAlgorithmSpec(NasJobSpec.MultiTrialAlgorithmSpec value)

The spec of multi-trial algorithms.

.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;

Parameter
Name Description
value NasJobSpec.MultiTrialAlgorithmSpec
Returns
Type Description
NasJobSpec.Builder

setMultiTrialAlgorithmSpec(NasJobSpec.MultiTrialAlgorithmSpec.Builder builderForValue)

public NasJobSpec.Builder setMultiTrialAlgorithmSpec(NasJobSpec.MultiTrialAlgorithmSpec.Builder builderForValue)

The spec of multi-trial algorithms.

.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;

Parameter
Name Description
builderForValue NasJobSpec.MultiTrialAlgorithmSpec.Builder
Returns
Type Description
NasJobSpec.Builder

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

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

setResumeNasJobId(String value)

public NasJobSpec.Builder setResumeNasJobId(String value)

The ID of the existing NasJob in the same Project and Location which will be used to resume search. search_space_spec and nas_algorithm_spec are obtained from previous NasJob hence should not provide them again for this NasJob.

string resume_nas_job_id = 3;

Parameter
Name Description
value String

The resumeNasJobId to set.

Returns
Type Description
NasJobSpec.Builder

This builder for chaining.

setResumeNasJobIdBytes(ByteString value)

public NasJobSpec.Builder setResumeNasJobIdBytes(ByteString value)

The ID of the existing NasJob in the same Project and Location which will be used to resume search. search_space_spec and nas_algorithm_spec are obtained from previous NasJob hence should not provide them again for this NasJob.

string resume_nas_job_id = 3;

Parameter
Name Description
value ByteString

The bytes for resumeNasJobId to set.

Returns
Type Description
NasJobSpec.Builder

This builder for chaining.

setSearchSpaceSpec(String value)

public NasJobSpec.Builder setSearchSpaceSpec(String value)

It defines the search space for Neural Architecture Search (NAS).

string search_space_spec = 1;

Parameter
Name Description
value String

The searchSpaceSpec to set.

Returns
Type Description
NasJobSpec.Builder

This builder for chaining.

setSearchSpaceSpecBytes(ByteString value)

public NasJobSpec.Builder setSearchSpaceSpecBytes(ByteString value)

It defines the search space for Neural Architecture Search (NAS).

string search_space_spec = 1;

Parameter
Name Description
value ByteString

The bytes for searchSpaceSpec to set.

Returns
Type Description
NasJobSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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