Class ModelDeploymentMonitoringScheduleConfig (3.43.0)

public final class ModelDeploymentMonitoringScheduleConfig extends GeneratedMessageV3 implements ModelDeploymentMonitoringScheduleConfigOrBuilder

The config for scheduling monitoring job.

Protobuf type google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ModelDeploymentMonitoringScheduleConfig

Static Fields

MONITOR_INTERVAL_FIELD_NUMBER

public static final int MONITOR_INTERVAL_FIELD_NUMBER
Field Value
Type Description
int

MONITOR_WINDOW_FIELD_NUMBER

public static final int MONITOR_WINDOW_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModelDeploymentMonitoringScheduleConfig getDefaultInstance()
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig

getDescriptor()

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

newBuilder()

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

newBuilder(ModelDeploymentMonitoringScheduleConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ModelDeploymentMonitoringScheduleConfig getDefaultInstanceForType()
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig

getMonitorInterval()

public Duration getMonitorInterval()

Required. The model monitoring job scheduling interval. It will be rounded up to next full hour. This defines how often the monitoring jobs are triggered.

.google.protobuf.Duration monitor_interval = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Duration

The monitorInterval.

getMonitorIntervalOrBuilder()

public DurationOrBuilder getMonitorIntervalOrBuilder()

Required. The model monitoring job scheduling interval. It will be rounded up to next full hour. This defines how often the monitoring jobs are triggered.

.google.protobuf.Duration monitor_interval = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DurationOrBuilder

getMonitorWindow()

public Duration getMonitorWindow()

The time window of the prediction data being included in each prediction dataset. This window specifies how long the data should be collected from historical model results for each run. If not set, ModelDeploymentMonitoringScheduleConfig.monitor_interval will be used. e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the monitor_window is set to be 3600, then data from 2022-01-08 13:30:00 to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the monitoring statistics.

.google.protobuf.Duration monitor_window = 2;

Returns
Type Description
Duration

The monitorWindow.

getMonitorWindowOrBuilder()

public DurationOrBuilder getMonitorWindowOrBuilder()

The time window of the prediction data being included in each prediction dataset. This window specifies how long the data should be collected from historical model results for each run. If not set, ModelDeploymentMonitoringScheduleConfig.monitor_interval will be used. e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the monitor_window is set to be 3600, then data from 2022-01-08 13:30:00 to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the monitoring statistics.

.google.protobuf.Duration monitor_window = 2;

Returns
Type Description
DurationOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMonitorInterval()

public boolean hasMonitorInterval()

Required. The model monitoring job scheduling interval. It will be rounded up to next full hour. This defines how often the monitoring jobs are triggered.

.google.protobuf.Duration monitor_interval = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the monitorInterval field is set.

hasMonitorWindow()

public boolean hasMonitorWindow()

The time window of the prediction data being included in each prediction dataset. This window specifies how long the data should be collected from historical model results for each run. If not set, ModelDeploymentMonitoringScheduleConfig.monitor_interval will be used. e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the monitor_window is set to be 3600, then data from 2022-01-08 13:30:00 to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the monitoring statistics.

.google.protobuf.Duration monitor_window = 2;

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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