Package com.google.cloud.aiplatform.v1
Class ModelMonitoringObjectiveConfig.TrainingDataset.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
com.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
- All Implemented Interfaces:
ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ModelMonitoringObjectiveConfig.TrainingDataset
public static final class ModelMonitoringObjectiveConfig.TrainingDataset.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
implements ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
Training Dataset information.Protobuf type
google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The BigQuery table of the unmanaged Dataset used to train this Model.Data format of the dataset, only applicable if the input is from Google Cloud Storage.The resource name of the Dataset used to train this Model.The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.Strategy to sample data from Training Dataset.The target field name the model is to predict.The BigQuery table of the unmanaged Dataset used to train this Model.The BigQuery table of the unmanaged Dataset used to train this Model.The BigQuery table of the unmanaged Dataset used to train this Model.Data format of the dataset, only applicable if the input is from Google Cloud Storage.com.google.protobuf.ByteStringData format of the dataset, only applicable if the input is from Google Cloud Storage.The resource name of the Dataset used to train this Model.com.google.protobuf.ByteStringThe resource name of the Dataset used to train this Model.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe Google Cloud Storage uri of the unmanaged Dataset used to train this Model.The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.Strategy to sample data from Training Dataset.Strategy to sample data from Training Dataset.Strategy to sample data from Training Dataset.The target field name the model is to predict.com.google.protobuf.ByteStringThe target field name the model is to predict.booleanThe BigQuery table of the unmanaged Dataset used to train this Model.booleanThe resource name of the Dataset used to train this Model.booleanThe Google Cloud Storage uri of the unmanaged Dataset used to train this Model.booleanStrategy to sample data from Training Dataset.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe BigQuery table of the unmanaged Dataset used to train this Model.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGcsSource(GcsSource value) The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.Strategy to sample data from Training Dataset.setBigquerySource(BigQuerySource value) The BigQuery table of the unmanaged Dataset used to train this Model.setBigquerySource(BigQuerySource.Builder builderForValue) The BigQuery table of the unmanaged Dataset used to train this Model.setDataFormat(String value) Data format of the dataset, only applicable if the input is from Google Cloud Storage.setDataFormatBytes(com.google.protobuf.ByteString value) Data format of the dataset, only applicable if the input is from Google Cloud Storage.setDataset(String value) The resource name of the Dataset used to train this Model.setDatasetBytes(com.google.protobuf.ByteString value) The resource name of the Dataset used to train this Model.setGcsSource(GcsSource value) The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.setGcsSource(GcsSource.Builder builderForValue) The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.Strategy to sample data from Training Dataset.setLoggingSamplingStrategy(SamplingStrategy.Builder builderForValue) Strategy to sample data from Training Dataset.setTargetField(String value) The target field name the model is to predict.setTargetFieldBytes(com.google.protobuf.ByteString value) The target field name the model is to predict.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
mergeFrom
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder mergeFrom(ModelMonitoringObjectiveConfig.TrainingDataset other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
mergeFrom
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>- Throws:
IOException
-
getDataSourceCase
- Specified by:
getDataSourceCasein interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
-
clearDataSource
-
hasDataset
public boolean hasDataset()The resource name of the Dataset used to train this Model.
string dataset = 3 [(.google.api.resource_reference) = { ... }- Specified by:
hasDatasetin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- Whether the dataset field is set.
-
getDataset
The resource name of the Dataset used to train this Model.
string dataset = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getDatasetin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- The dataset.
-
getDatasetBytes
public com.google.protobuf.ByteString getDatasetBytes()The resource name of the Dataset used to train this Model.
string dataset = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getDatasetBytesin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- The bytes for dataset.
-
setDataset
The resource name of the Dataset used to train this Model.
string dataset = 3 [(.google.api.resource_reference) = { ... }- Parameters:
value- The dataset to set.- Returns:
- This builder for chaining.
-
clearDataset
The resource name of the Dataset used to train this Model.
string dataset = 3 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setDatasetBytes
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder setDatasetBytes(com.google.protobuf.ByteString value) The resource name of the Dataset used to train this Model.
string dataset = 3 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for dataset to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasGcsSourcein interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- Whether the gcsSource field is set.
-
getGcsSource
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 4;- Specified by:
getGcsSourcein interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- The gcsSource.
-
setGcsSource
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 4; -
setGcsSource
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder setGcsSource(GcsSource.Builder builderForValue) The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 4; -
mergeGcsSource
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 4; -
clearGcsSource
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 4; -
getGcsSourceBuilder
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 4; -
getGcsSourceOrBuilder
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 4;- Specified by:
getGcsSourceOrBuilderin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
-
hasBigquerySource
public boolean hasBigquerySource()The BigQuery table of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5;- Specified by:
hasBigquerySourcein interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- Whether the bigquerySource field is set.
-
getBigquerySource
The BigQuery table of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5;- Specified by:
getBigquerySourcein interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- The bigquerySource.
-
setBigquerySource
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder setBigquerySource(BigQuerySource value) The BigQuery table of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5; -
setBigquerySource
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder setBigquerySource(BigQuerySource.Builder builderForValue) The BigQuery table of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5; -
mergeBigquerySource
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder mergeBigquerySource(BigQuerySource value) The BigQuery table of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5; -
clearBigquerySource
The BigQuery table of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5; -
getBigquerySourceBuilder
The BigQuery table of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5; -
getBigquerySourceOrBuilder
The BigQuery table of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5;- Specified by:
getBigquerySourceOrBuilderin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
-
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;- Specified by:
getDataFormatin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- The dataFormat.
-
getDataFormatBytes
public com.google.protobuf.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;- Specified by:
getDataFormatBytesin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- The bytes for dataFormat.
-
setDataFormat
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;- Parameters:
value- The dataFormat to set.- Returns:
- This builder for chaining.
-
clearDataFormat
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:
- This builder for chaining.
-
setDataFormatBytes
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder setDataFormatBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for dataFormat to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getTargetFieldin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- The targetField.
-
getTargetFieldBytes
public com.google.protobuf.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;- Specified by:
getTargetFieldBytesin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- The bytes for targetField.
-
setTargetField
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;- Parameters:
value- The targetField to set.- Returns:
- This builder for chaining.
-
clearTargetField
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:
- This builder for chaining.
-
setTargetFieldBytes
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder setTargetFieldBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for targetField to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasLoggingSamplingStrategyin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- Whether the loggingSamplingStrategy field is set.
-
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;- Specified by:
getLoggingSamplingStrategyin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- The loggingSamplingStrategy.
-
setLoggingSamplingStrategy
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder setLoggingSamplingStrategy(SamplingStrategy value) Strategy to sample data from Training Dataset. If not set, we process the whole dataset.
.google.cloud.aiplatform.v1.SamplingStrategy logging_sampling_strategy = 7; -
setLoggingSamplingStrategy
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder setLoggingSamplingStrategy(SamplingStrategy.Builder builderForValue) Strategy to sample data from Training Dataset. If not set, we process the whole dataset.
.google.cloud.aiplatform.v1.SamplingStrategy logging_sampling_strategy = 7; -
mergeLoggingSamplingStrategy
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder mergeLoggingSamplingStrategy(SamplingStrategy value) Strategy to sample data from Training Dataset. If not set, we process the whole dataset.
.google.cloud.aiplatform.v1.SamplingStrategy logging_sampling_strategy = 7; -
clearLoggingSamplingStrategy
Strategy to sample data from Training Dataset. If not set, we process the whole dataset.
.google.cloud.aiplatform.v1.SamplingStrategy logging_sampling_strategy = 7; -
getLoggingSamplingStrategyBuilder
Strategy to sample data from Training Dataset. If not set, we process the whole dataset.
.google.cloud.aiplatform.v1.SamplingStrategy logging_sampling_strategy = 7; -
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;- Specified by:
getLoggingSamplingStrategyOrBuilderin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
-