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