public static final class ModelMonitoringObjectiveConfig.TrainingDataset extends GeneratedMessageV3 implements ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
Training Dataset information.
Protobuf type google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 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)
Returns |
Type |
Description |
Object |
|
Overrides
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides