Class BatchPredictionJob.InputConfig (3.49.0)

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.v1beta1.BatchPredictionJob.InputConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchPredictionJob.InputConfig

Static Fields

BIGQUERY_SOURCE_FIELD_NUMBER

public static final int BIGQUERY_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

INSTANCES_FORMAT_FIELD_NUMBER

public static final int INSTANCES_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchPredictionJob.InputConfig getDefaultInstance()
Returns
Type Description
BatchPredictionJob.InputConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BatchPredictionJob.InputConfig.Builder newBuilder()
Returns
Type Description
BatchPredictionJob.InputConfig.Builder

newBuilder(BatchPredictionJob.InputConfig prototype)

public static BatchPredictionJob.InputConfig.Builder newBuilder(BatchPredictionJob.InputConfig prototype)
Parameter
Name Description
prototype BatchPredictionJob.InputConfig
Returns
Type Description
BatchPredictionJob.InputConfig.Builder

parseDelimitedFrom(InputStream input)

public static BatchPredictionJob.InputConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchPredictionJob.InputConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchPredictionJob.InputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchPredictionJob.InputConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchPredictionJob.InputConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchPredictionJob.InputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchPredictionJob.InputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchPredictionJob.InputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchPredictionJob.InputConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchPredictionJob.InputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchPredictionJob.InputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchPredictionJob.InputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchPredictionJob.InputConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchPredictionJob.InputConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchPredictionJob.InputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchPredictionJob.InputConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchPredictionJob.InputConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchPredictionJob.InputConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchPredictionJob.InputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchPredictionJob.InputConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchPredictionJob.InputConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchPredictionJob.InputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchPredictionJob.InputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchPredictionJob.InputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchPredictionJob.InputConfig> parser()
Returns
Type Description
Parser<InputConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBigquerySource()

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.v1beta1.BigQuerySource bigquery_source = 3;

Returns
Type Description
BigQuerySource

The bigquerySource.

getBigquerySourceOrBuilder()

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.v1beta1.BigQuerySource bigquery_source = 3;

Returns
Type Description
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public BatchPredictionJob.InputConfig getDefaultInstanceForType()
Returns
Type Description
BatchPredictionJob.InputConfig

getGcsSource()

public GcsSource getGcsSource()

The Cloud Storage location for the input instances.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 2;

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

The Cloud Storage location for the input instances.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 2;

Returns
Type Description
GcsSourceOrBuilder

getInstancesFormat()

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.

getInstancesFormatBytes()

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.

getParserForType()

public Parser<BatchPredictionJob.InputConfig> getParserForType()
Returns
Type Description
Parser<InputConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

public BatchPredictionJob.InputConfig.SourceCase getSourceCase()
Returns
Type Description
BatchPredictionJob.InputConfig.SourceCase

hasBigquerySource()

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.v1beta1.BigQuerySource bigquery_source = 3;

Returns
Type Description
boolean

Whether the bigquerySource field is set.

hasGcsSource()

public boolean hasGcsSource()

The Cloud Storage location for the input instances.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 2;

Returns
Type Description
boolean

Whether the gcsSource field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchPredictionJob.InputConfig.Builder newBuilderForType()
Returns
Type Description
BatchPredictionJob.InputConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchPredictionJob.InputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchPredictionJob.InputConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BatchPredictionJob.InputConfig.Builder toBuilder()
Returns
Type Description
BatchPredictionJob.InputConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException