Class VideoActionRecognitionPredictionResult.Builder (3.49.0)

public static final class VideoActionRecognitionPredictionResult.Builder extends GeneratedMessageV3.Builder<VideoActionRecognitionPredictionResult.Builder> implements VideoActionRecognitionPredictionResultOrBuilder

Prediction output format for Video Action Recognition.

Protobuf type google.cloud.aiplatform.v1.schema.predict.prediction.VideoActionRecognitionPredictionResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoActionRecognitionPredictionResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

build()

public VideoActionRecognitionPredictionResult build()
Returns
Type Description
VideoActionRecognitionPredictionResult

buildPartial()

public VideoActionRecognitionPredictionResult buildPartial()
Returns
Type Description
VideoActionRecognitionPredictionResult

clear()

public VideoActionRecognitionPredictionResult.Builder clear()
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

clearConfidence()

public VideoActionRecognitionPredictionResult.Builder clearConfidence()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 6;

Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

clearDisplayName()

public VideoActionRecognitionPredictionResult.Builder clearDisplayName()

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VideoActionRecognitionPredictionResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

clearId()

public VideoActionRecognitionPredictionResult.Builder clearId()

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoActionRecognitionPredictionResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

clearTimeSegmentEnd()

public VideoActionRecognitionPredictionResult.Builder clearTimeSegmentEnd()

The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 5;

Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

clearTimeSegmentStart()

public VideoActionRecognitionPredictionResult.Builder clearTimeSegmentStart()

The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 4;

Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

clone()

public VideoActionRecognitionPredictionResult.Builder clone()
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

getConfidence()

public FloatValue getConfidence()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 6;

Returns
Type Description
FloatValue

The confidence.

getConfidenceBuilder()

public FloatValue.Builder getConfidenceBuilder()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 6;

Returns
Type Description
Builder

getConfidenceOrBuilder()

public FloatValueOrBuilder getConfidenceOrBuilder()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 6;

Returns
Type Description
FloatValueOrBuilder

getDefaultInstanceForType()

public VideoActionRecognitionPredictionResult getDefaultInstanceForType()
Returns
Type Description
VideoActionRecognitionPredictionResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getTimeSegmentEnd()

public Duration getTimeSegmentEnd()

The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 5;

Returns
Type Description
Duration

The timeSegmentEnd.

getTimeSegmentEndBuilder()

public Duration.Builder getTimeSegmentEndBuilder()

The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 5;

Returns
Type Description
Builder

getTimeSegmentEndOrBuilder()

public DurationOrBuilder getTimeSegmentEndOrBuilder()

The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 5;

Returns
Type Description
DurationOrBuilder

getTimeSegmentStart()

public Duration getTimeSegmentStart()

The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 4;

Returns
Type Description
Duration

The timeSegmentStart.

getTimeSegmentStartBuilder()

public Duration.Builder getTimeSegmentStartBuilder()

The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 4;

Returns
Type Description
Builder

getTimeSegmentStartOrBuilder()

public DurationOrBuilder getTimeSegmentStartOrBuilder()

The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 4;

Returns
Type Description
DurationOrBuilder

hasConfidence()

public boolean hasConfidence()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 6;

Returns
Type Description
boolean

Whether the confidence field is set.

hasTimeSegmentEnd()

public boolean hasTimeSegmentEnd()

The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 5;

Returns
Type Description
boolean

Whether the timeSegmentEnd field is set.

hasTimeSegmentStart()

public boolean hasTimeSegmentStart()

The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 4;

Returns
Type Description
boolean

Whether the timeSegmentStart field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConfidence(FloatValue value)

public VideoActionRecognitionPredictionResult.Builder mergeConfidence(FloatValue value)

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 6;

Parameter
Name Description
value FloatValue
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

mergeFrom(VideoActionRecognitionPredictionResult other)

public VideoActionRecognitionPredictionResult.Builder mergeFrom(VideoActionRecognitionPredictionResult other)
Parameter
Name Description
other VideoActionRecognitionPredictionResult
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoActionRecognitionPredictionResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VideoActionRecognitionPredictionResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

mergeTimeSegmentEnd(Duration value)

public VideoActionRecognitionPredictionResult.Builder mergeTimeSegmentEnd(Duration value)

The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 5;

Parameter
Name Description
value Duration
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

mergeTimeSegmentStart(Duration value)

public VideoActionRecognitionPredictionResult.Builder mergeTimeSegmentStart(Duration value)

The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 4;

Parameter
Name Description
value Duration
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoActionRecognitionPredictionResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

setConfidence(FloatValue value)

public VideoActionRecognitionPredictionResult.Builder setConfidence(FloatValue value)

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 6;

Parameter
Name Description
value FloatValue
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

setConfidence(FloatValue.Builder builderForValue)

public VideoActionRecognitionPredictionResult.Builder setConfidence(FloatValue.Builder builderForValue)

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 6;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

setDisplayName(String value)

public VideoActionRecognitionPredictionResult.Builder setDisplayName(String value)

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public VideoActionRecognitionPredictionResult.Builder setDisplayNameBytes(ByteString value)

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VideoActionRecognitionPredictionResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

setId(String value)

public VideoActionRecognitionPredictionResult.Builder setId(String value)

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

This builder for chaining.

setIdBytes(ByteString value)

public VideoActionRecognitionPredictionResult.Builder setIdBytes(ByteString value)

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VideoActionRecognitionPredictionResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

setTimeSegmentEnd(Duration value)

public VideoActionRecognitionPredictionResult.Builder setTimeSegmentEnd(Duration value)

The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 5;

Parameter
Name Description
value Duration
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

setTimeSegmentEnd(Duration.Builder builderForValue)

public VideoActionRecognitionPredictionResult.Builder setTimeSegmentEnd(Duration.Builder builderForValue)

The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 5;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

setTimeSegmentStart(Duration value)

public VideoActionRecognitionPredictionResult.Builder setTimeSegmentStart(Duration value)

The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 4;

Parameter
Name Description
value Duration
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

setTimeSegmentStart(Duration.Builder builderForValue)

public VideoActionRecognitionPredictionResult.Builder setTimeSegmentStart(Duration.Builder builderForValue)

The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoActionRecognitionPredictionResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides