Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClassificationPredictionResult

type ClassificationPredictionResult struct {

	// The resource IDs of the AnnotationSpecs that had been identified, ordered
	// by the confidence score descendingly.
	Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// The display names of the AnnotationSpecs that had been identified, order
	// matches the IDs.
	DisplayNames []string `protobuf:"bytes,2,rep,name=display_names,json=displayNames,proto3" json:"display_names,omitempty"`
	// The Model's confidences in correctness of the predicted IDs, higher value
	// means higher confidence. Order matches the Ids.
	Confidences []float32 `protobuf:"fixed32,3,rep,packed,name=confidences,proto3" json:"confidences,omitempty"`
	// contains filtered or unexported fields
}

Prediction output format for Image and Text Classification.

func (*ClassificationPredictionResult) Descriptor

func (*ClassificationPredictionResult) Descriptor() ([]byte, []int)

Deprecated: Use ClassificationPredictionResult.ProtoReflect.Descriptor instead.

func (*ClassificationPredictionResult) GetConfidences

func (x *ClassificationPredictionResult) GetConfidences() []float32

func (*ClassificationPredictionResult) GetDisplayNames

func (x *ClassificationPredictionResult) GetDisplayNames() []string

func (*ClassificationPredictionResult) GetIds

func (x *ClassificationPredictionResult) GetIds() []int64

func (*ClassificationPredictionResult) ProtoMessage

func (*ClassificationPredictionResult) ProtoMessage()

func (*ClassificationPredictionResult) ProtoReflect

func (*ClassificationPredictionResult) Reset

func (x *ClassificationPredictionResult) Reset()

func (*ClassificationPredictionResult) String

type ImageObjectDetectionPredictionResult

type ImageObjectDetectionPredictionResult struct {

	// The resource IDs of the AnnotationSpecs that had been identified, ordered
	// by the confidence score descendingly.
	Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// The display names of the AnnotationSpecs that had been identified, order
	// matches the IDs.
	DisplayNames []string `protobuf:"bytes,2,rep,name=display_names,json=displayNames,proto3" json:"display_names,omitempty"`
	// The Model's confidences in correctness of the predicted IDs, higher value
	// means higher confidence. Order matches the Ids.
	Confidences []float32 `protobuf:"fixed32,3,rep,packed,name=confidences,proto3" json:"confidences,omitempty"`
	// Bounding boxes, i.e. the rectangles over the image, that pinpoint
	// the found AnnotationSpecs. Given in order that matches the IDs. Each
	// bounding box is an array of 4 numbers `xMin`, `xMax`, `yMin`, and
	// `yMax`, which represent the extremal coordinates of the box. They are
	// relative to the image size, and the point 0,0 is in the top left
	// of the image.
	Bboxes []*structpb.ListValue `protobuf:"bytes,4,rep,name=bboxes,proto3" json:"bboxes,omitempty"`
	// contains filtered or unexported fields
}

Prediction output format for Image Object Detection.

func (*ImageObjectDetectionPredictionResult) Descriptor

func (*ImageObjectDetectionPredictionResult) Descriptor() ([]byte, []int)

Deprecated: Use ImageObjectDetectionPredictionResult.ProtoReflect.Descriptor instead.

func (*ImageObjectDetectionPredictionResult) GetBboxes

func (*ImageObjectDetectionPredictionResult) GetConfidences

func (x *ImageObjectDetectionPredictionResult) GetConfidences() []float32

func (*ImageObjectDetectionPredictionResult) GetDisplayNames

func (x *ImageObjectDetectionPredictionResult) GetDisplayNames() []string

func (*ImageObjectDetectionPredictionResult) GetIds

func (*ImageObjectDetectionPredictionResult) ProtoMessage

func (*ImageObjectDetectionPredictionResult) ProtoMessage()

func (*ImageObjectDetectionPredictionResult) ProtoReflect

func (*ImageObjectDetectionPredictionResult) Reset

func (*ImageObjectDetectionPredictionResult) String

type ImageSegmentationPredictionResult

type ImageSegmentationPredictionResult struct {

	// A PNG image where each pixel in the mask represents the category in which
	// the pixel in the original image was predicted to belong to. The size of
	// this image will be the same as the original image. The mapping between the
	// AnntoationSpec and the color can be found in model's metadata. The model
	// will choose the most likely category and if none of the categories reach
	// the confidence threshold, the pixel will be marked as background.
	CategoryMask []byte `protobuf:"bytes,1,opt,name=category_mask,json=categoryMask,proto3" json:"category_mask,omitempty"`
	// A one channel image which is encoded as an 8bit lossless PNG. The size of
	// the image will be the same as the original image. For a specific pixel,
	// darker color means less confidence in correctness of the cateogry in the
	// categoryMask for the corresponding pixel. Black means no confidence and
	// white means complete confidence.
	ConfidenceMask []byte `protobuf:"bytes,2,opt,name=confidence_mask,json=confidenceMask,proto3" json:"confidence_mask,omitempty"`
	// contains filtered or unexported fields
}

Prediction output format for Image Segmentation.

func (*ImageSegmentationPredictionResult) Descriptor

func (*ImageSegmentationPredictionResult) Descriptor() ([]byte, []int)

Deprecated: Use ImageSegmentationPredictionResult.ProtoReflect.Descriptor instead.

func (*ImageSegmentationPredictionResult) GetCategoryMask

func (x *ImageSegmentationPredictionResult) GetCategoryMask() []byte

func (*ImageSegmentationPredictionResult) GetConfidenceMask

func (x *ImageSegmentationPredictionResult) GetConfidenceMask() []byte

func (*ImageSegmentationPredictionResult) ProtoMessage

func (*ImageSegmentationPredictionResult) ProtoMessage()

func (*ImageSegmentationPredictionResult) ProtoReflect

func (*ImageSegmentationPredictionResult) Reset

func (*ImageSegmentationPredictionResult) String

type TabularClassificationPredictionResult

type TabularClassificationPredictionResult struct {

	// The name of the classes being classified, contains all possible values of
	// the target column.
	Classes []string `protobuf:"bytes,1,rep,name=classes,proto3" json:"classes,omitempty"`
	// The model's confidence in each class being correct, higher
	// value means higher confidence. The N-th score corresponds to
	// the N-th class in classes.
	Scores []float32 `protobuf:"fixed32,2,rep,packed,name=scores,proto3" json:"scores,omitempty"`
	// contains filtered or unexported fields
}

Prediction output format for Tabular Classification.

func (*TabularClassificationPredictionResult) Descriptor

func (*TabularClassificationPredictionResult) Descriptor() ([]byte, []int)

Deprecated: Use TabularClassificationPredictionResult.ProtoReflect.Descriptor instead.

func (*TabularClassificationPredictionResult) GetClasses

func (*TabularClassificationPredictionResult) GetScores

func (*TabularClassificationPredictionResult) ProtoMessage

func (*TabularClassificationPredictionResult) ProtoMessage()

func (*TabularClassificationPredictionResult) ProtoReflect

func (*TabularClassificationPredictionResult) Reset

func (*TabularClassificationPredictionResult) String

type TabularRegressionPredictionResult

type TabularRegressionPredictionResult struct {

	// The regression value.
	Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
	// The lower bound of the prediction interval.
	LowerBound float32 `protobuf:"fixed32,2,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"`
	// The upper bound of the prediction interval.
	UpperBound float32 `protobuf:"fixed32,3,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"`
	// contains filtered or unexported fields
}

Prediction output format for Tabular Regression.

func (*TabularRegressionPredictionResult) Descriptor

func (*TabularRegressionPredictionResult) Descriptor() ([]byte, []int)

Deprecated: Use TabularRegressionPredictionResult.ProtoReflect.Descriptor instead.

func (*TabularRegressionPredictionResult) GetLowerBound

func (x *TabularRegressionPredictionResult) GetLowerBound() float32

func (*TabularRegressionPredictionResult) GetUpperBound

func (x *TabularRegressionPredictionResult) GetUpperBound() float32

func (*TabularRegressionPredictionResult) GetValue

func (*TabularRegressionPredictionResult) ProtoMessage

func (*TabularRegressionPredictionResult) ProtoMessage()

func (*TabularRegressionPredictionResult) ProtoReflect

func (*TabularRegressionPredictionResult) Reset

func (*TabularRegressionPredictionResult) String

type TextExtractionPredictionResult

