Interface CreateInstructionRequestOrBuilder (0.142.0)

public interface CreateInstructionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstruction()

public abstract Instruction getInstruction()

Required. Instruction of how to perform the labeling task.

.google.cloud.datalabeling.v1beta1.Instruction instruction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Instruction

The instruction.

getInstructionOrBuilder()

public abstract InstructionOrBuilder getInstructionOrBuilder()

Required. Instruction of how to perform the labeling task.

.google.cloud.datalabeling.v1beta1.Instruction instruction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
InstructionOrBuilder

getParent()

public abstract String getParent()

Required. Instruction resource parent, format: projects/{project_id}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Instruction resource parent, format: projects/{project_id}

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasInstruction()

public abstract boolean hasInstruction()

Required. Instruction of how to perform the labeling task.

.google.cloud.datalabeling.v1beta1.Instruction instruction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the instruction field is set.