Class UpdateEvaluationJobRequest.Builder (0.203.0)

public static final class UpdateEvaluationJobRequest.Builder extends GeneratedMessage.Builder<UpdateEvaluationJobRequest.Builder> implements UpdateEvaluationJobRequestOrBuilder

Request message for UpdateEvaluationJob.

Protobuf type google.cloud.datalabeling.v1beta1.UpdateEvaluationJobRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateEvaluationJobRequest build()
Returns
Type Description
UpdateEvaluationJobRequest

buildPartial()

public UpdateEvaluationJobRequest buildPartial()
Returns
Type Description
UpdateEvaluationJobRequest

clear()

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

clearEvaluationJob()

public UpdateEvaluationJobRequest.Builder clearEvaluationJob()

Required. Evaluation job that is going to be updated.

.google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateEvaluationJobRequest.Builder

clearUpdateMask()

public UpdateEvaluationJobRequest.Builder clearUpdateMask()

Optional. Mask for which fields to update. You can only provide the following fields:

  • evaluationJobConfig.humanAnnotationConfig.instruction
  • evaluationJobConfig.exampleCount
  • evaluationJobConfig.exampleSamplePercentage

    You can provide more than one of these fields by separating them with commas.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateEvaluationJobRequest.Builder

getDefaultInstanceForType()

public UpdateEvaluationJobRequest getDefaultInstanceForType()
Returns
Type Description
UpdateEvaluationJobRequest

getDescriptorForType()

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

getEvaluationJob()

public EvaluationJob getEvaluationJob()

Required. Evaluation job that is going to be updated.

.google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EvaluationJob

The evaluationJob.

getEvaluationJobBuilder()

public EvaluationJob.Builder getEvaluationJobBuilder()

Required. Evaluation job that is going to be updated.

.google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EvaluationJob.Builder

getEvaluationJobOrBuilder()

public EvaluationJobOrBuilder getEvaluationJobOrBuilder()

Required. Evaluation job that is going to be updated.

.google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EvaluationJobOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Mask for which fields to update. You can only provide the following fields:

  • evaluationJobConfig.humanAnnotationConfig.instruction
  • evaluationJobConfig.exampleCount
  • evaluationJobConfig.exampleSamplePercentage

    You can provide more than one of these fields by separating them with commas.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. Mask for which fields to update. You can only provide the following fields:

  • evaluationJobConfig.humanAnnotationConfig.instruction
  • evaluationJobConfig.exampleCount
  • evaluationJobConfig.exampleSamplePercentage

    You can provide more than one of these fields by separating them with commas.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Mask for which fields to update. You can only provide the following fields:

  • evaluationJobConfig.humanAnnotationConfig.instruction
  • evaluationJobConfig.exampleCount
  • evaluationJobConfig.exampleSamplePercentage

    You can provide more than one of these fields by separating them with commas.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasEvaluationJob()

public boolean hasEvaluationJob()

Required. Evaluation job that is going to be updated.

.google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the evaluationJob field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Mask for which fields to update. You can only provide the following fields:

  • evaluationJobConfig.humanAnnotationConfig.instruction
  • evaluationJobConfig.exampleCount
  • evaluationJobConfig.exampleSamplePercentage

    You can provide more than one of these fields by separating them with commas.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEvaluationJob(EvaluationJob value)

public UpdateEvaluationJobRequest.Builder mergeEvaluationJob(EvaluationJob value)

Required. Evaluation job that is going to be updated.

.google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_job = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EvaluationJob
Returns
Type Description
UpdateEvaluationJobRequest.Builder

mergeFrom(UpdateEvaluationJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateMask(FieldMask value)

public UpdateEvaluationJobRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Mask for which fields to update. You can only provide the following fields:

  • evaluationJobConfig.humanAnnotationConfig.instruction
  • evaluationJobConfig.exampleCount
  • evaluationJobConfig.exampleSamplePercentage

    You can provide more than one of these fields by separating them with commas.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateEvaluationJobRequest.Builder

setEvaluationJob(EvaluationJob value)

public UpdateEvaluationJobRequest.Builder setEvaluationJob(EvaluationJob value)

Required. Evaluation job that is going to be updated.

.google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_job = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EvaluationJob
Returns
Type Description
UpdateEvaluationJobRequest.Builder

setEvaluationJob(EvaluationJob.Builder builderForValue)

public UpdateEvaluationJobRequest.Builder setEvaluationJob(EvaluationJob.Builder builderForValue)

Required. Evaluation job that is going to be updated.

.google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_job = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue EvaluationJob.Builder
Returns
Type Description
UpdateEvaluationJobRequest.Builder

setUpdateMask(FieldMask value)

public UpdateEvaluationJobRequest.Builder setUpdateMask(FieldMask value)

Optional. Mask for which fields to update. You can only provide the following fields:

  • evaluationJobConfig.humanAnnotationConfig.instruction
  • evaluationJobConfig.exampleCount
  • evaluationJobConfig.exampleSamplePercentage

    You can provide more than one of these fields by separating them with commas.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateEvaluationJobRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateEvaluationJobRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Mask for which fields to update. You can only provide the following fields:

  • evaluationJobConfig.humanAnnotationConfig.instruction
  • evaluationJobConfig.exampleCount
  • evaluationJobConfig.exampleSamplePercentage

    You can provide more than one of these fields by separating them with commas.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateEvaluationJobRequest.Builder