type TextExtractionPredictionResult struct {

	// The resource IDs of the AnnotationSpecs that had been identified,
	// ordered by the confidence score descendingly.
	Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// The display names of the AnnotationSpecs that had been identified,
	// order matches the IDs.
	DisplayNames []string `protobuf:"bytes,2,rep,name=display_names,json=displayNames,proto3" json:"display_names,omitempty"`
	// The start offsets, inclusive, of the text segment in which the
	// AnnotationSpec has been identified. Expressed as a zero-based number
	// of characters as measured from the start of the text snippet.
	TextSegmentStartOffsets []int64 `` /* 142-byte string literal not displayed */
	// The end offsets, inclusive, of the text segment in which the
	// AnnotationSpec has been identified. Expressed as a zero-based number
	// of characters as measured from the start of the text snippet.
	TextSegmentEndOffsets []int64 `` /* 136-byte string literal not displayed */
	// The Model's confidences in correctness of the predicted IDs, higher
	// value means higher confidence. Order matches the Ids.
	Confidences []float32 `protobuf:"fixed32,5,rep,packed,name=confidences,proto3" json:"confidences,omitempty"`
	// contains filtered or unexported fields
}

Prediction output format for Text Extraction.

func (*TextExtractionPredictionResult) Descriptor

func (*TextExtractionPredictionResult) Descriptor() ([]byte, []int)

Deprecated: Use TextExtractionPredictionResult.ProtoReflect.Descriptor instead.

func (*TextExtractionPredictionResult) GetConfidences

func (x *TextExtractionPredictionResult) GetConfidences() []float32

func (*TextExtractionPredictionResult) GetDisplayNames

func (x *TextExtractionPredictionResult) GetDisplayNames() []string

func (*TextExtractionPredictionResult) GetIds

func (x *TextExtractionPredictionResult) GetIds() []int64

func (*TextExtractionPredictionResult) GetTextSegmentEndOffsets

func (x *TextExtractionPredictionResult) GetTextSegmentEndOffsets() []int64

func (*TextExtractionPredictionResult) GetTextSegmentStartOffsets

func (x *TextExtractionPredictionResult) GetTextSegmentStartOffsets() []int64

func (*TextExtractionPredictionResult) ProtoMessage

func (*TextExtractionPredictionResult) ProtoMessage()

func (*TextExtractionPredictionResult) ProtoReflect

func (*TextExtractionPredictionResult) Reset

func (x *TextExtractionPredictionResult) Reset()

func (*TextExtractionPredictionResult) String

type TextSentimentPredictionResult

type TextSentimentPredictionResult struct {

	// User's input instance.
	Instance *instance.TextSentimentPredictionInstance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// The prediction result.
	Prediction *TextSentimentPredictionResult_Prediction `protobuf:"bytes,2,opt,name=prediction,proto3" json:"prediction,omitempty"`
	// contains filtered or unexported fields
}

Represents a line of JSONL in the text sentiment batch prediction output file. This is a hack to allow printing of integer values.

func (*TextSentimentPredictionResult) Descriptor

func (*TextSentimentPredictionResult) Descriptor() ([]byte, []int)

Deprecated: Use TextSentimentPredictionResult.ProtoReflect.Descriptor instead.

func (*TextSentimentPredictionResult) GetInstance

func (*TextSentimentPredictionResult) GetPrediction

func (*TextSentimentPredictionResult) ProtoMessage

func (*TextSentimentPredictionResult) ProtoMessage()

func (*TextSentimentPredictionResult) ProtoReflect

func (*TextSentimentPredictionResult) Reset

func (x *TextSentimentPredictionResult) Reset()

func (*TextSentimentPredictionResult) String

type TextSentimentPredictionResult_Prediction

type TextSentimentPredictionResult_Prediction struct {

	// The integer sentiment labels between 0 (inclusive) and sentimentMax label
	// (inclusive), while 0 maps to the least positive sentiment and
	// sentimentMax maps to the most positive one. The higher the score is, the
	// more positive the sentiment in the text snippet is. Note: sentimentMax is
	// an integer value between 1 (inclusive) and 10 (inclusive).
	Sentiment int32 `protobuf:"varint,1,opt,name=sentiment,proto3" json:"sentiment,omitempty"`
	// contains filtered or unexported fields
}

Prediction output format for Text Sentiment.

func (*TextSentimentPredictionResult_Prediction) Descriptor

func (*TextSentimentPredictionResult_Prediction) Descriptor() ([]byte, []int)

Deprecated: Use TextSentimentPredictionResult_Prediction.ProtoReflect.Descriptor instead.

func (*TextSentimentPredictionResult_Prediction) GetSentiment

func (*TextSentimentPredictionResult_Prediction) ProtoMessage

func (*TextSentimentPredictionResult_Prediction) ProtoReflect

func (*TextSentimentPredictionResult_Prediction) Reset

func (*TextSentimentPredictionResult_Prediction) String

type TimeSeriesForecastingPredictionResult

