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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int BIGQUERY_SOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int GCS_SOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int INSTANCES_FORMAT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static BatchPredictionJob.InputConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static BatchPredictionJob.InputConfig.Builder newBuilder()
public static BatchPredictionJob.InputConfig.Builder newBuilder(BatchPredictionJob.InputConfig prototype)
public static BatchPredictionJob.InputConfig parseDelimitedFrom(InputStream input)
public static BatchPredictionJob.InputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchPredictionJob.InputConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static BatchPredictionJob.InputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchPredictionJob.InputConfig parseFrom(ByteString data)
public static BatchPredictionJob.InputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchPredictionJob.InputConfig parseFrom(CodedInputStream input)
public static BatchPredictionJob.InputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchPredictionJob.InputConfig parseFrom(InputStream input)
public static BatchPredictionJob.InputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchPredictionJob.InputConfig parseFrom(ByteBuffer data)
public static BatchPredictionJob.InputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<BatchPredictionJob.InputConfig> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 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 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 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 Parser<BatchPredictionJob.InputConfig> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public BatchPredictionJob.InputConfig.SourceCase getSourceCase()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BatchPredictionJob.InputConfig.Builder newBuilderForType()
protected BatchPredictionJob.InputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public BatchPredictionJob.InputConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides