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