- 0.173.0 (latest)
- 0.172.0
- 0.171.0
- 0.169.0
- 0.168.0
- 0.167.0
- 0.166.0
- 0.165.0
- 0.164.0
- 0.163.0
- 0.162.0
- 0.161.0
- 0.160.0
- 0.159.0
- 0.157.0
- 0.156.0
- 0.155.0
- 0.154.0
- 0.153.0
- 0.152.0
- 0.151.0
- 0.150.0
- 0.149.0
- 0.148.0
- 0.147.0
- 0.144.0
- 0.143.0
- 0.142.0
- 0.141.0
- 0.140.0
- 0.139.0
- 0.138.0
- 0.137.0
- 0.136.0
- 0.135.0
- 0.134.0
- 0.133.0
- 0.132.0
- 0.131.0
- 0.129.0
- 0.128.0
- 0.127.0
- 0.126.0
- 0.125.0
- 0.124.0
- 0.123.7
- 0.122.11
public static final class EventConfig.Builder extends GeneratedMessageV3.Builder<EventConfig.Builder> implements EventConfigOrBuilder
Config for video event human labeling task.
Protobuf type google.cloud.datalabeling.v1beta1.EventConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EventConfig.BuilderImplements
EventConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllAnnotationSpecSets(Iterable<String> values)
public EventConfig.Builder addAllAnnotationSpecSets(Iterable<String> values)
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];
Name | Description |
values | Iterable<String> The annotationSpecSets to add. |
Type | Description |
EventConfig.Builder | This builder for chaining. |
addAnnotationSpecSets(String value)
public EventConfig.Builder addAnnotationSpecSets(String value)
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];
Name | Description |
value | String The annotationSpecSets to add. |
Type | Description |
EventConfig.Builder | This builder for chaining. |
addAnnotationSpecSetsBytes(ByteString value)
public EventConfig.Builder addAnnotationSpecSetsBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes of the annotationSpecSets to add. |
Type | Description |
EventConfig.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
EventConfig.Builder |
build()
public EventConfig build()
Type | Description |
EventConfig |
buildPartial()
public EventConfig buildPartial()
Type | Description |
EventConfig |
clear()
public EventConfig.Builder clear()
Type | Description |
EventConfig.Builder |
clearAnnotationSpecSets()
public EventConfig.Builder 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];
Type | Description |
EventConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public EventConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
EventConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public EventConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
EventConfig.Builder |
clone()
public EventConfig.Builder clone()
Type | Description |
EventConfig.Builder |
getAnnotationSpecSets(int index)
public String getAnnotationSpecSets(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];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The annotationSpecSets at the given index. |
getAnnotationSpecSetsBytes(int index)
public 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];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the annotationSpecSets at the given index. |
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];
Type | Description |
int | The count of annotationSpecSets. |
getAnnotationSpecSetsList()
public 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];
Type | Description |
ProtocolStringList | A list containing the annotationSpecSets. |
getDefaultInstanceForType()
public EventConfig getDefaultInstanceForType()
Type | Description |
EventConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(EventConfig other)
public EventConfig.Builder mergeFrom(EventConfig other)
Name | Description |
other | EventConfig |
Type | Description |
EventConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EventConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
EventConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public EventConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
EventConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
EventConfig.Builder |
setAnnotationSpecSets(int index, String value)
public EventConfig.Builder setAnnotationSpecSets(int index, String value)
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];
Name | Description |
index | int The index to set the value at. |
value | String The annotationSpecSets to set. |
Type | Description |
EventConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public EventConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
EventConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
EventConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final EventConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
EventConfig.Builder |