Package com.google.cloud.aiplatform.v1
Class NasJob.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
- com.google.cloud.aiplatform.v1.NasJob.Builder
-
- All Implemented Interfaces:
NasJobOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NasJob
public static final class NasJob.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder> implements NasJobOrBuilder
Represents a Neural Architecture Search (NAS) job.
Protobuf typegoogle.cloud.aiplatform.v1.NasJob
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NasJob.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NasJobbuild()NasJobbuildPartial()NasJob.Builderclear()NasJob.BuilderclearCreateTime()Output only.NasJob.BuilderclearDisplayName()Required.NasJob.BuilderclearEnableRestrictedImageTraining()Deprecated.google.cloud.aiplatform.v1.NasJob.enable_restricted_image_training is deprecated.NasJob.BuilderclearEncryptionSpec()Customer-managed encryption key options for a NasJob.NasJob.BuilderclearEndTime()Output only.NasJob.BuilderclearError()Output only.NasJob.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NasJob.BuilderclearLabels()NasJob.BuilderclearName()Output only.NasJob.BuilderclearNasJobOutput()Output only.NasJob.BuilderclearNasJobSpec()Required.NasJob.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NasJob.BuilderclearStartTime()Output only.NasJob.BuilderclearState()Output only.NasJob.BuilderclearUpdateTime()Output only.NasJob.Builderclone()booleancontainsLabels(String key)The labels with user-defined metadata to organize NasJobs.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.NasJobgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.booleangetEnableRestrictedImageTraining()Deprecated.google.cloud.aiplatform.v1.NasJob.enable_restricted_image_training is deprecated.EncryptionSpecgetEncryptionSpec()Customer-managed encryption key options for a NasJob.EncryptionSpec.BuildergetEncryptionSpecBuilder()Customer-managed encryption key options for a NasJob.EncryptionSpecOrBuildergetEncryptionSpecOrBuilder()Customer-managed encryption key options for a NasJob.com.google.protobuf.TimestampgetEndTime()Output only.com.google.protobuf.Timestamp.BuildergetEndTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()Output only.com.google.rpc.StatusgetError()Output only.com.google.rpc.Status.BuildergetErrorBuilder()Output only.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()The labels with user-defined metadata to organize NasJobs.Map<String,String>getLabelsMap()The labels with user-defined metadata to organize NasJobs.StringgetLabelsOrDefault(String key, String defaultValue)The labels with user-defined metadata to organize NasJobs.StringgetLabelsOrThrow(String key)The labels with user-defined metadata to organize NasJobs.Map<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.NasJobOutputgetNasJobOutput()Output only.NasJobOutput.BuildergetNasJobOutputBuilder()Output only.NasJobOutputOrBuildergetNasJobOutputOrBuilder()Output only.NasJobSpecgetNasJobSpec()Required.NasJobSpec.BuildergetNasJobSpecBuilder()Required.NasJobSpecOrBuildergetNasJobSpecOrBuilder()Required.com.google.protobuf.TimestampgetStartTime()Output only.com.google.protobuf.Timestamp.BuildergetStartTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Output only.JobStategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasEncryptionSpec()Customer-managed encryption key options for a NasJob.booleanhasEndTime()Output only.booleanhasError()Output only.booleanhasNasJobOutput()Output only.booleanhasNasJobSpec()Required.booleanhasStartTime()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()NasJob.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.NasJob.BuildermergeEncryptionSpec(EncryptionSpec value)Customer-managed encryption key options for a NasJob.NasJob.BuildermergeEndTime(com.google.protobuf.Timestamp value)Output only.NasJob.BuildermergeError(com.google.rpc.Status value)Output only.NasJob.BuildermergeFrom(NasJob other)NasJob.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NasJob.BuildermergeFrom(com.google.protobuf.Message other)NasJob.BuildermergeNasJobOutput(NasJobOutput value)Output only.NasJob.BuildermergeNasJobSpec(NasJobSpec value)Required.NasJob.BuildermergeStartTime(com.google.protobuf.Timestamp value)Output only.NasJob.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NasJob.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.NasJob.BuilderputAllLabels(Map<String,String> values)The labels with user-defined metadata to organize NasJobs.NasJob.BuilderputLabels(String key, String value)The labels with user-defined metadata to organize NasJobs.NasJob.BuilderremoveLabels(String key)The labels with user-defined metadata to organize NasJobs.NasJob.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.NasJob.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.NasJob.BuildersetDisplayName(String value)Required.NasJob.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)Required.NasJob.BuildersetEnableRestrictedImageTraining(boolean value)Deprecated.google.cloud.aiplatform.v1.NasJob.enable_restricted_image_training is deprecated.NasJob.BuildersetEncryptionSpec(EncryptionSpec value)Customer-managed encryption key options for a NasJob.NasJob.BuildersetEncryptionSpec(EncryptionSpec.Builder builderForValue)Customer-managed encryption key options for a NasJob.NasJob.BuildersetEndTime(com.google.protobuf.Timestamp value)Output only.NasJob.BuildersetEndTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.NasJob.BuildersetError(com.google.rpc.Status value)Output only.NasJob.BuildersetError(com.google.rpc.Status.Builder builderForValue)Output only.NasJob.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NasJob.BuildersetName(String value)Output only.NasJob.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.NasJob.BuildersetNasJobOutput(NasJobOutput value)Output only.NasJob.BuildersetNasJobOutput(NasJobOutput.Builder builderForValue)Output only.NasJob.BuildersetNasJobSpec(NasJobSpec value)Required.NasJob.BuildersetNasJobSpec(NasJobSpec.Builder builderForValue)Required.NasJob.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)NasJob.BuildersetStartTime(com.google.protobuf.Timestamp value)Output only.NasJob.BuildersetStartTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.NasJob.BuildersetState(JobState value)Output only.NasJob.BuildersetStateValue(int value)Output only.NasJob.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NasJob.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.NasJob.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
clear
public NasJob.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
getDefaultInstanceForType
public NasJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NasJob build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NasJob buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NasJob.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
setField
public NasJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
clearField
public NasJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
clearOneof
public NasJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
setRepeatedField
public NasJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
addRepeatedField
public NasJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
mergeFrom
public NasJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NasJob.Builder>
-
mergeFrom
public NasJob.Builder mergeFrom(NasJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
mergeFrom
public NasJob.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NasJob.Builder>- Throws:
IOException
-
getName
public String getName()
Output only. Resource name of the NasJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceNasJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of the NasJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceNasJobOrBuilder- Returns:
- The bytes for name.
-
setName
public NasJob.Builder setName(String value)
Output only. Resource name of the NasJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public NasJob.Builder clearName()
Output only. Resource name of the NasJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
public NasJob.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Resource name of the NasJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getDisplayNamein interfaceNasJobOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.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];- Specified by:
getDisplayNameBytesin interfaceNasJobOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
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];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setDisplayNameBytes
public NasJob.Builder setDisplayNameBytes(com.google.protobuf.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];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasNasJobSpec
public boolean hasNasJobSpec()
Required. The specification of a NasJob.
.google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasNasJobSpecin interfaceNasJobOrBuilder- Returns:
- Whether the nasJobSpec field is set.
-
getNasJobSpec
public NasJobSpec getNasJobSpec()
Required. The specification of a NasJob.
.google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNasJobSpecin interfaceNasJobOrBuilder- Returns:
- The nasJobSpec.
-
setNasJobSpec
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];
-
setNasJobSpec
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];
-
mergeNasJobSpec
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];
-
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];
-
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];
-
getNasJobSpecOrBuilder
public NasJobSpecOrBuilder getNasJobSpecOrBuilder()
Required. The specification of a NasJob.
.google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNasJobSpecOrBuilderin interfaceNasJobOrBuilder
-
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];- Specified by:
hasNasJobOutputin interfaceNasJobOrBuilder- Returns:
- Whether the nasJobOutput field is set.
-
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];- Specified by:
getNasJobOutputin interfaceNasJobOrBuilder- Returns:
- The nasJobOutput.
-
setNasJobOutput
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];
-
setNasJobOutput
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];
-
mergeNasJobOutput
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];
-
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];
-
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];
-
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];- Specified by:
getNasJobOutputOrBuilderin interfaceNasJobOrBuilder
-
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];- Specified by:
getStateValuein interfaceNasJobOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getStatein interfaceNasJobOrBuilder- Returns:
- The state.
-
setState
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];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Time when the NasJob was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceNasJobOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Time when the NasJob was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceNasJobOrBuilder- Returns:
- The createTime.
-
setCreateTime
public NasJob.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Time when the NasJob was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public NasJob.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time when the NasJob was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public NasJob.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time when the NasJob was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Time when the NasJob was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the NasJob was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceNasJobOrBuilder
-
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];- Specified by:
hasStartTimein interfaceNasJobOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.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];- Specified by:
getStartTimein interfaceNasJobOrBuilder- Returns:
- The startTime.
-
setStartTime
public NasJob.Builder setStartTime(com.google.protobuf.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];
-
setStartTime
public NasJob.Builder setStartTime(com.google.protobuf.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];
-
mergeStartTime
public NasJob.Builder mergeStartTime(com.google.protobuf.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];
-
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];
-
getStartTimeBuilder
public com.google.protobuf.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];
-
getStartTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getStartTimeOrBuilderin interfaceNasJobOrBuilder
-
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];- Specified by:
hasEndTimein interfaceNasJobOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.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];- Specified by:
getEndTimein interfaceNasJobOrBuilder- Returns:
- The endTime.
-
setEndTime
public NasJob.Builder setEndTime(com.google.protobuf.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];
-
setEndTime
public NasJob.Builder setEndTime(com.google.protobuf.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];
-
mergeEndTime
public NasJob.Builder mergeEndTime(com.google.protobuf.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];
-
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];
-
getEndTimeBuilder
public com.google.protobuf.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];
-
getEndTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getEndTimeOrBuilderin interfaceNasJobOrBuilder
-
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];- Specified by:
hasUpdateTimein interfaceNasJobOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Time when the NasJob was most recently updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceNasJobOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public NasJob.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Time when the NasJob was most recently updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public NasJob.Builder setUpdateTime(com.google.protobuf.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];
-
mergeUpdateTime
public NasJob.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Time when the NasJob was most recently updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getUpdateTimeBuilder
public com.google.protobuf.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];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the NasJob was most recently updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceNasJobOrBuilder
-
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];- Specified by:
hasErrorin interfaceNasJobOrBuilder- Returns:
- Whether the error field is set.
-
getError
public com.google.rpc.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];- Specified by:
getErrorin interfaceNasJobOrBuilder- Returns:
- The error.
-
setError
public NasJob.Builder setError(com.google.rpc.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];
-
setError
public NasJob.Builder setError(com.google.rpc.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];
-
mergeError
public NasJob.Builder mergeError(com.google.rpc.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];
-
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];
-
getErrorBuilder
public com.google.rpc.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];
-
getErrorOrBuilder
public com.google.rpc.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];- Specified by:
getErrorOrBuilderin interfaceNasJobOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:NasJobOrBuilderThe 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;- Specified by:
getLabelsCountin interfaceNasJobOrBuilder
-
containsLabels
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;- Specified by:
containsLabelsin interfaceNasJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceNasJobOrBuilder
-
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;- Specified by:
getLabelsMapin interfaceNasJobOrBuilder
-
getLabelsOrDefault
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;- Specified by:
getLabelsOrDefaultin interfaceNasJobOrBuilder
-
getLabelsOrThrow
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;- Specified by:
getLabelsOrThrowin interfaceNasJobOrBuilder
-
clearLabels
public NasJob.Builder clearLabels()
-
removeLabels
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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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;
-
putAllLabels
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;
-
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;- Specified by:
hasEncryptionSpecin interfaceNasJobOrBuilder- Returns:
- Whether the encryptionSpec field is set.
-
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;- Specified by:
getEncryptionSpecin interfaceNasJobOrBuilder- Returns:
- The encryptionSpec.
-
setEncryptionSpec
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;
-
setEncryptionSpec
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;
-
mergeEncryptionSpec
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;
-
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;
-
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;
-
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;- Specified by:
getEncryptionSpecOrBuilderin interfaceNasJobOrBuilder
-
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=97Optional. 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];- Specified by:
getEnableRestrictedImageTrainingin interfaceNasJobOrBuilder- Returns:
- The enableRestrictedImageTraining.
-
setEnableRestrictedImageTraining
@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=97Optional. 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];- Parameters:
value- The enableRestrictedImageTraining to set.- Returns:
- 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=97Optional. 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:
- This builder for chaining.
-
setUnknownFields
public final NasJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
mergeUnknownFields
public final NasJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NasJob.Builder>
-
-