Class NasJob.Builder (3.28.0)

public static final class NasJob.Builder extends GeneratedMessageV3.Builder<NasJob.Builder> implements NasJobOrBuilder

Represents a Neural Architecture Search (NAS) job.

Protobuf type google.cloud.aiplatform.v1.NasJob

Implements

NasJobOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NasJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NasJob.Builder
Overrides

build()

public NasJob build()
Returns
TypeDescription
NasJob

buildPartial()

public NasJob buildPartial()
Returns
TypeDescription
NasJob

clear()

public NasJob.Builder clear()
Returns
TypeDescription
NasJob.Builder
Overrides

clearCreateTime()

public NasJob.Builder clearCreateTime()

Output only. Time when the NasJob was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NasJob.Builder

clearDisplayName()

public NasJob.Builder clearDisplayName()

Required. The display name of the NasJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
NasJob.Builder

This builder for chaining.

clearEnableRestrictedImageTraining() (deprecated)

public NasJob.Builder clearEnableRestrictedImageTraining()

Deprecated. google.cloud.aiplatform.v1.NasJob.enable_restricted_image_training is deprecated. See google/cloud/aiplatform/v1/nas_job.proto;l=97

Optional. Enable a separation of Custom model training and restricted image training for tenant project.

bool enable_restricted_image_training = 14 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
NasJob.Builder

This builder for chaining.

clearEncryptionSpec()

public NasJob.Builder clearEncryptionSpec()

Customer-managed encryption key options for a NasJob. If this is set, then all resources created by the NasJob will be encrypted with the provided encryption key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13;

Returns
TypeDescription
NasJob.Builder

clearEndTime()

public NasJob.Builder clearEndTime()

Output only. Time when the NasJob entered any of the following states: JOB_STATE_SUCCEEDED, JOB_STATE_FAILED, JOB_STATE_CANCELLED.

.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NasJob.Builder

clearError()

public NasJob.Builder clearError()

Output only. Only populated when job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.

.google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NasJob.Builder

clearField(Descriptors.FieldDescriptor field)

public NasJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NasJob.Builder
Overrides

clearLabels()

public NasJob.Builder clearLabels()
Returns
TypeDescription
NasJob.Builder

clearName()

public NasJob.Builder clearName()

Output only. Resource name of the NasJob.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NasJob.Builder

This builder for chaining.

clearNasJobOutput()

public NasJob.Builder clearNasJobOutput()

Output only. Output of the NasJob.

.google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NasJob.Builder

clearNasJobSpec()

public NasJob.Builder clearNasJobSpec()

Required. The specification of a NasJob.

.google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
NasJob.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public NasJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NasJob.Builder
Overrides

clearStartTime()

public NasJob.Builder clearStartTime()

Output only. Time when the NasJob for the first time entered the JOB_STATE_RUNNING state.

.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NasJob.Builder

clearState()

public NasJob.Builder clearState()

Output only. The detailed state of the job.

.google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NasJob.Builder

This builder for chaining.

clearUpdateTime()

public NasJob.Builder clearUpdateTime()

Output only. Time when the NasJob was most recently updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NasJob.Builder

clone()

public NasJob.Builder clone()
Returns
TypeDescription
NasJob.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

The labels with user-defined metadata to organize NasJobs.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 12;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. Time when the NasJob was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time when the NasJob was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when the NasJob was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public NasJob getDefaultInstanceForType()
Returns
TypeDescription
NasJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. The display name of the NasJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The display name of the NasJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for displayName.

getEnableRestrictedImageTraining() (deprecated)

public boolean getEnableRestrictedImageTraining()

Deprecated. google.cloud.aiplatform.v1.NasJob.enable_restricted_image_training is deprecated. See google/cloud/aiplatform/v1/nas_job.proto;l=97

Optional. Enable a separation of Custom model training and restricted image training for tenant project.

bool enable_restricted_image_training = 14 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The enableRestrictedImageTraining.

getEncryptionSpec()

public EncryptionSpec getEncryptionSpec()

Customer-managed encryption key options for a NasJob. If this is set, then all resources created by the NasJob will be encrypted with the provided encryption key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13;

Returns
TypeDescription
EncryptionSpec

The encryptionSpec.

getEncryptionSpecBuilder()

public EncryptionSpec.Builder getEncryptionSpecBuilder()

Customer-managed encryption key options for a NasJob. If this is set, then all resources created by the NasJob will be encrypted with the provided encryption key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13;

Returns
TypeDescription
EncryptionSpec.Builder

getEncryptionSpecOrBuilder()

public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()

Customer-managed encryption key options for a NasJob. If this is set, then all resources created by the NasJob will be encrypted with the provided encryption key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13;

Returns
TypeDescription
EncryptionSpecOrBuilder

getEndTime()

public Timestamp getEndTime()

Output only. Time when the NasJob entered any of the following states: JOB_STATE_SUCCEEDED, JOB_STATE_FAILED, JOB_STATE_CANCELLED.

.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. Time when the NasJob entered any of the following states: JOB_STATE_SUCCEEDED, JOB_STATE_FAILED, JOB_STATE_CANCELLED.

.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. Time when the NasJob entered any of the following states: JOB_STATE_SUCCEEDED, JOB_STATE_FAILED, JOB_STATE_CANCELLED.

.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getError()

public Status getError()

Output only. Only populated when job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.

.google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

Output only. Only populated when job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.

.google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Output only. Only populated when job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.

.google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

The labels with user-defined metadata to organize NasJobs.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 12;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

The labels with user-defined metadata to organize NasJobs.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 12;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

The labels with user-defined metadata to organize NasJobs.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 12;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

The labels with user-defined metadata to organize NasJobs.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 12;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Output only. Resource name of the NasJob.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Resource name of the NasJob.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getNasJobOutput()

public NasJobOutput getNasJobOutput()

Output only. Output of the NasJob.

.google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NasJobOutput

The nasJobOutput.

getNasJobOutputBuilder()

public NasJobOutput.Builder getNasJobOutputBuilder()

Output only. Output of the NasJob.

.google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NasJobOutput.Builder

getNasJobOutputOrBuilder()

public NasJobOutputOrBuilder getNasJobOutputOrBuilder()

Output only. Output of the NasJob.

.google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NasJobOutputOrBuilder

getNasJobSpec()

public NasJobSpec getNasJobSpec()

Required. The specification of a NasJob.

.google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
NasJobSpec

The nasJobSpec.

getNasJobSpecBuilder()

public NasJobSpec.Builder getNasJobSpecBuilder()

Required. The specification of a NasJob.

.google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
NasJobSpec.Builder

getNasJobSpecOrBuilder()

public NasJobSpecOrBuilder getNasJobSpecOrBuilder()

Required. The specification of a NasJob.

.google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
NasJobSpecOrBuilder

getStartTime()

public Timestamp getStartTime()

Output only. Time when the NasJob for the first time entered the JOB_STATE_RUNNING state.

.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. Time when the NasJob for the first time entered the JOB_STATE_RUNNING state.

.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. Time when the NasJob for the first time entered the JOB_STATE_RUNNING state.

.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getState()

public JobState getState()

Output only. The detailed state of the job.

.google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
JobState

The state.

getStateValue()

public int getStateValue()

Output only. The detailed state of the job.

.google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Time when the NasJob was most recently updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Time when the NasJob was most recently updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time when the NasJob was most recently updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Time when the NasJob was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasEncryptionSpec()

public boolean hasEncryptionSpec()

Customer-managed encryption key options for a NasJob. If this is set, then all resources created by the NasJob will be encrypted with the provided encryption key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13;

Returns
TypeDescription
boolean

Whether the encryptionSpec field is set.

hasEndTime()

public boolean hasEndTime()

Output only. Time when the NasJob entered any of the following states: JOB_STATE_SUCCEEDED, JOB_STATE_FAILED, JOB_STATE_CANCELLED.

.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasError()

public boolean hasError()

Output only. Only populated when job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.

.google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the error field is set.

hasNasJobOutput()

public boolean hasNasJobOutput()

Output only. Output of the NasJob.

.google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the nasJobOutput field is set.

