Class UpdateEvaluationJobRequest.Builder (0.123.3)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateEvaluationJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateEvaluationJobRequest.Builder
Overrides

build()

public UpdateEvaluationJobRequest build()
Returns
TypeDescription
UpdateEvaluationJobRequest

buildPartial()

public UpdateEvaluationJobRequest buildPartial()
Returns
TypeDescription
UpdateEvaluationJobRequest

clear()

public UpdateEvaluationJobRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateEvaluationJobRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateEvaluationJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateEvaluationJobRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateEvaluationJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateEvaluationJobRequest.Builder

clone()

public UpdateEvaluationJobRequest.Builder clone()
Returns
TypeDescription
UpdateEvaluationJobRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateEvaluationJobRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateEvaluationJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueEvaluationJob
Returns
TypeDescription
UpdateEvaluationJobRequest.Builder

mergeFrom(UpdateEvaluationJobRequest other)

public UpdateEvaluationJobRequest.Builder mergeFrom(UpdateEvaluationJobRequest other)
Parameter
NameDescription
otherUpdateEvaluationJobRequest
Returns
TypeDescription
UpdateEvaluationJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateEvaluationJobRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateEvaluationJobRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEvaluationJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueEvaluationJob
Returns
TypeDescription
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
NameDescription
builderForValueEvaluationJob.Builder
Returns
TypeDescription
UpdateEvaluationJobRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateEvaluationJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateEvaluationJobRequest.Builder
Overrides

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEvaluationJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateEvaluationJobRequest.Builder