Class BatchPredictionJob.InputConfig (3.4.2)

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
TypeDescription
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCES_FORMAT_FIELD_NUMBER

public static final int INSTANCES_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchPredictionJob.InputConfig getDefaultInstance()
Returns
TypeDescription
BatchPredictionJob.InputConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BatchPredictionJob.InputConfig.Builder newBuilder()
Returns
TypeDescription
BatchPredictionJob.InputConfig.Builder

newBuilder(BatchPredictionJob.InputConfig prototype)

public static BatchPredictionJob.InputConfig.Builder newBuilder(BatchPredictionJob.InputConfig prototype)
Parameter
NameDescription
prototypeBatchPredictionJob.InputConfig
Returns
TypeDescription
BatchPredictionJob.InputConfig.Builder

parseDelimitedFrom(InputStream input)

public static BatchPredictionJob.InputConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchPredictionJob.InputConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchPredictionJob.InputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchPredictionJob.InputConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BatchPredictionJob.InputConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BatchPredictionJob.InputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchPredictionJob.InputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchPredictionJob.InputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchPredictionJob.InputConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BatchPredictionJob.InputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchPredictionJob.InputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchPredictionJob.InputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchPredictionJob.InputConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BatchPredictionJob.InputConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchPredictionJob.InputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchPredictionJob.InputConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BatchPredictionJob.InputConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchPredictionJob.InputConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchPredictionJob.InputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchPredictionJob.InputConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BatchPredictionJob.InputConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BatchPredictionJob.InputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchPredictionJob.InputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchPredictionJob.InputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public BatchPredictionJob.InputConfig getDefaultInstanceForType()
Returns
TypeDescription
BatchPredictionJob.InputConfig

getGcsSource()

public GcsSource getGcsSource()

The Cloud Storage location for the input instances.

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

Returns
TypeDescription
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

The Cloud Storage location for the input instances.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for instancesFormat.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceCase()

public BatchPredictionJob.InputConfig.SourceCase getSourceCase()
Returns
TypeDescription
BatchPredictionJob.InputConfig.SourceCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
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
TypeDescription
boolean

Whether the gcsSource field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BatchPredictionJob.InputConfig.Builder newBuilderForType()
Returns
TypeDescription
BatchPredictionJob.InputConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchPredictionJob.InputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BatchPredictionJob.InputConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BatchPredictionJob.InputConfig.Builder toBuilder()
Returns
TypeDescription
BatchPredictionJob.InputConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException