Class LabelVideoRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LabelVideoRequest.Builder>
com.google.cloud.datalabeling.v1beta1.LabelVideoRequest.Builder
- All Implemented Interfaces:
LabelVideoRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LabelVideoRequest
public static final class LabelVideoRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LabelVideoRequest.Builder>
implements LabelVideoRequestOrBuilder
Request message for LabelVideo.Protobuf type
google.cloud.datalabeling.v1beta1.LabelVideoRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Configuration for video event task.Required.Configuration for video object detection task.Configuration for video object tracking task.Required.Configuration for video classification task.Required.Required.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorConfiguration for video event task.Configuration for video event task.Configuration for video event task.Required.intRequired.Configuration for video object detection task.Configuration for video object detection task.Configuration for video object detection task.Configuration for video object tracking task.Configuration for video object tracking task.Configuration for video object tracking task.Required.com.google.protobuf.ByteStringRequired.Configuration for video classification task.Configuration for video classification task.Configuration for video classification task.booleanRequired.booleanConfiguration for video event task.booleanConfiguration for video object detection task.booleanConfiguration for video object tracking task.booleanConfiguration for video classification task.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanRequired.mergeEventConfig(EventConfig value) Configuration for video event task.mergeFrom(LabelVideoRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Configuration for video object detection task.Configuration for video object tracking task.Configuration for video classification task.Required.setBasicConfig(HumanAnnotationConfig.Builder builderForValue) Required.setEventConfig(EventConfig value) Configuration for video event task.setEventConfig(EventConfig.Builder builderForValue) Configuration for video event task.Required.setFeatureValue(int value) Required.Configuration for video object detection task.setObjectDetectionConfig(ObjectDetectionConfig.Builder builderForValue) Configuration for video object detection task.Configuration for video object tracking task.setObjectTrackingConfig(ObjectTrackingConfig.Builder builderForValue) Configuration for video object tracking task.Required.setParentBytes(com.google.protobuf.ByteString value) Required.Configuration for video classification task.setVideoClassificationConfig(VideoClassificationConfig.Builder builderForValue) Configuration for video classification task.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<LabelVideoRequest.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<LabelVideoRequest.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<LabelVideoRequest.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<LabelVideoRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LabelVideoRequest.Builder>
-
mergeFrom
public LabelVideoRequest.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<LabelVideoRequest.Builder>- Throws:
IOException
-
getRequestConfigCase
- Specified by:
getRequestConfigCasein interfaceLabelVideoRequestOrBuilder
-
clearRequestConfig
-
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;- Specified by:
hasVideoClassificationConfigin interfaceLabelVideoRequestOrBuilder- Returns:
- Whether the videoClassificationConfig field is set.
-
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;- Specified by:
getVideoClassificationConfigin interfaceLabelVideoRequestOrBuilder- Returns:
- The videoClassificationConfig.
-
setVideoClassificationConfig
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; -
setVideoClassificationConfig
public LabelVideoRequest.Builder setVideoClassificationConfig(VideoClassificationConfig.Builder builderForValue) 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; -
mergeVideoClassificationConfig
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; -
clearVideoClassificationConfig
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; -
getVideoClassificationConfigBuilder
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; -
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;- Specified by:
getVideoClassificationConfigOrBuilderin interfaceLabelVideoRequestOrBuilder
-
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;- Specified by:
hasObjectDetectionConfigin interfaceLabelVideoRequestOrBuilder- Returns:
- Whether the objectDetectionConfig field is set.
-
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;- Specified by:
getObjectDetectionConfigin interfaceLabelVideoRequestOrBuilder- Returns:
- The objectDetectionConfig.
-
setObjectDetectionConfig
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; -
setObjectDetectionConfig
public LabelVideoRequest.Builder setObjectDetectionConfig(ObjectDetectionConfig.Builder builderForValue) 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; -
mergeObjectDetectionConfig
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; -
clearObjectDetectionConfig
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; -
getObjectDetectionConfigBuilder
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; -
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;- Specified by:
getObjectDetectionConfigOrBuilderin interfaceLabelVideoRequestOrBuilder
-
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;- Specified by:
hasObjectTrackingConfigin interfaceLabelVideoRequestOrBuilder- Returns:
- Whether the objectTrackingConfig field is set.
-
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;- Specified by:
getObjectTrackingConfigin interfaceLabelVideoRequestOrBuilder- Returns:
- The objectTrackingConfig.
-
setObjectTrackingConfig
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; -
setObjectTrackingConfig
public LabelVideoRequest.Builder setObjectTrackingConfig(ObjectTrackingConfig.Builder builderForValue) 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; -
mergeObjectTrackingConfig
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; -
clearObjectTrackingConfig
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; -
getObjectTrackingConfigBuilder
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; -
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;- Specified by:
getObjectTrackingConfigOrBuilderin interfaceLabelVideoRequestOrBuilder
-
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;- Specified by:
hasEventConfigin interfaceLabelVideoRequestOrBuilder- Returns:
- Whether the eventConfig field is set.
-
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;- Specified by:
getEventConfigin interfaceLabelVideoRequestOrBuilder- Returns:
- The eventConfig.
-
setEventConfig
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; -
setEventConfig
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; -
mergeEventConfig
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; -
clearEventConfig
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; -
getEventConfigBuilder
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; -
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;- Specified by:
getEventConfigOrBuilderin interfaceLabelVideoRequestOrBuilder
-
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) = { ... }- Specified by:
getParentin interfaceLabelVideoRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.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) = { ... }- Specified by:
getParentBytesin interfaceLabelVideoRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
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) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
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:
- This builder for chaining.
-
setParentBytes
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) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
hasBasicConfig
public boolean hasBasicConfig()Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasBasicConfigin interfaceLabelVideoRequestOrBuilder- Returns:
- Whether the basicConfig field is set.
-
getBasicConfig
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBasicConfigin interfaceLabelVideoRequestOrBuilder- Returns:
- The basicConfig.
-
setBasicConfig
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED]; -
setBasicConfig
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED]; -
mergeBasicConfig
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED]; -
clearBasicConfig
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED]; -
getBasicConfigBuilder
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED]; -
getBasicConfigOrBuilder
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBasicConfigOrBuilderin interfaceLabelVideoRequestOrBuilder
-
getFeatureValue
public int getFeatureValue()Required. The type of video labeling task.
.google.cloud.datalabeling.v1beta1.LabelVideoRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeatureValuein interfaceLabelVideoRequestOrBuilder- Returns:
- The enum numeric value on the wire for feature.
-
setFeatureValue
Required. The type of video labeling task.
.google.cloud.datalabeling.v1beta1.LabelVideoRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for feature to set.- Returns:
- This builder for chaining.
-
getFeature
Required. The type of video labeling task.
.google.cloud.datalabeling.v1beta1.LabelVideoRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeaturein interfaceLabelVideoRequestOrBuilder- Returns:
- The feature.
-
setFeature
Required. The type of video labeling task.
.google.cloud.datalabeling.v1beta1.LabelVideoRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The feature to set.- Returns:
- This builder for chaining.
-
clearFeature
Required. The type of video labeling task.
.google.cloud.datalabeling.v1beta1.LabelVideoRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-