public final class NasJobSpec extends GeneratedMessageV3 implements NasJobSpecOrBuilder
Represents the spec of a NasJob.
Protobuf type google.cloud.aiplatform.v1beta1.NasJobSpec
Static Fields
public static final int MULTI_TRIAL_ALGORITHM_SPEC_FIELD_NUMBER
Field Value
public static final int RESUME_NAS_JOB_ID_FIELD_NUMBER
Field Value
public static final int SEARCH_SPACE_SPEC_FIELD_NUMBER
Field Value
Static Methods
public static NasJobSpec getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static NasJobSpec.Builder newBuilder()
Returns
public static NasJobSpec.Builder newBuilder(NasJobSpec prototype)
Parameter
Returns
public static NasJobSpec parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NasJobSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NasJobSpec parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static NasJobSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NasJobSpec parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static NasJobSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NasJobSpec parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NasJobSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NasJobSpec parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NasJobSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NasJobSpec parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static NasJobSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<NasJobSpec> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public NasJobSpec getDefaultInstanceForType()
Returns
public NasJobSpec.MultiTrialAlgorithmSpec getMultiTrialAlgorithmSpec()
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 Parser<NasJobSpec> getParserForType()
Returns
Overrides
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 int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public NasJobSpec.Builder newBuilderForType()
Returns
protected NasJobSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public NasJobSpec.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions