Class ModelMonitoringJob.Builder (3.53.0)

public static final class ModelMonitoringJob.Builder extends GeneratedMessageV3.Builder<ModelMonitoringJob.Builder> implements ModelMonitoringJobOrBuilder

Represents a model monitoring job that analyze dataset using different monitoring algorithm.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringJob

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModelMonitoringJob build()
Returns
Type Description
ModelMonitoringJob

buildPartial()

public ModelMonitoringJob buildPartial()
Returns
Type Description
ModelMonitoringJob

clear()

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

clearCreateTime()

public ModelMonitoringJob.Builder clearCreateTime()

Output only. Timestamp when this ModelMonitoringJob was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ModelMonitoringJob.Builder

clearDisplayName()

public ModelMonitoringJob.Builder clearDisplayName()

The display name of the ModelMonitoringJob. The name can be up to 128 characters long and can consist of any UTF-8.

string display_name = 2;

Returns
Type Description
ModelMonitoringJob.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearJobExecutionDetail()

public ModelMonitoringJob.Builder clearJobExecutionDetail()

Output only. Execution results for all the monitoring objectives.

.google.cloud.aiplatform.v1beta1.ModelMonitoringJobExecutionDetail job_execution_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ModelMonitoringJob.Builder

clearModelMonitoringSpec()

public ModelMonitoringJob.Builder clearModelMonitoringSpec()

Monitoring monitoring job spec. It outlines the specifications for monitoring objectives, notifications, and result exports. If left blank, the default monitoring specifications from the top-level resource 'ModelMonitor' will be applied. If provided, we will use the specification defined here rather than the default one.

.google.cloud.aiplatform.v1beta1.ModelMonitoringSpec model_monitoring_spec = 3;

Returns
Type Description
ModelMonitoringJob.Builder

clearName()

public ModelMonitoringJob.Builder clearName()

