Class CreateEvaluationJobRequest.Builder (0.172.0)

public static final class CreateEvaluationJobRequest.Builder extends GeneratedMessageV3.Builder<CreateEvaluationJobRequest.Builder> implements CreateEvaluationJobRequestOrBuilder

Request message for CreateEvaluationJob.

Protobuf type google.cloud.datalabeling.v1beta1.CreateEvaluationJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateEvaluationJobRequest build()
Returns
Type Description
CreateEvaluationJobRequest

buildPartial()

public CreateEvaluationJobRequest buildPartial()
Returns
Type Description
CreateEvaluationJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJob()

public CreateEvaluationJobRequest.Builder clearJob()

Required. The evaluation job to create.

.google.cloud.datalabeling.v1beta1.EvaluationJob job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateEvaluationJobRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateEvaluationJobRequest.Builder clearParent()

Required. Evaluation job resource parent. Format: "projects/<var>{project_id}</var>"

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

Returns
Type Description
CreateEvaluationJobRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateEvaluationJobRequest getDefaultInstanceForType()
Returns
Type Description
CreateEvaluationJobRequest

getDescriptorForType()

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

getJob()

public EvaluationJob getJob()

Required. The evaluation job to create.

.google.cloud.datalabeling.v1beta1.EvaluationJob job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EvaluationJob

The job.

getJobBuilder()

public EvaluationJob.Builder getJobBuilder()

Required. The evaluation job to create.

.google.cloud.datalabeling.v1beta1.EvaluationJob job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EvaluationJob.Builder

getJobOrBuilder()

public EvaluationJobOrBuilder getJobOrBuilder()

Required. The evaluation job to create.

.google.cloud.datalabeling.v1beta1.EvaluationJob job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EvaluationJobOrBuilder

getParent()

public String getParent()

Required. Evaluation job resource parent. Format: "projects/<var>{project_id}</var>"

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Evaluation job resource parent. Format: "projects/<var>{project_id}</var>"

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

Returns
Type Description
ByteString

The bytes for parent.

hasJob()

public boolean hasJob()

Required. The evaluation job to create.

.google.cloud.datalabeling.v1beta1.EvaluationJob job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the job field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateEvaluationJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeJob(EvaluationJob value)

public CreateEvaluationJobRequest.Builder mergeJob(EvaluationJob value)

Required. The evaluation job to create.

.google.cloud.datalabeling.v1beta1.EvaluationJob job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EvaluationJob
Returns
Type Description
CreateEvaluationJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setJob(EvaluationJob value)

public CreateEvaluationJobRequest.Builder setJob(EvaluationJob value)

Required. The evaluation job to create.

.google.cloud.datalabeling.v1beta1.EvaluationJob job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EvaluationJob
Returns
Type Description
CreateEvaluationJobRequest.Builder

setJob(EvaluationJob.Builder builderForValue)

public CreateEvaluationJobRequest.Builder setJob(EvaluationJob.Builder builderForValue)

Required. The evaluation job to create.

.google.cloud.datalabeling.v1beta1.EvaluationJob job = 2 [(.google.api.field_behavior) = REQUIRED];

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

setParent(String value)

public CreateEvaluationJobRequest.Builder setParent(String value)

Required. Evaluation job resource parent. Format: "projects/<var>{project_id}</var>"

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateEvaluationJobRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateEvaluationJobRequest.Builder setParentBytes(ByteString value)

Required. Evaluation job resource parent. Format: "projects/<var>{project_id}</var>"

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
CreateEvaluationJobRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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