Send feedback
Class NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec (3.45.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.45.0 keyboard_arrow_down
public static final class NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec extends GeneratedMessageV3 implements NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpecOrBuilder
Represent spec for search trials.
Protobuf type
google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec
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 MAX_FAILED_TRIAL_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int MAX_PARALLEL_TRIAL_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int MAX_TRIAL_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SEARCH_TRIAL_JOB_SPEC_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec . Builder newBuilder ()
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec . Builder newBuilder ( NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec prototype )
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec parseDelimitedFrom ( InputStream input )
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec parseFrom ( ByteString data )
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec parseFrom ( CodedInputStream input )
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec parseFrom ( InputStream input )
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec parseFrom ( ByteBuffer data )
public static NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec getDefaultInstanceForType ()
public int getMaxFailedTrialCount ()
The number of failed trials that need to be seen before failing
the NasJob.
If set to 0, Vertex AI decides how many trials must fail
before the whole job fails.
int32 max_failed_trial_count = 4;
Returns
Type
Description
int
The maxFailedTrialCount.
public int getMaxParallelTrialCount ()
Required. The maximum number of trials to run in parallel.
int32 max_parallel_trial_count = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
The maxParallelTrialCount.
public int getMaxTrialCount ()
Required. The maximum number of Neural Architecture Search (NAS) trials
to run.
int32 max_trial_count = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
The maxTrialCount.
public Parser<NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec > getParserForType ()
Overrides
public CustomJobSpec getSearchTrialJobSpec ()
Required. The spec of a search trial job. The same spec applies to
all search trials.
.google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public CustomJobSpecOrBuilder getSearchTrialJobSpecOrBuilder ()
Required. The spec of a search trial job. The same spec applies to
all search trials.
.google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public boolean hasSearchTrialJobSpec ()
Required. The spec of a search trial job. The same spec applies to
all search trials.
.google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the searchTrialJobSpec field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec . Builder newBuilderForType ()
protected NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public NasJobSpec . MultiTrialAlgorithmSpec . SearchTrialSpec . 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."],[],[]]