- 3.52.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class VideoClassificationPredictionResult.Builder extends GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder> implements VideoClassificationPredictionResultOrBuilder
Prediction output format for Video Classification.
Protobuf type
google.cloud.aiplatform.v1.schema.predict.prediction.VideoClassificationPredictionResult
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VideoClassificationPredictionResult.BuilderImplements
VideoClassificationPredictionResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoClassificationPredictionResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
build()
public VideoClassificationPredictionResult build()
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult |
buildPartial()
public VideoClassificationPredictionResult buildPartial()
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult |
clear()
public VideoClassificationPredictionResult.Builder clear()
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
clearConfidence()
public VideoClassificationPredictionResult.Builder clearConfidence()
The Model's confidence in correction of this prediction, higher value means higher confidence.
.google.protobuf.FloatValue confidence = 6;
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
clearDisplayName()
public VideoClassificationPredictionResult.Builder clearDisplayName()
The display name of the AnnotationSpec that had been identified.
string display_name = 2;
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VideoClassificationPredictionResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
clearId()
public VideoClassificationPredictionResult.Builder clearId()
The resource ID of the AnnotationSpec that had been identified.
string id = 1;
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoClassificationPredictionResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
clearTimeSegmentEnd()
public VideoClassificationPredictionResult.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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_end = 5;
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
clearTimeSegmentStart()
public VideoClassificationPredictionResult.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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_start = 4;
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
clearType()
public VideoClassificationPredictionResult.Builder clearType()
The type of the prediction. The requested types can be configured via parameters. This will be one of
- segment-classification
- shot-classification
- one-sec-interval-classification
string type = 3;
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder | This builder for chaining. |
clone()
public VideoClassificationPredictionResult.Builder clone()
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
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 VideoClassificationPredictionResult getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult |
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. |
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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_start = 4;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getType()
public String getType()
The type of the prediction. The requested types can be configured via parameters. This will be one of
- segment-classification
- shot-classification
- one-sec-interval-classification
string type = 3;
Returns | |
---|---|
Type | Description |
String | The type. |
getTypeBytes()
public ByteString getTypeBytes()
The type of the prediction. The requested types can be configured via parameters. This will be one of
- segment-classification
- shot-classification
- one-sec-interval-classification
string type = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for type. |
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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeConfidence(FloatValue value)
public VideoClassificationPredictionResult.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 |
VideoClassificationPredictionResult.Builder |
mergeFrom(VideoClassificationPredictionResult other)
public VideoClassificationPredictionResult.Builder mergeFrom(VideoClassificationPredictionResult other)
Parameter | |
---|---|
Name | Description |
other | VideoClassificationPredictionResult |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VideoClassificationPredictionResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VideoClassificationPredictionResult.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
mergeTimeSegmentEnd(Duration value)
public VideoClassificationPredictionResult.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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_end = 5;
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
mergeTimeSegmentStart(Duration value)
public VideoClassificationPredictionResult.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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_start = 4;
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoClassificationPredictionResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
setConfidence(FloatValue value)
public VideoClassificationPredictionResult.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 |
VideoClassificationPredictionResult.Builder |
setConfidence(FloatValue.Builder builderForValue)
public VideoClassificationPredictionResult.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 |
VideoClassificationPredictionResult.Builder |
setDisplayName(String value)
public VideoClassificationPredictionResult.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 |
VideoClassificationPredictionResult.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public VideoClassificationPredictionResult.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 |
VideoClassificationPredictionResult.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VideoClassificationPredictionResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
setId(String value)
public VideoClassificationPredictionResult.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 |
VideoClassificationPredictionResult.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public VideoClassificationPredictionResult.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 |
VideoClassificationPredictionResult.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoClassificationPredictionResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
setTimeSegmentEnd(Duration value)
public VideoClassificationPredictionResult.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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_end = 5;
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
setTimeSegmentEnd(Duration.Builder builderForValue)
public VideoClassificationPredictionResult.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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_end = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
setTimeSegmentStart(Duration value)
public VideoClassificationPredictionResult.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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_start = 4;
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
setTimeSegmentStart(Duration.Builder builderForValue)
public VideoClassificationPredictionResult.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. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_start = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |
setType(String value)
public VideoClassificationPredictionResult.Builder setType(String value)
The type of the prediction. The requested types can be configured via parameters. This will be one of
- segment-classification
- shot-classification
- one-sec-interval-classification
string type = 3;
Parameter | |
---|---|
Name | Description |
value | String The type to set. |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder | This builder for chaining. |
setTypeBytes(ByteString value)
public VideoClassificationPredictionResult.Builder setTypeBytes(ByteString value)
The type of the prediction. The requested types can be configured via parameters. This will be one of
- segment-classification
- shot-classification
- one-sec-interval-classification
string type = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for type to set. |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoClassificationPredictionResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VideoClassificationPredictionResult.Builder |