Class ModelMonitoringSpec (3.55.0)

public final class ModelMonitoringSpec extends GeneratedMessageV3 implements ModelMonitoringSpecOrBuilder

Monitoring monitoring job spec. It outlines the specifications for monitoring objectives, notifications, and result exports.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringSpec

Static Fields

NOTIFICATION_SPEC_FIELD_NUMBER

public static final int NOTIFICATION_SPEC_FIELD_NUMBER
Field Value
Type Description
int

OBJECTIVE_SPEC_FIELD_NUMBER

public static final int OBJECTIVE_SPEC_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_SPEC_FIELD_NUMBER

public static final int OUTPUT_SPEC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModelMonitoringSpec getDefaultInstance()
Returns
Type Description
ModelMonitoringSpec

getDescriptor()

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

newBuilder()

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

newBuilder(ModelMonitoringSpec prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ModelMonitoringSpec getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringSpec

getNotificationSpec()

public ModelMonitoringNotificationSpec getNotificationSpec()

The model monitoring notification spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec notification_spec = 2;

Returns
Type Description
ModelMonitoringNotificationSpec

The notificationSpec.

getNotificationSpecOrBuilder()

public ModelMonitoringNotificationSpecOrBuilder getNotificationSpecOrBuilder()

The model monitoring notification spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec notification_spec = 2;

Returns
Type Description
ModelMonitoringNotificationSpecOrBuilder

getObjectiveSpec()

public ModelMonitoringObjectiveSpec getObjectiveSpec()

The monitoring objective spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec objective_spec = 1;

Returns
Type Description
ModelMonitoringObjectiveSpec

The objectiveSpec.

getObjectiveSpecOrBuilder()

public ModelMonitoringObjectiveSpecOrBuilder getObjectiveSpecOrBuilder()

The monitoring objective spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec objective_spec = 1;

Returns
Type Description
ModelMonitoringObjectiveSpecOrBuilder

getOutputSpec()

public ModelMonitoringOutputSpec getOutputSpec()

The Output destination spec for metrics, error logs, etc.

.google.cloud.aiplatform.v1beta1.ModelMonitoringOutputSpec output_spec = 3;

Returns
Type Description
ModelMonitoringOutputSpec

The outputSpec.

getOutputSpecOrBuilder()

public ModelMonitoringOutputSpecOrBuilder getOutputSpecOrBuilder()

The Output destination spec for metrics, error logs, etc.

.google.cloud.aiplatform.v1beta1.ModelMonitoringOutputSpec output_spec = 3;

Returns
Type Description
ModelMonitoringOutputSpecOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasNotificationSpec()

public boolean hasNotificationSpec()

The model monitoring notification spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec notification_spec = 2;

Returns
Type Description
boolean

Whether the notificationSpec field is set.

hasObjectiveSpec()

public boolean hasObjectiveSpec()

The monitoring objective spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec objective_spec = 1;

Returns
Type Description
boolean

Whether the objectiveSpec field is set.

hasOutputSpec()

public boolean hasOutputSpec()

The Output destination spec for metrics, error logs, etc.

.google.cloud.aiplatform.v1beta1.ModelMonitoringOutputSpec output_spec = 3;

Returns
Type Description
boolean

Whether the outputSpec 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 ModelMonitoringSpec.Builder newBuilderForType()
Returns
Type Description
ModelMonitoringSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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