Class NasJobSpec (3.55.0)

public final class NasJobSpec extends GeneratedMessageV3 implements NasJobSpecOrBuilder

Represents the spec of a NasJob.

Protobuf type google.cloud.aiplatform.v1.NasJobSpec

Implements

NasJobSpecOrBuilder

Static Fields

MULTI_TRIAL_ALGORITHM_SPEC_FIELD_NUMBER

public static final int MULTI_TRIAL_ALGORITHM_SPEC_FIELD_NUMBER
Field Value
Type Description
int

RESUME_NAS_JOB_ID_FIELD_NUMBER

public static final int RESUME_NAS_JOB_ID_FIELD_NUMBER
Field Value
Type Description
int

SEARCH_SPACE_SPEC_FIELD_NUMBER

public static final int SEARCH_SPACE_SPEC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NasJobSpec getDefaultInstance()
Returns
Type Description
NasJobSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NasJobSpec.Builder newBuilder()
Returns
Type Description
NasJobSpec.Builder

newBuilder(NasJobSpec prototype)

public static NasJobSpec.Builder newBuilder(NasJobSpec prototype)
Parameter
Name Description
prototype NasJobSpec
Returns
Type Description
NasJobSpec.Builder

parseDelimitedFrom(InputStream input)

public static NasJobSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NasJobSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NasJobSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NasJobSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NasJobSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NasJobSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NasJobSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NasJobSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NasJobSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NasJobSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NasJobSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NasJobSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NasJobSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NasJobSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NasJobSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NasJobSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NasJobSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NasJobSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NasJobSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NasJobSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NasJobSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NasJobSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NasJobSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NasJobSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NasJobSpec> parser()
Returns
Type Description
Parser<NasJobSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public NasJobSpec getDefaultInstanceForType()
Returns
Type Description
NasJobSpec

getMultiTrialAlgorithmSpec()

public NasJobSpec.MultiTrialAlgorithmSpec getMultiTrialAlgorithmSpec()

The spec of multi-trial algorithms.

.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;

Returns
Type Description
NasJobSpec.MultiTrialAlgorithmSpec

The multiTrialAlgorithmSpec.

getMultiTrialAlgorithmSpecOrBuilder()

public NasJobSpec.MultiTrialAlgorithmSpecOrBuilder getMultiTrialAlgorithmSpecOrBuilder()

The spec of multi-trial algorithms.

.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;

Returns
Type Description
NasJobSpec.MultiTrialAlgorithmSpecOrBuilder

getNasAlgorithmSpecCase()

public NasJobSpec.NasAlgorithmSpecCase getNasAlgorithmSpecCase()
Returns
Type Description
NasJobSpec.NasAlgorithmSpecCase

getParserForType()

public Parser<NasJobSpec> getParserForType()
Returns
Type Description
Parser<NasJobSpec>
Overrides

getResumeNasJobId()

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.

getResumeNasJobIdBytes()

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.

getSearchSpaceSpec()

public String getSearchSpaceSpec()

It defines the search space for Neural Architecture Search (NAS).

string search_space_spec = 1;

Returns
Type Description
String

The searchSpaceSpec.

getSearchSpaceSpecBytes()

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMultiTrialAlgorithmSpec()

public boolean hasMultiTrialAlgorithmSpec()

The spec of multi-trial algorithms.

.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2;

Returns
Type Description
boolean

Whether the multiTrialAlgorithmSpec field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NasJobSpec.Builder newBuilderForType()
Returns
Type Description
NasJobSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NasJobSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NasJobSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NasJobSpec.Builder toBuilder()
Returns
Type Description
NasJobSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException