Package com.google.cloud.aiplatform.v1
Class PipelineJob.RuntimeConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
- com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.Builder
-
- All Implemented Interfaces:
PipelineJob.RuntimeConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- PipelineJob.RuntimeConfig
public static final class PipelineJob.RuntimeConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder> implements PipelineJob.RuntimeConfigOrBuilder
The runtime config of a PipelineJob.
Protobuf typegoogle.cloud.aiplatform.v1.PipelineJob.RuntimeConfig
-
-
Method Summary
-
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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
clear
public PipelineJob.RuntimeConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
getDefaultInstanceForType
public PipelineJob.RuntimeConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PipelineJob.RuntimeConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PipelineJob.RuntimeConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PipelineJob.RuntimeConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
setField
public PipelineJob.RuntimeConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
clearField
public PipelineJob.RuntimeConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
clearOneof
public PipelineJob.RuntimeConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
setRepeatedField
public PipelineJob.RuntimeConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
addRepeatedField
public PipelineJob.RuntimeConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
mergeFrom
public PipelineJob.RuntimeConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PipelineJob.RuntimeConfig.Builder>
-
mergeFrom
public PipelineJob.RuntimeConfig.Builder mergeFrom(PipelineJob.RuntimeConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
mergeFrom
public PipelineJob.RuntimeConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PipelineJob.RuntimeConfig.Builder>
- Throws:
IOException
-
getParametersCount
@Deprecated public int getParametersCount()
Deprecated.Description copied from interface:PipelineJob.RuntimeConfigOrBuilder
Deprecated. Use [RuntimeConfig.parameter_values][google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.parameter_values] instead. The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.0.0 or lower, such as pipelines built using Kubeflow Pipelines SDK 1.8 or lower.
map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
- Specified by:
getParametersCount
in interfacePipelineJob.RuntimeConfigOrBuilder
-
containsParameters
@Deprecated public boolean containsParameters(String key)
Deprecated.Deprecated. Use [RuntimeConfig.parameter_values][google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.parameter_values] instead. The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.0.0 or lower, such as pipelines built using Kubeflow Pipelines SDK 1.8 or lower.
map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
- Specified by:
containsParameters
in interfacePipelineJob.RuntimeConfigOrBuilder
-
getParameters
@Deprecated public Map<String,Value> getParameters()
Deprecated.UsegetParametersMap()
instead.- Specified by:
getParameters
in interfacePipelineJob.RuntimeConfigOrBuilder
-
getParametersMap
@Deprecated public Map<String,Value> getParametersMap()
Deprecated.Deprecated. Use [RuntimeConfig.parameter_values][google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.parameter_values] instead. The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.0.0 or lower, such as pipelines built using Kubeflow Pipelines SDK 1.8 or lower.
map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
- Specified by:
getParametersMap
in interfacePipelineJob.RuntimeConfigOrBuilder
-
getParametersOrDefault
@Deprecated public Value getParametersOrDefault(String key, Value defaultValue)
Deprecated.Deprecated. Use [RuntimeConfig.parameter_values][google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.parameter_values] instead. The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.0.0 or lower, such as pipelines built using Kubeflow Pipelines SDK 1.8 or lower.
map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
- Specified by:
getParametersOrDefault
in interfacePipelineJob.RuntimeConfigOrBuilder
-
getParametersOrThrow
@Deprecated public Value getParametersOrThrow(String key)
Deprecated.Deprecated. Use [RuntimeConfig.parameter_values][google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.parameter_values] instead. The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.0.0 or lower, such as pipelines built using Kubeflow Pipelines SDK 1.8 or lower.
map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
- Specified by:
getParametersOrThrow
in interfacePipelineJob.RuntimeConfigOrBuilder
-
clearParameters
@Deprecated public PipelineJob.RuntimeConfig.Builder clearParameters()
Deprecated.
-
removeParameters
@Deprecated public PipelineJob.RuntimeConfig.Builder removeParameters(String key)
Deprecated.Deprecated. Use [RuntimeConfig.parameter_values][google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.parameter_values] instead. The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.0.0 or lower, such as pipelines built using Kubeflow Pipelines SDK 1.8 or lower.
map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
-
getMutableParameters
@Deprecated public Map<String,Value> getMutableParameters()
Deprecated.Use alternate mutation accessors instead.
-
putParameters
@Deprecated public PipelineJob.RuntimeConfig.Builder putParameters(String key, Value value)
Deprecated.Deprecated. Use [RuntimeConfig.parameter_values][google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.parameter_values] instead. The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.0.0 or lower, such as pipelines built using Kubeflow Pipelines SDK 1.8 or lower.
map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
-
putAllParameters
@Deprecated public PipelineJob.RuntimeConfig.Builder putAllParameters(Map<String,Value> values)
Deprecated.Deprecated. Use [RuntimeConfig.parameter_values][google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.parameter_values] instead. The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.0.0 or lower, such as pipelines built using Kubeflow Pipelines SDK 1.8 or lower.
map<string, .google.cloud.aiplatform.v1.Value> parameters = 1 [deprecated = true];
-
getGcsOutputDirectory
public String getGcsOutputDirectory()
Required. A path in a Cloud Storage bucket, which will be treated as the root output directory of the pipeline. It is used by the system to generate the paths of output artifacts. The artifact paths are generated with a sub-path pattern `{job_id}/{task_id}/{output_key}` under the specified output directory. The service account specified in this pipeline must have the `storage.objects.get` and `storage.objects.create` permissions for this bucket.
string gcs_output_directory = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getGcsOutputDirectory
in interfacePipelineJob.RuntimeConfigOrBuilder
- Returns:
- The gcsOutputDirectory.
-
getGcsOutputDirectoryBytes
public com.google.protobuf.ByteString getGcsOutputDirectoryBytes()
Required. A path in a Cloud Storage bucket, which will be treated as the root output directory of the pipeline. It is used by the system to generate the paths of output artifacts. The artifact paths are generated with a sub-path pattern `{job_id}/{task_id}/{output_key}` under the specified output directory. The service account specified in this pipeline must have the `storage.objects.get` and `storage.objects.create` permissions for this bucket.
string gcs_output_directory = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getGcsOutputDirectoryBytes
in interfacePipelineJob.RuntimeConfigOrBuilder
- Returns:
- The bytes for gcsOutputDirectory.
-
setGcsOutputDirectory
public PipelineJob.RuntimeConfig.Builder setGcsOutputDirectory(String value)
Required. A path in a Cloud Storage bucket, which will be treated as the root output directory of the pipeline. It is used by the system to generate the paths of output artifacts. The artifact paths are generated with a sub-path pattern `{job_id}/{task_id}/{output_key}` under the specified output directory. The service account specified in this pipeline must have the `storage.objects.get` and `storage.objects.create` permissions for this bucket.
string gcs_output_directory = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The gcsOutputDirectory to set.- Returns:
- This builder for chaining.
-
clearGcsOutputDirectory
public PipelineJob.RuntimeConfig.Builder clearGcsOutputDirectory()
Required. A path in a Cloud Storage bucket, which will be treated as the root output directory of the pipeline. It is used by the system to generate the paths of output artifacts. The artifact paths are generated with a sub-path pattern `{job_id}/{task_id}/{output_key}` under the specified output directory. The service account specified in this pipeline must have the `storage.objects.get` and `storage.objects.create` permissions for this bucket.
string gcs_output_directory = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setGcsOutputDirectoryBytes
public PipelineJob.RuntimeConfig.Builder setGcsOutputDirectoryBytes(com.google.protobuf.ByteString value)
Required. A path in a Cloud Storage bucket, which will be treated as the root output directory of the pipeline. It is used by the system to generate the paths of output artifacts. The artifact paths are generated with a sub-path pattern `{job_id}/{task_id}/{output_key}` under the specified output directory. The service account specified in this pipeline must have the `storage.objects.get` and `storage.objects.create` permissions for this bucket.
string gcs_output_directory = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for gcsOutputDirectory to set.- Returns:
- This builder for chaining.
-
getParameterValuesCount
public int getParameterValuesCount()
Description copied from interface:PipelineJob.RuntimeConfigOrBuilder
The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL.
map<string, .google.protobuf.Value> parameter_values = 3;
- Specified by:
getParameterValuesCount
in interfacePipelineJob.RuntimeConfigOrBuilder
-
containsParameterValues
public boolean containsParameterValues(String key)
The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL.
map<string, .google.protobuf.Value> parameter_values = 3;
- Specified by:
containsParameterValues
in interfacePipelineJob.RuntimeConfigOrBuilder
-
getParameterValues
@Deprecated public Map<String,com.google.protobuf.Value> getParameterValues()
Deprecated.UsegetParameterValuesMap()
instead.- Specified by:
getParameterValues
in interfacePipelineJob.RuntimeConfigOrBuilder
-
getParameterValuesMap
public Map<String,com.google.protobuf.Value> getParameterValuesMap()
The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL.
map<string, .google.protobuf.Value> parameter_values = 3;
- Specified by:
getParameterValuesMap
in interfacePipelineJob.RuntimeConfigOrBuilder
-
getParameterValuesOrDefault
public com.google.protobuf.Value getParameterValuesOrDefault(String key, com.google.protobuf.Value defaultValue)
The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL.
map<string, .google.protobuf.Value> parameter_values = 3;
- Specified by:
getParameterValuesOrDefault
in interfacePipelineJob.RuntimeConfigOrBuilder
-
getParameterValuesOrThrow
public com.google.protobuf.Value getParameterValuesOrThrow(String key)
The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL.
map<string, .google.protobuf.Value> parameter_values = 3;
- Specified by:
getParameterValuesOrThrow
in interfacePipelineJob.RuntimeConfigOrBuilder
-
clearParameterValues
public PipelineJob.RuntimeConfig.Builder clearParameterValues()
-
removeParameterValues
public PipelineJob.RuntimeConfig.Builder removeParameterValues(String key)
The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL.
map<string, .google.protobuf.Value> parameter_values = 3;
-
getMutableParameterValues
@Deprecated public Map<String,com.google.protobuf.Value> getMutableParameterValues()
Deprecated.Use alternate mutation accessors instead.
-
putParameterValues
public PipelineJob.RuntimeConfig.Builder putParameterValues(String key, com.google.protobuf.Value value)
The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL.
map<string, .google.protobuf.Value> parameter_values = 3;
-
putAllParameterValues
public PipelineJob.RuntimeConfig.Builder putAllParameterValues(Map<String,com.google.protobuf.Value> values)
The runtime parameters of the PipelineJob. The parameters will be passed into [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL.
map<string, .google.protobuf.Value> parameter_values = 3;
-
getFailurePolicyValue
public int getFailurePolicyValue()
Represents the failure policy of a pipeline. Currently, the default of a pipeline is that the pipeline will continue to run until no more tasks can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling any new tasks when a task has failed. Any scheduled tasks will continue to completion.
.google.cloud.aiplatform.v1.PipelineFailurePolicy failure_policy = 4;
- Specified by:
getFailurePolicyValue
in interfacePipelineJob.RuntimeConfigOrBuilder
- Returns:
- The enum numeric value on the wire for failurePolicy.
-
setFailurePolicyValue
public PipelineJob.RuntimeConfig.Builder setFailurePolicyValue(int value)
Represents the failure policy of a pipeline. Currently, the default of a pipeline is that the pipeline will continue to run until no more tasks can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling any new tasks when a task has failed. Any scheduled tasks will continue to completion.
.google.cloud.aiplatform.v1.PipelineFailurePolicy failure_policy = 4;
- Parameters:
value
- The enum numeric value on the wire for failurePolicy to set.- Returns:
- This builder for chaining.
-
getFailurePolicy
public PipelineFailurePolicy getFailurePolicy()
Represents the failure policy of a pipeline. Currently, the default of a pipeline is that the pipeline will continue to run until no more tasks can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling any new tasks when a task has failed. Any scheduled tasks will continue to completion.
.google.cloud.aiplatform.v1.PipelineFailurePolicy failure_policy = 4;
- Specified by:
getFailurePolicy
in interfacePipelineJob.RuntimeConfigOrBuilder
- Returns:
- The failurePolicy.
-
setFailurePolicy
public PipelineJob.RuntimeConfig.Builder setFailurePolicy(PipelineFailurePolicy value)
Represents the failure policy of a pipeline. Currently, the default of a pipeline is that the pipeline will continue to run until no more tasks can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling any new tasks when a task has failed. Any scheduled tasks will continue to completion.
.google.cloud.aiplatform.v1.PipelineFailurePolicy failure_policy = 4;
- Parameters:
value
- The failurePolicy to set.- Returns:
- This builder for chaining.
-
clearFailurePolicy
public PipelineJob.RuntimeConfig.Builder clearFailurePolicy()
Represents the failure policy of a pipeline. Currently, the default of a pipeline is that the pipeline will continue to run until no more tasks can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling any new tasks when a task has failed. Any scheduled tasks will continue to completion.
.google.cloud.aiplatform.v1.PipelineFailurePolicy failure_policy = 4;
- Returns:
- This builder for chaining.
-
getInputArtifactsCount
public int getInputArtifactsCount()
Description copied from interface:PipelineJob.RuntimeConfigOrBuilder
The runtime artifacts of the PipelineJob. The key will be the input artifact name and the value would be one of the InputArtifact.
map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5;
- Specified by:
getInputArtifactsCount
in interfacePipelineJob.RuntimeConfigOrBuilder
-
containsInputArtifacts
public boolean containsInputArtifacts(String key)
The runtime artifacts of the PipelineJob. The key will be the input artifact name and the value would be one of the InputArtifact.
map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5;
- Specified by:
containsInputArtifacts
in interfacePipelineJob.RuntimeConfigOrBuilder
-
getInputArtifacts
@Deprecated public Map<String,PipelineJob.RuntimeConfig.InputArtifact> getInputArtifacts()
Deprecated.UsegetInputArtifactsMap()
instead.- Specified by:
getInputArtifacts
in interfacePipelineJob.RuntimeConfigOrBuilder
-
getInputArtifactsMap
public Map<String,PipelineJob.RuntimeConfig.InputArtifact> getInputArtifactsMap()
The runtime artifacts of the PipelineJob. The key will be the input artifact name and the value would be one of the InputArtifact.
map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5;
- Specified by:
getInputArtifactsMap
in interfacePipelineJob.RuntimeConfigOrBuilder
-
getInputArtifactsOrDefault
public PipelineJob.RuntimeConfig.InputArtifact getInputArtifactsOrDefault(String key, PipelineJob.RuntimeConfig.InputArtifact defaultValue)
The runtime artifacts of the PipelineJob. The key will be the input artifact name and the value would be one of the InputArtifact.
map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5;
- Specified by:
getInputArtifactsOrDefault
in interfacePipelineJob.RuntimeConfigOrBuilder
-
getInputArtifactsOrThrow
public PipelineJob.RuntimeConfig.InputArtifact getInputArtifactsOrThrow(String key)
The runtime artifacts of the PipelineJob. The key will be the input artifact name and the value would be one of the InputArtifact.
map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5;
- Specified by:
getInputArtifactsOrThrow
in interfacePipelineJob.RuntimeConfigOrBuilder
-
clearInputArtifacts
public PipelineJob.RuntimeConfig.Builder clearInputArtifacts()
-
removeInputArtifacts
public PipelineJob.RuntimeConfig.Builder removeInputArtifacts(String key)
The runtime artifacts of the PipelineJob. The key will be the input artifact name and the value would be one of the InputArtifact.
map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5;
-
getMutableInputArtifacts
@Deprecated public Map<String,PipelineJob.RuntimeConfig.InputArtifact> getMutableInputArtifacts()
Deprecated.Use alternate mutation accessors instead.
-
putInputArtifacts
public PipelineJob.RuntimeConfig.Builder putInputArtifacts(String key, PipelineJob.RuntimeConfig.InputArtifact value)
The runtime artifacts of the PipelineJob. The key will be the input artifact name and the value would be one of the InputArtifact.
map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5;
-
putAllInputArtifacts
public PipelineJob.RuntimeConfig.Builder putAllInputArtifacts(Map<String,PipelineJob.RuntimeConfig.InputArtifact> values)
The runtime artifacts of the PipelineJob. The key will be the input artifact name and the value would be one of the InputArtifact.
map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5;
-
setUnknownFields
public final PipelineJob.RuntimeConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
mergeUnknownFields
public final PipelineJob.RuntimeConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.Builder>
-
-