public final class EventConfig extends GeneratedMessageV3 implements EventConfigOrBuilder
Config for video event human labeling task.
Protobuf type google.cloud.datalabeling.v1beta1.EventConfig
Static Fields
ANNOTATION_SPEC_SETS_FIELD_NUMBER
public static final int ANNOTATION_SPEC_SETS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static EventConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static EventConfig.Builder newBuilder()
Returns
newBuilder(EventConfig prototype)
public static EventConfig.Builder newBuilder(EventConfig prototype)
Parameter
Returns
public static EventConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static EventConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static EventConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EventConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static EventConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EventConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EventConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static EventConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EventConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static EventConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static EventConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EventConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<EventConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
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];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
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];
Returns
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];
Returns
getDefaultInstanceForType()
public EventConfig getDefaultInstanceForType()
Returns
getParserForType()
public Parser<EventConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public EventConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EventConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public EventConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions