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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public NasJobSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public NasJobSpec build()
public NasJobSpec buildPartial()
public NasJobSpec.Builder clear()
Overrides
public NasJobSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public NasJobSpec.Builder clearMultiTrialAlgorithmSpec()
The spec of multi-trial algorithms.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;
public NasJobSpec.Builder clearNasAlgorithmSpec()
public NasJobSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
public NasJobSpec.Builder clearSearchSpaceSpec()
It defines the search space for Neural Architecture Search (NAS).
string search_space_spec = 1;
public NasJobSpec.Builder clone()
Overrides
public NasJobSpec getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec getMultiTrialAlgorithmSpec()
The spec of multi-trial algorithms.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;
public NasJobSpec.MultiTrialAlgorithmSpec.Builder getMultiTrialAlgorithmSpecBuilder()
The spec of multi-trial algorithms.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;
public NasJobSpec.MultiTrialAlgorithmSpecOrBuilder getMultiTrialAlgorithmSpecOrBuilder()
The spec of multi-trial algorithms.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;
public NasJobSpec.NasAlgorithmSpecCase getNasAlgorithmSpecCase()
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.
|
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.
|
public String getSearchSpaceSpec()
It defines the search space for Neural Architecture Search (NAS).
string search_space_spec = 1;
Returns |
Type |
Description |
String |
The searchSpaceSpec.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public NasJobSpec.Builder mergeFrom(NasJobSpec other)
public NasJobSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public NasJobSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public NasJobSpec.Builder mergeMultiTrialAlgorithmSpec(NasJobSpec.MultiTrialAlgorithmSpec value)
The spec of multi-trial algorithms.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;
public final NasJobSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public NasJobSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public NasJobSpec.Builder setMultiTrialAlgorithmSpec(NasJobSpec.MultiTrialAlgorithmSpec value)
The spec of multi-trial algorithms.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;
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;
public NasJobSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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.
|
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.
|
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.
|
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.
|
public final NasJobSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides