Class ModelMonitoringSchema
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.ModelMonitoringSchema
- All Implemented Interfaces:
ModelMonitoringSchemaOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ModelMonitoringSchema
extends com.google.protobuf.GeneratedMessage
implements ModelMonitoringSchemaOrBuilder
The Model Monitoring Schema definition.Protobuf type
google.cloud.aiplatform.v1beta1.ModelMonitoringSchema- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe Model Monitoring Schema definition.static final classSchema field definition.static interfaceNested 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 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 TypeMethodDescriptionbooleanstatic ModelMonitoringSchemastatic final com.google.protobuf.Descriptors.DescriptorgetFeatureFields(int index) Feature names of the model.intFeature names of the model.Feature names of the model.getFeatureFieldsOrBuilder(int index) Feature names of the model.List<? extends ModelMonitoringSchema.FieldSchemaOrBuilder>Feature names of the model.getGroundTruthFields(int index) Target /ground truth names of the model.intTarget /ground truth names of the model.Target /ground truth names of the model.getGroundTruthFieldsOrBuilder(int index) Target /ground truth names of the model.List<? extends ModelMonitoringSchema.FieldSchemaOrBuilder>Target /ground truth names of the model.com.google.protobuf.Parser<ModelMonitoringSchema>getPredictionFields(int index) Prediction output names of the model.intPrediction output names of the model.Prediction output names of the model.getPredictionFieldsOrBuilder(int index) Prediction output names of the model.List<? extends ModelMonitoringSchema.FieldSchemaOrBuilder>Prediction output names of the model.intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(ModelMonitoringSchema prototype) protected ModelMonitoringSchema.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ModelMonitoringSchemaparseDelimitedFrom(InputStream input) static ModelMonitoringSchemaparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModelMonitoringSchemaparseFrom(byte[] data) static ModelMonitoringSchemaparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModelMonitoringSchemaparseFrom(com.google.protobuf.ByteString data) static ModelMonitoringSchemaparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModelMonitoringSchemaparseFrom(com.google.protobuf.CodedInputStream input) static ModelMonitoringSchemaparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModelMonitoringSchemaparseFrom(InputStream input) static ModelMonitoringSchemaparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModelMonitoringSchemaparseFrom(ByteBuffer data) static ModelMonitoringSchemaparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ModelMonitoringSchema>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
-
FEATURE_FIELDS_FIELD_NUMBER
public static final int FEATURE_FIELDS_FIELD_NUMBER- See Also:
-
PREDICTION_FIELDS_FIELD_NUMBER
public static final int PREDICTION_FIELDS_FIELD_NUMBER- See Also:
-
GROUND_TRUTH_FIELDS_FIELD_NUMBER
public static final int GROUND_TRUTH_FIELDS_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
-
getFeatureFieldsList
Feature names of the model. Vertex AI will try to match the features from your dataset as follows: * For 'csv' files, the header names are required, and we will extract the corresponding feature values when the header names align with the feature names. * For 'jsonl' files, we will extract the corresponding feature values if the key names match the feature names. Note: Nested features are not supported, so please ensure your features are flattened. Ensure the feature values are scalar or an array of scalars. * For 'bigquery' dataset, we will extract the corresponding feature values if the column names match the feature names. Note: The column type can be a scalar or an array of scalars. STRUCT or JSON types are not supported. You may use SQL queries to select or aggregate the relevant features from your original table. However, ensure that the 'schema' of the query results meets our requirements. * For the Vertex AI Endpoint Request Response Logging table or Vertex AI Batch Prediction Job results. If the [instance_type][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.instance_type] is an array, ensure that the sequence in [feature_fields][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.feature_fields] matches the order of features in the prediction instance. We will match the feature with the array in the order specified in [feature_fields].
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema feature_fields = 1;- Specified by:
getFeatureFieldsListin interfaceModelMonitoringSchemaOrBuilder
-
getFeatureFieldsOrBuilderList
Feature names of the model. Vertex AI will try to match the features from your dataset as follows: * For 'csv' files, the header names are required, and we will extract the corresponding feature values when the header names align with the feature names. * For 'jsonl' files, we will extract the corresponding feature values if the key names match the feature names. Note: Nested features are not supported, so please ensure your features are flattened. Ensure the feature values are scalar or an array of scalars. * For 'bigquery' dataset, we will extract the corresponding feature values if the column names match the feature names. Note: The column type can be a scalar or an array of scalars. STRUCT or JSON types are not supported. You may use SQL queries to select or aggregate the relevant features from your original table. However, ensure that the 'schema' of the query results meets our requirements. * For the Vertex AI Endpoint Request Response Logging table or Vertex AI Batch Prediction Job results. If the [instance_type][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.instance_type] is an array, ensure that the sequence in [feature_fields][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.feature_fields] matches the order of features in the prediction instance. We will match the feature with the array in the order specified in [feature_fields].
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema feature_fields = 1;- Specified by:
getFeatureFieldsOrBuilderListin interfaceModelMonitoringSchemaOrBuilder
-
getFeatureFieldsCount
public int getFeatureFieldsCount()Feature names of the model. Vertex AI will try to match the features from your dataset as follows: * For 'csv' files, the header names are required, and we will extract the corresponding feature values when the header names align with the feature names. * For 'jsonl' files, we will extract the corresponding feature values if the key names match the feature names. Note: Nested features are not supported, so please ensure your features are flattened. Ensure the feature values are scalar or an array of scalars. * For 'bigquery' dataset, we will extract the corresponding feature values if the column names match the feature names. Note: The column type can be a scalar or an array of scalars. STRUCT or JSON types are not supported. You may use SQL queries to select or aggregate the relevant features from your original table. However, ensure that the 'schema' of the query results meets our requirements. * For the Vertex AI Endpoint Request Response Logging table or Vertex AI Batch Prediction Job results. If the [instance_type][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.instance_type] is an array, ensure that the sequence in [feature_fields][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.feature_fields] matches the order of features in the prediction instance. We will match the feature with the array in the order specified in [feature_fields].
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema feature_fields = 1;- Specified by:
getFeatureFieldsCountin interfaceModelMonitoringSchemaOrBuilder
-
getFeatureFields
Feature names of the model. Vertex AI will try to match the features from your dataset as follows: * For 'csv' files, the header names are required, and we will extract the corresponding feature values when the header names align with the feature names. * For 'jsonl' files, we will extract the corresponding feature values if the key names match the feature names. Note: Nested features are not supported, so please ensure your features are flattened. Ensure the feature values are scalar or an array of scalars. * For 'bigquery' dataset, we will extract the corresponding feature values if the column names match the feature names. Note: The column type can be a scalar or an array of scalars. STRUCT or JSON types are not supported. You may use SQL queries to select or aggregate the relevant features from your original table. However, ensure that the 'schema' of the query results meets our requirements. * For the Vertex AI Endpoint Request Response Logging table or Vertex AI Batch Prediction Job results. If the [instance_type][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.instance_type] is an array, ensure that the sequence in [feature_fields][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.feature_fields] matches the order of features in the prediction instance. We will match the feature with the array in the order specified in [feature_fields].
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema feature_fields = 1;- Specified by:
getFeatureFieldsin interfaceModelMonitoringSchemaOrBuilder
-
getFeatureFieldsOrBuilder
Feature names of the model. Vertex AI will try to match the features from your dataset as follows: * For 'csv' files, the header names are required, and we will extract the corresponding feature values when the header names align with the feature names. * For 'jsonl' files, we will extract the corresponding feature values if the key names match the feature names. Note: Nested features are not supported, so please ensure your features are flattened. Ensure the feature values are scalar or an array of scalars. * For 'bigquery' dataset, we will extract the corresponding feature values if the column names match the feature names. Note: The column type can be a scalar or an array of scalars. STRUCT or JSON types are not supported. You may use SQL queries to select or aggregate the relevant features from your original table. However, ensure that the 'schema' of the query results meets our requirements. * For the Vertex AI Endpoint Request Response Logging table or Vertex AI Batch Prediction Job results. If the [instance_type][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.instance_type] is an array, ensure that the sequence in [feature_fields][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.feature_fields] matches the order of features in the prediction instance. We will match the feature with the array in the order specified in [feature_fields].
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema feature_fields = 1;- Specified by:
getFeatureFieldsOrBuilderin interfaceModelMonitoringSchemaOrBuilder
-
getPredictionFieldsList
Prediction output names of the model. The requirements are the same as the [feature_fields][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.feature_fields]. For AutoML Tables, the prediction output name presented in schema will be: `predicted_{target_column}`, the `target_column` is the one you specified when you train the model. For Prediction output drift analysis: * AutoML Classification, the distribution of the argmax label will be analyzed. * AutoML Regression, the distribution of the value will be analyzed.repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema prediction_fields = 2;- Specified by:
getPredictionFieldsListin interfaceModelMonitoringSchemaOrBuilder
-
getPredictionFieldsOrBuilderList
public List<? extends ModelMonitoringSchema.FieldSchemaOrBuilder> getPredictionFieldsOrBuilderList()Prediction output names of the model. The requirements are the same as the [feature_fields][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.feature_fields]. For AutoML Tables, the prediction output name presented in schema will be: `predicted_{target_column}`, the `target_column` is the one you specified when you train the model. For Prediction output drift analysis: * AutoML Classification, the distribution of the argmax label will be analyzed. * AutoML Regression, the distribution of the value will be analyzed.repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema prediction_fields = 2;- Specified by:
getPredictionFieldsOrBuilderListin interfaceModelMonitoringSchemaOrBuilder
-
getPredictionFieldsCount
public int getPredictionFieldsCount()Prediction output names of the model. The requirements are the same as the [feature_fields][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.feature_fields]. For AutoML Tables, the prediction output name presented in schema will be: `predicted_{target_column}`, the `target_column` is the one you specified when you train the model. For Prediction output drift analysis: * AutoML Classification, the distribution of the argmax label will be analyzed. * AutoML Regression, the distribution of the value will be analyzed.repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema prediction_fields = 2;- Specified by:
getPredictionFieldsCountin interfaceModelMonitoringSchemaOrBuilder
-
getPredictionFields
Prediction output names of the model. The requirements are the same as the [feature_fields][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.feature_fields]. For AutoML Tables, the prediction output name presented in schema will be: `predicted_{target_column}`, the `target_column` is the one you specified when you train the model. For Prediction output drift analysis: * AutoML Classification, the distribution of the argmax label will be analyzed. * AutoML Regression, the distribution of the value will be analyzed.repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema prediction_fields = 2;- Specified by:
getPredictionFieldsin interfaceModelMonitoringSchemaOrBuilder
-
getPredictionFieldsOrBuilder
Prediction output names of the model. The requirements are the same as the [feature_fields][google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.feature_fields]. For AutoML Tables, the prediction output name presented in schema will be: `predicted_{target_column}`, the `target_column` is the one you specified when you train the model. For Prediction output drift analysis: * AutoML Classification, the distribution of the argmax label will be analyzed. * AutoML Regression, the distribution of the value will be analyzed.repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema prediction_fields = 2;- Specified by:
getPredictionFieldsOrBuilderin interfaceModelMonitoringSchemaOrBuilder
-
getGroundTruthFieldsList
Target /ground truth names of the model.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema ground_truth_fields = 3;- Specified by:
getGroundTruthFieldsListin interfaceModelMonitoringSchemaOrBuilder
-
getGroundTruthFieldsOrBuilderList
public List<? extends ModelMonitoringSchema.FieldSchemaOrBuilder> getGroundTruthFieldsOrBuilderList()Target /ground truth names of the model.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema ground_truth_fields = 3;- Specified by:
getGroundTruthFieldsOrBuilderListin interfaceModelMonitoringSchemaOrBuilder
-
getGroundTruthFieldsCount
public int getGroundTruthFieldsCount()Target /ground truth names of the model.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema ground_truth_fields = 3;- Specified by:
getGroundTruthFieldsCountin interfaceModelMonitoringSchemaOrBuilder
-
getGroundTruthFields
Target /ground truth names of the model.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema ground_truth_fields = 3;- Specified by:
getGroundTruthFieldsin interfaceModelMonitoringSchemaOrBuilder
-
getGroundTruthFieldsOrBuilder
Target /ground truth names of the model.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringSchema.FieldSchema ground_truth_fields = 3;- Specified by:
getGroundTruthFieldsOrBuilderin interfaceModelMonitoringSchemaOrBuilder
-
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 ModelMonitoringSchema parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringSchema parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringSchema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringSchema parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringSchema parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ModelMonitoringSchema parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ModelMonitoringSchema parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ModelMonitoringSchema parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ModelMonitoringSchema 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
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ModelMonitoringSchema.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
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
-