Send feedback
Class NasJobSpec.MultiTrialAlgorithmSpec (3.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.52.0 keyboard_arrow_down
public static final class NasJobSpec . MultiTrialAlgorithmSpec extends GeneratedMessageV3 implements NasJobSpec . MultiTrialAlgorithmSpecOrBuilder
The spec of multi-trial Neural Architecture Search (NAS).
Protobuf type google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int METRIC_FIELD_NUMBER
Field Value
Type
Description
int
public static final int MULTI_TRIAL_ALGORITHM_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SEARCH_TRIAL_SPEC_FIELD_NUMBER
Field Value
Type
Description
int
public static final int TRAIN_TRIAL_SPEC_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static NasJobSpec . MultiTrialAlgorithmSpec getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static NasJobSpec . MultiTrialAlgorithmSpec . Builder newBuilder ()
public static NasJobSpec . MultiTrialAlgorithmSpec . Builder newBuilder ( NasJobSpec . MultiTrialAlgorithmSpec prototype )
public static NasJobSpec . MultiTrialAlgorithmSpec parseDelimitedFrom ( InputStream input )
public static NasJobSpec . MultiTrialAlgorithmSpec parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static NasJobSpec . MultiTrialAlgorithmSpec parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static NasJobSpec . MultiTrialAlgorithmSpec parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static NasJobSpec . MultiTrialAlgorithmSpec parseFrom ( ByteString data )
public static NasJobSpec . MultiTrialAlgorithmSpec parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static NasJobSpec . MultiTrialAlgorithmSpec parseFrom ( CodedInputStream input )
public static NasJobSpec . MultiTrialAlgorithmSpec parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static NasJobSpec . MultiTrialAlgorithmSpec parseFrom ( InputStream input )
public static NasJobSpec . MultiTrialAlgorithmSpec parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static NasJobSpec . MultiTrialAlgorithmSpec parseFrom ( ByteBuffer data )
public static NasJobSpec . MultiTrialAlgorithmSpec parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<NasJobSpec . MultiTrialAlgorithmSpec > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public NasJobSpec . MultiTrialAlgorithmSpec getDefaultInstanceForType ()
public NasJobSpec . MultiTrialAlgorithmSpec . MetricSpec getMetric ()
Metric specs for the NAS job.
Validation for this field is done at multi_trial_algorithm_spec
field.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2;
public NasJobSpec . MultiTrialAlgorithmSpec . MetricSpecOrBuilder getMetricOrBuilder ()
Metric specs for the NAS job.
Validation for this field is done at multi_trial_algorithm_spec
field.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2;
public NasJobSpec . MultiTrialAlgorithmSpec . MultiTrialAlgorithm getMultiTrialAlgorithm ()
The multi-trial Neural Architecture Search (NAS) algorithm
type. Defaults to REINFORCEMENT_LEARNING
.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1;
public int getMultiTrialAlgorithmValue ()
The multi-trial Neural Architecture Search (NAS) algorithm
type. Defaults to REINFORCEMENT_LEARNING
.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1;
Returns
Type
Description
int
The enum numeric value on the wire for multiTrialAlgorithm.
public Parser<NasJobSpec . MultiTrialAlgorithmSpec > getParserForType ()
Overrides
public NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec getSearchTrialSpec ()
Required. Spec for search trials.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED];
public NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpecOrBuilder getSearchTrialSpecOrBuilder ()
Required. Spec for search trials.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED];
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public NasJobSpec . MultiTrialAlgorithmSpec . TrainTrialSpec getTrainTrialSpec ()
Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
search trials will be trained for every M
[TrainTrialSpec.frequency] trials searched.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4;
public NasJobSpec . MultiTrialAlgorithmSpec . TrainTrialSpecOrBuilder getTrainTrialSpecOrBuilder ()
Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
search trials will be trained for every M
[TrainTrialSpec.frequency] trials searched.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4;
public boolean hasMetric ()
Metric specs for the NAS job.
Validation for this field is done at multi_trial_algorithm_spec
field.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2;
Returns
Type
Description
boolean
Whether the metric field is set.
public boolean hasSearchTrialSpec ()
Required. Spec for search trials.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the searchTrialSpec field is set.
public boolean hasTrainTrialSpec ()
Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
search trials will be trained for every M
[TrainTrialSpec.frequency] trials searched.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4;
Returns
Type
Description
boolean
Whether the trainTrialSpec field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public NasJobSpec . MultiTrialAlgorithmSpec . Builder newBuilderForType ()
protected NasJobSpec . MultiTrialAlgorithmSpec . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public NasJobSpec . MultiTrialAlgorithmSpec . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]