Class ModelMonitoringObjectiveConfig.TrainingDataset (3.42.0)

public static final class ModelMonitoringObjectiveConfig.TrainingDataset extends GeneratedMessageV3 implements ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder

Training Dataset information.

Protobuf type google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ModelMonitoringObjectiveConfig.TrainingDataset

Static Fields

BIGQUERY_SOURCE_FIELD_NUMBER

public static final int BIGQUERY_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

DATASET_FIELD_NUMBER

public static final int DATASET_FIELD_NUMBER
Field Value
Type Description
int

DATA_FORMAT_FIELD_NUMBER

public static final int DATA_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

LOGGING_SAMPLING_STRATEGY_FIELD_NUMBER

public static final int LOGGING_SAMPLING_STRATEGY_FIELD_NUMBER
Field Value
Type Description
int

TARGET_FIELD_FIELD_NUMBER

public static final int TARGET_FIELD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModelMonitoringObjectiveConfig.TrainingDataset getDefaultInstance()
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset

getDescriptor()

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

newBuilder()

public static ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilder()
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset.Builder

newBuilder(ModelMonitoringObjectiveConfig.TrainingDataset prototype)

public static ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilder(ModelMonitoringObjectiveConfig.TrainingDataset prototype)
Parameter
Name Description
prototype ModelMonitoringObjectiveConfig.TrainingDataset
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset.Builder

parseDelimitedFrom(InputStream input)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ModelMonitoringObjectiveConfig.TrainingDataset> parser()
Returns
Type Description
Parser<TrainingDataset>

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 table of the unmanaged Dataset used to train this Model.

.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5;

Returns
Type Description
BigQuerySource

The bigquerySource.

getBigquerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()

The BigQuery table of the unmanaged Dataset used to train this Model.

.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5;

Returns
Type Description
BigQuerySourceOrBuilder

getDataFormat()

public String getDataFormat()

Data format of the dataset, only applicable if the input is from Google Cloud Storage. The possible formats are:

"tf-record" The source file is a TFRecord file.

"csv" The source file is a CSV file. "jsonl" The source file is a JSONL file.

string data_format = 2;

Returns
Type Description
String

The dataFormat.

getDataFormatBytes()

public ByteString getDataFormatBytes()

Data format of the dataset, only applicable if the input is from Google Cloud Storage. The possible formats are:

"tf-record" The source file is a TFRecord file.

"csv" The source file is a CSV file. "jsonl" The source file is a JSONL file.

string data_format = 2;

Returns
Type Description
ByteString

The bytes for dataFormat.

getDataSourceCase()

public ModelMonitoringObjectiveConfig.TrainingDataset.DataSourceCase getDataSourceCase()
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset.DataSourceCase

getDataset()

public String getDataset()

The resource name of the Dataset used to train this Model.

string dataset = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

The resource name of the Dataset used to train this Model.

string dataset = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public ModelMonitoringObjectiveConfig.TrainingDataset getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset

getGcsSource()

public GcsSource getGcsSource()

The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.

.google.cloud.aiplatform.v1.GcsSource gcs_source = 4;

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.

.google.cloud.aiplatform.v1.GcsSource gcs_source = 4;

Returns
Type Description
GcsSourceOrBuilder

getLoggingSamplingStrategy()

public SamplingStrategy getLoggingSamplingStrategy()

Strategy to sample data from Training Dataset. If not set, we process the whole dataset.

.google.cloud.aiplatform.v1.SamplingStrategy logging_sampling_strategy = 7;

Returns
Type Description
SamplingStrategy

The loggingSamplingStrategy.

getLoggingSamplingStrategyOrBuilder()

public SamplingStrategyOrBuilder getLoggingSamplingStrategyOrBuilder()

Strategy to sample data from Training Dataset. If not set, we process the whole dataset.

.google.cloud.aiplatform.v1.SamplingStrategy logging_sampling_strategy = 7;

Returns
Type Description
SamplingStrategyOrBuilder

getParserForType()

public Parser<ModelMonitoringObjectiveConfig.TrainingDataset> getParserForType()
Returns
Type Description
Parser<TrainingDataset>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetField()

public String getTargetField()

The target field name the model is to predict. This field will be excluded when doing Predict and (or) Explain for the training data.

string target_field = 6;

Returns
Type Description
String

The targetField.

getTargetFieldBytes()

public ByteString getTargetFieldBytes()

The target field name the model is to predict. This field will be excluded when doing Predict and (or) Explain for the training data.

string target_field = 6;

Returns
Type Description
ByteString

The bytes for targetField.

hasBigquerySource()

public boolean hasBigquerySource()

The BigQuery table of the unmanaged Dataset used to train this Model.

.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5;

Returns
Type Description
boolean

Whether the bigquerySource field is set.

hasDataset()

public boolean hasDataset()

The resource name of the Dataset used to train this Model.

string dataset = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the dataset field is set.

hasGcsSource()

public boolean hasGcsSource()

The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.

.google.cloud.aiplatform.v1.GcsSource gcs_source = 4;

Returns
Type Description
boolean

Whether the gcsSource field is set.

hasLoggingSamplingStrategy()

public boolean hasLoggingSamplingStrategy()

Strategy to sample data from Training Dataset. If not set, we process the whole dataset.

.google.cloud.aiplatform.v1.SamplingStrategy logging_sampling_strategy = 7;

Returns
Type Description
boolean

Whether the loggingSamplingStrategy 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 ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilderForType()
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ModelMonitoringObjectiveConfig.TrainingDataset.Builder toBuilder()
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset.Builder

writeTo(CodedOutputStream output)

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