Class LabelVideoRequest (0.141.0)

public final class LabelVideoRequest extends GeneratedMessageV3 implements LabelVideoRequestOrBuilder

Request message for LabelVideo.

Protobuf type google.cloud.datalabeling.v1beta1.LabelVideoRequest

Static Fields

BASIC_CONFIG_FIELD_NUMBER

public static final int BASIC_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

EVENT_CONFIG_FIELD_NUMBER

public static final int EVENT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

FEATURE_FIELD_NUMBER

public static final int FEATURE_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECT_DETECTION_CONFIG_FIELD_NUMBER

public static final int OBJECT_DETECTION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECT_TRACKING_CONFIG_FIELD_NUMBER

public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

VIDEO_CLASSIFICATION_CONFIG_FIELD_NUMBER

public static final int VIDEO_CLASSIFICATION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LabelVideoRequest getDefaultInstance()
Returns
TypeDescription
LabelVideoRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static LabelVideoRequest.Builder newBuilder()
Returns
TypeDescription
LabelVideoRequest.Builder

newBuilder(LabelVideoRequest prototype)

public static LabelVideoRequest.Builder newBuilder(LabelVideoRequest prototype)
Parameter
NameDescription
prototypeLabelVideoRequest
Returns
TypeDescription
LabelVideoRequest.Builder

parseDelimitedFrom(InputStream input)

public static LabelVideoRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LabelVideoRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LabelVideoRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LabelVideoRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LabelVideoRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LabelVideoRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LabelVideoRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LabelVideoRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LabelVideoRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LabelVideoRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LabelVideoRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LabelVideoRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LabelVideoRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LabelVideoRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LabelVideoRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LabelVideoRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LabelVideoRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LabelVideoRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LabelVideoRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LabelVideoRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LabelVideoRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LabelVideoRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LabelVideoRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LabelVideoRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LabelVideoRequest> parser()
Returns
TypeDescription
Parser<LabelVideoRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBasicConfig()

public HumanAnnotationConfig getBasicConfig()

Required. Basic human annotation config.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
HumanAnnotationConfig

The basicConfig.

getBasicConfigOrBuilder()

public HumanAnnotationConfigOrBuilder getBasicConfigOrBuilder()

Required. Basic human annotation config.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
HumanAnnotationConfigOrBuilder

getDefaultInstanceForType()

public LabelVideoRequest getDefaultInstanceForType()
Returns
TypeDescription
LabelVideoRequest

getEventConfig()

public EventConfig getEventConfig()

Configuration for video event task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

.google.cloud.datalabeling.v1beta1.EventConfig event_config = 7;

Returns
TypeDescription
EventConfig

The eventConfig.

getEventConfigOrBuilder()

public EventConfigOrBuilder getEventConfigOrBuilder()

Configuration for video event task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

.google.cloud.datalabeling.v1beta1.EventConfig event_config = 7;

Returns
TypeDescription
EventConfigOrBuilder

getFeature()

public LabelVideoRequest.Feature getFeature()

Required. The type of video labeling task.

.google.cloud.datalabeling.v1beta1.LabelVideoRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
LabelVideoRequest.Feature

The feature.

getFeatureValue()

public int getFeatureValue()

Required. The type of video labeling task.

.google.cloud.datalabeling.v1beta1.LabelVideoRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for feature.

getObjectDetectionConfig()

public ObjectDetectionConfig getObjectDetectionConfig()

Configuration for video object detection task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

.google.cloud.datalabeling.v1beta1.ObjectDetectionConfig object_detection_config = 5;

Returns
TypeDescription
ObjectDetectionConfig

The objectDetectionConfig.

getObjectDetectionConfigOrBuilder()

public ObjectDetectionConfigOrBuilder getObjectDetectionConfigOrBuilder()

Configuration for video object detection task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

.google.cloud.datalabeling.v1beta1.ObjectDetectionConfig object_detection_config = 5;

Returns
TypeDescription
ObjectDetectionConfigOrBuilder

getObjectTrackingConfig()

public ObjectTrackingConfig getObjectTrackingConfig()

Configuration for video object tracking task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

.google.cloud.datalabeling.v1beta1.ObjectTrackingConfig object_tracking_config = 6;

Returns
TypeDescription
ObjectTrackingConfig

The objectTrackingConfig.

getObjectTrackingConfigOrBuilder()

public ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder()

Configuration for video object tracking task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

.google.cloud.datalabeling.v1beta1.ObjectTrackingConfig object_tracking_config = 6;

Returns
TypeDescription
ObjectTrackingConfigOrBuilder

getParent()

public String getParent()

Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<LabelVideoRequest> getParserForType()
Returns
TypeDescription
Parser<LabelVideoRequest>
Overrides

getRequestConfigCase()

public LabelVideoRequest.RequestConfigCase getRequestConfigCase()
Returns
TypeDescription
LabelVideoRequest.RequestConfigCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVideoClassificationConfig()

public VideoClassificationConfig getVideoClassificationConfig()

Configuration for video classification task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

.google.cloud.datalabeling.v1beta1.VideoClassificationConfig video_classification_config = 4;

Returns
TypeDescription
VideoClassificationConfig

The videoClassificationConfig.

getVideoClassificationConfigOrBuilder()

public VideoClassificationConfigOrBuilder getVideoClassificationConfigOrBuilder()

Configuration for video classification task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

.google.cloud.datalabeling.v1beta1.VideoClassificationConfig video_classification_config = 4;

Returns
TypeDescription
VideoClassificationConfigOrBuilder

hasBasicConfig()

public boolean hasBasicConfig()

Required. Basic human annotation config.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the basicConfig field is set.

hasEventConfig()

public boolean hasEventConfig()

Configuration for video event task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

.google.cloud.datalabeling.v1beta1.EventConfig event_config = 7;

Returns
TypeDescription
boolean

Whether the eventConfig field is set.

hasObjectDetectionConfig()

public boolean hasObjectDetectionConfig()

Configuration for video object detection task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

.google.cloud.datalabeling.v1beta1.ObjectDetectionConfig object_detection_config = 5;

Returns
TypeDescription
boolean

Whether the objectDetectionConfig field is set.

hasObjectTrackingConfig()

public boolean hasObjectTrackingConfig()

Configuration for video object tracking task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

.google.cloud.datalabeling.v1beta1.ObjectTrackingConfig object_tracking_config = 6;

Returns
TypeDescription
boolean

Whether the objectTrackingConfig field is set.

hasVideoClassificationConfig()

public boolean hasVideoClassificationConfig()

Configuration for video classification task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

.google.cloud.datalabeling.v1beta1.VideoClassificationConfig video_classification_config = 4;

Returns
TypeDescription
boolean

Whether the videoClassificationConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LabelVideoRequest.Builder newBuilderForType()
Returns
TypeDescription
LabelVideoRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LabelVideoRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LabelVideoRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LabelVideoRequest.Builder toBuilder()
Returns
TypeDescription
LabelVideoRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException