Class NasJobSpec (3.31.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
TypeDescription
int

RESUME_NAS_JOB_ID_FIELD_NUMBER

public static final int RESUME_NAS_JOB_ID_FIELD_NUMBER
Field Value
TypeDescription
int

SEARCH_SPACE_SPEC_FIELD_NUMBER

public static final int SEARCH_SPACE_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NasJobSpec getDefaultInstance()
Returns
TypeDescription
NasJobSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NasJobSpec.Builder newBuilder()
Returns
TypeDescription
NasJobSpec.Builder

newBuilder(NasJobSpec prototype)

public static NasJobSpec.Builder newBuilder(NasJobSpec prototype)
Parameter
NameDescription
prototypeNasJobSpec
Returns
TypeDescription
NasJobSpec.Builder

parseDelimitedFrom(InputStream input)

public static NasJobSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NasJobSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NasJobSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NasJobSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NasJobSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NasJobSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NasJobSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NasJobSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NasJobSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NasJobSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NasJobSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NasJobSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NasJobSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NasJobSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NasJobSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NasJobSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NasJobSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NasJobSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NasJobSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NasJobSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NasJobSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NasJobSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NasJobSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NasJobSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NasJobSpec> parser()
Returns
TypeDescription
Parser<NasJobSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public NasJobSpec getDefaultInstanceForType()
Returns
TypeDescription
NasJobSpec

getMultiTrialAlgorithmSpec()

public NasJobSpec.MultiTrialAlgorithmSpec getMultiTrialAlgorithmSpec()

The spec of multi-trial algorithms.

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

Returns
TypeDescription
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
TypeDescription
NasJobSpec.MultiTrialAlgorithmSpecOrBuilder

getNasAlgorithmSpecCase()

public NasJobSpec.NasAlgorithmSpecCase getNasAlgorithmSpecCase()
Returns
TypeDescription
NasJobSpec.NasAlgorithmSpecCase

getParserForType()

public Parser<NasJobSpec> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The searchSpaceSpec.

getSearchSpaceSpecBytes()

public ByteString getSearchSpaceSpecBytes()

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

string search_space_spec = 1;

Returns
TypeDescription
ByteString

The bytes for searchSpaceSpec.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasMultiTrialAlgorithmSpec()

public boolean hasMultiTrialAlgorithmSpec()

The spec of multi-trial algorithms.

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

Returns
TypeDescription
boolean

Whether the multiTrialAlgorithmSpec field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NasJobSpec.Builder newBuilderForType()
Returns
TypeDescription
NasJobSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NasJobSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NasJobSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NasJobSpec.Builder toBuilder()
Returns
TypeDescription
NasJobSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException