Class EventConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EventConfig.Builder>
com.google.cloud.datalabeling.v1beta1.EventConfig.Builder
- All Implemented Interfaces:
EventConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EventConfig
public static final class EventConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EventConfig.Builder>
implements EventConfigOrBuilder
Config for video event human labeling task.Protobuf type
google.cloud.datalabeling.v1beta1.EventConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllAnnotationSpecSets(Iterable<String> values) Required.addAnnotationSpecSets(String value) Required.addAnnotationSpecSetsBytes(com.google.protobuf.ByteString value) Required.build()clear()Required.getAnnotationSpecSets(int index) Required.com.google.protobuf.ByteStringgetAnnotationSpecSetsBytes(int index) Required.intRequired.com.google.protobuf.ProtocolStringListRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(EventConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAnnotationSpecSets(int index, String value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EventConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EventConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<EventConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EventConfig.Builder>
-
mergeFrom
public EventConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventConfig.Builder>- Throws:
IOException
-
getAnnotationSpecSetsList
public com.google.protobuf.ProtocolStringList getAnnotationSpecSetsList()Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.
repeated string annotation_spec_sets = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAnnotationSpecSetsListin interfaceEventConfigOrBuilder- Returns:
- A list containing the annotationSpecSets.
-
getAnnotationSpecSetsCount
public int getAnnotationSpecSetsCount()Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.
repeated string annotation_spec_sets = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAnnotationSpecSetsCountin interfaceEventConfigOrBuilder- Returns:
- The count of annotationSpecSets.
-
getAnnotationSpecSets
Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.
repeated string annotation_spec_sets = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAnnotationSpecSetsin interfaceEventConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The annotationSpecSets at the given index.
-
getAnnotationSpecSetsBytes
public com.google.protobuf.ByteString getAnnotationSpecSetsBytes(int index) Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.
repeated string annotation_spec_sets = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAnnotationSpecSetsBytesin interfaceEventConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the annotationSpecSets at the given index.
-
setAnnotationSpecSets
Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.
repeated string annotation_spec_sets = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index to set the value at.value- The annotationSpecSets to set.- Returns:
- This builder for chaining.
-
addAnnotationSpecSets
Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.
repeated string annotation_spec_sets = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The annotationSpecSets to add.- Returns:
- This builder for chaining.
-
addAllAnnotationSpecSets
Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.
repeated string annotation_spec_sets = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
values- The annotationSpecSets to add.- Returns:
- This builder for chaining.
-
clearAnnotationSpecSets
Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.
repeated string annotation_spec_sets = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
addAnnotationSpecSetsBytes
Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.
repeated string annotation_spec_sets = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes of the annotationSpecSets to add.- Returns:
- This builder for chaining.
-