public static final class VideoActionRecognitionPredictionResult.IdentifiedAction.Builder extends GeneratedMessage.Builder<VideoActionRecognitionPredictionResult.IdentifiedAction.Builder> implements VideoActionRecognitionPredictionResult.IdentifiedActionOrBuilderEach IdentifiedAction is one particular identification of an action specified with the AnnotationSpec id, display_name and the associated confidence score.
Protobuf type
google.cloud.visionai.v1.VideoActionRecognitionPredictionResult.IdentifiedAction
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VideoActionRecognitionPredictionResult.IdentifiedAction.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VideoActionRecognitionPredictionResult.IdentifiedAction build()| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction |
|
buildPartial()
public VideoActionRecognitionPredictionResult.IdentifiedAction buildPartial()| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction |
|
clear()
public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder clear()| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction.Builder |
|
clearConfidence()
public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder clearConfidence()The Model's confidence in correction of this identification, higher value means higher confidence.
float confidence = 3;
| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction.Builder |
This builder for chaining. |
clearDisplayName()
public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder clearDisplayName()The display name of the AnnotationSpec that had been identified.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction.Builder |
This builder for chaining. |
clearId()
public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder clearId()The resource ID of the AnnotationSpec that had been identified.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction.Builder |
This builder for chaining. |
getConfidence()
public float getConfidence()The Model's confidence in correction of this identification, higher value means higher confidence.
float confidence = 3;
| Returns | |
|---|---|
| Type | Description |
float |
The confidence. |
getDefaultInstanceForType()
public VideoActionRecognitionPredictionResult.IdentifiedAction getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()The display name of the AnnotationSpec that had been identified.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()The display name of the AnnotationSpec that had been identified.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getId()
public String getId()The resource ID of the AnnotationSpec that had been identified.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()The resource ID of the AnnotationSpec that had been identified.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VideoActionRecognitionPredictionResult.IdentifiedAction other)
public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder mergeFrom(VideoActionRecognitionPredictionResult.IdentifiedAction other)| Parameter | |
|---|---|
| Name | Description |
other |
VideoActionRecognitionPredictionResult.IdentifiedAction |
| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction.Builder |
|
setConfidence(float value)
public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder setConfidence(float value)The Model's confidence in correction of this identification, higher value means higher confidence.
float confidence = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe confidence to set. |
| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction.Builder |
This builder for chaining. |
setDisplayName(String value)
public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder setDisplayName(String value)The display name of the AnnotationSpec that had been identified.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder setDisplayNameBytes(ByteString value)The display name of the AnnotationSpec that had been identified.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction.Builder |
This builder for chaining. |
setId(String value)
public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder setId(String value)The resource ID of the AnnotationSpec that had been identified.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder setIdBytes(ByteString value)The resource ID of the AnnotationSpec that had been identified.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
VideoActionRecognitionPredictionResult.IdentifiedAction.Builder |
This builder for chaining. |