public static final class BatchPredictionJob.InputConfig extends GeneratedMessageV3 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
Static Fields
public static final int BIGQUERY_SOURCE_FIELD_NUMBER
Field Value
public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
public static final int INSTANCES_FORMAT_FIELD_NUMBER
Field Value
Static Methods
public static BatchPredictionJob.InputConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static BatchPredictionJob.InputConfig.Builder newBuilder()
Returns
public static BatchPredictionJob.InputConfig.Builder newBuilder(BatchPredictionJob.InputConfig prototype)
Parameter
Returns
public static BatchPredictionJob.InputConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchPredictionJob.InputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchPredictionJob.InputConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static BatchPredictionJob.InputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchPredictionJob.InputConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static BatchPredictionJob.InputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchPredictionJob.InputConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchPredictionJob.InputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchPredictionJob.InputConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchPredictionJob.InputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchPredictionJob.InputConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static BatchPredictionJob.InputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<BatchPredictionJob.InputConfig> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
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;
Returns
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;
Returns
public BatchPredictionJob.InputConfig getDefaultInstanceForType()
Returns
public GcsSource getGcsSource()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
Returns
public GcsSourceOrBuilder getGcsSourceOrBuilder()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
Returns
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 Parser<BatchPredictionJob.InputConfig> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public BatchPredictionJob.InputConfig.SourceCase getSourceCase()
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public BatchPredictionJob.InputConfig.Builder newBuilderForType()
Returns
protected BatchPredictionJob.InputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public BatchPredictionJob.InputConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions