Class CreateModelMonitoringJobRequest.Builder (3.52.0)

public static final class CreateModelMonitoringJobRequest.Builder extends GeneratedMessageV3.Builder<CreateModelMonitoringJobRequest.Builder> implements CreateModelMonitoringJobRequestOrBuilder

Request message for ModelMonitoringService.CreateModelMonitoringJob.

Protobuf type google.cloud.aiplatform.v1beta1.CreateModelMonitoringJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateModelMonitoringJobRequest build()
Returns
Type Description
CreateModelMonitoringJobRequest

buildPartial()

public CreateModelMonitoringJobRequest buildPartial()
Returns
Type Description
CreateModelMonitoringJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearModelMonitoringJob()

public CreateModelMonitoringJobRequest.Builder clearModelMonitoringJob()

Required. The ModelMonitoringJob to create

.google.cloud.aiplatform.v1beta1.ModelMonitoringJob model_monitoring_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateModelMonitoringJobRequest.Builder

clearModelMonitoringJobId()

public CreateModelMonitoringJobRequest.Builder clearModelMonitoringJobId()

Optional. The ID to use for the Model Monitoring Job, which will become the final component of the model monitoring job resource name.

The maximum length is 63 characters, and valid characters are /^a-z?$/.

string model_monitoring_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateModelMonitoringJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateModelMonitoringJobRequest.Builder clearParent()

Required. The parent of the ModelMonitoringJob. Format: projects/{project}/locations/{location}/modelMoniitors/{model_monitor}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateModelMonitoringJobRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateModelMonitoringJobRequest getDefaultInstanceForType()
Returns
Type Description
CreateModelMonitoringJobRequest

getDescriptorForType()

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

getModelMonitoringJob()

public ModelMonitoringJob getModelMonitoringJob()

Required. The ModelMonitoringJob to create

.google.cloud.aiplatform.v1beta1.ModelMonitoringJob model_monitoring_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelMonitoringJob

The modelMonitoringJob.

getModelMonitoringJobBuilder()

public ModelMonitoringJob.Builder getModelMonitoringJobBuilder()

Required. The ModelMonitoringJob to create

.google.cloud.aiplatform.v1beta1.ModelMonitoringJob model_monitoring_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelMonitoringJob.Builder

getModelMonitoringJobId()

public String getModelMonitoringJobId()

Optional. The ID to use for the Model Monitoring Job, which will become the final component of the model monitoring job resource name.

The maximum length is 63 characters, and valid characters are /^a-z?$/.

string model_monitoring_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The modelMonitoringJobId.

getModelMonitoringJobIdBytes()

public ByteString getModelMonitoringJobIdBytes()

Optional. The ID to use for the Model Monitoring Job, which will become the final component of the model monitoring job resource name.

The maximum length is 63 characters, and valid characters are /^a-z?$/.

string model_monitoring_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for modelMonitoringJobId.

getModelMonitoringJobOrBuilder()

public ModelMonitoringJobOrBuilder getModelMonitoringJobOrBuilder()

Required. The ModelMonitoringJob to create

.google.cloud.aiplatform.v1beta1.ModelMonitoringJob model_monitoring_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelMonitoringJobOrBuilder

getParent()

public String getParent()

Required. The parent of the ModelMonitoringJob. Format: projects/{project}/locations/{location}/modelMoniitors/{model_monitor}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent of the ModelMonitoringJob. Format: projects/{project}/locations/{location}/modelMoniitors/{model_monitor}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasModelMonitoringJob()

public boolean hasModelMonitoringJob()

Required. The ModelMonitoringJob to create

.google.cloud.aiplatform.v1beta1.ModelMonitoringJob model_monitoring_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the modelMonitoringJob field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateModelMonitoringJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeModelMonitoringJob(ModelMonitoringJob value)

public CreateModelMonitoringJobRequest.Builder mergeModelMonitoringJob(ModelMonitoringJob value)

Required. The ModelMonitoringJob to create

.google.cloud.aiplatform.v1beta1.ModelMonitoringJob model_monitoring_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ModelMonitoringJob
Returns
Type Description
CreateModelMonitoringJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setModelMonitoringJob(ModelMonitoringJob value)

public CreateModelMonitoringJobRequest.Builder setModelMonitoringJob(ModelMonitoringJob value)

Required. The ModelMonitoringJob to create

.google.cloud.aiplatform.v1beta1.ModelMonitoringJob model_monitoring_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ModelMonitoringJob
Returns
Type Description
CreateModelMonitoringJobRequest.Builder

setModelMonitoringJob(ModelMonitoringJob.Builder builderForValue)

public CreateModelMonitoringJobRequest.Builder setModelMonitoringJob(ModelMonitoringJob.Builder builderForValue)

Required. The ModelMonitoringJob to create

.google.cloud.aiplatform.v1beta1.ModelMonitoringJob model_monitoring_job = 2 [(.google.api.field_behavior) = REQUIRED];

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

setModelMonitoringJobId(String value)

public CreateModelMonitoringJobRequest.Builder setModelMonitoringJobId(String value)

Optional. The ID to use for the Model Monitoring Job, which will become the final component of the model monitoring job resource name.

The maximum length is 63 characters, and valid characters are /^a-z?$/.

string model_monitoring_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The modelMonitoringJobId to set.

Returns
Type Description
CreateModelMonitoringJobRequest.Builder

This builder for chaining.

setModelMonitoringJobIdBytes(ByteString value)

public CreateModelMonitoringJobRequest.Builder setModelMonitoringJobIdBytes(ByteString value)

Optional. The ID to use for the Model Monitoring Job, which will become the final component of the model monitoring job resource name.

The maximum length is 63 characters, and valid characters are /^a-z?$/.

string model_monitoring_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for modelMonitoringJobId to set.

Returns
Type Description
CreateModelMonitoringJobRequest.Builder

This builder for chaining.

setParent(String value)

public CreateModelMonitoringJobRequest.Builder setParent(String value)

Required. The parent of the ModelMonitoringJob. Format: projects/{project}/locations/{location}/modelMoniitors/{model_monitor}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateModelMonitoringJobRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateModelMonitoringJobRequest.Builder setParentBytes(ByteString value)

Required. The parent of the ModelMonitoringJob. Format: projects/{project}/locations/{location}/modelMoniitors/{model_monitor}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateModelMonitoringJobRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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