Class BatchPredictionJob.Builder (3.7.0)

public static final class BatchPredictionJob.Builder extends GeneratedMessageV3.Builder<BatchPredictionJob.Builder> implements BatchPredictionJobOrBuilder

A job that uses a Model to produce predictions on multiple input instances. If predictions for significant portion of the instances fail, the job may finish without attempting predictions for all remaining instances.

Protobuf type google.cloud.aiplatform.v1beta1.BatchPredictionJob

Static Methods

getDescriptor()

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

Methods

addAllModelMonitoringStatsAnomalies(Iterable<? extends ModelMonitoringStatsAnomalies> values)

public BatchPredictionJob.Builder addAllModelMonitoringStatsAnomalies(Iterable<? extends ModelMonitoringStatsAnomalies> values)

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies>
Returns
TypeDescription
BatchPredictionJob.Builder

addAllPartialFailures(Iterable<? extends Status> values)

public BatchPredictionJob.Builder addAllPartialFailures(Iterable<? extends Status> values)

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
BatchPredictionJob.Builder

addModelMonitoringStatsAnomalies(ModelMonitoringStatsAnomalies value)

public BatchPredictionJob.Builder addModelMonitoringStatsAnomalies(ModelMonitoringStatsAnomalies value)

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Parameter
NameDescription
valueModelMonitoringStatsAnomalies
Returns
TypeDescription
BatchPredictionJob.Builder

addModelMonitoringStatsAnomalies(ModelMonitoringStatsAnomalies.Builder builderForValue)

public BatchPredictionJob.Builder addModelMonitoringStatsAnomalies(ModelMonitoringStatsAnomalies.Builder builderForValue)

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Parameter
NameDescription
builderForValueModelMonitoringStatsAnomalies.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

addModelMonitoringStatsAnomalies(int index, ModelMonitoringStatsAnomalies value)

public BatchPredictionJob.Builder addModelMonitoringStatsAnomalies(int index, ModelMonitoringStatsAnomalies value)

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Parameters
NameDescription
indexint
valueModelMonitoringStatsAnomalies
Returns
TypeDescription
BatchPredictionJob.Builder

addModelMonitoringStatsAnomalies(int index, ModelMonitoringStatsAnomalies.Builder builderForValue)

public BatchPredictionJob.Builder addModelMonitoringStatsAnomalies(int index, ModelMonitoringStatsAnomalies.Builder builderForValue)

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Parameters
NameDescription
indexint
builderForValueModelMonitoringStatsAnomalies.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

addModelMonitoringStatsAnomaliesBuilder()

public ModelMonitoringStatsAnomalies.Builder addModelMonitoringStatsAnomaliesBuilder()

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

addModelMonitoringStatsAnomaliesBuilder(int index)

public ModelMonitoringStatsAnomalies.Builder addModelMonitoringStatsAnomaliesBuilder(int index)

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

addPartialFailures(Status value)

public BatchPredictionJob.Builder addPartialFailures(Status value)

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addPartialFailures(Status.Builder builderForValue)

public BatchPredictionJob.Builder addPartialFailures(Status.Builder builderForValue)

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addPartialFailures(int index, Status value)

public BatchPredictionJob.Builder addPartialFailures(int index, Status value)

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
BatchPredictionJob.Builder

addPartialFailures(int index, Status.Builder builderForValue)

public BatchPredictionJob.Builder addPartialFailures(int index, Status.Builder builderForValue)

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

addPartialFailuresBuilder()

public Status.Builder addPartialFailuresBuilder()

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.Status.Builder

addPartialFailuresBuilder(int index)

public Status.Builder addPartialFailuresBuilder(int index)

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchPredictionJob build()
Returns
TypeDescription
BatchPredictionJob

buildPartial()

public BatchPredictionJob buildPartial()
Returns
TypeDescription
BatchPredictionJob

clear()

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

clearCompletionStats()

public BatchPredictionJob.Builder clearCompletionStats()

Output only. Statistics on completed and failed prediction instances.

.google.cloud.aiplatform.v1beta1.CompletionStats completion_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BatchPredictionJob.Builder

clearCreateTime()

public BatchPredictionJob.Builder clearCreateTime()

Output only. Time when the BatchPredictionJob was created.

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

Returns
TypeDescription
BatchPredictionJob.Builder

clearDedicatedResources()

public BatchPredictionJob.Builder clearDedicatedResources()

