public static final class BatchPredictionJob.InputConfig.Builder extends GeneratedMessageV3.Builder<BatchPredictionJob.InputConfig.Builder> implements BatchPredictionJob.InputConfigOrBuilder
Configures the input to
BatchPredictionJob. See
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.InputConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public BatchPredictionJob.InputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchPredictionJob.InputConfig build()
public BatchPredictionJob.InputConfig buildPartial()
public BatchPredictionJob.InputConfig.Builder clear()
Overrides
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 BatchPredictionJob.InputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BatchPredictionJob.InputConfig.Builder clearGcsSource()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
public BatchPredictionJob.InputConfig.Builder clearInstancesFormat()
Required. The format in which instances are given, must be one of the
Model's
supported_input_storage_formats.
string instances_format = 1 [(.google.api.field_behavior) = REQUIRED];
public BatchPredictionJob.InputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public BatchPredictionJob.InputConfig.Builder clearSource()
public BatchPredictionJob.InputConfig.Builder clone()
Overrides
public 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;
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;
public BatchPredictionJob.InputConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public GcsSource getGcsSource()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
Returns |
---|
Type | Description |
GcsSource | The gcsSource.
|
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;
public String getInstancesFormat()
Required. The format in which instances are given, must be one of the
Model's
supported_input_storage_formats.
string instances_format = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The instancesFormat.
|
public ByteString getInstancesFormatBytes()
Required. The format in which instances are given, must be one of the
Model's
supported_input_storage_formats.
string instances_format = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for instancesFormat.
|
public BatchPredictionJob.InputConfig.SourceCase getSourceCase()
public 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;
Returns |
---|
Type | Description |
boolean | Whether the bigquerySource field is set.
|
public boolean hasGcsSource()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
Returns |
---|
Type | Description |
boolean | Whether the gcsSource field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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 mergeFrom(BatchPredictionJob.InputConfig other)
public BatchPredictionJob.InputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BatchPredictionJob.InputConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public BatchPredictionJob.InputConfig.Builder mergeGcsSource(GcsSource value)
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
public final BatchPredictionJob.InputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public 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 setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public 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 setInstancesFormat(String value)
Required. The format in which instances are given, must be one of the
Model's
supported_input_storage_formats.
string instances_format = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The instancesFormat to set.
|
public BatchPredictionJob.InputConfig.Builder setInstancesFormatBytes(ByteString value)
Required. The format in which instances are given, must be one of the
Model's
supported_input_storage_formats.
string instances_format = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for instancesFormat to set.
|
public BatchPredictionJob.InputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BatchPredictionJob.InputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides