Class NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec (3.29.0)

public static final class NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec extends GeneratedMessageV3 implements NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpecOrBuilder

Represent spec for search trials.

Protobuf type google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec

Static Fields

MAX_FAILED_TRIAL_COUNT_FIELD_NUMBER

public static final int MAX_FAILED_TRIAL_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

MAX_PARALLEL_TRIAL_COUNT_FIELD_NUMBER

public static final int MAX_PARALLEL_TRIAL_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

MAX_TRIAL_COUNT_FIELD_NUMBER

public static final int MAX_TRIAL_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

SEARCH_TRIAL_JOB_SPEC_FIELD_NUMBER

public static final int SEARCH_TRIAL_JOB_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec getDefaultInstance()
Returns
TypeDescription
NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec

getDescriptor()

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

newBuilder()

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

newBuilder(NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec> parser()
Returns
TypeDescription
Parser<SearchTrialSpec>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec getDefaultInstanceForType()
Returns
TypeDescription
NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec

getMaxFailedTrialCount()

public int getMaxFailedTrialCount()

The number of failed trials that need to be seen before failing the NasJob.

If set to 0, Vertex AI decides how many trials must fail before the whole job fails.

int32 max_failed_trial_count = 4;

Returns
TypeDescription
int

The maxFailedTrialCount.

getMaxParallelTrialCount()

public int getMaxParallelTrialCount()

Required. The maximum number of trials to run in parallel.

int32 max_parallel_trial_count = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The maxParallelTrialCount.

getMaxTrialCount()

public int getMaxTrialCount()

Required. The maximum number of Neural Architecture Search (NAS) trials to run.

int32 max_trial_count = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The maxTrialCount.

getParserForType()

public Parser<NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec> getParserForType()
Returns
TypeDescription
Parser<SearchTrialSpec>
Overrides

getSearchTrialJobSpec()

public CustomJobSpec getSearchTrialJobSpec()

Required. The spec of a search trial job. The same spec applies to all search trials.

.google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CustomJobSpec

The searchTrialJobSpec.

getSearchTrialJobSpecOrBuilder()

public CustomJobSpecOrBuilder getSearchTrialJobSpecOrBuilder()

Required. The spec of a search trial job. The same spec applies to all search trials.

.google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CustomJobSpecOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasSearchTrialJobSpec()

public boolean hasSearchTrialJobSpec()

Required. The spec of a search trial job. The same spec applies to all search trials.

.google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the searchTrialJobSpec 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.MultiTrialAlgorithmSpec.SearchTrialSpec.Builder newBuilderForType()
Returns
TypeDescription
NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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