The config of resources used by the Model during the batch prediction. If the Model supports DEDICATED_RESOURCES this config may be provided (and the job will use these resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config must be provided.

.google.cloud.aiplatform.v1beta1.BatchDedicatedResources dedicated_resources = 7;

Returns
TypeDescription
BatchPredictionJob.Builder

clearDisplayName()

public BatchPredictionJob.Builder clearDisplayName()

Required. The user-defined name of this BatchPredictionJob.

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

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

clearEncryptionSpec()

public BatchPredictionJob.Builder clearEncryptionSpec()

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

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 24;

Returns
TypeDescription
BatchPredictionJob.Builder

clearEndTime()

public BatchPredictionJob.Builder clearEndTime()

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

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

Returns
TypeDescription
BatchPredictionJob.Builder

clearError()

public BatchPredictionJob.Builder clearError()

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

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

Returns
TypeDescription
BatchPredictionJob.Builder

clearExplanationSpec()

public BatchPredictionJob.Builder clearExplanationSpec()

Explanation configuration for this BatchPredictionJob. Can be specified only if generate_explanation is set to true. This value overrides the value of Model.explanation_spec. All fields of explanation_spec are optional in the request. If a field of the explanation_spec object is not populated, the corresponding field of the Model.explanation_spec object is inherited.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 25;

Returns
TypeDescription
BatchPredictionJob.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGenerateExplanation()

public BatchPredictionJob.Builder clearGenerateExplanation()

Generate explanation with the batch prediction results. When set to true, the batch prediction output changes based on the predictions_format field of the BatchPredictionJob.output_config object:

  • bigquery: output includes a column named explanation. The value is a struct that conforms to the Explanation object.
  • jsonl: The JSON objects on each line include an additional entry keyed explanation. The value of the entry is a JSON object that conforms to the Explanation object.
  • csv: Generating explanations for CSV format is not supported. If this field is set to true, either the Model.explanation_spec or explanation_spec must be populated.

bool generate_explanation = 23;

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

clearInputConfig()

public BatchPredictionJob.Builder clearInputConfig()

Required. Input configuration of the instances on which predictions are performed. The schema of any single instance may be specified via the Model's PredictSchemata's instance_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig input_config = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchPredictionJob.Builder

clearInstanceConfig()

public BatchPredictionJob.Builder clearInstanceConfig()

Configuration for how to convert batch prediction input instances to the prediction instances that are sent to the Model.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InstanceConfig instance_config = 27;

Returns
TypeDescription
BatchPredictionJob.Builder

clearLabels()

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

clearManualBatchTuningParameters()

public BatchPredictionJob.Builder clearManualBatchTuningParameters()

Immutable. Parameters configuring the batch behavior. Currently only applicable when dedicated_resources are used (in other cases Vertex AI does the tuning itself).

.google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters manual_batch_tuning_parameters = 8 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
BatchPredictionJob.Builder

clearModel()

public BatchPredictionJob.Builder clearModel()

The name of the Model resource that produces the predictions via this job, must share the same ancestor Location. Starting this job has no impact on any existing deployments of the Model and their resources. Exactly one of model and unmanaged_container_model must be set. The model resource name may contain version id or version alias to specify the version, if no version is specified, the default version will be used.

string model = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

clearModelMonitoringConfig()

public BatchPredictionJob.Builder clearModelMonitoringConfig()

Model monitoring config will be used for analysis model behaviors, based on the input and output to the batch prediction job, as well as the provided training dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringConfig model_monitoring_config = 26;

Returns
TypeDescription
BatchPredictionJob.Builder

clearModelMonitoringStatsAnomalies()

public BatchPredictionJob.Builder clearModelMonitoringStatsAnomalies()

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Returns
TypeDescription
BatchPredictionJob.Builder

clearModelMonitoringStatus()

public BatchPredictionJob.Builder clearModelMonitoringStatus()

Output only. The running status of the model monitoring pipeline.

.google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BatchPredictionJob.Builder

clearModelParameters()

public BatchPredictionJob.Builder clearModelParameters()

The parameters that govern the predictions. The schema of the parameters may be specified via the Model's PredictSchemata's parameters_schema_uri.

.google.protobuf.Value model_parameters = 5;

Returns
TypeDescription
BatchPredictionJob.Builder

clearModelVersionId()

public BatchPredictionJob.Builder clearModelVersionId()

Output only. The version ID of the Model that produces the predictions via this job.

string model_version_id = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

clearName()

public BatchPredictionJob.Builder clearName()

Output only. Resource name of the BatchPredictionJob.

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

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputConfig()

public BatchPredictionJob.Builder clearOutputConfig()

Required. The Configuration specifying where output predictions should be written. The schema of any single prediction may be specified as a concatenation of Model's PredictSchemata's instance_schema_uri and prediction_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig output_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchPredictionJob.Builder

clearOutputInfo()

public BatchPredictionJob.Builder clearOutputInfo()

Output only. Information further describing the output of this job.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputInfo output_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BatchPredictionJob.Builder

clearPartialFailures()

public BatchPredictionJob.Builder clearPartialFailures()

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BatchPredictionJob.Builder

clearResourcesConsumed()

public BatchPredictionJob.Builder clearResourcesConsumed()

Output only. Information about resources that had been consumed by this job. Provided in real time at best effort basis, as well as a final value once the job completes. Note: This field currently may be not populated for batch predictions that use AutoML Models.

.google.cloud.aiplatform.v1beta1.ResourcesConsumed resources_consumed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BatchPredictionJob.Builder

clearServiceAccount()

public BatchPredictionJob.Builder clearServiceAccount()

The service account that the DeployedModel's container runs as. If not specified, a system generated one will be used, which has minimal permissions and the custom container, if used, may not have enough permission to access other GCP resources. Users deploying the Model must have the iam.serviceAccounts.actAs permission on this service account.

string service_account = 29;

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

clearStartTime()

public BatchPredictionJob.Builder clearStartTime()

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

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

Returns
TypeDescription
BatchPredictionJob.Builder

clearState()

public BatchPredictionJob.Builder clearState()

Output only. The detailed state of the job.

.google.cloud.aiplatform.v1beta1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

clearUnmanagedContainerModel()

public BatchPredictionJob.Builder clearUnmanagedContainerModel()

Contains model information necessary to perform batch prediction without requiring uploading to model registry. Exactly one of model and unmanaged_container_model must be set.

.google.cloud.aiplatform.v1beta1.UnmanagedContainerModel unmanaged_container_model = 28;

Returns
TypeDescription
BatchPredictionJob.Builder

clearUpdateTime()

public BatchPredictionJob.Builder clearUpdateTime()

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

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

Returns
TypeDescription
BatchPredictionJob.Builder

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

The labels with user-defined metadata to organize BatchPredictionJobs. 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 = 19;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCompletionStats()

public CompletionStats getCompletionStats()

Output only. Statistics on completed and failed prediction instances.

.google.cloud.aiplatform.v1beta1.CompletionStats completion_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CompletionStats

The completionStats.

getCompletionStatsBuilder()

public CompletionStats.Builder getCompletionStatsBuilder()

Output only. Statistics on completed and failed prediction instances.

.google.cloud.aiplatform.v1beta1.CompletionStats completion_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CompletionStats.Builder

getCompletionStatsOrBuilder()

public CompletionStatsOrBuilder getCompletionStatsOrBuilder()

Output only. Statistics on completed and failed prediction instances.

.google.cloud.aiplatform.v1beta1.CompletionStats completion_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CompletionStatsOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. Time when the BatchPredictionJob was created.

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

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time when the BatchPredictionJob was created.

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

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when the BatchPredictionJob was created.

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

Returns
TypeDescription
TimestampOrBuilder

getDedicatedResources()

public BatchDedicatedResources getDedicatedResources()

The config of resources used by the Model during the batch prediction. If the Model supports DEDICATED_RESOURCES this config may be provided (and the job will use these resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config must be provided.

.google.cloud.aiplatform.v1beta1.BatchDedicatedResources dedicated_resources = 7;

Returns
TypeDescription
BatchDedicatedResources

The dedicatedResources.

getDedicatedResourcesBuilder()

public BatchDedicatedResources.Builder getDedicatedResourcesBuilder()

The config of resources used by the Model during the batch prediction. If the Model supports DEDICATED_RESOURCES this config may be provided (and the job will use these resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config must be provided.

.google.cloud.aiplatform.v1beta1.BatchDedicatedResources dedicated_resources = 7;

Returns
TypeDescription
BatchDedicatedResources.Builder

getDedicatedResourcesOrBuilder()

public BatchDedicatedResourcesOrBuilder getDedicatedResourcesOrBuilder()

The config of resources used by the Model during the batch prediction. If the Model supports DEDICATED_RESOURCES this config may be provided (and the job will use these resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config must be provided.

.google.cloud.aiplatform.v1beta1.BatchDedicatedResources dedicated_resources = 7;

Returns
TypeDescription
BatchDedicatedResourcesOrBuilder

getDefaultInstanceForType()

public BatchPredictionJob getDefaultInstanceForType()
Returns
TypeDescription
BatchPredictionJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. The user-defined name of this BatchPredictionJob.

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

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The user-defined name of this BatchPredictionJob.

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

Returns
TypeDescription
ByteString

The bytes for displayName.

getEncryptionSpec()

public EncryptionSpec getEncryptionSpec()

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

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 24;

Returns
TypeDescription
EncryptionSpec

The encryptionSpec.

getEncryptionSpecBuilder()

public EncryptionSpec.Builder getEncryptionSpecBuilder()

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

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 24;

Returns
TypeDescription
EncryptionSpec.Builder

getEncryptionSpecOrBuilder()

public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()

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

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 24;

Returns
TypeDescription
EncryptionSpecOrBuilder

getEndTime()

public Timestamp getEndTime()

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

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

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

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

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

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

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

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

Returns
TypeDescription
TimestampOrBuilder

getError()

public Status getError()

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

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

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

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

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

Returns
TypeDescription
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

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

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

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getExplanationSpec()

public ExplanationSpec getExplanationSpec()

Explanation configuration for this BatchPredictionJob. Can be specified only if generate_explanation is set to true. This value overrides the value of Model.explanation_spec. All fields of explanation_spec are optional in the request. If a field of the explanation_spec object is not populated, the corresponding field of the Model.explanation_spec object is inherited.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 25;

Returns
TypeDescription
ExplanationSpec

The explanationSpec.

getExplanationSpecBuilder()

public ExplanationSpec.Builder getExplanationSpecBuilder()

Explanation configuration for this BatchPredictionJob. Can be specified only if generate_explanation is set to true. This value overrides the value of Model.explanation_spec. All fields of explanation_spec are optional in the request. If a field of the explanation_spec object is not populated, the corresponding field of the Model.explanation_spec object is inherited.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 25;

Returns
TypeDescription
ExplanationSpec.Builder

getExplanationSpecOrBuilder()

public ExplanationSpecOrBuilder getExplanationSpecOrBuilder()

Explanation configuration for this BatchPredictionJob. Can be specified only if generate_explanation is set to true. This value overrides the value of Model.explanation_spec. All fields of explanation_spec are optional in the request. If a field of the explanation_spec object is not populated, the corresponding field of the Model.explanation_spec object is inherited.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 25;

Returns
TypeDescription
ExplanationSpecOrBuilder

getGenerateExplanation()

public boolean getGenerateExplanation()

Generate explanation with the batch prediction results. When set to true, the batch prediction output changes based on the predictions_format field of the BatchPredictionJob.output_config object:

  • bigquery: output includes a column named explanation. The value is a struct that conforms to the Explanation object.
  • jsonl: The JSON objects on each line include an additional entry keyed explanation. The value of the entry is a JSON object that conforms to the Explanation object.
  • csv: Generating explanations for CSV format is not supported. If this field is set to true, either the Model.explanation_spec or explanation_spec must be populated.

bool generate_explanation = 23;

Returns
TypeDescription
boolean

The generateExplanation.

getInputConfig()

public BatchPredictionJob.InputConfig getInputConfig()

Required. Input configuration of the instances on which predictions are performed. The schema of any single instance may be specified via the Model's PredictSchemata's instance_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig input_config = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchPredictionJob.InputConfig

The inputConfig.

getInputConfigBuilder()

public BatchPredictionJob.InputConfig.Builder getInputConfigBuilder()

Required. Input configuration of the instances on which predictions are performed. The schema of any single instance may be specified via the Model's PredictSchemata's instance_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig input_config = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchPredictionJob.InputConfig.Builder

getInputConfigOrBuilder()

public BatchPredictionJob.InputConfigOrBuilder getInputConfigOrBuilder()

Required. Input configuration of the instances on which predictions are performed. The schema of any single instance may be specified via the Model's PredictSchemata's instance_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig input_config = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchPredictionJob.InputConfigOrBuilder

getInstanceConfig()

public BatchPredictionJob.InstanceConfig getInstanceConfig()

Configuration for how to convert batch prediction input instances to the prediction instances that are sent to the Model.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InstanceConfig instance_config = 27;

Returns
TypeDescription
BatchPredictionJob.InstanceConfig

The instanceConfig.

getInstanceConfigBuilder()

public BatchPredictionJob.InstanceConfig.Builder getInstanceConfigBuilder()

Configuration for how to convert batch prediction input instances to the prediction instances that are sent to the Model.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InstanceConfig instance_config = 27;

Returns
TypeDescription
BatchPredictionJob.InstanceConfig.Builder

getInstanceConfigOrBuilder()

public BatchPredictionJob.InstanceConfigOrBuilder getInstanceConfigOrBuilder()

Configuration for how to convert batch prediction input instances to the prediction instances that are sent to the Model.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InstanceConfig instance_config = 27;

Returns
TypeDescription
BatchPredictionJob.InstanceConfigOrBuilder

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

The labels with user-defined metadata to organize BatchPredictionJobs. 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 = 19;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

The labels with user-defined metadata to organize BatchPredictionJobs. 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 = 19;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

The labels with user-defined metadata to organize BatchPredictionJobs. 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 = 19;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

The labels with user-defined metadata to organize BatchPredictionJobs. 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 = 19;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getManualBatchTuningParameters()

public ManualBatchTuningParameters getManualBatchTuningParameters()

Immutable. Parameters configuring the batch behavior. Currently only applicable when dedicated_resources are used (in other cases Vertex AI does the tuning itself).

.google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters manual_batch_tuning_parameters = 8 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ManualBatchTuningParameters

The manualBatchTuningParameters.

getManualBatchTuningParametersBuilder()

public ManualBatchTuningParameters.Builder getManualBatchTuningParametersBuilder()

Immutable. Parameters configuring the batch behavior. Currently only applicable when dedicated_resources are used (in other cases Vertex AI does the tuning itself).

.google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters manual_batch_tuning_parameters = 8 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ManualBatchTuningParameters.Builder

getManualBatchTuningParametersOrBuilder()

public ManualBatchTuningParametersOrBuilder getManualBatchTuningParametersOrBuilder()

Immutable. Parameters configuring the batch behavior. Currently only applicable when dedicated_resources are used (in other cases Vertex AI does the tuning itself).

.google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters manual_batch_tuning_parameters = 8 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ManualBatchTuningParametersOrBuilder

getModel()

public String getModel()

The name of the Model resource that produces the predictions via this job, must share the same ancestor Location. Starting this job has no impact on any existing deployments of the Model and their resources. Exactly one of model and unmanaged_container_model must be set. The model resource name may contain version id or version alias to specify the version, if no version is specified, the default version will be used.

string model = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The model.

getModelBytes()

public ByteString getModelBytes()

The name of the Model resource that produces the predictions via this job, must share the same ancestor Location. Starting this job has no impact on any existing deployments of the Model and their resources. Exactly one of model and unmanaged_container_model must be set. The model resource name may contain version id or version alias to specify the version, if no version is specified, the default version will be used.

string model = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for model.

getModelMonitoringConfig()

public ModelMonitoringConfig getModelMonitoringConfig()

Model monitoring config will be used for analysis model behaviors, based on the input and output to the batch prediction job, as well as the provided training dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringConfig model_monitoring_config = 26;

Returns
TypeDescription
ModelMonitoringConfig

The modelMonitoringConfig.

getModelMonitoringConfigBuilder()

public ModelMonitoringConfig.Builder getModelMonitoringConfigBuilder()

Model monitoring config will be used for analysis model behaviors, based on the input and output to the batch prediction job, as well as the provided training dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringConfig model_monitoring_config = 26;

Returns
TypeDescription
ModelMonitoringConfig.Builder

getModelMonitoringConfigOrBuilder()

public ModelMonitoringConfigOrBuilder getModelMonitoringConfigOrBuilder()

Model monitoring config will be used for analysis model behaviors, based on the input and output to the batch prediction job, as well as the provided training dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringConfig model_monitoring_config = 26;

Returns
TypeDescription
ModelMonitoringConfigOrBuilder

getModelMonitoringStatsAnomalies(int index)

public ModelMonitoringStatsAnomalies getModelMonitoringStatsAnomalies(int index)

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelMonitoringStatsAnomalies

getModelMonitoringStatsAnomaliesBuilder(int index)

public ModelMonitoringStatsAnomalies.Builder getModelMonitoringStatsAnomaliesBuilder(int index)

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

getModelMonitoringStatsAnomaliesBuilderList()

public List<ModelMonitoringStatsAnomalies.Builder> getModelMonitoringStatsAnomaliesBuilderList()

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Returns
TypeDescription
List<Builder>

getModelMonitoringStatsAnomaliesCount()

public int getModelMonitoringStatsAnomaliesCount()

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Returns
TypeDescription
int

getModelMonitoringStatsAnomaliesList()

public List<ModelMonitoringStatsAnomalies> getModelMonitoringStatsAnomaliesList()

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Returns
TypeDescription
List<ModelMonitoringStatsAnomalies>

getModelMonitoringStatsAnomaliesOrBuilder(int index)

public ModelMonitoringStatsAnomaliesOrBuilder getModelMonitoringStatsAnomaliesOrBuilder(int index)

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelMonitoringStatsAnomaliesOrBuilder

getModelMonitoringStatsAnomaliesOrBuilderList()

public List<? extends ModelMonitoringStatsAnomaliesOrBuilder> getModelMonitoringStatsAnomaliesOrBuilderList()

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomaliesOrBuilder>

getModelMonitoringStatus()

public Status getModelMonitoringStatus()

Output only. The running status of the model monitoring pipeline.

.google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.Status

The modelMonitoringStatus.

getModelMonitoringStatusBuilder()

public Status.Builder getModelMonitoringStatusBuilder()

Output only. The running status of the model monitoring pipeline.

.google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.Status.Builder

getModelMonitoringStatusOrBuilder()

public StatusOrBuilder getModelMonitoringStatusOrBuilder()

Output only. The running status of the model monitoring pipeline.

.google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getModelParameters()

public Value getModelParameters()

The parameters that govern the predictions. The schema of the parameters may be specified via the Model's PredictSchemata's parameters_schema_uri.

.google.protobuf.Value model_parameters = 5;

Returns
TypeDescription
Value

The modelParameters.

getModelParametersBuilder()

public Value.Builder getModelParametersBuilder()

The parameters that govern the predictions. The schema of the parameters may be specified via the Model's PredictSchemata's parameters_schema_uri.

.google.protobuf.Value model_parameters = 5;

Returns
TypeDescription
Builder

getModelParametersOrBuilder()

public ValueOrBuilder getModelParametersOrBuilder()

The parameters that govern the predictions. The schema of the parameters may be specified via the Model's PredictSchemata's parameters_schema_uri.

.google.protobuf.Value model_parameters = 5;

Returns
TypeDescription
ValueOrBuilder

getModelVersionId()

public String getModelVersionId()

Output only. The version ID of the Model that produces the predictions via this job.

string model_version_id = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The modelVersionId.

getModelVersionIdBytes()

public ByteString getModelVersionIdBytes()

Output only. The version ID of the Model that produces the predictions via this job.

string model_version_id = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for modelVersionId.

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Output only. Resource name of the BatchPredictionJob.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Resource name of the BatchPredictionJob.

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

Returns
TypeDescription
ByteString

The bytes for name.

getOutputConfig()

public BatchPredictionJob.OutputConfig getOutputConfig()

Required. The Configuration specifying where output predictions should be written. The schema of any single prediction may be specified as a concatenation of Model's PredictSchemata's instance_schema_uri and prediction_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig output_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchPredictionJob.OutputConfig

The outputConfig.

getOutputConfigBuilder()

public BatchPredictionJob.OutputConfig.Builder getOutputConfigBuilder()

Required. The Configuration specifying where output predictions should be written. The schema of any single prediction may be specified as a concatenation of Model's PredictSchemata's instance_schema_uri and prediction_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig output_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchPredictionJob.OutputConfig.Builder

getOutputConfigOrBuilder()

public BatchPredictionJob.OutputConfigOrBuilder getOutputConfigOrBuilder()

Required. The Configuration specifying where output predictions should be written. The schema of any single prediction may be specified as a concatenation of Model's PredictSchemata's instance_schema_uri and prediction_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig output_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchPredictionJob.OutputConfigOrBuilder

getOutputInfo()

public BatchPredictionJob.OutputInfo getOutputInfo()

Output only. Information further describing the output of this job.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputInfo output_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BatchPredictionJob.OutputInfo

The outputInfo.

getOutputInfoBuilder()

public BatchPredictionJob.OutputInfo.Builder getOutputInfoBuilder()

Output only. Information further describing the output of this job.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputInfo output_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BatchPredictionJob.OutputInfo.Builder

getOutputInfoOrBuilder()

public BatchPredictionJob.OutputInfoOrBuilder getOutputInfoOrBuilder()

Output only. Information further describing the output of this job.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputInfo output_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BatchPredictionJob.OutputInfoOrBuilder

getPartialFailures(int index)

public Status getPartialFailures(int index)

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status

getPartialFailuresBuilder(int index)

public Status.Builder getPartialFailuresBuilder(int index)

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

getPartialFailuresBuilderList()

public List<Status.Builder> getPartialFailuresBuilderList()

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<com.google.rpc.Status.Builder>

getPartialFailuresCount()

public int getPartialFailuresCount()

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getPartialFailuresList()

public List<Status> getPartialFailuresList()

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<com.google.rpc.Status>

getPartialFailuresOrBuilder(int index)

public StatusOrBuilder getPartialFailuresOrBuilder(int index)

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getPartialFailuresOrBuilderList()

public List<? extends StatusOrBuilder> getPartialFailuresOrBuilderList()

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

getResourcesConsumed()

public ResourcesConsumed getResourcesConsumed()

Output only. Information about resources that had been consumed by this job. Provided in real time at best effort basis, as well as a final value once the job completes. Note: This field currently may be not populated for batch predictions that use AutoML Models.

.google.cloud.aiplatform.v1beta1.ResourcesConsumed resources_consumed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ResourcesConsumed

The resourcesConsumed.

getResourcesConsumedBuilder()

public ResourcesConsumed.Builder getResourcesConsumedBuilder()

Output only. Information about resources that had been consumed by this job. Provided in real time at best effort basis, as well as a final value once the job completes. Note: This field currently may be not populated for batch predictions that use AutoML Models.

.google.cloud.aiplatform.v1beta1.ResourcesConsumed resources_consumed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ResourcesConsumed.Builder

getResourcesConsumedOrBuilder()

public ResourcesConsumedOrBuilder getResourcesConsumedOrBuilder()

Output only. Information about resources that had been consumed by this job. Provided in real time at best effort basis, as well as a final value once the job completes. Note: This field currently may be not populated for batch predictions that use AutoML Models.

.google.cloud.aiplatform.v1beta1.ResourcesConsumed resources_consumed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ResourcesConsumedOrBuilder

getServiceAccount()

public String getServiceAccount()

The service account that the DeployedModel's container runs as. If not specified, a system generated one will be used, which has minimal permissions and the custom container, if used, may not have enough permission to access other GCP resources. Users deploying the Model must have the iam.serviceAccounts.actAs permission on this service account.

string service_account = 29;

Returns
TypeDescription
String

The serviceAccount.

getServiceAccountBytes()

public ByteString getServiceAccountBytes()

The service account that the DeployedModel's container runs as. If not specified, a system generated one will be used, which has minimal permissions and the custom container, if used, may not have enough permission to access other GCP resources. Users deploying the Model must have the iam.serviceAccounts.actAs permission on this service account.

string service_account = 29;

Returns
TypeDescription
ByteString

The bytes for serviceAccount.

getStartTime()

public Timestamp getStartTime()

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

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

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

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

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

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

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

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

Returns
TypeDescription
TimestampOrBuilder

getState()

public JobState getState()

Output only. The detailed state of the job.

.google.cloud.aiplatform.v1beta1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
JobState

The state.

getStateValue()

public int getStateValue()

Output only. The detailed state of the job.

.google.cloud.aiplatform.v1beta1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUnmanagedContainerModel()

public UnmanagedContainerModel getUnmanagedContainerModel()

Contains model information necessary to perform batch prediction without requiring uploading to model registry. Exactly one of model and unmanaged_container_model must be set.

.google.cloud.aiplatform.v1beta1.UnmanagedContainerModel unmanaged_container_model = 28;

Returns
TypeDescription
UnmanagedContainerModel

The unmanagedContainerModel.

getUnmanagedContainerModelBuilder()

public UnmanagedContainerModel.Builder getUnmanagedContainerModelBuilder()

Contains model information necessary to perform batch prediction without requiring uploading to model registry. Exactly one of model and unmanaged_container_model must be set.

.google.cloud.aiplatform.v1beta1.UnmanagedContainerModel unmanaged_container_model = 28;

Returns
TypeDescription
UnmanagedContainerModel.Builder

getUnmanagedContainerModelOrBuilder()

public UnmanagedContainerModelOrBuilder getUnmanagedContainerModelOrBuilder()

Contains model information necessary to perform batch prediction without requiring uploading to model registry. Exactly one of model and unmanaged_container_model must be set.

.google.cloud.aiplatform.v1beta1.UnmanagedContainerModel unmanaged_container_model = 28;

Returns
TypeDescription
UnmanagedContainerModelOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

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

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

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

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

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

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

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

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

Returns
TypeDescription
TimestampOrBuilder

hasCompletionStats()

public boolean hasCompletionStats()

Output only. Statistics on completed and failed prediction instances.

.google.cloud.aiplatform.v1beta1.CompletionStats completion_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the completionStats field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. Time when the BatchPredictionJob was created.

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

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDedicatedResources()

public boolean hasDedicatedResources()

The config of resources used by the Model during the batch prediction. If the Model supports DEDICATED_RESOURCES this config may be provided (and the job will use these resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config must be provided.

.google.cloud.aiplatform.v1beta1.BatchDedicatedResources dedicated_resources = 7;

Returns
TypeDescription
boolean

Whether the dedicatedResources field is set.

hasEncryptionSpec()

public boolean hasEncryptionSpec()

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

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 24;

Returns
TypeDescription
boolean

Whether the encryptionSpec field is set.

hasEndTime()

public boolean hasEndTime()

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

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

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasError()

public boolean hasError()

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

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

Returns
TypeDescription
boolean

Whether the error field is set.

hasExplanationSpec()

public boolean hasExplanationSpec()

Explanation configuration for this BatchPredictionJob. Can be specified only if generate_explanation is set to true. This value overrides the value of Model.explanation_spec. All fields of explanation_spec are optional in the request. If a field of the explanation_spec object is not populated, the corresponding field of the Model.explanation_spec object is inherited.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 25;

Returns
TypeDescription
boolean

Whether the explanationSpec field is set.

hasInputConfig()

public boolean hasInputConfig()

Required. Input configuration of the instances on which predictions are performed. The schema of any single instance may be specified via the Model's PredictSchemata's instance_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig input_config = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the inputConfig field is set.

hasInstanceConfig()

public boolean hasInstanceConfig()

Configuration for how to convert batch prediction input instances to the prediction instances that are sent to the Model.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InstanceConfig instance_config = 27;

Returns
TypeDescription
boolean

Whether the instanceConfig field is set.

hasManualBatchTuningParameters()

public boolean hasManualBatchTuningParameters()

Immutable. Parameters configuring the batch behavior. Currently only applicable when dedicated_resources are used (in other cases Vertex AI does the tuning itself).

.google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters manual_batch_tuning_parameters = 8 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the manualBatchTuningParameters field is set.

hasModelMonitoringConfig()

public boolean hasModelMonitoringConfig()

Model monitoring config will be used for analysis model behaviors, based on the input and output to the batch prediction job, as well as the provided training dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringConfig model_monitoring_config = 26;

Returns
TypeDescription
boolean

Whether the modelMonitoringConfig field is set.

hasModelMonitoringStatus()

public boolean hasModelMonitoringStatus()

Output only. The running status of the model monitoring pipeline.

.google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the modelMonitoringStatus field is set.

hasModelParameters()

public boolean hasModelParameters()

The parameters that govern the predictions. The schema of the parameters may be specified via the Model's PredictSchemata's parameters_schema_uri.

.google.protobuf.Value model_parameters = 5;

Returns
TypeDescription
boolean

Whether the modelParameters field is set.

hasOutputConfig()

public boolean hasOutputConfig()

Required. The Configuration specifying where output predictions should be written. The schema of any single prediction may be specified as a concatenation of Model's PredictSchemata's instance_schema_uri and prediction_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig output_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the outputConfig field is set.

hasOutputInfo()

public boolean hasOutputInfo()

Output only. Information further describing the output of this job.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputInfo output_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the outputInfo field is set.

hasResourcesConsumed()

public boolean hasResourcesConsumed()

Output only. Information about resources that had been consumed by this job. Provided in real time at best effort basis, as well as a final value once the job completes. Note: This field currently may be not populated for batch predictions that use AutoML Models.

.google.cloud.aiplatform.v1beta1.ResourcesConsumed resources_consumed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the resourcesConsumed field is set.

hasStartTime()

public boolean hasStartTime()

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

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

Returns
TypeDescription
boolean

Whether the startTime field is set.

hasUnmanagedContainerModel()

public boolean hasUnmanagedContainerModel()

Contains model information necessary to perform batch prediction without requiring uploading to model registry. Exactly one of model and unmanaged_container_model must be set.

.google.cloud.aiplatform.v1beta1.UnmanagedContainerModel unmanaged_container_model = 28;

Returns
TypeDescription
boolean

Whether the unmanagedContainerModel field is set.

hasUpdateTime()

public boolean hasUpdateTime()

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

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

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

internalGetMutableMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCompletionStats(CompletionStats value)

public BatchPredictionJob.Builder mergeCompletionStats(CompletionStats value)

Output only. Statistics on completed and failed prediction instances.

.google.cloud.aiplatform.v1beta1.CompletionStats completion_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueCompletionStats
Returns
TypeDescription
BatchPredictionJob.Builder

mergeCreateTime(Timestamp value)

public BatchPredictionJob.Builder mergeCreateTime(Timestamp value)

Output only. Time when the BatchPredictionJob was created.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BatchPredictionJob.Builder

mergeDedicatedResources(BatchDedicatedResources value)

public BatchPredictionJob.Builder mergeDedicatedResources(BatchDedicatedResources value)

The config of resources used by the Model during the batch prediction. If the Model supports DEDICATED_RESOURCES this config may be provided (and the job will use these resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config must be provided.

.google.cloud.aiplatform.v1beta1.BatchDedicatedResources dedicated_resources = 7;

Parameter
NameDescription
valueBatchDedicatedResources
Returns
TypeDescription
BatchPredictionJob.Builder

mergeEncryptionSpec(EncryptionSpec value)

public BatchPredictionJob.Builder mergeEncryptionSpec(EncryptionSpec value)

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

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 24;

Parameter
NameDescription
valueEncryptionSpec
Returns
TypeDescription
BatchPredictionJob.Builder

mergeEndTime(Timestamp value)

public BatchPredictionJob.Builder mergeEndTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BatchPredictionJob.Builder

mergeError(Status value)

public BatchPredictionJob.Builder mergeError(Status value)

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

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

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

mergeExplanationSpec(ExplanationSpec value)

public BatchPredictionJob.Builder mergeExplanationSpec(ExplanationSpec value)

Explanation configuration for this BatchPredictionJob. Can be specified only if generate_explanation is set to true. This value overrides the value of Model.explanation_spec. All fields of explanation_spec are optional in the request. If a field of the explanation_spec object is not populated, the corresponding field of the Model.explanation_spec object is inherited.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 25;

Parameter
NameDescription
valueExplanationSpec
Returns
TypeDescription
BatchPredictionJob.Builder

mergeFrom(BatchPredictionJob other)

public BatchPredictionJob.Builder mergeFrom(BatchPredictionJob other)
Parameter
NameDescription
otherBatchPredictionJob
Returns
TypeDescription
BatchPredictionJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInputConfig(BatchPredictionJob.InputConfig value)

public BatchPredictionJob.Builder mergeInputConfig(BatchPredictionJob.InputConfig value)

Required. Input configuration of the instances on which predictions are performed. The schema of any single instance may be specified via the Model's PredictSchemata's instance_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig input_config = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueBatchPredictionJob.InputConfig
Returns
TypeDescription
BatchPredictionJob.Builder

mergeInstanceConfig(BatchPredictionJob.InstanceConfig value)

public BatchPredictionJob.Builder mergeInstanceConfig(BatchPredictionJob.InstanceConfig value)

Configuration for how to convert batch prediction input instances to the prediction instances that are sent to the Model.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InstanceConfig instance_config = 27;

Parameter
NameDescription
valueBatchPredictionJob.InstanceConfig
Returns
TypeDescription
BatchPredictionJob.Builder

mergeManualBatchTuningParameters(ManualBatchTuningParameters value)

public BatchPredictionJob.Builder mergeManualBatchTuningParameters(ManualBatchTuningParameters value)

Immutable. Parameters configuring the batch behavior. Currently only applicable when dedicated_resources are used (in other cases Vertex AI does the tuning itself).

.google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters manual_batch_tuning_parameters = 8 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueManualBatchTuningParameters
Returns
TypeDescription
BatchPredictionJob.Builder

mergeModelMonitoringConfig(ModelMonitoringConfig value)

public BatchPredictionJob.Builder mergeModelMonitoringConfig(ModelMonitoringConfig value)

Model monitoring config will be used for analysis model behaviors, based on the input and output to the batch prediction job, as well as the provided training dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringConfig model_monitoring_config = 26;

Parameter
NameDescription
valueModelMonitoringConfig
Returns
TypeDescription
BatchPredictionJob.Builder

mergeModelMonitoringStatus(Status value)

public BatchPredictionJob.Builder mergeModelMonitoringStatus(Status value)

Output only. The running status of the model monitoring pipeline.

.google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

mergeModelParameters(Value value)

public BatchPredictionJob.Builder mergeModelParameters(Value value)

The parameters that govern the predictions. The schema of the parameters may be specified via the Model's PredictSchemata's parameters_schema_uri.

.google.protobuf.Value model_parameters = 5;

Parameter
NameDescription
valueValue
Returns
TypeDescription
BatchPredictionJob.Builder

mergeOutputConfig(BatchPredictionJob.OutputConfig value)

public BatchPredictionJob.Builder mergeOutputConfig(BatchPredictionJob.OutputConfig value)

Required. The Configuration specifying where output predictions should be written. The schema of any single prediction may be specified as a concatenation of Model's PredictSchemata's instance_schema_uri and prediction_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig output_config = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueBatchPredictionJob.OutputConfig
Returns
TypeDescription
BatchPredictionJob.Builder

mergeOutputInfo(BatchPredictionJob.OutputInfo value)

public BatchPredictionJob.Builder mergeOutputInfo(BatchPredictionJob.OutputInfo value)

Output only. Information further describing the output of this job.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputInfo output_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueBatchPredictionJob.OutputInfo
Returns
TypeDescription
BatchPredictionJob.Builder

mergeResourcesConsumed(ResourcesConsumed value)

public BatchPredictionJob.Builder mergeResourcesConsumed(ResourcesConsumed value)

Output only. Information about resources that had been consumed by this job. Provided in real time at best effort basis, as well as a final value once the job completes. Note: This field currently may be not populated for batch predictions that use AutoML Models.

.google.cloud.aiplatform.v1beta1.ResourcesConsumed resources_consumed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueResourcesConsumed
Returns
TypeDescription
BatchPredictionJob.Builder

mergeStartTime(Timestamp value)

public BatchPredictionJob.Builder mergeStartTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BatchPredictionJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUnmanagedContainerModel(UnmanagedContainerModel value)

public BatchPredictionJob.Builder mergeUnmanagedContainerModel(UnmanagedContainerModel value)

Contains model information necessary to perform batch prediction without requiring uploading to model registry. Exactly one of model and unmanaged_container_model must be set.

.google.cloud.aiplatform.v1beta1.UnmanagedContainerModel unmanaged_container_model = 28;

Parameter
NameDescription
valueUnmanagedContainerModel
Returns
TypeDescription
BatchPredictionJob.Builder

mergeUpdateTime(Timestamp value)

public BatchPredictionJob.Builder mergeUpdateTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BatchPredictionJob.Builder

putAllLabels(Map<String,String> values)

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

The labels with user-defined metadata to organize BatchPredictionJobs. 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 = 19;

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

putLabels(String key, String value)

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

The labels with user-defined metadata to organize BatchPredictionJobs. 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 = 19;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
BatchPredictionJob.Builder

removeLabels(String key)

public BatchPredictionJob.Builder removeLabels(String key)

The labels with user-defined metadata to organize BatchPredictionJobs. 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 = 19;

Parameter
NameDescription
keyString
Returns
TypeDescription
BatchPredictionJob.Builder

removeModelMonitoringStatsAnomalies(int index)

public BatchPredictionJob.Builder removeModelMonitoringStatsAnomalies(int index)

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchPredictionJob.Builder

removePartialFailures(int index)

public BatchPredictionJob.Builder removePartialFailures(int index)

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchPredictionJob.Builder

setCompletionStats(CompletionStats value)

public BatchPredictionJob.Builder setCompletionStats(CompletionStats value)

Output only. Statistics on completed and failed prediction instances.

.google.cloud.aiplatform.v1beta1.CompletionStats completion_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueCompletionStats
Returns
TypeDescription
BatchPredictionJob.Builder

setCompletionStats(CompletionStats.Builder builderForValue)

public BatchPredictionJob.Builder setCompletionStats(CompletionStats.Builder builderForValue)

Output only. Statistics on completed and failed prediction instances.

.google.cloud.aiplatform.v1beta1.CompletionStats completion_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueCompletionStats.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

setCreateTime(Timestamp value)

public BatchPredictionJob.Builder setCreateTime(Timestamp value)

Output only. Time when the BatchPredictionJob was created.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BatchPredictionJob.Builder

setCreateTime(Timestamp.Builder builderForValue)

public BatchPredictionJob.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Time when the BatchPredictionJob was created.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
BatchPredictionJob.Builder

setDedicatedResources(BatchDedicatedResources value)

public BatchPredictionJob.Builder setDedicatedResources(BatchDedicatedResources value)

The config of resources used by the Model during the batch prediction. If the Model supports DEDICATED_RESOURCES this config may be provided (and the job will use these resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config must be provided.

.google.cloud.aiplatform.v1beta1.BatchDedicatedResources dedicated_resources = 7;

Parameter
NameDescription
valueBatchDedicatedResources
Returns
TypeDescription
BatchPredictionJob.Builder

setDedicatedResources(BatchDedicatedResources.Builder builderForValue)

public BatchPredictionJob.Builder setDedicatedResources(BatchDedicatedResources.Builder builderForValue)

The config of resources used by the Model during the batch prediction. If the Model supports DEDICATED_RESOURCES this config may be provided (and the job will use these resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config must be provided.

.google.cloud.aiplatform.v1beta1.BatchDedicatedResources dedicated_resources = 7;

Parameter
NameDescription
builderForValueBatchDedicatedResources.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

setDisplayName(String value)

public BatchPredictionJob.Builder setDisplayName(String value)

Required. The user-defined name of this BatchPredictionJob.

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

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public BatchPredictionJob.Builder setDisplayNameBytes(ByteString value)

Required. The user-defined name of this BatchPredictionJob.

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

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

setEncryptionSpec(EncryptionSpec value)

public BatchPredictionJob.Builder setEncryptionSpec(EncryptionSpec value)

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

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 24;

Parameter
NameDescription
valueEncryptionSpec
Returns
TypeDescription
BatchPredictionJob.Builder

setEncryptionSpec(EncryptionSpec.Builder builderForValue)

public BatchPredictionJob.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)

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

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 24;

Parameter
NameDescription
builderForValueEncryptionSpec.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

setEndTime(Timestamp value)

public BatchPredictionJob.Builder setEndTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BatchPredictionJob.Builder

setEndTime(Timestamp.Builder builderForValue)

public BatchPredictionJob.Builder setEndTime(Timestamp.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
BatchPredictionJob.Builder

setError(Status value)

public BatchPredictionJob.Builder setError(Status value)

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

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

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

setError(Status.Builder builderForValue)

public BatchPredictionJob.Builder setError(Status.Builder builderForValue)

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

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

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

setExplanationSpec(ExplanationSpec value)

public BatchPredictionJob.Builder setExplanationSpec(ExplanationSpec value)

Explanation configuration for this BatchPredictionJob. Can be specified only if generate_explanation is set to true. This value overrides the value of Model.explanation_spec. All fields of explanation_spec are optional in the request. If a field of the explanation_spec object is not populated, the corresponding field of the Model.explanation_spec object is inherited.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 25;

Parameter
NameDescription
valueExplanationSpec
Returns
TypeDescription
BatchPredictionJob.Builder

setExplanationSpec(ExplanationSpec.Builder builderForValue)

public BatchPredictionJob.Builder setExplanationSpec(ExplanationSpec.Builder builderForValue)

Explanation configuration for this BatchPredictionJob. Can be specified only if generate_explanation is set to true. This value overrides the value of Model.explanation_spec. All fields of explanation_spec are optional in the request. If a field of the explanation_spec object is not populated, the corresponding field of the Model.explanation_spec object is inherited.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 25;

Parameter
NameDescription
builderForValueExplanationSpec.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenerateExplanation(boolean value)

public BatchPredictionJob.Builder setGenerateExplanation(boolean value)

Generate explanation with the batch prediction results. When set to true, the batch prediction output changes based on the predictions_format field of the BatchPredictionJob.output_config object:

  • bigquery: output includes a column named explanation. The value is a struct that conforms to the Explanation object.
  • jsonl: The JSON objects on each line include an additional entry keyed explanation. The value of the entry is a JSON object that conforms to the Explanation object.
  • csv: Generating explanations for CSV format is not supported. If this field is set to true, either the Model.explanation_spec or explanation_spec must be populated.

bool generate_explanation = 23;

Parameter
NameDescription
valueboolean

The generateExplanation to set.

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

setInputConfig(BatchPredictionJob.InputConfig value)

public BatchPredictionJob.Builder setInputConfig(BatchPredictionJob.InputConfig value)

Required. Input configuration of the instances on which predictions are performed. The schema of any single instance may be specified via the Model's PredictSchemata's instance_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig input_config = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueBatchPredictionJob.InputConfig
Returns
TypeDescription
BatchPredictionJob.Builder

setInputConfig(BatchPredictionJob.InputConfig.Builder builderForValue)

public BatchPredictionJob.Builder setInputConfig(BatchPredictionJob.InputConfig.Builder builderForValue)

Required. Input configuration of the instances on which predictions are performed. The schema of any single instance may be specified via the Model's PredictSchemata's instance_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig input_config = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBatchPredictionJob.InputConfig.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

setInstanceConfig(BatchPredictionJob.InstanceConfig value)

public BatchPredictionJob.Builder setInstanceConfig(BatchPredictionJob.InstanceConfig value)

Configuration for how to convert batch prediction input instances to the prediction instances that are sent to the Model.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InstanceConfig instance_config = 27;

Parameter
NameDescription
valueBatchPredictionJob.InstanceConfig
Returns
TypeDescription
BatchPredictionJob.Builder

setInstanceConfig(BatchPredictionJob.InstanceConfig.Builder builderForValue)

public BatchPredictionJob.Builder setInstanceConfig(BatchPredictionJob.InstanceConfig.Builder builderForValue)

Configuration for how to convert batch prediction input instances to the prediction instances that are sent to the Model.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.InstanceConfig instance_config = 27;

Parameter
NameDescription
builderForValueBatchPredictionJob.InstanceConfig.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

setManualBatchTuningParameters(ManualBatchTuningParameters value)

public BatchPredictionJob.Builder setManualBatchTuningParameters(ManualBatchTuningParameters value)

Immutable. Parameters configuring the batch behavior. Currently only applicable when dedicated_resources are used (in other cases Vertex AI does the tuning itself).

.google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters manual_batch_tuning_parameters = 8 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueManualBatchTuningParameters
Returns
TypeDescription
BatchPredictionJob.Builder

setManualBatchTuningParameters(ManualBatchTuningParameters.Builder builderForValue)

public BatchPredictionJob.Builder setManualBatchTuningParameters(ManualBatchTuningParameters.Builder builderForValue)

Immutable. Parameters configuring the batch behavior. Currently only applicable when dedicated_resources are used (in other cases Vertex AI does the tuning itself).

.google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters manual_batch_tuning_parameters = 8 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
builderForValueManualBatchTuningParameters.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

setModel(String value)

public BatchPredictionJob.Builder setModel(String value)

The name of the Model resource that produces the predictions via this job, must share the same ancestor Location. Starting this job has no impact on any existing deployments of the Model and their resources. Exactly one of model and unmanaged_container_model must be set. The model resource name may contain version id or version alias to specify the version, if no version is specified, the default version will be used.

string model = 3 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The model to set.

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

setModelBytes(ByteString value)

public BatchPredictionJob.Builder setModelBytes(ByteString value)

The name of the Model resource that produces the predictions via this job, must share the same ancestor Location. Starting this job has no impact on any existing deployments of the Model and their resources. Exactly one of model and unmanaged_container_model must be set. The model resource name may contain version id or version alias to specify the version, if no version is specified, the default version will be used.

string model = 3 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for model to set.

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

setModelMonitoringConfig(ModelMonitoringConfig value)

public BatchPredictionJob.Builder setModelMonitoringConfig(ModelMonitoringConfig value)

Model monitoring config will be used for analysis model behaviors, based on the input and output to the batch prediction job, as well as the provided training dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringConfig model_monitoring_config = 26;

Parameter
NameDescription
valueModelMonitoringConfig
Returns
TypeDescription
BatchPredictionJob.Builder

setModelMonitoringConfig(ModelMonitoringConfig.Builder builderForValue)

public BatchPredictionJob.Builder setModelMonitoringConfig(ModelMonitoringConfig.Builder builderForValue)

Model monitoring config will be used for analysis model behaviors, based on the input and output to the batch prediction job, as well as the provided training dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringConfig model_monitoring_config = 26;

Parameter
NameDescription
builderForValueModelMonitoringConfig.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

setModelMonitoringStatsAnomalies(int index, ModelMonitoringStatsAnomalies value)

public BatchPredictionJob.Builder setModelMonitoringStatsAnomalies(int index, ModelMonitoringStatsAnomalies value)

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Parameters
NameDescription
indexint
valueModelMonitoringStatsAnomalies
Returns
TypeDescription
BatchPredictionJob.Builder

setModelMonitoringStatsAnomalies(int index, ModelMonitoringStatsAnomalies.Builder builderForValue)

public BatchPredictionJob.Builder setModelMonitoringStatsAnomalies(int index, ModelMonitoringStatsAnomalies.Builder builderForValue)

Get batch prediction job monitoring statistics.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31;

Parameters
NameDescription
indexint
builderForValueModelMonitoringStatsAnomalies.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

setModelMonitoringStatus(Status value)

public BatchPredictionJob.Builder setModelMonitoringStatus(Status value)

Output only. The running status of the model monitoring pipeline.

.google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setModelMonitoringStatus(Status.Builder builderForValue)

public BatchPredictionJob.Builder setModelMonitoringStatus(Status.Builder builderForValue)

Output only. The running status of the model monitoring pipeline.

.google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setModelParameters(Value value)

public BatchPredictionJob.Builder setModelParameters(Value value)

The parameters that govern the predictions. The schema of the parameters may be specified via the Model's PredictSchemata's parameters_schema_uri.

.google.protobuf.Value model_parameters = 5;

Parameter
NameDescription
valueValue
Returns
TypeDescription
BatchPredictionJob.Builder

setModelParameters(Value.Builder builderForValue)

public BatchPredictionJob.Builder setModelParameters(Value.Builder builderForValue)

The parameters that govern the predictions. The schema of the parameters may be specified via the Model's PredictSchemata's parameters_schema_uri.

.google.protobuf.Value model_parameters = 5;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
BatchPredictionJob.Builder

setModelVersionId(String value)

public BatchPredictionJob.Builder setModelVersionId(String value)

Output only. The version ID of the Model that produces the predictions via this job.

string model_version_id = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The modelVersionId to set.

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

setModelVersionIdBytes(ByteString value)

public BatchPredictionJob.Builder setModelVersionIdBytes(ByteString value)

Output only. The version ID of the Model that produces the predictions via this job.

string model_version_id = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for modelVersionId to set.

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

setName(String value)

public BatchPredictionJob.Builder setName(String value)

Output only. Resource name of the BatchPredictionJob.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

setNameBytes(ByteString value)

public BatchPredictionJob.Builder setNameBytes(ByteString value)

Output only. Resource name of the BatchPredictionJob.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

setOutputConfig(BatchPredictionJob.OutputConfig value)

public BatchPredictionJob.Builder setOutputConfig(BatchPredictionJob.OutputConfig value)

Required. The Configuration specifying where output predictions should be written. The schema of any single prediction may be specified as a concatenation of Model's PredictSchemata's instance_schema_uri and prediction_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig output_config = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueBatchPredictionJob.OutputConfig
Returns
TypeDescription
BatchPredictionJob.Builder

setOutputConfig(BatchPredictionJob.OutputConfig.Builder builderForValue)

public BatchPredictionJob.Builder setOutputConfig(BatchPredictionJob.OutputConfig.Builder builderForValue)

Required. The Configuration specifying where output predictions should be written. The schema of any single prediction may be specified as a concatenation of Model's PredictSchemata's instance_schema_uri and prediction_schema_uri.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig output_config = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBatchPredictionJob.OutputConfig.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

setOutputInfo(BatchPredictionJob.OutputInfo value)

public BatchPredictionJob.Builder setOutputInfo(BatchPredictionJob.OutputInfo value)

Output only. Information further describing the output of this job.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputInfo output_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueBatchPredictionJob.OutputInfo
Returns
TypeDescription
BatchPredictionJob.Builder

setOutputInfo(BatchPredictionJob.OutputInfo.Builder builderForValue)

public BatchPredictionJob.Builder setOutputInfo(BatchPredictionJob.OutputInfo.Builder builderForValue)

Output only. Information further describing the output of this job.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputInfo output_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBatchPredictionJob.OutputInfo.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

setPartialFailures(int index, Status value)

public BatchPredictionJob.Builder setPartialFailures(int index, Status value)

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
BatchPredictionJob.Builder

setPartialFailures(int index, Status.Builder builderForValue)

public BatchPredictionJob.Builder setPartialFailures(int index, Status.Builder builderForValue)

Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

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

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

setResourcesConsumed(ResourcesConsumed value)

public BatchPredictionJob.Builder setResourcesConsumed(ResourcesConsumed value)

Output only. Information about resources that had been consumed by this job. Provided in real time at best effort basis, as well as a final value once the job completes. Note: This field currently may be not populated for batch predictions that use AutoML Models.

.google.cloud.aiplatform.v1beta1.ResourcesConsumed resources_consumed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueResourcesConsumed
Returns
TypeDescription
BatchPredictionJob.Builder

setResourcesConsumed(ResourcesConsumed.Builder builderForValue)

public BatchPredictionJob.Builder setResourcesConsumed(ResourcesConsumed.Builder builderForValue)

Output only. Information about resources that had been consumed by this job. Provided in real time at best effort basis, as well as a final value once the job completes. Note: This field currently may be not populated for batch predictions that use AutoML Models.

.google.cloud.aiplatform.v1beta1.ResourcesConsumed resources_consumed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueResourcesConsumed.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

setServiceAccount(String value)

public BatchPredictionJob.Builder setServiceAccount(String value)

The service account that the DeployedModel's container runs as. If not specified, a system generated one will be used, which has minimal permissions and the custom container, if used, may not have enough permission to access other GCP resources. Users deploying the Model must have the iam.serviceAccounts.actAs permission on this service account.

string service_account = 29;

Parameter
NameDescription
valueString

The serviceAccount to set.

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

public BatchPredictionJob.Builder setServiceAccountBytes(ByteString value)

The service account that the DeployedModel's container runs as. If not specified, a system generated one will be used, which has minimal permissions and the custom container, if used, may not have enough permission to access other GCP resources. Users deploying the Model must have the iam.serviceAccounts.actAs permission on this service account.

string service_account = 29;

Parameter
NameDescription
valueByteString

The bytes for serviceAccount to set.

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

setStartTime(Timestamp value)

public BatchPredictionJob.Builder setStartTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BatchPredictionJob.Builder

setStartTime(Timestamp.Builder builderForValue)

public BatchPredictionJob.Builder setStartTime(Timestamp.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
BatchPredictionJob.Builder

setState(JobState value)

public BatchPredictionJob.Builder setState(JobState value)

Output only. The detailed state of the job.

.google.cloud.aiplatform.v1beta1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueJobState

The state to set.

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

setStateValue(int value)

public BatchPredictionJob.Builder setStateValue(int value)

Output only. The detailed state of the job.

.google.cloud.aiplatform.v1beta1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
BatchPredictionJob.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnmanagedContainerModel(UnmanagedContainerModel value)

public BatchPredictionJob.Builder setUnmanagedContainerModel(UnmanagedContainerModel value)

Contains model information necessary to perform batch prediction without requiring uploading to model registry. Exactly one of model and unmanaged_container_model must be set.

.google.cloud.aiplatform.v1beta1.UnmanagedContainerModel unmanaged_container_model = 28;

Parameter
NameDescription
valueUnmanagedContainerModel
Returns
TypeDescription
BatchPredictionJob.Builder

setUnmanagedContainerModel(UnmanagedContainerModel.Builder builderForValue)

public BatchPredictionJob.Builder setUnmanagedContainerModel(UnmanagedContainerModel.Builder builderForValue)

Contains model information necessary to perform batch prediction without requiring uploading to model registry. Exactly one of model and unmanaged_container_model must be set.

.google.cloud.aiplatform.v1beta1.UnmanagedContainerModel unmanaged_container_model = 28;

Parameter
NameDescription
builderForValueUnmanagedContainerModel.Builder
Returns
TypeDescription
BatchPredictionJob.Builder

setUpdateTime(Timestamp value)

public BatchPredictionJob.Builder setUpdateTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BatchPredictionJob.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public BatchPredictionJob.Builder setUpdateTime(Timestamp.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
BatchPredictionJob.Builder