Class CreateEvaluationJobRequest.Builder (0.161.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateEvaluationJobRequest build()
Returns
TypeDescription
CreateEvaluationJobRequest

buildPartial()

public CreateEvaluationJobRequest buildPartial()
Returns
TypeDescription
CreateEvaluationJobRequest

clear()

public CreateEvaluationJobRequest.Builder clear()
Returns
TypeDescription
CreateEvaluationJobRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateEvaluationJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
CreateEvaluationJobRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateEvaluationJobRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateEvaluationJobRequest

getDescriptorForType()

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

Whether the job field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateEvaluationJobRequest other)

public CreateEvaluationJobRequest.Builder mergeFrom(CreateEvaluationJobRequest other)
Parameter
NameDescription
otherCreateEvaluationJobRequest
Returns
TypeDescription
CreateEvaluationJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateEvaluationJobRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueEvaluationJob
Returns
TypeDescription
CreateEvaluationJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateEvaluationJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateEvaluationJobRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateEvaluationJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueEvaluationJob
Returns
TypeDescription
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
NameDescription
builderForValueEvaluationJob.Builder
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateEvaluationJobRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateEvaluationJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateEvaluationJobRequest.Builder
Overrides