Class ModelMonitoringObjectiveSpec (3.52.0)

public final class ModelMonitoringObjectiveSpec extends GeneratedMessageV3 implements ModelMonitoringObjectiveSpecOrBuilder

Monitoring objectives spec.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec

Static Fields

BASELINE_DATASET_FIELD_NUMBER

public static final int BASELINE_DATASET_FIELD_NUMBER
Field Value
Type Description
int

EXPLANATION_SPEC_FIELD_NUMBER

public static final int EXPLANATION_SPEC_FIELD_NUMBER
Field Value
Type Description
int

TABULAR_OBJECTIVE_FIELD_NUMBER

public static final int TABULAR_OBJECTIVE_FIELD_NUMBER
Field Value
Type Description
int

TARGET_DATASET_FIELD_NUMBER

public static final int TARGET_DATASET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModelMonitoringObjectiveSpec getDefaultInstance()
Returns
Type Description
ModelMonitoringObjectiveSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ModelMonitoringObjectiveSpec.Builder newBuilder()
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

newBuilder(ModelMonitoringObjectiveSpec prototype)

public static ModelMonitoringObjectiveSpec.Builder newBuilder(ModelMonitoringObjectiveSpec prototype)
Parameter
Name Description
prototype ModelMonitoringObjectiveSpec
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

parseDelimitedFrom(InputStream input)

public static ModelMonitoringObjectiveSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringObjectiveSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ModelMonitoringObjectiveSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ModelMonitoringObjectiveSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelMonitoringObjectiveSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ModelMonitoringObjectiveSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelMonitoringObjectiveSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ModelMonitoringObjectiveSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ModelMonitoringObjectiveSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringObjectiveSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ModelMonitoringObjectiveSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ModelMonitoringObjectiveSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ModelMonitoringObjectiveSpec> parser()
Returns
Type Description
Parser<ModelMonitoringObjectiveSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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;

Returns
Type Description
ModelMonitoringInput

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;

Returns
Type Description
ModelMonitoringInputOrBuilder

getDefaultInstanceForType()

public ModelMonitoringObjectiveSpec getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringObjectiveSpec

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;

Returns
Type Description
ExplanationSpec

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;

Returns
Type Description
ExplanationSpecOrBuilder

getObjectiveCase()

public ModelMonitoringObjectiveSpec.ObjectiveCase getObjectiveCase()
Returns
Type Description
ModelMonitoringObjectiveSpec.ObjectiveCase

getParserForType()

public Parser<ModelMonitoringObjectiveSpec> getParserForType()
Returns
Type Description
Parser<ModelMonitoringObjectiveSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTabularObjective()

public ModelMonitoringObjectiveSpec.TabularObjective getTabularObjective()

Tabular monitoring objective.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.TabularObjective tabular_objective = 1;

Returns
Type Description
ModelMonitoringObjectiveSpec.TabularObjective

The tabularObjective.

getTabularObjectiveOrBuilder()

public ModelMonitoringObjectiveSpec.TabularObjectiveOrBuilder getTabularObjectiveOrBuilder()

Tabular monitoring objective.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.TabularObjective tabular_objective = 1;

Returns
Type Description
ModelMonitoringObjectiveSpec.TabularObjectiveOrBuilder

getTargetDataset()

public ModelMonitoringInput getTargetDataset()

Target dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput target_dataset = 5;

Returns
Type Description
ModelMonitoringInput

The targetDataset.

getTargetDatasetOrBuilder()

public ModelMonitoringInputOrBuilder getTargetDatasetOrBuilder()

Target dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput target_dataset = 5;

Returns
Type Description
ModelMonitoringInputOrBuilder

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;

Returns
Type Description
boolean

Whether the baselineDataset field is set.

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;

Returns
Type Description
boolean

Whether the explanationSpec field is set.

hasTabularObjective()

public boolean hasTabularObjective()

Tabular monitoring objective.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.TabularObjective tabular_objective = 1;

Returns
Type Description
boolean

Whether the tabularObjective field is set.

hasTargetDataset()

public boolean hasTargetDataset()

Target dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput target_dataset = 5;

Returns
Type Description
boolean

Whether the targetDataset field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ModelMonitoringObjectiveSpec.Builder newBuilderForType()
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelMonitoringObjectiveSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ModelMonitoringObjectiveSpec.Builder toBuilder()
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException