Class ModelDeploymentMonitoringScheduleConfig (3.8.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
TypeDescription
int

MONITOR_WINDOW_FIELD_NUMBER

public static final int MONITOR_WINDOW_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ModelDeploymentMonitoringScheduleConfig getDefaultInstance()
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ModelDeploymentMonitoringScheduleConfig.Builder newBuilder()
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder

newBuilder(ModelDeploymentMonitoringScheduleConfig prototype)

public static ModelDeploymentMonitoringScheduleConfig.Builder newBuilder(ModelDeploymentMonitoringScheduleConfig prototype)
Parameter
NameDescription
prototypeModelDeploymentMonitoringScheduleConfig
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder

parseDelimitedFrom(InputStream input)

public static ModelDeploymentMonitoringScheduleConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelDeploymentMonitoringScheduleConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ModelDeploymentMonitoringScheduleConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelDeploymentMonitoringScheduleConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelDeploymentMonitoringScheduleConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelDeploymentMonitoringScheduleConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelDeploymentMonitoringScheduleConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelDeploymentMonitoringScheduleConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ModelDeploymentMonitoringScheduleConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelDeploymentMonitoringScheduleConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ModelDeploymentMonitoringScheduleConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelDeploymentMonitoringScheduleConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ModelDeploymentMonitoringScheduleConfig> parser()
Returns
TypeDescription
Parser<ModelDeploymentMonitoringScheduleConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ModelDeploymentMonitoringScheduleConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getParserForType()

public Parser<ModelDeploymentMonitoringScheduleConfig> getParserForType()
Returns
TypeDescription
Parser<ModelDeploymentMonitoringScheduleConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
boolean

Whether the monitorWindow field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ModelDeploymentMonitoringScheduleConfig.Builder newBuilderForType()
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelDeploymentMonitoringScheduleConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ModelDeploymentMonitoringScheduleConfig.Builder toBuilder()
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException