public static final class CreateEvaluationJobRequest.Builder extends GeneratedMessageV3.Builder<CreateEvaluationJobRequest.Builder> implements CreateEvaluationJobRequestOrBuilder
Request message for CreateEvaluationJob.
Protobuf type google.cloud.datalabeling.v1beta1.CreateEvaluationJobRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateEvaluationJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateEvaluationJobRequest build()
Returns
buildPartial()
public CreateEvaluationJobRequest buildPartial()
Returns
clear()
public CreateEvaluationJobRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateEvaluationJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateEvaluationJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public CreateEvaluationJobRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateEvaluationJobRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getJob()
public EvaluationJob getJob()
Required. The evaluation job to create.
.google.cloud.datalabeling.v1beta1.EvaluationJob job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getJobBuilder()
public EvaluationJob.Builder getJobBuilder()
Required. The evaluation job to create.
.google.cloud.datalabeling.v1beta1.EvaluationJob job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getJobOrBuilder()
public EvaluationJobOrBuilder getJobOrBuilder()
Required. The evaluation job to create.
.google.cloud.datalabeling.v1beta1.EvaluationJob job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateEvaluationJobRequest other)
public CreateEvaluationJobRequest.Builder mergeFrom(CreateEvaluationJobRequest other)
Parameter
Returns
public CreateEvaluationJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateEvaluationJobRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateEvaluationJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateEvaluationJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateEvaluationJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateEvaluationJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides