public final class ModelDeploymentMonitoringScheduleConfig extends GeneratedMessageV3 implements ModelDeploymentMonitoringScheduleConfigOrBuilder
The config for scheduling monitoring job.
Protobuf type google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfig
Static Fields
public static final int MONITOR_INTERVAL_FIELD_NUMBER
Field Value
public static final int MONITOR_WINDOW_FIELD_NUMBER
Field Value
Static Methods
public static ModelDeploymentMonitoringScheduleConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ModelDeploymentMonitoringScheduleConfig.Builder newBuilder()
Returns
public static ModelDeploymentMonitoringScheduleConfig.Builder newBuilder(ModelDeploymentMonitoringScheduleConfig prototype)
Parameter
Returns
public static ModelDeploymentMonitoringScheduleConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelDeploymentMonitoringScheduleConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelDeploymentMonitoringScheduleConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ModelDeploymentMonitoringScheduleConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelDeploymentMonitoringScheduleConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ModelDeploymentMonitoringScheduleConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelDeploymentMonitoringScheduleConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ModelDeploymentMonitoringScheduleConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelDeploymentMonitoringScheduleConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelDeploymentMonitoringScheduleConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelDeploymentMonitoringScheduleConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ModelDeploymentMonitoringScheduleConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ModelDeploymentMonitoringScheduleConfig> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ModelDeploymentMonitoringScheduleConfig getDefaultInstanceForType()
Returns
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.
|
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
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.
|
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
public Parser<ModelDeploymentMonitoringScheduleConfig> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelDeploymentMonitoringScheduleConfig.Builder newBuilderForType()
Returns
protected ModelDeploymentMonitoringScheduleConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ModelDeploymentMonitoringScheduleConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions