Class ModelMonitoringObjectiveSpec

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec
All Implemented Interfaces:
ModelMonitoringObjectiveSpecOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ModelMonitoringObjectiveSpec extends com.google.protobuf.GeneratedMessage implements ModelMonitoringObjectiveSpecOrBuilder
 Monitoring objectives spec.
 
Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec
See Also:
  • Field Details

    • TABULAR_OBJECTIVE_FIELD_NUMBER

      public static final int TABULAR_OBJECTIVE_FIELD_NUMBER
      See Also:
    • EXPLANATION_SPEC_FIELD_NUMBER

      public static final int EXPLANATION_SPEC_FIELD_NUMBER
      See Also:
    • BASELINE_DATASET_FIELD_NUMBER

      public static final int BASELINE_DATASET_FIELD_NUMBER
      See Also:
    • TARGET_DATASET_FIELD_NUMBER

      public static final int TARGET_DATASET_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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getObjectiveCase

      public ModelMonitoringObjectiveSpec.ObjectiveCase getObjectiveCase()
      Specified by:
      getObjectiveCase in interface ModelMonitoringObjectiveSpecOrBuilder
    • hasTabularObjective

      public boolean hasTabularObjective()
       Tabular monitoring objective.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.TabularObjective tabular_objective = 1;
      Specified by:
      hasTabularObjective in interface ModelMonitoringObjectiveSpecOrBuilder
      Returns:
      Whether the tabularObjective field is set.
    • getTabularObjective

      public ModelMonitoringObjectiveSpec.TabularObjective getTabularObjective()
       Tabular monitoring objective.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.TabularObjective tabular_objective = 1;
      Specified by:
      getTabularObjective in interface ModelMonitoringObjectiveSpecOrBuilder
      Returns:
      The tabularObjective.
    • getTabularObjectiveOrBuilder

      public ModelMonitoringObjectiveSpec.TabularObjectiveOrBuilder getTabularObjectiveOrBuilder()
       Tabular monitoring objective.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.TabularObjective tabular_objective = 1;
      Specified by:
      getTabularObjectiveOrBuilder in interface ModelMonitoringObjectiveSpecOrBuilder
    • hasExplanationSpec

      public boolean hasExplanationSpec()
       The explanation spec.
       This spec is required when the objectives spec includes feature attribution
       objectives.
       
      .google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 3;
      Specified by:
      hasExplanationSpec in interface ModelMonitoringObjectiveSpecOrBuilder
      Returns:
      Whether the explanationSpec field is set.
    • getExplanationSpec

      public ExplanationSpec getExplanationSpec()
       The explanation spec.
       This spec is required when the objectives spec includes feature attribution
       objectives.
       
      .google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 3;
      Specified by:
      getExplanationSpec in interface ModelMonitoringObjectiveSpecOrBuilder
      Returns:
      The explanationSpec.
    • getExplanationSpecOrBuilder

      public ExplanationSpecOrBuilder getExplanationSpecOrBuilder()
       The explanation spec.
       This spec is required when the objectives spec includes feature attribution
       objectives.
       
      .google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 3;
      Specified by:
      getExplanationSpecOrBuilder in interface ModelMonitoringObjectiveSpecOrBuilder
    • hasBaselineDataset

      public boolean hasBaselineDataset()
       Baseline dataset.
       It could be the training dataset or production serving dataset from a
       previous period.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringInput baseline_dataset = 4;
      Specified by:
      hasBaselineDataset in interface ModelMonitoringObjectiveSpecOrBuilder
      Returns:
      Whether the baselineDataset field is set.
    • getBaselineDataset

      public ModelMonitoringInput getBaselineDataset()
       Baseline dataset.
       It could be the training dataset or production serving dataset from a
       previous period.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringInput baseline_dataset = 4;
      Specified by:
      getBaselineDataset in interface ModelMonitoringObjectiveSpecOrBuilder
      Returns:
      The baselineDataset.
    • getBaselineDatasetOrBuilder

      public ModelMonitoringInputOrBuilder getBaselineDatasetOrBuilder()
       Baseline dataset.
       It could be the training dataset or production serving dataset from a
       previous period.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringInput baseline_dataset = 4;
      Specified by:
      getBaselineDatasetOrBuilder in interface ModelMonitoringObjectiveSpecOrBuilder
    • hasTargetDataset

      public boolean hasTargetDataset()
       Target dataset.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringInput target_dataset = 5;
      Specified by:
      hasTargetDataset in interface ModelMonitoringObjectiveSpecOrBuilder
      Returns:
      Whether the targetDataset field is set.
    • getTargetDataset

      public ModelMonitoringInput getTargetDataset()
       Target dataset.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringInput target_dataset = 5;
      Specified by:
      getTargetDataset in interface ModelMonitoringObjectiveSpecOrBuilder
      Returns:
      The targetDataset.
    • getTargetDatasetOrBuilder

      public ModelMonitoringInputOrBuilder getTargetDatasetOrBuilder()
       Target dataset.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringInput target_dataset = 5;
      Specified by:
      getTargetDatasetOrBuilder in interface ModelMonitoringObjectiveSpecOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ModelMonitoringObjectiveSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringObjectiveSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringObjectiveSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringObjectiveSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringObjectiveSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringObjectiveSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringObjectiveSpec parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ModelMonitoringObjectiveSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ModelMonitoringObjectiveSpec parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ModelMonitoringObjectiveSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ModelMonitoringObjectiveSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ModelMonitoringObjectiveSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ModelMonitoringObjectiveSpec.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ModelMonitoringObjectiveSpec.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ModelMonitoringObjectiveSpec.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ModelMonitoringObjectiveSpec getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ModelMonitoringObjectiveSpec> parser()
    • getParserForType

      public com.google.protobuf.Parser<ModelMonitoringObjectiveSpec> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ModelMonitoringObjectiveSpec getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder