public static final class BatchPredictionJob.InputConfig.Builder extends com.google.protobuf.GeneratedMessageV3.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.InputConfiggetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.InputConfig.Builder>public BatchPredictionJob.InputConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.InputConfig.Builder>public BatchPredictionJob.InputConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.InputConfig.Builder>public BatchPredictionJob.InputConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.InputConfig.Builder>public BatchPredictionJob.InputConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.InputConfig.Builder>public BatchPredictionJob.InputConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.InputConfig.Builder>public 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.GeneratedMessageV3.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 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.public final BatchPredictionJob.InputConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.InputConfig.Builder>public final BatchPredictionJob.InputConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.InputConfig.Builder>Copyright © 2025 Google LLC. All rights reserved.