type TimeSeriesForecastingPredictionResult struct {

	// The regression value.
	Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
	// The lower bound of the prediction interval.
	LowerBound float32 `protobuf:"fixed32,2,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"`
	// The upper bound of the prediction interval.
	UpperBound float32 `protobuf:"fixed32,3,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"`
	// contains filtered or unexported fields
}

Prediction output format for Time Series Forecasting.

func (*TimeSeriesForecastingPredictionResult) Descriptor

func (*TimeSeriesForecastingPredictionResult) Descriptor() ([]byte, []int)

Deprecated: Use TimeSeriesForecastingPredictionResult.ProtoReflect.Descriptor instead.

func (*TimeSeriesForecastingPredictionResult) GetLowerBound

func (*TimeSeriesForecastingPredictionResult) GetUpperBound

func (*TimeSeriesForecastingPredictionResult) GetValue

func (*TimeSeriesForecastingPredictionResult) ProtoMessage

func (*TimeSeriesForecastingPredictionResult) ProtoMessage()

func (*TimeSeriesForecastingPredictionResult) ProtoReflect

func (*TimeSeriesForecastingPredictionResult) Reset

func (*TimeSeriesForecastingPredictionResult) String

type VideoActionRecognitionPredictionResult

type VideoActionRecognitionPredictionResult struct {

	// The resource ID of the AnnotationSpec that had been identified.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The display name of the AnnotationSpec that had been identified.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// 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.
	TimeSegmentStart *durationpb.Duration `protobuf:"bytes,4,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"`
	// 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.
	TimeSegmentEnd *durationpb.Duration `protobuf:"bytes,5,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"`
	// The Model's confidence in correction of this prediction, higher
	// value means higher confidence.
	Confidence *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// contains filtered or unexported fields
}

Prediction output format for Video Action Recognition.

func (*VideoActionRecognitionPredictionResult) Descriptor

func (*VideoActionRecognitionPredictionResult) Descriptor() ([]byte, []int)

Deprecated: Use VideoActionRecognitionPredictionResult.ProtoReflect.Descriptor instead.

func (*VideoActionRecognitionPredictionResult) GetConfidence

func (*VideoActionRecognitionPredictionResult) GetDisplayName

func (x *VideoActionRecognitionPredictionResult) GetDisplayName() string

func (*VideoActionRecognitionPredictionResult) GetId

func (*VideoActionRecognitionPredictionResult) GetTimeSegmentEnd

func (*VideoActionRecognitionPredictionResult) GetTimeSegmentStart

func (*VideoActionRecognitionPredictionResult) ProtoMessage

func (*VideoActionRecognitionPredictionResult) ProtoReflect

func (*VideoActionRecognitionPredictionResult) Reset

func (*VideoActionRecognitionPredictionResult) String

type VideoClassificationPredictionResult

type VideoClassificationPredictionResult struct {

	// The resource ID of the AnnotationSpec that had been identified.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The display name of the AnnotationSpec that had been identified.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// 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
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// 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.
	TimeSegmentStart *durationpb.Duration `protobuf:"bytes,4,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"`
	// 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.
	TimeSegmentEnd *durationpb.Duration `protobuf:"bytes,5,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"`
	// The Model's confidence in correction of this prediction, higher
	// value means higher confidence.
	Confidence *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// contains filtered or unexported fields
}

Prediction output format for Video Classification.

func (*VideoClassificationPredictionResult) Descriptor

func (*VideoClassificationPredictionResult) Descriptor() ([]byte, []int)

Deprecated: Use VideoClassificationPredictionResult.ProtoReflect.Descriptor instead.

func (*VideoClassificationPredictionResult) GetConfidence

func (*VideoClassificationPredictionResult) GetDisplayName

func (x *VideoClassificationPredictionResult) GetDisplayName() string

func (*VideoClassificationPredictionResult) GetId

func (*VideoClassificationPredictionResult) GetTimeSegmentEnd

func (*VideoClassificationPredictionResult) GetTimeSegmentStart

func (x *VideoClassificationPredictionResult) GetTimeSegmentStart() *durationpb.Duration

func (*VideoClassificationPredictionResult) GetType

func (*VideoClassificationPredictionResult) ProtoMessage

func (*VideoClassificationPredictionResult) ProtoMessage()

func (*VideoClassificationPredictionResult) ProtoReflect

func (*VideoClassificationPredictionResult) Reset

func (*VideoClassificationPredictionResult) String

type VideoObjectTrackingPredictionResult

