Interface CreateAnnotationSpecSetRequestOrBuilder (0.173.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the annotationSpecSet field is set.