Package com.google.cloud.aiplatform.v1
Class ModelMonitoringObjectiveConfig.TrainingDataset
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.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.GeneratedMessage
implements ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
Training Dataset information.Protobuf type
google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTraining Dataset information.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe 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.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.Strategy to sample data from Training Dataset.Strategy to sample data from Training Dataset.com.google.protobuf.Parser<ModelMonitoringObjectiveConfig.TrainingDataset>intThe 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.inthashCode()booleanStrategy to sample data from Training Dataset.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ModelMonitoringObjectiveConfig.TrainingDataset>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DATASET_FIELD_NUMBER
public static final int DATASET_FIELD_NUMBER- See Also:
-
GCS_SOURCE_FIELD_NUMBER
public static final int GCS_SOURCE_FIELD_NUMBER- See Also:
-
BIGQUERY_SOURCE_FIELD_NUMBER
public static final int BIGQUERY_SOURCE_FIELD_NUMBER- See Also:
-
DATA_FORMAT_FIELD_NUMBER
public static final int DATA_FORMAT_FIELD_NUMBER- See Also:
-
TARGET_FIELD_FIELD_NUMBER
public static final int TARGET_FIELD_FIELD_NUMBER- See Also:
-
LOGGING_SAMPLING_STRATEGY_FIELD_NUMBER
public static final int LOGGING_SAMPLING_STRATEGY_FIELD_NUMBER- See Also:
-
-
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
-
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
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.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.
-
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.
-
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.
-
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.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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilder(ModelMonitoringObjectiveConfig.TrainingDataset prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
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.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-