public static final class BatchPredictionJob.InputConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchPredictionJob.InputConfig.Builder> implements BatchPredictionJob.InputConfigOrBuilder
Configures the input to [BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob]. See [Model.supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats] for Model's supported input formats, and how instances should be expressed via any of them.Protobuf type
google.cloud.aiplatform.v1.BatchPredictionJob.InputConfigaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BatchPredictionJob.InputConfig.Builder>public BatchPredictionJob.InputConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<BatchPredictionJob.InputConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BatchPredictionJob.InputConfig.Builder>public BatchPredictionJob.InputConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchPredictionJob.InputConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchPredictionJob.InputConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchPredictionJob.InputConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchPredictionJob.InputConfig.Builder>public BatchPredictionJob.InputConfig.Builder mergeFrom(BatchPredictionJob.InputConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<BatchPredictionJob.InputConfig.Builder>public BatchPredictionJob.InputConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchPredictionJob.InputConfig.Builder>IOExceptionpublic BatchPredictionJob.InputConfig.SourceCase getSourceCase()
getSourceCase in interface BatchPredictionJob.InputConfigOrBuilderpublic BatchPredictionJob.InputConfig.Builder clearSource()
public boolean hasGcsSource()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 2;hasGcsSource in interface BatchPredictionJob.InputConfigOrBuilderpublic GcsSource getGcsSource()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 2;getGcsSource in interface BatchPredictionJob.InputConfigOrBuilderpublic BatchPredictionJob.InputConfig.Builder setGcsSource(GcsSource value)
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 2;public BatchPredictionJob.InputConfig.Builder setGcsSource(GcsSource.Builder builderForValue)
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 2;public BatchPredictionJob.InputConfig.Builder mergeGcsSource(GcsSource value)
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 2;public BatchPredictionJob.InputConfig.Builder clearGcsSource()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 2;public GcsSource.Builder getGcsSourceBuilder()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 2;public GcsSourceOrBuilder getGcsSourceOrBuilder()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 2;getGcsSourceOrBuilder in interface BatchPredictionJob.InputConfigOrBuilderpublic boolean hasBigquerySource()
The BigQuery location of the input table. The schema of the table should be in the format described by the given context OpenAPI Schema, if one is provided. The table may contain additional columns that are not described by the schema, and they will be ignored.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;hasBigquerySource in interface BatchPredictionJob.InputConfigOrBuilderpublic BigQuerySource getBigquerySource()
The BigQuery location of the input table. The schema of the table should be in the format described by the given context OpenAPI Schema, if one is provided. The table may contain additional columns that are not described by the schema, and they will be ignored.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;getBigquerySource in interface BatchPredictionJob.InputConfigOrBuilderpublic BatchPredictionJob.InputConfig.Builder setBigquerySource(BigQuerySource value)
The BigQuery location of the input table. The schema of the table should be in the format described by the given context OpenAPI Schema, if one is provided. The table may contain additional columns that are not described by the schema, and they will be ignored.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;public BatchPredictionJob.InputConfig.Builder setBigquerySource(BigQuerySource.Builder builderForValue)
The BigQuery location of the input table. The schema of the table should be in the format described by the given context OpenAPI Schema, if one is provided. The table may contain additional columns that are not described by the schema, and they will be ignored.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;public BatchPredictionJob.InputConfig.Builder mergeBigquerySource(BigQuerySource value)
The BigQuery location of the input table. The schema of the table should be in the format described by the given context OpenAPI Schema, if one is provided. The table may contain additional columns that are not described by the schema, and they will be ignored.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;public BatchPredictionJob.InputConfig.Builder clearBigquerySource()
The BigQuery location of the input table. The schema of the table should be in the format described by the given context OpenAPI Schema, if one is provided. The table may contain additional columns that are not described by the schema, and they will be ignored.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;public BigQuerySource.Builder getBigquerySourceBuilder()
The BigQuery location of the input table. The schema of the table should be in the format described by the given context OpenAPI Schema, if one is provided. The table may contain additional columns that are not described by the schema, and they will be ignored.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()
The BigQuery location of the input table. The schema of the table should be in the format described by the given context OpenAPI Schema, if one is provided. The table may contain additional columns that are not described by the schema, and they will be ignored.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;getBigquerySourceOrBuilder in interface BatchPredictionJob.InputConfigOrBuilderpublic boolean hasVertexMultimodalDatasetSource()
A Vertex Managed Dataset. Currently, only datasets of type Multimodal are supported.
.google.cloud.aiplatform.v1.VertexMultimodalDatasetSource vertex_multimodal_dataset_source = 4;
hasVertexMultimodalDatasetSource in interface BatchPredictionJob.InputConfigOrBuilderpublic VertexMultimodalDatasetSource getVertexMultimodalDatasetSource()
A Vertex Managed Dataset. Currently, only datasets of type Multimodal are supported.
.google.cloud.aiplatform.v1.VertexMultimodalDatasetSource vertex_multimodal_dataset_source = 4;
getVertexMultimodalDatasetSource in interface BatchPredictionJob.InputConfigOrBuilderpublic BatchPredictionJob.InputConfig.Builder setVertexMultimodalDatasetSource(VertexMultimodalDatasetSource value)
A Vertex Managed Dataset. Currently, only datasets of type Multimodal are supported.
.google.cloud.aiplatform.v1.VertexMultimodalDatasetSource vertex_multimodal_dataset_source = 4;
public BatchPredictionJob.InputConfig.Builder setVertexMultimodalDatasetSource(VertexMultimodalDatasetSource.Builder builderForValue)
A Vertex Managed Dataset. Currently, only datasets of type Multimodal are supported.
.google.cloud.aiplatform.v1.VertexMultimodalDatasetSource vertex_multimodal_dataset_source = 4;
public BatchPredictionJob.InputConfig.Builder mergeVertexMultimodalDatasetSource(VertexMultimodalDatasetSource value)
A Vertex Managed Dataset. Currently, only datasets of type Multimodal are supported.
.google.cloud.aiplatform.v1.VertexMultimodalDatasetSource vertex_multimodal_dataset_source = 4;
public BatchPredictionJob.InputConfig.Builder clearVertexMultimodalDatasetSource()
A Vertex Managed Dataset. Currently, only datasets of type Multimodal are supported.
.google.cloud.aiplatform.v1.VertexMultimodalDatasetSource vertex_multimodal_dataset_source = 4;
public VertexMultimodalDatasetSource.Builder getVertexMultimodalDatasetSourceBuilder()
A Vertex Managed Dataset. Currently, only datasets of type Multimodal are supported.
.google.cloud.aiplatform.v1.VertexMultimodalDatasetSource vertex_multimodal_dataset_source = 4;
public VertexMultimodalDatasetSourceOrBuilder getVertexMultimodalDatasetSourceOrBuilder()
A Vertex Managed Dataset. Currently, only datasets of type Multimodal are supported.
.google.cloud.aiplatform.v1.VertexMultimodalDatasetSource vertex_multimodal_dataset_source = 4;
getVertexMultimodalDatasetSourceOrBuilder in interface BatchPredictionJob.InputConfigOrBuilderpublic String getInstancesFormat()
Required. The format in which instances are given, must be one of the [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] [supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats].
string instances_format = 1 [(.google.api.field_behavior) = REQUIRED];getInstancesFormat in interface BatchPredictionJob.InputConfigOrBuilderpublic com.google.protobuf.ByteString getInstancesFormatBytes()
Required. The format in which instances are given, must be one of the [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] [supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats].
string instances_format = 1 [(.google.api.field_behavior) = REQUIRED];getInstancesFormatBytes in interface BatchPredictionJob.InputConfigOrBuilderpublic BatchPredictionJob.InputConfig.Builder setInstancesFormat(String value)
Required. The format in which instances are given, must be one of the [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] [supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats].
string instances_format = 1 [(.google.api.field_behavior) = REQUIRED];value - The instancesFormat to set.public BatchPredictionJob.InputConfig.Builder clearInstancesFormat()
Required. The format in which instances are given, must be one of the [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] [supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats].
string instances_format = 1 [(.google.api.field_behavior) = REQUIRED];public BatchPredictionJob.InputConfig.Builder setInstancesFormatBytes(com.google.protobuf.ByteString value)
Required. The format in which instances are given, must be one of the [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] [supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats].
string instances_format = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for instancesFormat to set.Copyright © 2026 Google LLC. All rights reserved.