type VideoObjectTrackingPredictionResult struct {

	// The resource ID of the AnnotationSpec that had been identified.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The display name of the AnnotationSpec that had been identified.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The beginning, inclusive, of the video's time segment in which the
	// object instance has been detected. 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.
	TimeSegmentStart *durationpb.Duration `protobuf:"bytes,3,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"`
	// The end, inclusive, of the video's time segment in which the
	// object instance has been detected. 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.
	TimeSegmentEnd *durationpb.Duration `protobuf:"bytes,4,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"`
	// The Model's confidence in correction of this prediction, higher
	// value means higher confidence.
	Confidence *wrapperspb.FloatValue `protobuf:"bytes,5,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// All of the frames of the video in which a single object instance has been
	// detected. The bounding boxes in the frames identify the same object.
	Frames []*VideoObjectTrackingPredictionResult_Frame `protobuf:"bytes,6,rep,name=frames,proto3" json:"frames,omitempty"`
	// contains filtered or unexported fields
}

Prediction output format for Video Object Tracking.

func (*VideoObjectTrackingPredictionResult) Descriptor

func (*VideoObjectTrackingPredictionResult) Descriptor() ([]byte, []int)

Deprecated: Use VideoObjectTrackingPredictionResult.ProtoReflect.Descriptor instead.

func (*VideoObjectTrackingPredictionResult) GetConfidence

func (*VideoObjectTrackingPredictionResult) GetDisplayName

func (x *VideoObjectTrackingPredictionResult) GetDisplayName() string

func (*VideoObjectTrackingPredictionResult) GetFrames

func (*VideoObjectTrackingPredictionResult) GetId

func (*VideoObjectTrackingPredictionResult) GetTimeSegmentEnd

func (*VideoObjectTrackingPredictionResult) GetTimeSegmentStart

func (x *VideoObjectTrackingPredictionResult) GetTimeSegmentStart() *durationpb.Duration

func (*VideoObjectTrackingPredictionResult) ProtoMessage

func (*VideoObjectTrackingPredictionResult) ProtoMessage()

func (*VideoObjectTrackingPredictionResult) ProtoReflect

func (*VideoObjectTrackingPredictionResult) Reset

func (*VideoObjectTrackingPredictionResult) String

type VideoObjectTrackingPredictionResult_Frame

type VideoObjectTrackingPredictionResult_Frame struct {

	// A time (frame) of a video in which the object has been detected.
	// 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.
	TimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
	// The leftmost coordinate of the bounding box.
	XMin *wrapperspb.FloatValue `protobuf:"bytes,2,opt,name=x_min,json=xMin,proto3" json:"x_min,omitempty"`
	// The rightmost coordinate of the bounding box.
	XMax *wrapperspb.FloatValue `protobuf:"bytes,3,opt,name=x_max,json=xMax,proto3" json:"x_max,omitempty"`
	// The topmost coordinate of the bounding box.
	YMin *wrapperspb.FloatValue `protobuf:"bytes,4,opt,name=y_min,json=yMin,proto3" json:"y_min,omitempty"`
	// The bottommost coordinate of the bounding box.
	YMax *wrapperspb.FloatValue `protobuf:"bytes,5,opt,name=y_max,json=yMax,proto3" json:"y_max,omitempty"`
	// contains filtered or unexported fields
}

The fields `xMin`, `xMax`, `yMin`, and `yMax` refer to a bounding box, i.e. the rectangle over the video frame pinpointing the found AnnotationSpec. The coordinates are relative to the frame size, and the point 0,0 is in the top left of the frame.

func (*VideoObjectTrackingPredictionResult_Frame) Descriptor

func (*VideoObjectTrackingPredictionResult_Frame) Descriptor() ([]byte, []int)

Deprecated: Use VideoObjectTrackingPredictionResult_Frame.ProtoReflect.Descriptor instead.

func (*VideoObjectTrackingPredictionResult_Frame) GetTimeOffset

func (*VideoObjectTrackingPredictionResult_Frame) GetXMax

func (*VideoObjectTrackingPredictionResult_Frame) GetXMin

func (*VideoObjectTrackingPredictionResult_Frame) GetYMax

func (*VideoObjectTrackingPredictionResult_Frame) GetYMin

func (*VideoObjectTrackingPredictionResult_Frame) ProtoMessage

func (*VideoObjectTrackingPredictionResult_Frame) ProtoReflect

func (*VideoObjectTrackingPredictionResult_Frame) Reset

func (*VideoObjectTrackingPredictionResult_Frame) String