Class VideoActionRecognitionPredictionResult.Builder (3.20.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.v1beta1.schema.predict.prediction.VideoActionRecognitionPredictionResult

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoActionRecognitionPredictionResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VideoActionRecognitionPredictionResult.Builder
Overrides

build()

public VideoActionRecognitionPredictionResult build()
Returns
TypeDescription
VideoActionRecognitionPredictionResult

buildPartial()

public VideoActionRecognitionPredictionResult buildPartial()
Returns
TypeDescription
VideoActionRecognitionPredictionResult

clear()

public VideoActionRecognitionPredictionResult.Builder clear()
Returns
TypeDescription
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
TypeDescription
VideoActionRecognitionPredictionResult.Builder

clearDisplayName()

public VideoActionRecognitionPredictionResult.Builder clearDisplayName()

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Returns
TypeDescription
VideoActionRecognitionPredictionResult.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VideoActionRecognitionPredictionResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VideoActionRecognitionPredictionResult.Builder
Overrides

clearId()

public VideoActionRecognitionPredictionResult.Builder clearId()

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Returns
TypeDescription
VideoActionRecognitionPredictionResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoActionRecognitionPredictionResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
VideoActionRecognitionPredictionResult.Builder

clone()

public VideoActionRecognitionPredictionResult.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FloatValueOrBuilder

getDefaultInstanceForType()

public VideoActionRecognitionPredictionResult getDefaultInstanceForType()
Returns
TypeDescription
VideoActionRecognitionPredictionResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getId()

public String getId()

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the timeSegmentStart field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueFloatValue
Returns
TypeDescription
VideoActionRecognitionPredictionResult.Builder

mergeFrom(VideoActionRecognitionPredictionResult other)

public VideoActionRecognitionPredictionResult.Builder mergeFrom(VideoActionRecognitionPredictionResult other)
Parameter
NameDescription
otherVideoActionRecognitionPredictionResult
Returns
TypeDescription
VideoActionRecognitionPredictionResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoActionRecognitionPredictionResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoActionRecognitionPredictionResult.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VideoActionRecognitionPredictionResult.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
VideoActionRecognitionPredictionResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoActionRecognitionPredictionResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFloatValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
VideoActionRecognitionPredictionResult.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VideoActionRecognitionPredictionResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The id to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
VideoActionRecognitionPredictionResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoActionRecognitionPredictionResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VideoActionRecognitionPredictionResult.Builder
Overrides