hasNasJobSpec()

public boolean hasNasJobSpec()

Required. The specification of a NasJob.

.google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the nasJobSpec field is set.

hasStartTime()

public boolean hasStartTime()

Output only. Time when the NasJob for the first time entered the JOB_STATE_RUNNING state.

.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the startTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Time when the NasJob was most recently updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public NasJob.Builder mergeCreateTime(Timestamp value)

Output only. Time when the NasJob was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
NasJob.Builder

mergeEncryptionSpec(EncryptionSpec value)

public NasJob.Builder mergeEncryptionSpec(EncryptionSpec value)

Customer-managed encryption key options for a NasJob. If this is set, then all resources created by the NasJob will be encrypted with the provided encryption key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13;

Parameter
NameDescription
valueEncryptionSpec
Returns
TypeDescription
NasJob.Builder

mergeEndTime(Timestamp value)

public NasJob.Builder mergeEndTime(Timestamp value)

Output only. Time when the NasJob entered any of the following states: JOB_STATE_SUCCEEDED, JOB_STATE_FAILED, JOB_STATE_CANCELLED.

.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
NasJob.Builder

mergeError(Status value)

public NasJob.Builder mergeError(Status value)

Output only. Only populated when job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.

.google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
NasJob.Builder

mergeFrom(NasJob other)

public NasJob.Builder mergeFrom(NasJob other)
Parameter
NameDescription
otherNasJob
Returns
TypeDescription
NasJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NasJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NasJob.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NasJob.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NasJob.Builder
Overrides

mergeNasJobOutput(NasJobOutput value)

public NasJob.Builder mergeNasJobOutput(NasJobOutput value)

Output only. Output of the NasJob.

.google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueNasJobOutput
Returns
TypeDescription
NasJob.Builder

mergeNasJobSpec(NasJobSpec value)

public NasJob.Builder mergeNasJobSpec(NasJobSpec value)

Required. The specification of a NasJob.

.google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueNasJobSpec
Returns
TypeDescription
NasJob.Builder

mergeStartTime(Timestamp value)

public NasJob.Builder mergeStartTime(Timestamp value)

Output only. Time when the NasJob for the first time entered the JOB_STATE_RUNNING state.

.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
NasJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NasJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NasJob.Builder
Overrides

mergeUpdateTime(Timestamp value)

public NasJob.Builder mergeUpdateTime(Timestamp value)

Output only. Time when the NasJob was most recently updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
NasJob.Builder

putAllLabels(Map<String,String> values)

public NasJob.Builder putAllLabels(Map<String,String> values)

The labels with user-defined metadata to organize NasJobs.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 12;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
NasJob.Builder

putLabels(String key, String value)

public NasJob.Builder putLabels(String key, String value)

The labels with user-defined metadata to organize NasJobs.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 12;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
NasJob.Builder

removeLabels(String key)

public NasJob.Builder removeLabels(String key)

The labels with user-defined metadata to organize NasJobs.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 12;

Parameter
NameDescription
keyString
Returns
TypeDescription
NasJob.Builder

setCreateTime(Timestamp value)

public NasJob.Builder setCreateTime(Timestamp value)

Output only. Time when the NasJob was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
NasJob.Builder

setCreateTime(Timestamp.Builder builderForValue)

public NasJob.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Time when the NasJob was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
NasJob.Builder

setDisplayName(String value)

public NasJob.Builder setDisplayName(String value)

Required. The display name of the NasJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
NasJob.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public NasJob.Builder setDisplayNameBytes(ByteString value)

Required. The display name of the NasJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
NasJob.Builder

This builder for chaining.

setEnableRestrictedImageTraining(boolean value) (deprecated)

public NasJob.Builder setEnableRestrictedImageTraining(boolean value)

Deprecated. google.cloud.aiplatform.v1.NasJob.enable_restricted_image_training is deprecated. See google/cloud/aiplatform/v1/nas_job.proto;l=97

Optional. Enable a separation of Custom model training and restricted image training for tenant project.

bool enable_restricted_image_training = 14 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueboolean

The enableRestrictedImageTraining to set.

