Class ModelMonitoringObjectiveConfig.TrainingDataset
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset
-
- All Implemented Interfaces:
ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- ModelMonitoringObjectiveConfig
public static final class ModelMonitoringObjectiveConfig.TrainingDataset extends com.google.protobuf.GeneratedMessageV3 implements ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
Training Dataset information.
Protobuf typegoogle.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModelMonitoringObjectiveConfig.TrainingDataset.BuilderTraining Dataset information.static classModelMonitoringObjectiveConfig.TrainingDataset.DataSourceCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBIGQUERY_SOURCE_FIELD_NUMBERstatic intDATA_FORMAT_FIELD_NUMBERstatic intDATASET_FIELD_NUMBERstatic intGCS_SOURCE_FIELD_NUMBERstatic intLOGGING_SAMPLING_STRATEGY_FIELD_NUMBERstatic intTARGET_FIELD_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)BigQuerySourcegetBigquerySource()The BigQuery table of the unmanaged Dataset used to train this Model.BigQuerySourceOrBuildergetBigquerySourceOrBuilder()The BigQuery table of the unmanaged Dataset used to train this Model.StringgetDataFormat()Data format of the dataset, only applicable if the input is from Google Cloud Storage.com.google.protobuf.ByteStringgetDataFormatBytes()Data format of the dataset, only applicable if the input is from Google Cloud Storage.StringgetDataset()The resource name of the Dataset used to train this Model.com.google.protobuf.ByteStringgetDatasetBytes()The resource name of the Dataset used to train this Model.ModelMonitoringObjectiveConfig.TrainingDataset.DataSourceCasegetDataSourceCase()static ModelMonitoringObjectiveConfig.TrainingDatasetgetDefaultInstance()ModelMonitoringObjectiveConfig.TrainingDatasetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()GcsSourcegetGcsSource()The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.GcsSourceOrBuildergetGcsSourceOrBuilder()The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.SamplingStrategygetLoggingSamplingStrategy()Strategy to sample data from Training Dataset.SamplingStrategyOrBuildergetLoggingSamplingStrategyOrBuilder()Strategy to sample data from Training Dataset.com.google.protobuf.Parser<ModelMonitoringObjectiveConfig.TrainingDataset>getParserForType()intgetSerializedSize()StringgetTargetField()The target field name the model is to predict.com.google.protobuf.ByteStringgetTargetFieldBytes()The target field name the model is to predict.booleanhasBigquerySource()The BigQuery table of the unmanaged Dataset used to train this Model.booleanhasDataset()The resource name of the Dataset used to train this Model.booleanhasGcsSource()The Google Cloud Storage uri of the unmanaged Dataset used to train this Model.inthashCode()booleanhasLoggingSamplingStrategy()Strategy to sample data from Training Dataset.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ModelMonitoringObjectiveConfig.TrainingDataset.BuildernewBuilder()static ModelMonitoringObjectiveConfig.TrainingDataset.BuildernewBuilder(ModelMonitoringObjectiveConfig.TrainingDataset prototype)ModelMonitoringObjectiveConfig.TrainingDataset.BuildernewBuilderForType()protected ModelMonitoringObjectiveConfig.TrainingDataset.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ModelMonitoringObjectiveConfig.TrainingDatasetparseDelimitedFrom(InputStream input)static ModelMonitoringObjectiveConfig.TrainingDatasetparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelMonitoringObjectiveConfig.TrainingDatasetparseFrom(byte[] data)static ModelMonitoringObjectiveConfig.TrainingDatasetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelMonitoringObjectiveConfig.TrainingDatasetparseFrom(com.google.protobuf.ByteString data)static ModelMonitoringObjectiveConfig.TrainingDatasetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelMonitoringObjectiveConfig.TrainingDatasetparseFrom(com.google.protobuf.CodedInputStream input)static ModelMonitoringObjectiveConfig.TrainingDatasetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelMonitoringObjectiveConfig.TrainingDatasetparseFrom(InputStream input)static ModelMonitoringObjectiveConfig.TrainingDatasetparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelMonitoringObjectiveConfig.TrainingDatasetparseFrom(ByteBuffer data)static ModelMonitoringObjectiveConfig.TrainingDatasetparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ModelMonitoringObjectiveConfig.TrainingDataset>parser()ModelMonitoringObjectiveConfig.TrainingDataset.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DATASET_FIELD_NUMBER
public static final int DATASET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GCS_SOURCE_FIELD_NUMBER
public static final int GCS_SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BIGQUERY_SOURCE_FIELD_NUMBER
public static final int BIGQUERY_SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_FORMAT_FIELD_NUMBER
public static final int DATA_FORMAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_FIELD_FIELD_NUMBER
public static final int TARGET_FIELD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGGING_SAMPLING_STRATEGY_FIELD_NUMBER
public static final int LOGGING_SAMPLING_STRATEGY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDataSourceCase
public ModelMonitoringObjectiveConfig.TrainingDataset.DataSourceCase getDataSourceCase()
- Specified by:
getDataSourceCasein interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
-
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
public String 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.
-
hasGcsSource
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;- Specified by:
hasGcsSourcein 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.v1beta1.GcsSource gcs_source = 4;- Specified by:
getGcsSourcein interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- The gcsSource.
-
getGcsSourceOrBuilder
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;- Specified by:
getGcsSourceOrBuilderin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
-
hasBigquerySource
public boolean hasBigquerySource()
The BigQuery table of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 5;- Specified by:
hasBigquerySourcein 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.v1beta1.BigQuerySource bigquery_source = 5;- Specified by:
getBigquerySourcein interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- The bigquerySource.
-
getBigquerySourceOrBuilder
public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()
The BigQuery table of the unmanaged Dataset used to train this Model.
.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 5;- Specified by:
getBigquerySourceOrBuilderin 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:
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.
-
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:
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.
-
hasLoggingSamplingStrategy
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;- Specified by:
hasLoggingSamplingStrategyin 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.v1beta1.SamplingStrategy logging_sampling_strategy = 7;- Specified by:
getLoggingSamplingStrategyin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder- Returns:
- The loggingSamplingStrategy.
-
getLoggingSamplingStrategyOrBuilder
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;- Specified by:
getLoggingSamplingStrategyOrBuilderin interfaceModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ModelMonitoringObjectiveConfig.TrainingDataset parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ModelMonitoringObjectiveConfig.TrainingDataset parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ModelMonitoringObjectiveConfig.TrainingDataset parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilder()
-
newBuilder
public static ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilder(ModelMonitoringObjectiveConfig.TrainingDataset prototype)
-
toBuilder
public ModelMonitoringObjectiveConfig.TrainingDataset.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ModelMonitoringObjectiveConfig.TrainingDataset getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ModelMonitoringObjectiveConfig.TrainingDataset> parser()
-
getParserForType
public com.google.protobuf.Parser<ModelMonitoringObjectiveConfig.TrainingDataset> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ModelMonitoringObjectiveConfig.TrainingDataset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-