Class ModelDeploymentMonitoringScheduleConfig.Builder (3.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelDeploymentMonitoringScheduleConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

build()

public ModelDeploymentMonitoringScheduleConfig build()
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig

buildPartial()

public ModelDeploymentMonitoringScheduleConfig buildPartial()
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig

clear()

public ModelDeploymentMonitoringScheduleConfig.Builder clear()
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ModelDeploymentMonitoringScheduleConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelDeploymentMonitoringScheduleConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

clone()

public ModelDeploymentMonitoringScheduleConfig.Builder clone()
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

getDefaultInstanceForType()

public ModelDeploymentMonitoringScheduleConfig getDefaultInstanceForType()
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

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
TypeDescription
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
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ModelDeploymentMonitoringScheduleConfig other)

public ModelDeploymentMonitoringScheduleConfig.Builder mergeFrom(ModelDeploymentMonitoringScheduleConfig other)
Parameter
NameDescription
otherModelDeploymentMonitoringScheduleConfig
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelDeploymentMonitoringScheduleConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ModelDeploymentMonitoringScheduleConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelDeploymentMonitoringScheduleConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ModelDeploymentMonitoringScheduleConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder

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

public ModelDeploymentMonitoringScheduleConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelDeploymentMonitoringScheduleConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ModelDeploymentMonitoringScheduleConfig.Builder
Overrides