Interface AnnotationSpecSetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnnotationSpecSet
,AnnotationSpecSet.Builder
public interface AnnotationSpecSetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotationSpec
getAnnotationSpecs(int index)
Required.int
getAnnotationSpecsCount()
Required.List<AnnotationSpec>
getAnnotationSpecsList()
Required.AnnotationSpecOrBuilder
getAnnotationSpecsOrBuilder(int index)
Required.List<? extends AnnotationSpecOrBuilder>
getAnnotationSpecsOrBuilderList()
Required.String
getBlockingResources(int index)
Output only.com.google.protobuf.ByteString
getBlockingResourcesBytes(int index)
Output only.int
getBlockingResourcesCount()
Output only.List<String>
getBlockingResourcesList()
Output only.String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The AnnotationSpecSet resource name in the following format: "projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The AnnotationSpecSet resource name in the following format: "projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"
string name = 1;
- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()
Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
string display_name = 2;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
string display_name = 2;
- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()
Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
string description = 3;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
string description = 3;
- Returns:
- The bytes for description.
-
getAnnotationSpecsList
List<AnnotationSpec> getAnnotationSpecsList()
Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;
-
getAnnotationSpecs
AnnotationSpec getAnnotationSpecs(int index)
Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;
-
getAnnotationSpecsCount
int getAnnotationSpecsCount()
Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;
-
getAnnotationSpecsOrBuilderList
List<? extends AnnotationSpecOrBuilder> getAnnotationSpecsOrBuilderList()
Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;
-
getAnnotationSpecsOrBuilder
AnnotationSpecOrBuilder getAnnotationSpecsOrBuilder(int index)
Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;
-
getBlockingResourcesList
List<String> getBlockingResourcesList()
Output only. The names of any related resources that are blocking changes to the annotation spec set.
repeated string blocking_resources = 5;
- Returns:
- A list containing the blockingResources.
-
getBlockingResourcesCount
int getBlockingResourcesCount()
Output only. The names of any related resources that are blocking changes to the annotation spec set.
repeated string blocking_resources = 5;
- Returns:
- The count of blockingResources.
-
getBlockingResources
String getBlockingResources(int index)
Output only. The names of any related resources that are blocking changes to the annotation spec set.
repeated string blocking_resources = 5;
- Parameters:
index
- The index of the element to return.- Returns:
- The blockingResources at the given index.
-
getBlockingResourcesBytes
com.google.protobuf.ByteString getBlockingResourcesBytes(int index)
Output only. The names of any related resources that are blocking changes to the annotation spec set.
repeated string blocking_resources = 5;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the blockingResources at the given index.
-
-