Package com.google.cloud.aiplatform.v1
Class ModelMonitoringObjectiveConfig.TrainingDataset
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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.GeneratedMessageV3 implements ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder
Training Dataset information.
Protobuf typegoogle.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
Training Dataset information.static class
ModelMonitoringObjectiveConfig.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 int
BIGQUERY_SOURCE_FIELD_NUMBER
static int
DATA_FORMAT_FIELD_NUMBER
static int
DATASET_FIELD_NUMBER
static int
GCS_SOURCE_FIELD_NUMBER
static int
LOGGING_SAMPLING_STRATEGY_FIELD_NUMBER
static int
TARGET_FIELD_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
BigQuerySource
getBigquerySource()
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()
static ModelMonitoringObjectiveConfig.TrainingDataset
getDefaultInstance()
ModelMonitoringObjectiveConfig.TrainingDataset
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
GcsSource
getGcsSource()
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.SamplingStrategyOrBuilder
getLoggingSamplingStrategyOrBuilder()
Strategy to sample data from Training Dataset.com.google.protobuf.Parser<ModelMonitoringObjectiveConfig.TrainingDataset>
getParserForType()
int
getSerializedSize()
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.int
hashCode()
boolean
hasLoggingSamplingStrategy()
Strategy to sample data from Training Dataset.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ModelMonitoringObjectiveConfig.TrainingDataset.Builder
newBuilder()
static ModelMonitoringObjectiveConfig.TrainingDataset.Builder
newBuilder(ModelMonitoringObjectiveConfig.TrainingDataset prototype)
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
newBuilderForType()
protected ModelMonitoringObjectiveConfig.TrainingDataset.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ModelMonitoringObjectiveConfig.TrainingDataset
parseDelimitedFrom(InputStream input)
static ModelMonitoringObjectiveConfig.TrainingDataset
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelMonitoringObjectiveConfig.TrainingDataset
parseFrom(byte[] data)
static ModelMonitoringObjectiveConfig.TrainingDataset
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelMonitoringObjectiveConfig.TrainingDataset
parseFrom(com.google.protobuf.ByteString data)
static ModelMonitoringObjectiveConfig.TrainingDataset
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelMonitoringObjectiveConfig.TrainingDataset
parseFrom(com.google.protobuf.CodedInputStream input)
static ModelMonitoringObjectiveConfig.TrainingDataset
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelMonitoringObjectiveConfig.TrainingDataset
parseFrom(InputStream input)
static ModelMonitoringObjectiveConfig.TrainingDataset
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelMonitoringObjectiveConfig.TrainingDataset
parseFrom(ByteBuffer data)
static ModelMonitoringObjectiveConfig.TrainingDataset
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ModelMonitoringObjectiveConfig.TrainingDataset>
parser()
ModelMonitoringObjectiveConfig.TrainingDataset.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getDataSourceCase
public ModelMonitoringObjectiveConfig.TrainingDataset.DataSourceCase getDataSourceCase()
- Specified by:
getDataSourceCase
in 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:
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ModelMonitoringObjectiveConfig.TrainingDataset.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ModelMonitoringObjectiveConfig.TrainingDataset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-