public static final class ModelMonitoringObjectiveConfig.TrainingDataset extends GeneratedMessageV3 implements ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
Training Dataset information.
Protobuf type
google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset
Static Fields
public static final int BIGQUERY_SOURCE_FIELD_NUMBER
Field Value
public static final int DATASET_FIELD_NUMBER
Field Value
public static final int DATA_FORMAT_FIELD_NUMBER
Field Value
public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
public static final int LOGGING_SAMPLING_STRATEGY_FIELD_NUMBER
Field Value
public static final int TARGET_FIELD_FIELD_NUMBER
Field Value
Static Methods
public static ModelMonitoringObjectiveConfig.TrainingDataset getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilder()
Returns
public static ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilder(ModelMonitoringObjectiveConfig.TrainingDataset prototype)
Parameter
Returns
public static ModelMonitoringObjectiveConfig.TrainingDataset parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingDataset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ModelMonitoringObjectiveConfig.TrainingDataset> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public BigQuerySource getBigquerySource()
The BigQuery table of the unmanaged Dataset used to train this
Model.
.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 5;
Returns
public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()
The BigQuery table of the unmanaged Dataset used to train this
Model.
.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 5;
Returns
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.
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.
string data_format = 2;
Returns
Type | Description |
ByteString | The bytes for dataFormat.
|
public ModelMonitoringObjectiveConfig.TrainingDataset.DataSourceCase getDataSourceCase()
Returns
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
public ModelMonitoringObjectiveConfig.TrainingDataset getDefaultInstanceForType()
Returns
public GcsSource getGcsSource()
The Google Cloud Storage uri of the unmanaged Dataset used to train
this Model.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 4;
Returns
public GcsSourceOrBuilder getGcsSourceOrBuilder()
The Google Cloud Storage uri of the unmanaged Dataset used to train
this Model.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 4;
Returns
public SamplingStrategy getLoggingSamplingStrategy()
Strategy to sample data from Training Dataset.
If not set, we process the whole dataset.
.google.cloud.aiplatform.v1beta1.SamplingStrategy logging_sampling_strategy = 7;
Returns
public SamplingStrategyOrBuilder getLoggingSamplingStrategyOrBuilder()
Strategy to sample data from Training Dataset.
If not set, we process the whole dataset.
.google.cloud.aiplatform.v1beta1.SamplingStrategy logging_sampling_strategy = 7;
Returns
public Parser<ModelMonitoringObjectiveConfig.TrainingDataset> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
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()
Returns
Overrides
public boolean hasBigquerySource()
The BigQuery table of the unmanaged Dataset used to train this
Model.
.google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.SamplingStrategy logging_sampling_strategy = 7;
Returns
Type | Description |
boolean | Whether the loggingSamplingStrategy field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilderForType()
Returns
protected ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions