Interface CreateAnnotationSpecSetRequestOrBuilder (0.129.0)

public interface CreateAnnotationSpecSetRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotationSpecSet()

public abstract AnnotationSpecSet getAnnotationSpecSet()

Required. Annotation spec set to create. Annotation specs must be included. Only one annotation spec will be accepted for annotation specs with same display_name.

.google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_set = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AnnotationSpecSet

The annotationSpecSet.

getAnnotationSpecSetOrBuilder()

public abstract AnnotationSpecSetOrBuilder getAnnotationSpecSetOrBuilder()

Required. Annotation spec set to create. Annotation specs must be included. Only one annotation spec will be accepted for annotation specs with same display_name.

.google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_set = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AnnotationSpecSetOrBuilder

getParent()

public abstract String getParent()

Required. AnnotationSpecSet 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. AnnotationSpecSet 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.

hasAnnotationSpecSet()

public abstract boolean hasAnnotationSpecSet()

Required. Annotation spec set to create. Annotation specs must be included. Only one annotation spec will be accepted for annotation specs with same display_name.

.google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_set = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the annotationSpecSet field is set.