Returns
TypeDescription
NasJob.Builder

This builder for chaining.

setEncryptionSpec(EncryptionSpec value)

public NasJob.Builder setEncryptionSpec(EncryptionSpec value)

Customer-managed encryption key options for a NasJob. If this is set, then all resources created by the NasJob will be encrypted with the provided encryption key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13;

Parameter
NameDescription
valueEncryptionSpec
Returns
TypeDescription
NasJob.Builder

setEncryptionSpec(EncryptionSpec.Builder builderForValue)

public NasJob.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)

Customer-managed encryption key options for a NasJob. If this is set, then all resources created by the NasJob will be encrypted with the provided encryption key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13;

Parameter
NameDescription
builderForValueEncryptionSpec.Builder
Returns
TypeDescription
NasJob.Builder

setEndTime(Timestamp value)

public NasJob.Builder setEndTime(Timestamp value)

Output only. Time when the NasJob entered any of the following states: JOB_STATE_SUCCEEDED, JOB_STATE_FAILED, JOB_STATE_CANCELLED.

.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
NasJob.Builder

setEndTime(Timestamp.Builder builderForValue)

public NasJob.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. Time when the NasJob entered any of the following states: JOB_STATE_SUCCEEDED, JOB_STATE_FAILED, JOB_STATE_CANCELLED.

.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
NasJob.Builder

setError(Status value)

public NasJob.Builder setError(Status value)

Output only. Only populated when job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.

.google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
NasJob.Builder

setError(Status.Builder builderForValue)

public NasJob.Builder setError(Status.Builder builderForValue)

Output only. Only populated when job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.

.google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
NasJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NasJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NasJob.Builder
Overrides

setName(String value)

public NasJob.Builder setName(String value)

Output only. Resource name of the NasJob.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
NasJob.Builder

This builder for chaining.

setNameBytes(ByteString value)

public NasJob.Builder setNameBytes(ByteString value)

Output only. Resource name of the NasJob.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
NasJob.Builder

This builder for chaining.

setNasJobOutput(NasJobOutput value)

public NasJob.Builder setNasJobOutput(NasJobOutput value)

Output only. Output of the NasJob.

.google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueNasJobOutput
Returns
TypeDescription
NasJob.Builder

setNasJobOutput(NasJobOutput.Builder builderForValue)

public NasJob.Builder setNasJobOutput(NasJobOutput.Builder builderForValue)

Output only. Output of the NasJob.

.google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueNasJobOutput.Builder
Returns
TypeDescription
NasJob.Builder

setNasJobSpec(NasJobSpec value)

public NasJob.Builder setNasJobSpec(NasJobSpec value)

Required. The specification of a NasJob.

.google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueNasJobSpec
Returns
TypeDescription
NasJob.Builder

setNasJobSpec(NasJobSpec.Builder builderForValue)

public NasJob.Builder setNasJobSpec(NasJobSpec.Builder builderForValue)

Required. The specification of a NasJob.

.google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueNasJobSpec.Builder
Returns
TypeDescription
NasJob.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NasJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NasJob.Builder
Overrides

setStartTime(Timestamp value)

public NasJob.Builder setStartTime(Timestamp value)

Output only. Time when the NasJob for the first time entered the JOB_STATE_RUNNING state.

.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
NasJob.Builder

setStartTime(Timestamp.Builder builderForValue)

public NasJob.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. Time when the NasJob for the first time entered the JOB_STATE_RUNNING state.

.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
NasJob.Builder

setState(JobState value)

public NasJob.Builder setState(JobState value)

Output only. The detailed state of the job.

.google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueJobState

The state to set.

Returns
TypeDescription
NasJob.Builder

This builder for chaining.

setStateValue(int value)

public NasJob.Builder setStateValue(int value)

Output only. The detailed state of the job.

.google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
NasJob.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final NasJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NasJob.Builder
Overrides

setUpdateTime(Timestamp value)

public NasJob.Builder setUpdateTime(Timestamp value)

Output only. Time when the NasJob was most recently updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
NasJob.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public NasJob.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Time when the NasJob was most recently updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
NasJob.Builder