public static final class CreateInstructionRequest.Builder extends GeneratedMessage.Builder<CreateInstructionRequest.Builder> implements CreateInstructionRequestOrBuilderRequest message for CreateInstruction.
Protobuf type google.cloud.datalabeling.v1beta1.CreateInstructionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateInstructionRequest.BuilderImplements
CreateInstructionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateInstructionRequest build()| Returns | |
|---|---|
| Type | Description |
CreateInstructionRequest |
|
buildPartial()
public CreateInstructionRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateInstructionRequest |
|
clear()
public CreateInstructionRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateInstructionRequest.Builder |
|
clearInstruction()
public CreateInstructionRequest.Builder clearInstruction()Required. Instruction of how to perform the labeling task.
.google.cloud.datalabeling.v1beta1.Instruction instruction = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateInstructionRequest.Builder |
|
clearParent()
public CreateInstructionRequest.Builder clearParent()Required. Instruction resource parent, format: projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateInstructionRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateInstructionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateInstructionRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstruction()
public Instruction getInstruction()Required. Instruction of how to perform the labeling task.
.google.cloud.datalabeling.v1beta1.Instruction instruction = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Instruction |
The instruction. |
getInstructionBuilder()
public Instruction.Builder getInstructionBuilder()Required. Instruction of how to perform the labeling task.
.google.cloud.datalabeling.v1beta1.Instruction instruction = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Instruction.Builder |
|
getInstructionOrBuilder()
public InstructionOrBuilder getInstructionOrBuilder()Required. Instruction of how to perform the labeling task.
.google.cloud.datalabeling.v1beta1.Instruction instruction = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
InstructionOrBuilder |
|
getParent()
public String getParent()Required. Instruction resource parent, format: projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. Instruction resource parent, format: projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasInstruction()
public boolean hasInstruction()Required. Instruction of how to perform the labeling task.
.google.cloud.datalabeling.v1beta1.Instruction instruction = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the instruction field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateInstructionRequest other)
public CreateInstructionRequest.Builder mergeFrom(CreateInstructionRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateInstructionRequest |
| Returns | |
|---|---|
| Type | Description |
CreateInstructionRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateInstructionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateInstructionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateInstructionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateInstructionRequest.Builder |
|
mergeInstruction(Instruction value)
public CreateInstructionRequest.Builder mergeInstruction(Instruction value)Required. Instruction of how to perform the labeling task.
.google.cloud.datalabeling.v1beta1.Instruction instruction = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Instruction |
| Returns | |
|---|---|
| Type | Description |
CreateInstructionRequest.Builder |
|
setInstruction(Instruction value)
public CreateInstructionRequest.Builder setInstruction(Instruction value)Required. Instruction of how to perform the labeling task.
.google.cloud.datalabeling.v1beta1.Instruction instruction = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Instruction |
| Returns | |
|---|---|
| Type | Description |
CreateInstructionRequest.Builder |
|
setInstruction(Instruction.Builder builderForValue)
public CreateInstructionRequest.Builder setInstruction(Instruction.Builder builderForValue)Required. Instruction of how to perform the labeling task.
.google.cloud.datalabeling.v1beta1.Instruction instruction = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Instruction.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateInstructionRequest.Builder |
|
setParent(String value)
public CreateInstructionRequest.Builder setParent(String value)Required. Instruction resource parent, format: projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateInstructionRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateInstructionRequest.Builder setParentBytes(ByteString value)Required. Instruction resource parent, format: projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateInstructionRequest.Builder |
This builder for chaining. |