public static final class NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder extends GeneratedMessageV3.Builder<NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder> implements NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpecOrBuilder
Represent spec for train trials.
Protobuf type
google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec
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.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec build()
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec buildPartial()
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder clear()
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder clearFrequency()
Required. Frequency of search trials to start train stage. Top N
[TrainTrialSpec.max_parallel_trial_count]
search trials will be trained for every M
[TrainTrialSpec.frequency] trials searched.
int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED];
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder clearMaxParallelTrialCount()
Required. The maximum number of trials to run in parallel.
int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED];
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder clearTrainTrialJobSpec()
Required. The spec of a train trial job. The same spec applies to
all train trials.
.google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder clone()
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public int getFrequency()
Required. Frequency of search trials to start train stage. Top N
[TrainTrialSpec.max_parallel_trial_count]
search trials will be trained for every M
[TrainTrialSpec.frequency] trials searched.
int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The frequency.
|
public int getMaxParallelTrialCount()
Required. The maximum number of trials to run in parallel.
int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The maxParallelTrialCount.
|
public CustomJobSpec getTrainTrialJobSpec()
Required. The spec of a train trial job. The same spec applies to
all train trials.
.google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public CustomJobSpec.Builder getTrainTrialJobSpecBuilder()
Required. The spec of a train trial job. The same spec applies to
all train trials.
.google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public CustomJobSpecOrBuilder getTrainTrialJobSpecOrBuilder()
Required. The spec of a train trial job. The same spec applies to
all train trials.
.google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public boolean hasTrainTrialJobSpec()
Required. The spec of a train trial job. The same spec applies to
all train trials.
.google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the trainTrialJobSpec field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder mergeFrom(NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec other)
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder mergeTrainTrialJobSpec(CustomJobSpec value)
Required. The spec of a train trial job. The same spec applies to
all train trials.
.google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public final NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder setFrequency(int value)
Required. Frequency of search trials to start train stage. Top N
[TrainTrialSpec.max_parallel_trial_count]
search trials will be trained for every M
[TrainTrialSpec.frequency] trials searched.
int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The frequency to set.
|
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder setMaxParallelTrialCount(int value)
Required. The maximum number of trials to run in parallel.
int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The maxParallelTrialCount to set.
|
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder setTrainTrialJobSpec(CustomJobSpec value)
Required. The spec of a train trial job. The same spec applies to
all train trials.
.google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder setTrainTrialJobSpec(CustomJobSpec.Builder builderForValue)
Required. The spec of a train trial job. The same spec applies to
all train trials.
.google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public final NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides