Send feedback
Class ModelMonitoringObjectiveConfig.TrainingDataset (3.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.15.0 keyboard_arrow_down
public static final class ModelMonitoringObjectiveConfig . TrainingDataset extends GeneratedMessageV3 implements ModelMonitoringObjectiveConfig . TrainingDatasetOrBuilder
Training Dataset information.
Protobuf type google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset
Static Fields
public static final int BIGQUERY_SOURCE_FIELD_NUMBER
Field Value Type Description int
public static final int DATASET_FIELD_NUMBER
Field Value Type Description int
public static final int DATA_FORMAT_FIELD_NUMBER
Field Value Type Description int
public static final int GCS_SOURCE_FIELD_NUMBER
Field Value Type Description int
public static final int LOGGING_SAMPLING_STRATEGY_FIELD_NUMBER
Field Value Type Description int
public static final int TARGET_FIELD_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static ModelMonitoringObjectiveConfig . TrainingDataset getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ModelMonitoringObjectiveConfig . TrainingDataset . Builder newBuilder ()
public static ModelMonitoringObjectiveConfig . TrainingDataset . Builder newBuilder ( ModelMonitoringObjectiveConfig . TrainingDataset prototype )
public static ModelMonitoringObjectiveConfig . TrainingDataset parseDelimitedFrom ( InputStream input )
public static ModelMonitoringObjectiveConfig . TrainingDataset parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringObjectiveConfig . TrainingDataset parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static ModelMonitoringObjectiveConfig . TrainingDataset parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringObjectiveConfig . TrainingDataset parseFrom ( ByteString data )
public static ModelMonitoringObjectiveConfig . TrainingDataset parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringObjectiveConfig . TrainingDataset parseFrom ( CodedInputStream input )
public static ModelMonitoringObjectiveConfig . TrainingDataset parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringObjectiveConfig . TrainingDataset parseFrom ( InputStream input )
public static ModelMonitoringObjectiveConfig . TrainingDataset parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringObjectiveConfig . TrainingDataset parseFrom ( ByteBuffer data )
public static ModelMonitoringObjectiveConfig . TrainingDataset parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ModelMonitoringObjectiveConfig . TrainingDataset > parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public BigQuerySource getBigquerySource ()
The BigQuery table of the unmanaged Dataset used to train this
Model.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5;
public BigQuerySourceOrBuilder getBigquerySourceOrBuilder ()
The BigQuery table of the unmanaged Dataset used to train this
Model.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5;
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.
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.
public ModelMonitoringObjectiveConfig . TrainingDataset . DataSourceCase getDataSourceCase ()
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.
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.
public ModelMonitoringObjectiveConfig . TrainingDataset getDefaultInstanceForType ()
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.
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;
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;
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;
public Parser<ModelMonitoringObjectiveConfig . TrainingDataset > getParserForType ()
Overrides
public int getSerializedSize ()
Returns Type Description int
Overrides
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.
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.
public final UnknownFieldSet getUnknownFields ()
Overrides
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.
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.
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.
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.
Returns Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ModelMonitoringObjectiveConfig . TrainingDataset . Builder newBuilderForType ()
protected ModelMonitoringObjectiveConfig . TrainingDataset . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public ModelMonitoringObjectiveConfig . TrainingDataset . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]