Class ModelDeploymentMonitoringScheduleConfig.Builder (3.54.0)

public static final class ModelDeploymentMonitoringScheduleConfig.Builder extends GeneratedMessageV3.Builder<ModelDeploymentMonitoringScheduleConfig.Builder> implements ModelDeploymentMonitoringScheduleConfigOrBuilder

The config for scheduling monitoring job.

Protobuf type google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelDeploymentMonitoringScheduleConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

build()

public ModelDeploymentMonitoringScheduleConfig build()
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig

buildPartial()

public ModelDeploymentMonitoringScheduleConfig buildPartial()
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig

clear()

public ModelDeploymentMonitoringScheduleConfig.Builder clear()
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ModelDeploymentMonitoringScheduleConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

clearMonitorInterval()

public ModelDeploymentMonitoringScheduleConfig.Builder clearMonitorInterval()

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
ModelDeploymentMonitoringScheduleConfig.Builder

clearMonitorWindow()

public ModelDeploymentMonitoringScheduleConfig.Builder clearMonitorWindow()

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
ModelDeploymentMonitoringScheduleConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelDeploymentMonitoringScheduleConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

clone()

public ModelDeploymentMonitoringScheduleConfig.Builder clone()
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

getDefaultInstanceForType()

public ModelDeploymentMonitoringScheduleConfig getDefaultInstanceForType()
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getMonitorIntervalBuilder()

public Duration.Builder getMonitorIntervalBuilder()

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
Builder

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.

getMonitorWindowBuilder()

public Duration.Builder getMonitorWindowBuilder()

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
Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelDeploymentMonitoringScheduleConfig other)

public ModelDeploymentMonitoringScheduleConfig.Builder mergeFrom(ModelDeploymentMonitoringScheduleConfig other)
Parameter
Name Description
other ModelDeploymentMonitoringScheduleConfig
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelDeploymentMonitoringScheduleConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ModelDeploymentMonitoringScheduleConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

mergeMonitorInterval(Duration value)

public ModelDeploymentMonitoringScheduleConfig.Builder mergeMonitorInterval(Duration value)

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];

Parameter
Name Description
value Duration
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder

mergeMonitorWindow(Duration value)

public ModelDeploymentMonitoringScheduleConfig.Builder mergeMonitorWindow(Duration value)

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;

Parameter
Name Description
value Duration
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelDeploymentMonitoringScheduleConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ModelDeploymentMonitoringScheduleConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

setMonitorInterval(Duration value)

public ModelDeploymentMonitoringScheduleConfig.Builder setMonitorInterval(Duration value)

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];

Parameter
Name Description
value Duration
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder

setMonitorInterval(Duration.Builder builderForValue)

public ModelDeploymentMonitoringScheduleConfig.Builder setMonitorInterval(Duration.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder

setMonitorWindow(Duration value)

public ModelDeploymentMonitoringScheduleConfig.Builder setMonitorWindow(Duration value)

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;

Parameter
Name Description
value Duration
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder

setMonitorWindow(Duration.Builder builderForValue)

public ModelDeploymentMonitoringScheduleConfig.Builder setMonitorWindow(Duration.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ModelDeploymentMonitoringScheduleConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelDeploymentMonitoringScheduleConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides