Class NasJobSpec.Builder (3.31.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.v1beta1.NasJobSpec

Implements

NasJobSpecOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NasJobSpec build()
Returns
TypeDescription
NasJobSpec

buildPartial()

public NasJobSpec buildPartial()
Returns
TypeDescription
NasJobSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMultiTrialAlgorithmSpec()

public NasJobSpec.Builder clearMultiTrialAlgorithmSpec()

The spec of multi-trial algorithms.

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

Returns
TypeDescription
NasJobSpec.Builder

clearNasAlgorithmSpec()

public NasJobSpec.Builder clearNasAlgorithmSpec()
Returns
TypeDescription
NasJobSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public NasJobSpec getDefaultInstanceForType()
Returns
TypeDescription
NasJobSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMultiTrialAlgorithmSpec()

public NasJobSpec.MultiTrialAlgorithmSpec getMultiTrialAlgorithmSpec()

The spec of multi-trial algorithms.

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

Returns
TypeDescription
NasJobSpec.MultiTrialAlgorithmSpec

The multiTrialAlgorithmSpec.

getMultiTrialAlgorithmSpecBuilder()

public NasJobSpec.MultiTrialAlgorithmSpec.Builder getMultiTrialAlgorithmSpecBuilder()

The spec of multi-trial algorithms.

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

Returns
TypeDescription
NasJobSpec.MultiTrialAlgorithmSpec.Builder

getMultiTrialAlgorithmSpecOrBuilder()

public NasJobSpec.MultiTrialAlgorithmSpecOrBuilder getMultiTrialAlgorithmSpecOrBuilder()

The spec of multi-trial algorithms.

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

Returns
TypeDescription
NasJobSpec.MultiTrialAlgorithmSpecOrBuilder

getNasAlgorithmSpecCase()

public NasJobSpec.NasAlgorithmSpecCase getNasAlgorithmSpecCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The searchSpaceSpec.

getSearchSpaceSpecBytes()

public ByteString getSearchSpaceSpecBytes()

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

string search_space_spec = 1;

Returns
TypeDescription
ByteString

The bytes for searchSpaceSpec.

hasMultiTrialAlgorithmSpec()

public boolean hasMultiTrialAlgorithmSpec()

The spec of multi-trial algorithms.

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

Returns
TypeDescription
boolean

Whether the multiTrialAlgorithmSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NasJobSpec other)

public NasJobSpec.Builder mergeFrom(NasJobSpec other)
Parameter
NameDescription
otherNasJobSpec
Returns
TypeDescription
NasJobSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMultiTrialAlgorithmSpec(NasJobSpec.MultiTrialAlgorithmSpec value)

public NasJobSpec.Builder mergeMultiTrialAlgorithmSpec(NasJobSpec.MultiTrialAlgorithmSpec value)

The spec of multi-trial algorithms.

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

Parameter
NameDescription
valueNasJobSpec.MultiTrialAlgorithmSpec
Returns
TypeDescription
NasJobSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMultiTrialAlgorithmSpec(NasJobSpec.MultiTrialAlgorithmSpec value)

public NasJobSpec.Builder setMultiTrialAlgorithmSpec(NasJobSpec.MultiTrialAlgorithmSpec value)

The spec of multi-trial algorithms.

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

Parameter
NameDescription
valueNasJobSpec.MultiTrialAlgorithmSpec
Returns
TypeDescription
NasJobSpec.Builder

setMultiTrialAlgorithmSpec(NasJobSpec.MultiTrialAlgorithmSpec.Builder builderForValue)

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

The spec of multi-trial algorithms.

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

Parameter
NameDescription
builderForValueNasJobSpec.MultiTrialAlgorithmSpec.Builder
Returns
TypeDescription
NasJobSpec.Builder

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

public NasJobSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The resumeNasJobId to set.

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

The bytes for resumeNasJobId to set.

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

The searchSpaceSpec to set.

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

The bytes for searchSpaceSpec to set.

Returns
TypeDescription
NasJobSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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