public static final class AnnotationSpecSet.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpecSet.Builder> implements AnnotationSpecSetOrBuilder
AnnotationSpecSet is a collection of label definitions. For example, in image classification tasks, we define a set of labels, this set is called AnnotationSpecSet. AnnotationSpecSet is immutable upon creation.Protobuf type
google.cloud.datalabeling.v1beta1.AnnotationSpecSetgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpecSet.Builder>public AnnotationSpecSet.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpecSet.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpecSet.Builder>public AnnotationSpecSet getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AnnotationSpecSet build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AnnotationSpecSet buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AnnotationSpecSet.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpecSet.Builder>public AnnotationSpecSet.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpecSet.Builder>public AnnotationSpecSet.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpecSet.Builder>public AnnotationSpecSet.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpecSet.Builder>public AnnotationSpecSet.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpecSet.Builder>public AnnotationSpecSet.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpecSet.Builder>public AnnotationSpecSet.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnnotationSpecSet.Builder>public AnnotationSpecSet.Builder mergeFrom(AnnotationSpecSet other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpecSet.Builder>public AnnotationSpecSet.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnnotationSpecSet.Builder>IOExceptionpublic String getName()
Output only. AnnotationSpecSet resource name, format:
projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
string name = 1;getName in interface AnnotationSpecSetOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. AnnotationSpecSet resource name, format:
projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
string name = 1;getNameBytes in interface AnnotationSpecSetOrBuilderpublic AnnotationSpecSet.Builder setName(String value)
Output only. AnnotationSpecSet resource name, format:
projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
string name = 1;public AnnotationSpecSet.Builder clearName()
Output only. AnnotationSpecSet resource name, format:
projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
string name = 1;public AnnotationSpecSet.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. AnnotationSpecSet resource name, format:
projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
string name = 1;public String getDisplayName()
Required. The display name for AnnotationSpecSet defined by user. Maximum of 64 characters.
string display_name = 2;getDisplayName in interface AnnotationSpecSetOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The display name for AnnotationSpecSet defined by user. Maximum of 64 characters.
string display_name = 2;getDisplayNameBytes in interface AnnotationSpecSetOrBuilderpublic AnnotationSpecSet.Builder setDisplayName(String value)
Required. The display name for AnnotationSpecSet defined by user. Maximum of 64 characters.
string display_name = 2;public AnnotationSpecSet.Builder clearDisplayName()
Required. The display name for AnnotationSpecSet defined by user. Maximum of 64 characters.
string display_name = 2;public AnnotationSpecSet.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The display name for AnnotationSpecSet defined by user. Maximum of 64 characters.
string display_name = 2;public String getDescription()
Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
string description = 3;getDescription in interface AnnotationSpecSetOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
string description = 3;getDescriptionBytes in interface AnnotationSpecSetOrBuilderpublic AnnotationSpecSet.Builder setDescription(String value)
Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
string description = 3;public AnnotationSpecSet.Builder clearDescription()
Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
string description = 3;public AnnotationSpecSet.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
string description = 3;public List<AnnotationSpec> getAnnotationSpecsList()
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;getAnnotationSpecsList in interface AnnotationSpecSetOrBuilderpublic int getAnnotationSpecsCount()
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;getAnnotationSpecsCount in interface AnnotationSpecSetOrBuilderpublic AnnotationSpec getAnnotationSpecs(int index)
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;getAnnotationSpecs in interface AnnotationSpecSetOrBuilderpublic AnnotationSpecSet.Builder setAnnotationSpecs(int index, AnnotationSpec value)
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;public AnnotationSpecSet.Builder setAnnotationSpecs(int index, AnnotationSpec.Builder builderForValue)
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;public AnnotationSpecSet.Builder addAnnotationSpecs(AnnotationSpec value)
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;public AnnotationSpecSet.Builder addAnnotationSpecs(int index, AnnotationSpec value)
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;public AnnotationSpecSet.Builder addAnnotationSpecs(AnnotationSpec.Builder builderForValue)
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;public AnnotationSpecSet.Builder addAnnotationSpecs(int index, AnnotationSpec.Builder builderForValue)
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;public AnnotationSpecSet.Builder addAllAnnotationSpecs(Iterable<? extends AnnotationSpec> values)
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;public AnnotationSpecSet.Builder clearAnnotationSpecs()
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;public AnnotationSpecSet.Builder removeAnnotationSpecs(int index)
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;public AnnotationSpec.Builder getAnnotationSpecsBuilder(int index)
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;public AnnotationSpecOrBuilder getAnnotationSpecsOrBuilder(int index)
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;getAnnotationSpecsOrBuilder in interface AnnotationSpecSetOrBuilderpublic List<? extends AnnotationSpecOrBuilder> getAnnotationSpecsOrBuilderList()
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;getAnnotationSpecsOrBuilderList in interface AnnotationSpecSetOrBuilderpublic AnnotationSpec.Builder addAnnotationSpecsBuilder()
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;public AnnotationSpec.Builder addAnnotationSpecsBuilder(int index)
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;public List<AnnotationSpec.Builder> getAnnotationSpecsBuilderList()
Required. The actual spec set defined by the users.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4;public com.google.protobuf.ProtocolStringList getBlockingResourcesList()
Output only. The names of any related resources that are blocking changes to the annotation spec set.
repeated string blocking_resources = 5;getBlockingResourcesList in interface AnnotationSpecSetOrBuilderpublic int getBlockingResourcesCount()
Output only. The names of any related resources that are blocking changes to the annotation spec set.
repeated string blocking_resources = 5;getBlockingResourcesCount in interface AnnotationSpecSetOrBuilderpublic 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;getBlockingResources in interface AnnotationSpecSetOrBuilderpublic 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;getBlockingResourcesBytes in interface AnnotationSpecSetOrBuilderpublic AnnotationSpecSet.Builder setBlockingResources(int index, String value)
Output only. The names of any related resources that are blocking changes to the annotation spec set.
repeated string blocking_resources = 5;public AnnotationSpecSet.Builder addBlockingResources(String value)
Output only. The names of any related resources that are blocking changes to the annotation spec set.
repeated string blocking_resources = 5;public AnnotationSpecSet.Builder addAllBlockingResources(Iterable<String> values)
Output only. The names of any related resources that are blocking changes to the annotation spec set.
repeated string blocking_resources = 5;public AnnotationSpecSet.Builder clearBlockingResources()
Output only. The names of any related resources that are blocking changes to the annotation spec set.
repeated string blocking_resources = 5;public AnnotationSpecSet.Builder addBlockingResourcesBytes(com.google.protobuf.ByteString value)
Output only. The names of any related resources that are blocking changes to the annotation spec set.
repeated string blocking_resources = 5;public final AnnotationSpecSet.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpecSet.Builder>public final AnnotationSpecSet.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpecSet.Builder>Copyright © 2019 Google LLC. All rights reserved.