Interface CreateInstructionRequestOrBuilder (0.164.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the instruction field is set.