Output only. Resource name of a ModelMonitoringJob. Format: projects/{project_id}/locations/{location_id}/modelMonitors/{model_monitor_id}/modelMonitoringJobs/{model_monitoring_job_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ModelMonitoringJob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSchedule()

public ModelMonitoringJob.Builder clearSchedule()

Output only. Schedule resource name. It will only appear when this job is triggered by a schedule.

string schedule = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ModelMonitoringJob.Builder

This builder for chaining.

clearScheduleTime()

public ModelMonitoringJob.Builder clearScheduleTime()

Output only. Timestamp when this ModelMonitoringJob was scheduled. It will only appear when this job is triggered by a schedule.

.google.protobuf.Timestamp schedule_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ModelMonitoringJob.Builder

clearState()

public ModelMonitoringJob.Builder clearState()

Output only. The state of the monitoring job.

  • When the job is still creating, the state will be 'JOB_STATE_PENDING'.
  • Once the job is successfully created, the state will be 'JOB_STATE_RUNNING'.
  • Once the job is finished, the state will be one of 'JOB_STATE_FAILED', 'JOB_STATE_SUCCEEDED', 'JOB_STATE_PARTIALLY_SUCCEEDED'.

.google.cloud.aiplatform.v1beta1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ModelMonitoringJob.Builder

This builder for chaining.

clearUpdateTime()

public ModelMonitoringJob.Builder clearUpdateTime()

Output only. Timestamp when this ModelMonitoringJob was updated most recently.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ModelMonitoringJob.Builder

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this ModelMonitoringJob was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when this ModelMonitoringJob was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this ModelMonitoringJob was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ModelMonitoringJob getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringJob

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

The display name of the ModelMonitoringJob. The name can be up to 128 characters long and can consist of any UTF-8.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the ModelMonitoringJob. The name can be up to 128 characters long and can consist of any UTF-8.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getJobExecutionDetail()

public ModelMonitoringJobExecutionDetail getJobExecutionDetail()

Output only. Execution results for all the monitoring objectives.

.google.cloud.aiplatform.v1beta1.ModelMonitoringJobExecutionDetail job_execution_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ModelMonitoringJobExecutionDetail

The jobExecutionDetail.

getJobExecutionDetailBuilder()

public ModelMonitoringJobExecutionDetail.Builder getJobExecutionDetailBuilder()

Output only. Execution results for all the monitoring objectives.

.google.cloud.aiplatform.v1beta1.ModelMonitoringJobExecutionDetail job_execution_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ModelMonitoringJobExecutionDetail.Builder

getJobExecutionDetailOrBuilder()

public ModelMonitoringJobExecutionDetailOrBuilder getJobExecutionDetailOrBuilder()

Output only. Execution results for all the monitoring objectives.

.google.cloud.aiplatform.v1beta1.ModelMonitoringJobExecutionDetail job_execution_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ModelMonitoringJobExecutionDetailOrBuilder

getModelMonitoringSpec()

public ModelMonitoringSpec getModelMonitoringSpec()

Monitoring monitoring job spec. It outlines the specifications for monitoring objectives, notifications, and result exports. If left blank, the default monitoring specifications from the top-level resource 'ModelMonitor' will be applied. If provided, we will use the specification defined here rather than the default one.

.google.cloud.aiplatform.v1beta1.ModelMonitoringSpec model_monitoring_spec = 3;

Returns
Type Description
ModelMonitoringSpec

The modelMonitoringSpec.

getModelMonitoringSpecBuilder()

public ModelMonitoringSpec.Builder getModelMonitoringSpecBuilder()

Monitoring monitoring job spec. It outlines the specifications for monitoring objectives, notifications, and result exports. If left blank, the default monitoring specifications from the top-level resource 'ModelMonitor' will be applied. If provided, we will use the specification defined here rather than the default one.

.google.cloud.aiplatform.v1beta1.ModelMonitoringSpec model_monitoring_spec = 3;

Returns
Type Description
ModelMonitoringSpec.Builder

getModelMonitoringSpecOrBuilder()

public ModelMonitoringSpecOrBuilder getModelMonitoringSpecOrBuilder()

Monitoring monitoring job spec. It outlines the specifications for monitoring objectives, notifications, and result exports. If left blank, the default monitoring specifications from the top-level resource 'ModelMonitor' will be applied. If provided, we will use the specification defined here rather than the default one.

.google.cloud.aiplatform.v1beta1.ModelMonitoringSpec model_monitoring_spec = 3;

Returns
Type Description
ModelMonitoringSpecOrBuilder

getName()

public String getName()

Output only. Resource name of a ModelMonitoringJob. Format: projects/{project_id}/locations/{location_id}/modelMonitors/{model_monitor_id}/modelMonitoringJobs/{model_monitoring_job_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Resource name of a ModelMonitoringJob. Format: projects/{project_id}/locations/{location_id}/modelMonitors/{model_monitor_id}/modelMonitoringJobs/{model_monitoring_job_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getSchedule()

public String getSchedule()

Output only. Schedule resource name. It will only appear when this job is triggered by a schedule.

string schedule = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The schedule.

getScheduleBytes()

public ByteString getScheduleBytes()

Output only. Schedule resource name. It will only appear when this job is triggered by a schedule.

string schedule = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for schedule.

getScheduleTime()

public Timestamp getScheduleTime()

Output only. Timestamp when this ModelMonitoringJob was scheduled. It will only appear when this job is triggered by a schedule.

.google.protobuf.Timestamp schedule_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The scheduleTime.

getScheduleTimeBuilder()

public Timestamp.Builder getScheduleTimeBuilder()

Output only. Timestamp when this ModelMonitoringJob was scheduled. It will only appear when this job is triggered by a schedule.

.google.protobuf.Timestamp schedule_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getScheduleTimeOrBuilder()

public TimestampOrBuilder getScheduleTimeOrBuilder()

Output only. Timestamp when this ModelMonitoringJob was scheduled. It will only appear when this job is triggered by a schedule.

.google.protobuf.Timestamp schedule_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getState()

public JobState getState()

Output only. The state of the monitoring job.

  • When the job is still creating, the state will be 'JOB_STATE_PENDING'.
  • Once the job is successfully created, the state will be 'JOB_STATE_RUNNING'.
  • Once the job is finished, the state will be one of 'JOB_STATE_FAILED', 'JOB_STATE_SUCCEEDED', 'JOB_STATE_PARTIALLY_SUCCEEDED'.

.google.cloud.aiplatform.v1beta1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobState

The state.

getStateValue()

public int getStateValue()

Output only. The state of the monitoring job.

  • When the job is still creating, the state will be 'JOB_STATE_PENDING'.
  • Once the job is successfully created, the state will be 'JOB_STATE_RUNNING'.
  • Once the job is finished, the state will be one of 'JOB_STATE_FAILED', 'JOB_STATE_SUCCEEDED', 'JOB_STATE_PARTIALLY_SUCCEEDED'.

.google.cloud.aiplatform.v1beta1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp when this ModelMonitoringJob was updated most recently.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Timestamp when this ModelMonitoringJob was updated most recently.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when this ModelMonitoringJob was updated most recently.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when this ModelMonitoringJob was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasJobExecutionDetail()

public boolean hasJobExecutionDetail()

Output only. Execution results for all the monitoring objectives.

.google.cloud.aiplatform.v1beta1.ModelMonitoringJobExecutionDetail job_execution_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the jobExecutionDetail field is set.

hasModelMonitoringSpec()

public boolean hasModelMonitoringSpec()

Monitoring monitoring job spec. It outlines the specifications for monitoring objectives, notifications, and result exports. If left blank, the default monitoring specifications from the top-level resource 'ModelMonitor' will be applied. If provided, we will use the specification defined here rather than the default one.

.google.cloud.aiplatform.v1beta1.ModelMonitoringSpec model_monitoring_spec = 3;

Returns
Type Description
boolean

Whether the modelMonitoringSpec field is set.

hasScheduleTime()

public boolean hasScheduleTime()

Output only. Timestamp when this ModelMonitoringJob was scheduled. It will only appear when this job is triggered by a schedule.

.google.protobuf.Timestamp schedule_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the scheduleTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Timestamp when this ModelMonitoringJob was updated most recently.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public ModelMonitoringJob.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when this ModelMonitoringJob was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ModelMonitoringJob.Builder

mergeFrom(ModelMonitoringJob other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeJobExecutionDetail(ModelMonitoringJobExecutionDetail value)

public ModelMonitoringJob.Builder mergeJobExecutionDetail(ModelMonitoringJobExecutionDetail value)

Output only. Execution results for all the monitoring objectives.

.google.cloud.aiplatform.v1beta1.ModelMonitoringJobExecutionDetail job_execution_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ModelMonitoringJobExecutionDetail
Returns
Type Description
ModelMonitoringJob.Builder

mergeModelMonitoringSpec(ModelMonitoringSpec value)

public ModelMonitoringJob.Builder mergeModelMonitoringSpec(ModelMonitoringSpec value)

Monitoring monitoring job spec. It outlines the specifications for monitoring objectives, notifications, and result exports. If left blank, the default monitoring specifications from the top-level resource 'ModelMonitor' will be applied. If provided, we will use the specification defined here rather than the default one.

.google.cloud.aiplatform.v1beta1.ModelMonitoringSpec model_monitoring_spec = 3;

Parameter
Name Description
value ModelMonitoringSpec
Returns
Type Description
ModelMonitoringJob.Builder

mergeScheduleTime(Timestamp value)

public ModelMonitoringJob.Builder mergeScheduleTime(Timestamp value)

Output only. Timestamp when this ModelMonitoringJob was scheduled. It will only appear when this job is triggered by a schedule.

.google.protobuf.Timestamp schedule_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ModelMonitoringJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public ModelMonitoringJob.Builder mergeUpdateTime(Timestamp value)

Output only. Timestamp when this ModelMonitoringJob was updated most recently.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ModelMonitoringJob.Builder

setCreateTime(Timestamp value)

public ModelMonitoringJob.Builder setCreateTime(Timestamp value)

Output only. Timestamp when this ModelMonitoringJob was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ModelMonitoringJob.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ModelMonitoringJob.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this ModelMonitoringJob was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ModelMonitoringJob.Builder

setDisplayName(String value)

public ModelMonitoringJob.Builder setDisplayName(String value)

The display name of the ModelMonitoringJob. The name can be up to 128 characters long and can consist of any UTF-8.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
ModelMonitoringJob.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ModelMonitoringJob.Builder setDisplayNameBytes(ByteString value)

The display name of the ModelMonitoringJob. The name can be up to 128 characters long and can consist of any UTF-8.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ModelMonitoringJob.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobExecutionDetail(ModelMonitoringJobExecutionDetail value)

public ModelMonitoringJob.Builder setJobExecutionDetail(ModelMonitoringJobExecutionDetail value)

Output only. Execution results for all the monitoring objectives.

.google.cloud.aiplatform.v1beta1.ModelMonitoringJobExecutionDetail job_execution_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ModelMonitoringJobExecutionDetail
Returns
Type Description
ModelMonitoringJob.Builder

setJobExecutionDetail(ModelMonitoringJobExecutionDetail.Builder builderForValue)

public ModelMonitoringJob.Builder setJobExecutionDetail(ModelMonitoringJobExecutionDetail.Builder builderForValue)

Output only. Execution results for all the monitoring objectives.

.google.cloud.aiplatform.v1beta1.ModelMonitoringJobExecutionDetail job_execution_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ModelMonitoringJobExecutionDetail.Builder
Returns
Type Description
ModelMonitoringJob.Builder

setModelMonitoringSpec(ModelMonitoringSpec value)

public ModelMonitoringJob.Builder setModelMonitoringSpec(ModelMonitoringSpec value)

Monitoring monitoring job spec. It outlines the specifications for monitoring objectives, notifications, and result exports. If left blank, the default monitoring specifications from the top-level resource 'ModelMonitor' will be applied. If provided, we will use the specification defined here rather than the default one.

.google.cloud.aiplatform.v1beta1.ModelMonitoringSpec model_monitoring_spec = 3;

Parameter
Name Description
value ModelMonitoringSpec
Returns
Type Description
ModelMonitoringJob.Builder

setModelMonitoringSpec(ModelMonitoringSpec.Builder builderForValue)

public ModelMonitoringJob.Builder setModelMonitoringSpec(ModelMonitoringSpec.Builder builderForValue)

Monitoring monitoring job spec. It outlines the specifications for monitoring objectives, notifications, and result exports. If left blank, the default monitoring specifications from the top-level resource 'ModelMonitor' will be applied. If provided, we will use the specification defined here rather than the default one.

.google.cloud.aiplatform.v1beta1.ModelMonitoringSpec model_monitoring_spec = 3;

Parameter
Name Description
builderForValue ModelMonitoringSpec.Builder
Returns
Type Description
ModelMonitoringJob.Builder

setName(String value)

public ModelMonitoringJob.Builder setName(String value)

Output only. Resource name of a ModelMonitoringJob. Format: projects/{project_id}/locations/{location_id}/modelMonitors/{model_monitor_id}/modelMonitoringJobs/{model_monitoring_job_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ModelMonitoringJob.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ModelMonitoringJob.Builder setNameBytes(ByteString value)

Output only. Resource name of a ModelMonitoringJob. Format: projects/{project_id}/locations/{location_id}/modelMonitors/{model_monitor_id}/modelMonitoringJobs/{model_monitoring_job_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ModelMonitoringJob.Builder

This builder for chaining.

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

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

setSchedule(String value)

public ModelMonitoringJob.Builder setSchedule(String value)

Output only. Schedule resource name. It will only appear when this job is triggered by a schedule.

string schedule = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The schedule to set.

Returns
Type Description
ModelMonitoringJob.Builder

This builder for chaining.

setScheduleBytes(ByteString value)

public ModelMonitoringJob.Builder setScheduleBytes(ByteString value)

Output only. Schedule resource name. It will only appear when this job is triggered by a schedule.

string schedule = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for schedule to set.

Returns
Type Description
ModelMonitoringJob.Builder

This builder for chaining.

setScheduleTime(Timestamp value)

public ModelMonitoringJob.Builder setScheduleTime(Timestamp value)

Output only. Timestamp when this ModelMonitoringJob was scheduled. It will only appear when this job is triggered by a schedule.

.google.protobuf.Timestamp schedule_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ModelMonitoringJob.Builder

setScheduleTime(Timestamp.Builder builderForValue)

public ModelMonitoringJob.Builder setScheduleTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this ModelMonitoringJob was scheduled. It will only appear when this job is triggered by a schedule.

.google.protobuf.Timestamp schedule_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ModelMonitoringJob.Builder

setState(JobState value)

public ModelMonitoringJob.Builder setState(JobState value)

Output only. The state of the monitoring job.

  • When the job is still creating, the state will be 'JOB_STATE_PENDING'.
  • Once the job is successfully created, the state will be 'JOB_STATE_RUNNING'.
  • Once the job is finished, the state will be one of 'JOB_STATE_FAILED', 'JOB_STATE_SUCCEEDED', 'JOB_STATE_PARTIALLY_SUCCEEDED'.

.google.cloud.aiplatform.v1beta1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value JobState

The state to set.

Returns
Type Description
ModelMonitoringJob.Builder

This builder for chaining.

setStateValue(int value)

public ModelMonitoringJob.Builder setStateValue(int value)

Output only. The state of the monitoring job.

  • When the job is still creating, the state will be 'JOB_STATE_PENDING'.
  • Once the job is successfully created, the state will be 'JOB_STATE_RUNNING'.
  • Once the job is finished, the state will be one of 'JOB_STATE_FAILED', 'JOB_STATE_SUCCEEDED', 'JOB_STATE_PARTIALLY_SUCCEEDED'.

.google.cloud.aiplatform.v1beta1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
ModelMonitoringJob.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public ModelMonitoringJob.Builder setUpdateTime(Timestamp value)

Output only. Timestamp when this ModelMonitoringJob was updated most recently.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ModelMonitoringJob.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ModelMonitoringJob.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this ModelMonitoringJob was updated most recently.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ModelMonitoringJob.Builder