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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder> implements ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
Training Dataset information.
Protobuf typegoogle.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelMonitoringObjectiveConfig.TrainingDataset.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ModelMonitoringObjectiveConfig.TrainingDataset
build()
ModelMonitoringObjectiveConfig.TrainingDataset
buildPartial()
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
clear()
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
clearBigquerySource()
The BigQuery table of the unmanaged Dataset used to train this Model.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
clearDataFormat()
Data format of the dataset, only applicable if the input is from Google Cloud Storage.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
clearDataset()
The resource name of the Dataset used to train this Model.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
clearDataSource()
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
clearGcsSource()
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
clearLoggingSamplingStrategy()
Strategy to sample data from Training Dataset.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
clearTargetField()
The target field name the model is to predict.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
clone()
BigQuerySource
getBigquerySource()
The BigQuery table of the unmanaged Dataset used to train this Model.BigQuerySource.Builder
getBigquerySourceBuilder()
The BigQuery table of the unmanaged Dataset used to train this Model.BigQuerySourceOrBuilder
getBigquerySourceOrBuilder()
The BigQuery table of the unmanaged Dataset used to train this Model.String
getDataFormat()
Data format of the dataset, only applicable if the input is from Google Cloud Storage.com.google.protobuf.ByteString
getDataFormatBytes()
Data format of the dataset, only applicable if the input is from Google Cloud Storage.String
getDataset()
The resource name of the Dataset used to train this Model.com.google.protobuf.ByteString
getDatasetBytes()
The resource name of the Dataset used to train this Model.ModelMonitoringObjectiveConfig.TrainingDataset.DataSourceCase
getDataSourceCase()
ModelMonitoringObjectiveConfig.TrainingDataset
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
GcsSource
getGcsSource()
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.GcsSource.Builder
getGcsSourceBuilder()
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.GcsSourceOrBuilder
getGcsSourceOrBuilder()
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.SamplingStrategy
getLoggingSamplingStrategy()
Strategy to sample data from Training Dataset.SamplingStrategy.Builder
getLoggingSamplingStrategyBuilder()
Strategy to sample data from Training Dataset.SamplingStrategyOrBuilder
getLoggingSamplingStrategyOrBuilder()
Strategy to sample data from Training Dataset.String
getTargetField()
The target field name the model is to predict.com.google.protobuf.ByteString
getTargetFieldBytes()
The target field name the model is to predict.boolean
hasBigquerySource()
The BigQuery table of the unmanaged Dataset used to train this Model.boolean
hasDataset()
The resource name of the Dataset used to train this Model.boolean
hasGcsSource()
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.boolean
hasLoggingSamplingStrategy()
Strategy to sample data from Training Dataset.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
mergeBigquerySource(BigQuerySource value)
The BigQuery table of the unmanaged Dataset used to train this Model.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
mergeFrom(ModelMonitoringObjectiveConfig.TrainingDataset other)
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
mergeFrom(com.google.protobuf.Message other)
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
mergeGcsSource(GcsSource value)
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
mergeLoggingSamplingStrategy(SamplingStrategy value)
Strategy to sample data from Training Dataset.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setBigquerySource(BigQuerySource value)
The BigQuery table of the unmanaged Dataset used to train this Model.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setBigquerySource(BigQuerySource.Builder builderForValue)
The BigQuery table of the unmanaged Dataset used to train this Model.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setDataFormat(String value)
Data format of the dataset, only applicable if the input is from Google Cloud Storage.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setDataFormatBytes(com.google.protobuf.ByteString value)
Data format of the dataset, only applicable if the input is from Google Cloud Storage.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setDataset(String value)
The resource name of the Dataset used to train this Model.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setDatasetBytes(com.google.protobuf.ByteString value)
The resource name of the Dataset used to train this Model.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setGcsSource(GcsSource value)
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setGcsSource(GcsSource.Builder builderForValue)
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setLoggingSamplingStrategy(SamplingStrategy value)
Strategy to sample data from Training Dataset.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setLoggingSamplingStrategy(SamplingStrategy.Builder builderForValue)
Strategy to sample data from Training Dataset.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setTargetField(String value)
The target field name the model is to predict.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setTargetFieldBytes(com.google.protobuf.ByteString value)
The target field name the model is to predict.ModelMonitoringObjectiveConfig.TrainingDataset.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
clear
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
getDefaultInstanceForType
public ModelMonitoringObjectiveConfig.TrainingDataset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ModelMonitoringObjectiveConfig.TrainingDataset build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ModelMonitoringObjectiveConfig.TrainingDataset buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
setField
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
clearField
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
clearOneof
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
setRepeatedField
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
addRepeatedField
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
mergeFrom
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
mergeFrom
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder mergeFrom(ModelMonitoringObjectiveConfig.TrainingDataset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
mergeFrom
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
- Throws:
IOException
-
getDataSourceCase
public ModelMonitoringObjectiveConfig.TrainingDataset.DataSourceCase getDataSourceCase()
- Specified by:
getDataSourceCase
in interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
-
clearDataSource
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder 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:
hasDataset
in interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
- Returns:
- Whether the dataset field is set.
-
getDataset
public String getDataset()
The resource name of the Dataset used to train this Model.
string dataset = 3 [(.google.api.resource_reference) = { ... }
- Specified by:
getDataset
in 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:
getDatasetBytes
in interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
- Returns:
- The bytes for dataset.
-
setDataset
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder setDataset(String value)
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
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder 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:
hasGcsSource
in interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
- Returns:
- Whether the gcsSource field is set.
-
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;
- Specified by:
getGcsSource
in interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
- Returns:
- The gcsSource.
-
setGcsSource
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder setGcsSource(GcsSource value)
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
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder mergeGcsSource(GcsSource value)
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 4;
-
clearGcsSource
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder clearGcsSource()
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 4;
-
getGcsSourceBuilder
public GcsSource.Builder getGcsSourceBuilder()
The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 4;
-
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;
- Specified by:
getGcsSourceOrBuilder
in 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:
hasBigquerySource
in interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
- Returns:
- Whether the bigquerySource field is set.
-
getBigquerySource
public BigQuerySource getBigquerySource()
The BigQuery table of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5;
- Specified by:
getBigquerySource
in 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
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder clearBigquerySource()
The BigQuery table of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5;
-
getBigquerySourceBuilder
public BigQuerySource.Builder getBigquerySourceBuilder()
The BigQuery table of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5;
-
getBigquerySourceOrBuilder
public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()
The BigQuery table of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 5;
- Specified by:
getBigquerySourceOrBuilder
in interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
-
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;
- Specified by:
getDataFormat
in 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:
getDataFormatBytes
in interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
- Returns:
- The bytes for dataFormat.
-
setDataFormat
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder setDataFormat(String 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 dataFormat to set.- Returns:
- This builder for chaining.
-
clearDataFormat
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder 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
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;
- Specified by:
getTargetField
in 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:
getTargetFieldBytes
in interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
- Returns:
- The bytes for targetField.
-
setTargetField
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder setTargetField(String 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 targetField to set.- Returns:
- This builder for chaining.
-
clearTargetField
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder 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:
hasLoggingSamplingStrategy
in interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
- Returns:
- Whether the loggingSamplingStrategy field is set.
-
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;
- Specified by:
getLoggingSamplingStrategy
in 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
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder 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
public SamplingStrategy.Builder 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
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;
- Specified by:
getLoggingSamplingStrategyOrBuilder
in interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
-
setUnknownFields
public final ModelMonitoringObjectiveConfig.TrainingDataset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
mergeUnknownFields
public final ModelMonitoringObjectiveConfig.TrainingDataset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingDataset.Builder>
-
-