Class ModelDeploymentMonitoringScheduleConfig.Builder (3.30.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public ModelDeploymentMonitoringScheduleConfig build()

buildPartial()

public ModelDeploymentMonitoringScheduleConfig buildPartial()

clear()

public ModelDeploymentMonitoringScheduleConfig.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

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;

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ModelDeploymentMonitoringScheduleConfig.Builder clone()
Overrides

getDefaultInstanceForType()

public ModelDeploymentMonitoringScheduleConfig getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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