public static final class CustomJob.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder> implements CustomJobOrBuilder
Represents a job that runs custom workloads such as a Docker container or a Python package. A CustomJob can have multiple worker pools and each worker pool can have its own machine and input spec. A CustomJob will be cleaned up once the job enters terminal state (failed or succeeded).Protobuf type
google.cloud.aiplatform.v1beta1.CustomJob| Modifier and Type | Method and Description |
|---|---|
CustomJob.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CustomJob |
build() |
CustomJob |
buildPartial() |
CustomJob.Builder |
clear() |
CustomJob.Builder |
clearCreateTime()
Output only.
|
CustomJob.Builder |
clearDisplayName()
Required.
|
CustomJob.Builder |
clearEncryptionSpec()
Customer-managed encryption key options for a CustomJob.
|
CustomJob.Builder |
clearEndTime()
Output only.
|
CustomJob.Builder |
clearError()
Output only.
|
CustomJob.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CustomJob.Builder |
clearJobSpec()
Required.
|
CustomJob.Builder |
clearLabels() |
CustomJob.Builder |
clearName()
Output only.
|
CustomJob.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CustomJob.Builder |
clearStartTime()
Output only.
|
CustomJob.Builder |
clearState()
Output only.
|
CustomJob.Builder |
clearUpdateTime()
Output only.
|
CustomJob.Builder |
clearWebAccessUris() |
CustomJob.Builder |
clone() |
boolean |
containsLabels(String key)
The labels with user-defined metadata to organize CustomJobs.
|
boolean |
containsWebAccessUris(String key)
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
CustomJob |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
EncryptionSpec |
getEncryptionSpec()
Customer-managed encryption key options for a CustomJob.
|
EncryptionSpec.Builder |
getEncryptionSpecBuilder()
Customer-managed encryption key options for a CustomJob.
|
EncryptionSpecOrBuilder |
getEncryptionSpecOrBuilder()
Customer-managed encryption key options for a CustomJob.
|
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getEndTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
com.google.rpc.Status |
getError()
Output only.
|
com.google.rpc.Status.Builder |
getErrorBuilder()
Output only.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
Output only.
|
CustomJobSpec |
getJobSpec()
Required.
|
CustomJobSpec.Builder |
getJobSpecBuilder()
Required.
|
CustomJobSpecOrBuilder |
getJobSpecOrBuilder()
Required.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The labels with user-defined metadata to organize CustomJobs.
|
Map<String,String> |
getLabelsMap()
The labels with user-defined metadata to organize CustomJobs.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The labels with user-defined metadata to organize CustomJobs.
|
String |
getLabelsOrThrow(String key)
The labels with user-defined metadata to organize CustomJobs.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
Map<String,String> |
getMutableWebAccessUris()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Timestamp |
getStartTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getStartTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Output only.
|
JobState |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
Map<String,String> |
getWebAccessUris()
Deprecated.
|
int |
getWebAccessUrisCount()
Output only.
|
Map<String,String> |
getWebAccessUrisMap()
Output only.
|
String |
getWebAccessUrisOrDefault(String key,
String defaultValue)
Output only.
|
String |
getWebAccessUrisOrThrow(String key)
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasEncryptionSpec()
Customer-managed encryption key options for a CustomJob.
|
boolean |
hasEndTime()
Output only.
|
boolean |
hasError()
Output only.
|
boolean |
hasJobSpec()
Required.
|
boolean |
hasStartTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
CustomJob.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomJob.Builder |
mergeEncryptionSpec(EncryptionSpec value)
Customer-managed encryption key options for a CustomJob.
|
CustomJob.Builder |
mergeEndTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomJob.Builder |
mergeError(com.google.rpc.Status value)
Output only.
|
CustomJob.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CustomJob.Builder |
mergeFrom(CustomJob other) |
CustomJob.Builder |
mergeFrom(com.google.protobuf.Message other) |
CustomJob.Builder |
mergeJobSpec(CustomJobSpec value)
Required.
|
CustomJob.Builder |
mergeStartTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomJob.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CustomJob.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomJob.Builder |
putAllLabels(Map<String,String> values)
The labels with user-defined metadata to organize CustomJobs.
|
CustomJob.Builder |
putAllWebAccessUris(Map<String,String> values)
Output only.
|
CustomJob.Builder |
putLabels(String key,
String value)
The labels with user-defined metadata to organize CustomJobs.
|
CustomJob.Builder |
putWebAccessUris(String key,
String value)
Output only.
|
CustomJob.Builder |
removeLabels(String key)
The labels with user-defined metadata to organize CustomJobs.
|
CustomJob.Builder |
removeWebAccessUris(String key)
Output only.
|
CustomJob.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CustomJob.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomJob.Builder |
setDisplayName(String value)
Required.
|
CustomJob.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
CustomJob.Builder |
setEncryptionSpec(EncryptionSpec.Builder builderForValue)
Customer-managed encryption key options for a CustomJob.
|
CustomJob.Builder |
setEncryptionSpec(EncryptionSpec value)
Customer-managed encryption key options for a CustomJob.
|
CustomJob.Builder |
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CustomJob.Builder |
setEndTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomJob.Builder |
setError(com.google.rpc.Status.Builder builderForValue)
Output only.
|
CustomJob.Builder |
setError(com.google.rpc.Status value)
Output only.
|
CustomJob.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CustomJob.Builder |
setJobSpec(CustomJobSpec.Builder builderForValue)
Required.
|
CustomJob.Builder |
setJobSpec(CustomJobSpec value)
Required.
|
CustomJob.Builder |
setName(String value)
Output only.
|
CustomJob.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
CustomJob.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CustomJob.Builder |
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CustomJob.Builder |
setStartTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomJob.Builder |
setState(JobState value)
Output only.
|
CustomJob.Builder |
setStateValue(int value)
Output only.
|
CustomJob.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CustomJob.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CustomJob.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder>public CustomJob.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder>public CustomJob getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CustomJob build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CustomJob buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CustomJob.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder>public CustomJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder>public CustomJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder>public CustomJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder>public CustomJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder>public CustomJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder>public CustomJob.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomJob.Builder>public CustomJob.Builder mergeFrom(CustomJob other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder>public CustomJob.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomJob.Builder>IOExceptionpublic String getName()
Output only. Resource name of a CustomJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface CustomJobOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of a CustomJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface CustomJobOrBuilderpublic CustomJob.Builder setName(String value)
Output only. Resource name of a CustomJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public CustomJob.Builder clearName()
Output only. Resource name of a CustomJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public CustomJob.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Resource name of a CustomJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public String getDisplayName()
Required. The display name of the CustomJob. 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];getDisplayName in interface CustomJobOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The display name of the CustomJob. 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];getDisplayNameBytes in interface CustomJobOrBuilderpublic CustomJob.Builder setDisplayName(String value)
Required. The display name of the CustomJob. 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];value - The displayName to set.public CustomJob.Builder clearDisplayName()
Required. The display name of the CustomJob. 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];public CustomJob.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The display name of the CustomJob. 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];value - The bytes for displayName to set.public boolean hasJobSpec()
Required. Job spec.
.google.cloud.aiplatform.v1beta1.CustomJobSpec job_spec = 4 [(.google.api.field_behavior) = REQUIRED];
hasJobSpec in interface CustomJobOrBuilderpublic CustomJobSpec getJobSpec()
Required. Job spec.
.google.cloud.aiplatform.v1beta1.CustomJobSpec job_spec = 4 [(.google.api.field_behavior) = REQUIRED];
getJobSpec in interface CustomJobOrBuilderpublic CustomJob.Builder setJobSpec(CustomJobSpec value)
Required. Job spec.
.google.cloud.aiplatform.v1beta1.CustomJobSpec job_spec = 4 [(.google.api.field_behavior) = REQUIRED];
public CustomJob.Builder setJobSpec(CustomJobSpec.Builder builderForValue)
Required. Job spec.
.google.cloud.aiplatform.v1beta1.CustomJobSpec job_spec = 4 [(.google.api.field_behavior) = REQUIRED];
public CustomJob.Builder mergeJobSpec(CustomJobSpec value)
Required. Job spec.
.google.cloud.aiplatform.v1beta1.CustomJobSpec job_spec = 4 [(.google.api.field_behavior) = REQUIRED];
public CustomJob.Builder clearJobSpec()
Required. Job spec.
.google.cloud.aiplatform.v1beta1.CustomJobSpec job_spec = 4 [(.google.api.field_behavior) = REQUIRED];
public CustomJobSpec.Builder getJobSpecBuilder()
Required. Job spec.
.google.cloud.aiplatform.v1beta1.CustomJobSpec job_spec = 4 [(.google.api.field_behavior) = REQUIRED];
public CustomJobSpecOrBuilder getJobSpecOrBuilder()
Required. Job spec.
.google.cloud.aiplatform.v1beta1.CustomJobSpec job_spec = 4 [(.google.api.field_behavior) = REQUIRED];
getJobSpecOrBuilder in interface CustomJobOrBuilderpublic int getStateValue()
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1beta1.JobState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface CustomJobOrBuilderpublic CustomJob.Builder setStateValue(int value)
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1beta1.JobState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public JobState getState()
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1beta1.JobState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface CustomJobOrBuilderpublic CustomJob.Builder setState(JobState value)
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1beta1.JobState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public CustomJob.Builder clearState()
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1beta1.JobState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasCreateTime()
Output only. Time when the CustomJob was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface CustomJobOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Time when the CustomJob was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface CustomJobOrBuilderpublic CustomJob.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Time when the CustomJob was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomJob.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time when the CustomJob was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomJob.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time when the CustomJob was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomJob.Builder clearCreateTime()
Output only. Time when the CustomJob was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Time when the CustomJob was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the CustomJob was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface CustomJobOrBuilderpublic boolean hasStartTime()
Output only. Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStartTime in interface CustomJobOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Output only. Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTime in interface CustomJobOrBuilderpublic CustomJob.Builder setStartTime(com.google.protobuf.Timestamp value)
Output only. Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomJob.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomJob.Builder mergeStartTime(com.google.protobuf.Timestamp value)
Output only. Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomJob.Builder clearStartTime()
Output only. Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
Output only. Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTimeOrBuilder in interface CustomJobOrBuilderpublic boolean hasEndTime()
Output only. Time when the CustomJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEndTime in interface CustomJobOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Output only. Time when the CustomJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTime in interface CustomJobOrBuilderpublic CustomJob.Builder setEndTime(com.google.protobuf.Timestamp value)
Output only. Time when the CustomJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomJob.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time when the CustomJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomJob.Builder mergeEndTime(com.google.protobuf.Timestamp value)
Output only. Time when the CustomJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomJob.Builder clearEndTime()
Output only. Time when the CustomJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
Output only. Time when the CustomJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. Time when the CustomJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTimeOrBuilder in interface CustomJobOrBuilderpublic boolean hasUpdateTime()
Output only. Time when the CustomJob was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface CustomJobOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Time when the CustomJob was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface CustomJobOrBuilderpublic CustomJob.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Time when the CustomJob was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomJob.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time when the CustomJob was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomJob.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Time when the CustomJob was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomJob.Builder clearUpdateTime()
Output only. Time when the CustomJob was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Time when the CustomJob was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the CustomJob was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface CustomJobOrBuilderpublic boolean hasError()
Output only. Only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
.google.rpc.Status error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];hasError in interface CustomJobOrBuilderpublic 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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];getError in interface CustomJobOrBuilderpublic CustomJob.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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];public CustomJob.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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];public CustomJob.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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];public CustomJob.Builder clearError()
Output only. Only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
.google.rpc.Status error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];getErrorOrBuilder in interface CustomJobOrBuilderpublic int getLabelsCount()
CustomJobOrBuilderThe labels with user-defined metadata to organize CustomJobs. 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 = 11;getLabelsCount in interface CustomJobOrBuilderpublic boolean containsLabels(String key)
The labels with user-defined metadata to organize CustomJobs. 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 = 11;containsLabels in interface CustomJobOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface CustomJobOrBuilderpublic Map<String,String> getLabelsMap()
The labels with user-defined metadata to organize CustomJobs. 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 = 11;getLabelsMap in interface CustomJobOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
The labels with user-defined metadata to organize CustomJobs. 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 = 11;getLabelsOrDefault in interface CustomJobOrBuilderpublic String getLabelsOrThrow(String key)
The labels with user-defined metadata to organize CustomJobs. 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 = 11;getLabelsOrThrow in interface CustomJobOrBuilderpublic CustomJob.Builder clearLabels()
public CustomJob.Builder removeLabels(String key)
The labels with user-defined metadata to organize CustomJobs. 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 = 11;@Deprecated public Map<String,String> getMutableLabels()
public CustomJob.Builder putLabels(String key, String value)
The labels with user-defined metadata to organize CustomJobs. 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 = 11;public CustomJob.Builder putAllLabels(Map<String,String> values)
The labels with user-defined metadata to organize CustomJobs. 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 = 11;public boolean hasEncryptionSpec()
Customer-managed encryption key options for a CustomJob. If this is set, then all resources created by the CustomJob will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 12;hasEncryptionSpec in interface CustomJobOrBuilderpublic EncryptionSpec getEncryptionSpec()
Customer-managed encryption key options for a CustomJob. If this is set, then all resources created by the CustomJob will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 12;getEncryptionSpec in interface CustomJobOrBuilderpublic CustomJob.Builder setEncryptionSpec(EncryptionSpec value)
Customer-managed encryption key options for a CustomJob. If this is set, then all resources created by the CustomJob will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 12;public CustomJob.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)
Customer-managed encryption key options for a CustomJob. If this is set, then all resources created by the CustomJob will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 12;public CustomJob.Builder mergeEncryptionSpec(EncryptionSpec value)
Customer-managed encryption key options for a CustomJob. If this is set, then all resources created by the CustomJob will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 12;public CustomJob.Builder clearEncryptionSpec()
Customer-managed encryption key options for a CustomJob. If this is set, then all resources created by the CustomJob will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 12;public EncryptionSpec.Builder getEncryptionSpecBuilder()
Customer-managed encryption key options for a CustomJob. If this is set, then all resources created by the CustomJob will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 12;public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()
Customer-managed encryption key options for a CustomJob. If this is set, then all resources created by the CustomJob will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 12;getEncryptionSpecOrBuilder in interface CustomJobOrBuilderpublic int getWebAccessUrisCount()
CustomJobOrBuilderOutput only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if [job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access] is `true`. The keys are names of each node in the training job; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.
map<string, string> web_access_uris = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWebAccessUrisCount in interface CustomJobOrBuilderpublic boolean containsWebAccessUris(String key)
Output only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if [job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access] is `true`. The keys are names of each node in the training job; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.
map<string, string> web_access_uris = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
containsWebAccessUris in interface CustomJobOrBuilder@Deprecated public Map<String,String> getWebAccessUris()
getWebAccessUrisMap() instead.getWebAccessUris in interface CustomJobOrBuilderpublic Map<String,String> getWebAccessUrisMap()
Output only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if [job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access] is `true`. The keys are names of each node in the training job; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.
map<string, string> web_access_uris = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWebAccessUrisMap in interface CustomJobOrBuilderpublic String getWebAccessUrisOrDefault(String key, String defaultValue)
Output only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if [job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access] is `true`. The keys are names of each node in the training job; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.
map<string, string> web_access_uris = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWebAccessUrisOrDefault in interface CustomJobOrBuilderpublic String getWebAccessUrisOrThrow(String key)
Output only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if [job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access] is `true`. The keys are names of each node in the training job; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.
map<string, string> web_access_uris = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWebAccessUrisOrThrow in interface CustomJobOrBuilderpublic CustomJob.Builder clearWebAccessUris()
public CustomJob.Builder removeWebAccessUris(String key)
Output only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if [job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access] is `true`. The keys are names of each node in the training job; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.
map<string, string> web_access_uris = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
@Deprecated public Map<String,String> getMutableWebAccessUris()
public CustomJob.Builder putWebAccessUris(String key, String value)
Output only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if [job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access] is `true`. The keys are names of each node in the training job; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.
map<string, string> web_access_uris = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomJob.Builder putAllWebAccessUris(Map<String,String> values)
Output only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if [job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access] is `true`. The keys are names of each node in the training job; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.
map<string, string> web_access_uris = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final CustomJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder>public final CustomJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomJob.Builder>Copyright © 2024 Google LLC. All rights reserved.