Class UpdateEvaluationJobRequest.Builder (0.164.0)

public static final class UpdateEvaluationJobRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEvaluationJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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