videointelligence

package
v0.0.0-...-e165f0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Feature_name = map[int32]string{
	0:  "FEATURE_UNSPECIFIED",
	1:  "LABEL_DETECTION",
	2:  "SHOT_CHANGE_DETECTION",
	3:  "EXPLICIT_CONTENT_DETECTION",
	4:  "FACE_DETECTION",
	6:  "SPEECH_TRANSCRIPTION",
	7:  "TEXT_DETECTION",
	9:  "OBJECT_TRACKING",
	12: "LOGO_RECOGNITION",
	13: "CELEBRITY_RECOGNITION",
	14: "PERSON_DETECTION",
}
View Source
var Feature_value = map[string]int32{
	"FEATURE_UNSPECIFIED":        0,
	"LABEL_DETECTION":            1,
	"SHOT_CHANGE_DETECTION":      2,
	"EXPLICIT_CONTENT_DETECTION": 3,
	"FACE_DETECTION":             4,
	"SPEECH_TRANSCRIPTION":       6,
	"TEXT_DETECTION":             7,
	"OBJECT_TRACKING":            9,
	"LOGO_RECOGNITION":           12,
	"CELEBRITY_RECOGNITION":      13,
	"PERSON_DETECTION":           14,
}
View Source
var LabelDetectionMode_name = map[int32]string{
	0: "LABEL_DETECTION_MODE_UNSPECIFIED",
	1: "SHOT_MODE",
	2: "FRAME_MODE",
	3: "SHOT_AND_FRAME_MODE",
}
View Source
var LabelDetectionMode_value = map[string]int32{
	"LABEL_DETECTION_MODE_UNSPECIFIED": 0,
	"SHOT_MODE":                        1,
	"FRAME_MODE":                       2,
	"SHOT_AND_FRAME_MODE":              3,
}
View Source
var Likelihood_name = map[int32]string{
	0: "LIKELIHOOD_UNSPECIFIED",
	1: "VERY_UNLIKELY",
	2: "UNLIKELY",
	3: "POSSIBLE",
	4: "LIKELY",
	5: "VERY_LIKELY",
}
View Source
var Likelihood_value = map[string]int32{
	"LIKELIHOOD_UNSPECIFIED": 0,
	"VERY_UNLIKELY":          1,
	"UNLIKELY":               2,
	"POSSIBLE":               3,
	"LIKELY":                 4,
	"VERY_LIKELY":            5,
}
View Source
var StreamingFeature_name = map[int32]string{
	0:  "STREAMING_FEATURE_UNSPECIFIED",
	1:  "STREAMING_LABEL_DETECTION",
	2:  "STREAMING_SHOT_CHANGE_DETECTION",
	3:  "STREAMING_EXPLICIT_CONTENT_DETECTION",
	4:  "STREAMING_OBJECT_TRACKING",
	21: "STREAMING_AUTOML_CLASSIFICATION",
	22: "STREAMING_AUTOML_OBJECT_TRACKING",
}
View Source
var StreamingFeature_value = map[string]int32{
	"STREAMING_FEATURE_UNSPECIFIED":        0,
	"STREAMING_LABEL_DETECTION":            1,
	"STREAMING_SHOT_CHANGE_DETECTION":      2,
	"STREAMING_EXPLICIT_CONTENT_DETECTION": 3,
	"STREAMING_OBJECT_TRACKING":            4,
	"STREAMING_AUTOML_CLASSIFICATION":      21,
	"STREAMING_AUTOML_OBJECT_TRACKING":     22,
}

Functions

func RegisterStreamingVideoIntelligenceServiceServer

func RegisterStreamingVideoIntelligenceServiceServer(s *grpc.Server, srv StreamingVideoIntelligenceServiceServer)

func RegisterVideoIntelligenceServiceServer

func RegisterVideoIntelligenceServiceServer(s *grpc.Server, srv VideoIntelligenceServiceServer)

Types

type AnnotateVideoProgress

type AnnotateVideoProgress struct {
	// Progress metadata for all videos specified in `AnnotateVideoRequest`.
	AnnotationProgress   []*VideoAnnotationProgress `protobuf:"bytes,1,rep,name=annotation_progress,json=annotationProgress,proto3" json:"annotation_progress,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

Video annotation progress. Included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.

func (*AnnotateVideoProgress) Descriptor

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

func (*AnnotateVideoProgress) GetAnnotationProgress

func (m *AnnotateVideoProgress) GetAnnotationProgress() []*VideoAnnotationProgress

func (*AnnotateVideoProgress) ProtoMessage

func (*AnnotateVideoProgress) ProtoMessage()

func (*AnnotateVideoProgress) Reset

func (m *AnnotateVideoProgress) Reset()

func (*AnnotateVideoProgress) String

func (m *AnnotateVideoProgress) String() string

func (*AnnotateVideoProgress) XXX_DiscardUnknown

func (m *AnnotateVideoProgress) XXX_DiscardUnknown()

func (*AnnotateVideoProgress) XXX_Marshal

func (m *AnnotateVideoProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnnotateVideoProgress) XXX_Merge

func (m *AnnotateVideoProgress) XXX_Merge(src proto.Message)

func (*AnnotateVideoProgress) XXX_Size

func (m *AnnotateVideoProgress) XXX_Size() int

func (*AnnotateVideoProgress) XXX_Unmarshal

func (m *AnnotateVideoProgress) XXX_Unmarshal(b []byte) error

type AnnotateVideoRequest

type AnnotateVideoRequest struct {
	// Input video location. Currently, only
	// [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
	// supported, which must be specified in the following format:
	// `gs://bucket-id/object-id` (other URI formats return
	// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
	// more information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints). A video
	// URI may include wildcards in `object-id`, and thus identify multiple
	// videos. Supported wildcards: '*' to match 0 or more characters;
	// '?' to match 1 character. If unset, the input video should be embedded
	// in the request as `input_content`. If set, `input_content` should be unset.
	InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"`
	// The video data bytes.
	// If unset, the input video(s) should be specified via `input_uri`.
	// If set, `input_uri` should be unset.
	InputContent []byte `protobuf:"bytes,6,opt,name=input_content,json=inputContent,proto3" json:"input_content,omitempty"`
	// Required. Requested video annotation features.
	Features []Feature `` /* 131-byte string literal not displayed */
	// Additional video context and/or feature-specific parameters.
	VideoContext *VideoContext `protobuf:"bytes,3,opt,name=video_context,json=videoContext,proto3" json:"video_context,omitempty"`
	// Optional. Location where the output (in JSON format) should be stored.
	// Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
	// URIs are supported, which must be specified in the following format:
	// `gs://bucket-id/object-id` (other URI formats return
	// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
	// more information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
	OutputUri string `protobuf:"bytes,4,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"`
	// Optional. Cloud region where annotation should take place. Supported cloud
	// regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
	// is specified, a region will be determined based on video file location.
	LocationId           string   `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Video annotation request.

func (*AnnotateVideoRequest) Descriptor

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

func (*AnnotateVideoRequest) GetFeatures

func (m *AnnotateVideoRequest) GetFeatures() []Feature

func (*AnnotateVideoRequest) GetInputContent

func (m *AnnotateVideoRequest) GetInputContent() []byte

func (*AnnotateVideoRequest) GetInputUri

func (m *AnnotateVideoRequest) GetInputUri() string

func (*AnnotateVideoRequest) GetLocationId

func (m *AnnotateVideoRequest) GetLocationId() string

func (*AnnotateVideoRequest) GetOutputUri

func (m *AnnotateVideoRequest) GetOutputUri() string

func (*AnnotateVideoRequest) GetVideoContext

func (m *AnnotateVideoRequest) GetVideoContext() *VideoContext

func (*AnnotateVideoRequest) ProtoMessage

func (*AnnotateVideoRequest) ProtoMessage()

func (*AnnotateVideoRequest) Reset

func (m *AnnotateVideoRequest) Reset()

func (*AnnotateVideoRequest) String

func (m *AnnotateVideoRequest) String() string

func (*AnnotateVideoRequest) XXX_DiscardUnknown

func (m *AnnotateVideoRequest) XXX_DiscardUnknown()

func (*AnnotateVideoRequest) XXX_Marshal

func (m *AnnotateVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnnotateVideoRequest) XXX_Merge

func (m *AnnotateVideoRequest) XXX_Merge(src proto.Message)

func (*AnnotateVideoRequest) XXX_Size

func (m *AnnotateVideoRequest) XXX_Size() int

func (*AnnotateVideoRequest) XXX_Unmarshal

func (m *AnnotateVideoRequest) XXX_Unmarshal(b []byte) error

type AnnotateVideoResponse

type AnnotateVideoResponse struct {
	// Annotation results for all videos specified in `AnnotateVideoRequest`.
	AnnotationResults    []*VideoAnnotationResults `protobuf:"bytes,1,rep,name=annotation_results,json=annotationResults,proto3" json:"annotation_results,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

Video annotation response. Included in the `response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.

func (*AnnotateVideoResponse) Descriptor

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

func (*AnnotateVideoResponse) GetAnnotationResults

func (m *AnnotateVideoResponse) GetAnnotationResults() []*VideoAnnotationResults

func (*AnnotateVideoResponse) ProtoMessage

func (*AnnotateVideoResponse) ProtoMessage()

func (*AnnotateVideoResponse) Reset

func (m *AnnotateVideoResponse) Reset()

func (*AnnotateVideoResponse) String

func (m *AnnotateVideoResponse) String() string

func (*AnnotateVideoResponse) XXX_DiscardUnknown

func (m *AnnotateVideoResponse) XXX_DiscardUnknown()

func (*AnnotateVideoResponse) XXX_Marshal

func (m *AnnotateVideoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnnotateVideoResponse) XXX_Merge

func (m *AnnotateVideoResponse) XXX_Merge(src proto.Message)

func (*AnnotateVideoResponse) XXX_Size

func (m *AnnotateVideoResponse) XXX_Size() int

func (*AnnotateVideoResponse) XXX_Unmarshal

func (m *AnnotateVideoResponse) XXX_Unmarshal(b []byte) error

type Celebrity

type Celebrity struct {
	// The resource name of the celebrity. Have the format
	// `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
	// kg-mid is the id in Google knowledge graph, which is unique for the
	// celebrity.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The celebrity name.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Textual description of additional information about the celebrity, if
	// applicable.
	Description          string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Celebrity definition.

func (*Celebrity) Descriptor

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

func (*Celebrity) GetDescription

func (m *Celebrity) GetDescription() string

func (*Celebrity) GetDisplayName

func (m *Celebrity) GetDisplayName() string

func (*Celebrity) GetName

func (m *Celebrity) GetName() string

func (*Celebrity) ProtoMessage

func (*Celebrity) ProtoMessage()

func (*Celebrity) Reset

func (m *Celebrity) Reset()

func (*Celebrity) String

func (m *Celebrity) String() string

func (*Celebrity) XXX_DiscardUnknown

func (m *Celebrity) XXX_DiscardUnknown()

func (*Celebrity) XXX_Marshal

func (m *Celebrity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Celebrity) XXX_Merge

func (m *Celebrity) XXX_Merge(src proto.Message)

func (*Celebrity) XXX_Size

func (m *Celebrity) XXX_Size() int

func (*Celebrity) XXX_Unmarshal

func (m *Celebrity) XXX_Unmarshal(b []byte) error

type CelebrityRecognitionAnnotation

type CelebrityRecognitionAnnotation struct {
	// The tracks detected from the input video, including recognized celebrities
	// and other detected faces in the video.
	CelebrityTracks      []*CelebrityTrack `protobuf:"bytes,1,rep,name=celebrity_tracks,json=celebrityTracks,proto3" json:"celebrity_tracks,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Celebrity recognition annotation per video.

func (*CelebrityRecognitionAnnotation) Descriptor

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

func (*CelebrityRecognitionAnnotation) GetCelebrityTracks

func (m *CelebrityRecognitionAnnotation) GetCelebrityTracks() []*CelebrityTrack

func (*CelebrityRecognitionAnnotation) ProtoMessage

func (*CelebrityRecognitionAnnotation) ProtoMessage()

func (*CelebrityRecognitionAnnotation) Reset

func (m *CelebrityRecognitionAnnotation) Reset()

func (*CelebrityRecognitionAnnotation) String

func (*CelebrityRecognitionAnnotation) XXX_DiscardUnknown

func (m *CelebrityRecognitionAnnotation) XXX_DiscardUnknown()

func (*CelebrityRecognitionAnnotation) XXX_Marshal

func (m *CelebrityRecognitionAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CelebrityRecognitionAnnotation) XXX_Merge

func (m *CelebrityRecognitionAnnotation) XXX_Merge(src proto.Message)

func (*CelebrityRecognitionAnnotation) XXX_Size

func (m *CelebrityRecognitionAnnotation) XXX_Size() int

func (*CelebrityRecognitionAnnotation) XXX_Unmarshal

func (m *CelebrityRecognitionAnnotation) XXX_Unmarshal(b []byte) error

type CelebrityTrack

type CelebrityTrack struct {
	// Top N match of the celebrities for the face in this track.
	Celebrities []*CelebrityTrack_RecognizedCelebrity `protobuf:"bytes,1,rep,name=celebrities,proto3" json:"celebrities,omitempty"`
	// A track of a person's face.
	FaceTrack            *Track   `protobuf:"bytes,3,opt,name=face_track,json=faceTrack,proto3" json:"face_track,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The annotation result of a celebrity face track. RecognizedCelebrity field could be empty if the face track does not have any matched celebrities.

func (*CelebrityTrack) Descriptor

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

func (*CelebrityTrack) GetCelebrities

func (m *CelebrityTrack) GetCelebrities() []*CelebrityTrack_RecognizedCelebrity

func (*CelebrityTrack) GetFaceTrack

func (m *CelebrityTrack) GetFaceTrack() *Track

func (*CelebrityTrack) ProtoMessage

func (*CelebrityTrack) ProtoMessage()

func (*CelebrityTrack) Reset

func (m *CelebrityTrack) Reset()

func (*CelebrityTrack) String

func (m *CelebrityTrack) String() string

func (*CelebrityTrack) XXX_DiscardUnknown

func (m *CelebrityTrack) XXX_DiscardUnknown()

func (*CelebrityTrack) XXX_Marshal

func (m *CelebrityTrack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CelebrityTrack) XXX_Merge

func (m *CelebrityTrack) XXX_Merge(src proto.Message)

func (*CelebrityTrack) XXX_Size

func (m *CelebrityTrack) XXX_Size() int

func (*CelebrityTrack) XXX_Unmarshal

func (m *CelebrityTrack) XXX_Unmarshal(b []byte) error

type CelebrityTrack_RecognizedCelebrity

type CelebrityTrack_RecognizedCelebrity struct {
	// The recognized celebrity.
	Celebrity *Celebrity `protobuf:"bytes,1,opt,name=celebrity,proto3" json:"celebrity,omitempty"`
	// Recognition confidence. Range [0, 1].
	Confidence           float32  `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The recognized celebrity with confidence score.

func (*CelebrityTrack_RecognizedCelebrity) Descriptor

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

func (*CelebrityTrack_RecognizedCelebrity) GetCelebrity

func (m *CelebrityTrack_RecognizedCelebrity) GetCelebrity() *Celebrity

func (*CelebrityTrack_RecognizedCelebrity) GetConfidence

func (m *CelebrityTrack_RecognizedCelebrity) GetConfidence() float32

func (*CelebrityTrack_RecognizedCelebrity) ProtoMessage

func (*CelebrityTrack_RecognizedCelebrity) ProtoMessage()

func (*CelebrityTrack_RecognizedCelebrity) Reset

func (*CelebrityTrack_RecognizedCelebrity) String

func (*CelebrityTrack_RecognizedCelebrity) XXX_DiscardUnknown

func (m *CelebrityTrack_RecognizedCelebrity) XXX_DiscardUnknown()

func (*CelebrityTrack_RecognizedCelebrity) XXX_Marshal

func (m *CelebrityTrack_RecognizedCelebrity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CelebrityTrack_RecognizedCelebrity) XXX_Merge

func (*CelebrityTrack_RecognizedCelebrity) XXX_Size

func (*CelebrityTrack_RecognizedCelebrity) XXX_Unmarshal

func (m *CelebrityTrack_RecognizedCelebrity) XXX_Unmarshal(b []byte) error

type DetectedAttribute

type DetectedAttribute struct {
	// The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
	// A full list of supported type names will be provided in the document.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Detected attribute confidence. Range [0, 1].
	Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// Text value of the detection result. For example, the value for "HairColor"
	// can be "black", "blonde", etc.
	Value                string   `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A generic detected attribute represented by name in string format.

func (*DetectedAttribute) Descriptor

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

func (*DetectedAttribute) GetConfidence

func (m *DetectedAttribute) GetConfidence() float32

func (*DetectedAttribute) GetName

func (m *DetectedAttribute) GetName() string

func (*DetectedAttribute) GetValue

func (m *DetectedAttribute) GetValue() string

func (*DetectedAttribute) ProtoMessage

func (*DetectedAttribute) ProtoMessage()

func (*DetectedAttribute) Reset

func (m *DetectedAttribute) Reset()

func (*DetectedAttribute) String

func (m *DetectedAttribute) String() string

func (*DetectedAttribute) XXX_DiscardUnknown

func (m *DetectedAttribute) XXX_DiscardUnknown()

func (*DetectedAttribute) XXX_Marshal

func (m *DetectedAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DetectedAttribute) XXX_Merge

func (m *DetectedAttribute) XXX_Merge(src proto.Message)

func (*DetectedAttribute) XXX_Size

func (m *DetectedAttribute) XXX_Size() int

func (*DetectedAttribute) XXX_Unmarshal

func (m *DetectedAttribute) XXX_Unmarshal(b []byte) error

type DetectedLandmark

type DetectedLandmark struct {
	// The name of this landmark, i.e. left_hand, right_shoulder.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The 2D point of the detected landmark using the normalized image
	// coordindate system. The normalized coordinates have the range from 0 to 1.
	Point *NormalizedVertex `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"`
	// The confidence score of the detected landmark. Range [0, 1].
	Confidence           float32  `protobuf:"fixed32,3,opt,name=confidence,proto3" json:"confidence,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A generic detected landmark represented by name in string format and a 2D location.

func (*DetectedLandmark) Descriptor

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

func (*DetectedLandmark) GetConfidence

func (m *DetectedLandmark) GetConfidence() float32

func (*DetectedLandmark) GetName

func (m *DetectedLandmark) GetName() string

func (*DetectedLandmark) GetPoint

func (m *DetectedLandmark) GetPoint() *NormalizedVertex

func (*DetectedLandmark) ProtoMessage

func (*DetectedLandmark) ProtoMessage()

func (*DetectedLandmark) Reset

func (m *DetectedLandmark) Reset()

func (*DetectedLandmark) String

func (m *DetectedLandmark) String() string

func (*DetectedLandmark) XXX_DiscardUnknown

func (m *DetectedLandmark) XXX_DiscardUnknown()

func (*DetectedLandmark) XXX_Marshal

func (m *DetectedLandmark) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DetectedLandmark) XXX_Merge

func (m *DetectedLandmark) XXX_Merge(src proto.Message)

func (*DetectedLandmark) XXX_Size

func (m *DetectedLandmark) XXX_Size() int

func (*DetectedLandmark) XXX_Unmarshal

func (m *DetectedLandmark) XXX_Unmarshal(b []byte) error

type Entity

type Entity struct {
	// Opaque entity ID. Some IDs may be available in
	// [Google Knowledge Graph Search
	// API](https://developers.google.com/knowledge-graph/).
	EntityId string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	// Textual description, e.g. `Fixed-gear bicycle`.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Language code for `description` in BCP-47 format.
	LanguageCode         string   `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Detected entity from video analysis.

func (*Entity) Descriptor

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

func (*Entity) GetDescription

func (m *Entity) GetDescription() string

func (*Entity) GetEntityId

func (m *Entity) GetEntityId() string

func (*Entity) GetLanguageCode

func (m *Entity) GetLanguageCode() string

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) Reset

func (m *Entity) Reset()

func (*Entity) String

func (m *Entity) String() string

func (*Entity) XXX_DiscardUnknown

func (m *Entity) XXX_DiscardUnknown()

func (*Entity) XXX_Marshal

func (m *Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Entity) XXX_Merge

func (m *Entity) XXX_Merge(src proto.Message)

func (*Entity) XXX_Size

func (m *Entity) XXX_Size() int

func (*Entity) XXX_Unmarshal

func (m *Entity) XXX_Unmarshal(b []byte) error

type ExplicitContentAnnotation

type ExplicitContentAnnotation struct {
	// All video frames where explicit content was detected.
	Frames               []*ExplicitContentFrame `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.

func (*ExplicitContentAnnotation) Descriptor

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

func (*ExplicitContentAnnotation) GetFrames

func (*ExplicitContentAnnotation) ProtoMessage

func (*ExplicitContentAnnotation) ProtoMessage()

func (*ExplicitContentAnnotation) Reset

func (m *ExplicitContentAnnotation) Reset()

func (*ExplicitContentAnnotation) String

func (m *ExplicitContentAnnotation) String() string

func (*ExplicitContentAnnotation) XXX_DiscardUnknown

func (m *ExplicitContentAnnotation) XXX_DiscardUnknown()

func (*ExplicitContentAnnotation) XXX_Marshal

func (m *ExplicitContentAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExplicitContentAnnotation) XXX_Merge

func (m *ExplicitContentAnnotation) XXX_Merge(src proto.Message)

func (*ExplicitContentAnnotation) XXX_Size

func (m *ExplicitContentAnnotation) XXX_Size() int

func (*ExplicitContentAnnotation) XXX_Unmarshal

func (m *ExplicitContentAnnotation) XXX_Unmarshal(b []byte) error

type ExplicitContentDetectionConfig

type ExplicitContentDetectionConfig struct {
	// Model to use for explicit content detection.
	// Supported values: "builtin/stable" (the default if unset) and
	// "builtin/latest".
	Model                string   `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for EXPLICIT_CONTENT_DETECTION.

func (*ExplicitContentDetectionConfig) Descriptor

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

func (*ExplicitContentDetectionConfig) GetModel

func (m *ExplicitContentDetectionConfig) GetModel() string

func (*ExplicitContentDetectionConfig) ProtoMessage

func (*ExplicitContentDetectionConfig) ProtoMessage()

func (*ExplicitContentDetectionConfig) Reset

func (m *ExplicitContentDetectionConfig) Reset()

func (*ExplicitContentDetectionConfig) String

func (*ExplicitContentDetectionConfig) XXX_DiscardUnknown

func (m *ExplicitContentDetectionConfig) XXX_DiscardUnknown()

func (*ExplicitContentDetectionConfig) XXX_Marshal

func (m *ExplicitContentDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExplicitContentDetectionConfig) XXX_Merge

func (m *ExplicitContentDetectionConfig) XXX_Merge(src proto.Message)

func (*ExplicitContentDetectionConfig) XXX_Size

func (m *ExplicitContentDetectionConfig) XXX_Size() int

func (*ExplicitContentDetectionConfig) XXX_Unmarshal

func (m *ExplicitContentDetectionConfig) XXX_Unmarshal(b []byte) error

type ExplicitContentFrame

type ExplicitContentFrame struct {
	// Time-offset, relative to the beginning of the video, corresponding to the
	// video frame for this location.
	TimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
	// Likelihood of the pornography content..
	PornographyLikelihood Likelihood `` /* 182-byte string literal not displayed */
	XXX_NoUnkeyedLiteral  struct{}   `json:"-"`
	XXX_unrecognized      []byte     `json:"-"`
	XXX_sizecache         int32      `json:"-"`
}

Video frame level annotation results for explicit content.

func (*ExplicitContentFrame) Descriptor

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

func (*ExplicitContentFrame) GetPornographyLikelihood

func (m *ExplicitContentFrame) GetPornographyLikelihood() Likelihood

func (*ExplicitContentFrame) GetTimeOffset

func (m *ExplicitContentFrame) GetTimeOffset() *duration.Duration

func (*ExplicitContentFrame) ProtoMessage

func (*ExplicitContentFrame) ProtoMessage()

func (*ExplicitContentFrame) Reset

func (m *ExplicitContentFrame) Reset()

func (*ExplicitContentFrame) String

func (m *ExplicitContentFrame) String() string

func (*ExplicitContentFrame) XXX_DiscardUnknown

func (m *ExplicitContentFrame) XXX_DiscardUnknown()

func (*ExplicitContentFrame) XXX_Marshal

func (m *ExplicitContentFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExplicitContentFrame) XXX_Merge

func (m *ExplicitContentFrame) XXX_Merge(src proto.Message)

func (*ExplicitContentFrame) XXX_Size

func (m *ExplicitContentFrame) XXX_Size() int

func (*ExplicitContentFrame) XXX_Unmarshal

func (m *ExplicitContentFrame) XXX_Unmarshal(b []byte) error

type FaceDetectionAnnotation

type FaceDetectionAnnotation struct {
	// The face tracks with attributes.
	Tracks []*Track `protobuf:"bytes,3,rep,name=tracks,proto3" json:"tracks,omitempty"`
	// The thumbnail of a person's face.
	Thumbnail            []byte   `protobuf:"bytes,4,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Face detection annotation.

func (*FaceDetectionAnnotation) Descriptor

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

func (*FaceDetectionAnnotation) GetThumbnail

func (m *FaceDetectionAnnotation) GetThumbnail() []byte

func (*FaceDetectionAnnotation) GetTracks

func (m *FaceDetectionAnnotation) GetTracks() []*Track

func (*FaceDetectionAnnotation) ProtoMessage

func (*FaceDetectionAnnotation) ProtoMessage()

func (*FaceDetectionAnnotation) Reset

func (m *FaceDetectionAnnotation) Reset()

func (*FaceDetectionAnnotation) String

func (m *FaceDetectionAnnotation) String() string

func (*FaceDetectionAnnotation) XXX_DiscardUnknown

func (m *FaceDetectionAnnotation) XXX_DiscardUnknown()

func (*FaceDetectionAnnotation) XXX_Marshal

func (m *FaceDetectionAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FaceDetectionAnnotation) XXX_Merge

func (m *FaceDetectionAnnotation) XXX_Merge(src proto.Message)

func (*FaceDetectionAnnotation) XXX_Size

func (m *FaceDetectionAnnotation) XXX_Size() int

func (*FaceDetectionAnnotation) XXX_Unmarshal

func (m *FaceDetectionAnnotation) XXX_Unmarshal(b []byte) error

type FaceDetectionConfig

type FaceDetectionConfig struct {
	// Model to use for face detection.
	// Supported values: "builtin/stable" (the default if unset) and
	// "builtin/latest".
	Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// Whether bounding boxes be included in the face annotation output.
	IncludeBoundingBoxes bool `protobuf:"varint,2,opt,name=include_bounding_boxes,json=includeBoundingBoxes,proto3" json:"include_bounding_boxes,omitempty"`
	// Whether to enable face attributes detection, such as glasses, dark_glasses,
	// mouth_open etc. Ignored if 'include_bounding_boxes' is false.
	IncludeAttributes    bool     `protobuf:"varint,5,opt,name=include_attributes,json=includeAttributes,proto3" json:"include_attributes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for FACE_DETECTION.

func (*FaceDetectionConfig) Descriptor

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

func (*FaceDetectionConfig) GetIncludeAttributes

func (m *FaceDetectionConfig) GetIncludeAttributes() bool

func (*FaceDetectionConfig) GetIncludeBoundingBoxes

func (m *FaceDetectionConfig) GetIncludeBoundingBoxes() bool

func (*FaceDetectionConfig) GetModel

func (m *FaceDetectionConfig) GetModel() string

func (*FaceDetectionConfig) ProtoMessage

func (*FaceDetectionConfig) ProtoMessage()

func (*FaceDetectionConfig) Reset

func (m *FaceDetectionConfig) Reset()

func (*FaceDetectionConfig) String

func (m *FaceDetectionConfig) String() string

func (*FaceDetectionConfig) XXX_DiscardUnknown

func (m *FaceDetectionConfig) XXX_DiscardUnknown()

func (*FaceDetectionConfig) XXX_Marshal

func (m *FaceDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FaceDetectionConfig) XXX_Merge

func (m *FaceDetectionConfig) XXX_Merge(src proto.Message)

func (*FaceDetectionConfig) XXX_Size

func (m *FaceDetectionConfig) XXX_Size() int

func (*FaceDetectionConfig) XXX_Unmarshal

func (m *FaceDetectionConfig) XXX_Unmarshal(b []byte) error

type Feature

type Feature int32

Video annotation feature.

const (
	// Unspecified.
	Feature_FEATURE_UNSPECIFIED Feature = 0
	// Label detection. Detect objects, such as dog or flower.
	Feature_LABEL_DETECTION Feature = 1
	// Shot change detection.
	Feature_SHOT_CHANGE_DETECTION Feature = 2
	// Explicit content detection.
	Feature_EXPLICIT_CONTENT_DETECTION Feature = 3
	// Human face detection.
	Feature_FACE_DETECTION Feature = 4
	// Speech transcription.
	Feature_SPEECH_TRANSCRIPTION Feature = 6
	// OCR text detection and tracking.
	Feature_TEXT_DETECTION Feature = 7
	// Object detection and tracking.
	Feature_OBJECT_TRACKING Feature = 9
	// Logo detection, tracking, and recognition.
	Feature_LOGO_RECOGNITION Feature = 12
	// Celebrity recognition.
	Feature_CELEBRITY_RECOGNITION Feature = 13
	// Person detection.
	Feature_PERSON_DETECTION Feature = 14
)

func (Feature) EnumDescriptor

func (Feature) EnumDescriptor() ([]byte, []int)

func (Feature) String

func (x Feature) String() string

type LabelAnnotation

type LabelAnnotation struct {
	// Detected entity.
	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Common categories for the detected entity.
	// E.g. when the label is `Terrier` the category is likely `dog`. And in some
	// cases there might be more than one categories e.g. `Terrier` could also be
	// a `pet`.
	CategoryEntities []*Entity `protobuf:"bytes,2,rep,name=category_entities,json=categoryEntities,proto3" json:"category_entities,omitempty"`
	// All video segments where a label was detected.
	Segments []*LabelSegment `protobuf:"bytes,3,rep,name=segments,proto3" json:"segments,omitempty"`
	// All video frames where a label was detected.
	Frames               []*LabelFrame `protobuf:"bytes,4,rep,name=frames,proto3" json:"frames,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

Label annotation.

func (*LabelAnnotation) Descriptor

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

func (*LabelAnnotation) GetCategoryEntities

func (m *LabelAnnotation) GetCategoryEntities() []*Entity

func (*LabelAnnotation) GetEntity

func (m *LabelAnnotation) GetEntity() *Entity

func (*LabelAnnotation) GetFrames

func (m *LabelAnnotation) GetFrames() []*LabelFrame

func (*LabelAnnotation) GetSegments

func (m *LabelAnnotation) GetSegments() []*LabelSegment

func (*LabelAnnotation) ProtoMessage

func (*LabelAnnotation) ProtoMessage()

func (*LabelAnnotation) Reset

func (m *LabelAnnotation) Reset()

func (*LabelAnnotation) String

func (m *LabelAnnotation) String() string

func (*LabelAnnotation) XXX_DiscardUnknown

func (m *LabelAnnotation) XXX_DiscardUnknown()

func (*LabelAnnotation) XXX_Marshal

func (m *LabelAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelAnnotation) XXX_Merge

func (m *LabelAnnotation) XXX_Merge(src proto.Message)

func (*LabelAnnotation) XXX_Size

func (m *LabelAnnotation) XXX_Size() int

func (*LabelAnnotation) XXX_Unmarshal

func (m *LabelAnnotation) XXX_Unmarshal(b []byte) error

type LabelDetectionConfig

type LabelDetectionConfig struct {
	// What labels should be detected with LABEL_DETECTION, in addition to
	// video-level labels or segment-level labels.
	// If unspecified, defaults to `SHOT_MODE`.
	LabelDetectionMode LabelDetectionMode `` /* 183-byte string literal not displayed */
	// Whether the video has been shot from a stationary (i.e. non-moving) camera.
	// When set to true, might improve detection accuracy for moving objects.
	// Should be used with `SHOT_AND_FRAME_MODE` enabled.
	StationaryCamera bool `protobuf:"varint,2,opt,name=stationary_camera,json=stationaryCamera,proto3" json:"stationary_camera,omitempty"`
	// Model to use for label detection.
	// Supported values: "builtin/stable" (the default if unset) and
	// "builtin/latest".
	Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
	// The confidence threshold we perform filtering on the labels from
	// frame-level detection. If not set, it is set to 0.4 by default. The valid
	// range for this threshold is [0.1, 0.9]. Any value set outside of this
	// range will be clipped.
	// Note: for best results please follow the default threshold. We will update
	// the default threshold everytime when we release a new model.
	FrameConfidenceThreshold float32 `` /* 137-byte string literal not displayed */
	// The confidence threshold we perform filtering on the labels from
	// video-level and shot-level detections. If not set, it is set to 0.3 by
	// default. The valid range for this threshold is [0.1, 0.9]. Any value set
	// outside of this range will be clipped.
	// Note: for best results please follow the default threshold. We will update
	// the default threshold everytime when we release a new model.
	VideoConfidenceThreshold float32  `` /* 137-byte string literal not displayed */
	XXX_NoUnkeyedLiteral     struct{} `json:"-"`
	XXX_unrecognized         []byte   `json:"-"`
	XXX_sizecache            int32    `json:"-"`
}

Config for LABEL_DETECTION.

func (*LabelDetectionConfig) Descriptor

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

func (*LabelDetectionConfig) GetFrameConfidenceThreshold

func (m *LabelDetectionConfig) GetFrameConfidenceThreshold() float32

func (*LabelDetectionConfig) GetLabelDetectionMode

func (m *LabelDetectionConfig) GetLabelDetectionMode() LabelDetectionMode

func (*LabelDetectionConfig) GetModel

func (m *LabelDetectionConfig) GetModel() string

func (*LabelDetectionConfig) GetStationaryCamera

func (m *LabelDetectionConfig) GetStationaryCamera() bool

func (*LabelDetectionConfig) GetVideoConfidenceThreshold

func (m *LabelDetectionConfig) GetVideoConfidenceThreshold() float32

func (*LabelDetectionConfig) ProtoMessage

func (*LabelDetectionConfig) ProtoMessage()

func (*LabelDetectionConfig) Reset

func (m *LabelDetectionConfig) Reset()

func (*LabelDetectionConfig) String

func (m *LabelDetectionConfig) String() string

func (*LabelDetectionConfig) XXX_DiscardUnknown

func (m *LabelDetectionConfig) XXX_DiscardUnknown()

func (*LabelDetectionConfig) XXX_Marshal

func (m *LabelDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelDetectionConfig) XXX_Merge

func (m *LabelDetectionConfig) XXX_Merge(src proto.Message)

func (*LabelDetectionConfig) XXX_Size

func (m *LabelDetectionConfig) XXX_Size() int

func (*LabelDetectionConfig) XXX_Unmarshal

func (m *LabelDetectionConfig) XXX_Unmarshal(b []byte) error

type LabelDetectionMode

type LabelDetectionMode int32

Label detection mode.

const (
	// Unspecified.
	LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED LabelDetectionMode = 0
	// Detect shot-level labels.
	LabelDetectionMode_SHOT_MODE LabelDetectionMode = 1
	// Detect frame-level labels.
	LabelDetectionMode_FRAME_MODE LabelDetectionMode = 2
	// Detect both shot-level and frame-level labels.
	LabelDetectionMode_SHOT_AND_FRAME_MODE LabelDetectionMode = 3
)

func (LabelDetectionMode) EnumDescriptor

func (LabelDetectionMode) EnumDescriptor() ([]byte, []int)

func (LabelDetectionMode) String

func (x LabelDetectionMode) String() string

type LabelFrame

type LabelFrame struct {
	// Time-offset, relative to the beginning of the video, corresponding to the
	// video frame for this location.
	TimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
	// Confidence that the label is accurate. Range: [0, 1].
	Confidence           float32  `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Video frame level annotation results for label detection.

func (*LabelFrame) Descriptor

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

func (*LabelFrame) GetConfidence

func (m *LabelFrame) GetConfidence() float32

func (*LabelFrame) GetTimeOffset

func (m *LabelFrame) GetTimeOffset() *duration.Duration

func (*LabelFrame) ProtoMessage

func (*LabelFrame) ProtoMessage()

func (*LabelFrame) Reset

func (m *LabelFrame) Reset()

func (*LabelFrame) String

func (m *LabelFrame) String() string

func (*LabelFrame) XXX_DiscardUnknown

func (m *LabelFrame) XXX_DiscardUnknown()

func (*LabelFrame) XXX_Marshal

func (m *LabelFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelFrame) XXX_Merge

func (m *LabelFrame) XXX_Merge(src proto.Message)

func (*LabelFrame) XXX_Size

func (m *LabelFrame) XXX_Size() int

func (*LabelFrame) XXX_Unmarshal

func (m *LabelFrame) XXX_Unmarshal(b []byte) error

type LabelSegment

type LabelSegment struct {
	// Video segment where a label was detected.
	Segment *VideoSegment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
	// Confidence that the label is accurate. Range: [0, 1].
	Confidence           float32  `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Video segment level annotation results for label detection.

func (*LabelSegment) Descriptor

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

func (*LabelSegment) GetConfidence

func (m *LabelSegment) GetConfidence() float32

func (*LabelSegment) GetSegment

func (m *LabelSegment) GetSegment() *VideoSegment

func (*LabelSegment) ProtoMessage

func (*LabelSegment) ProtoMessage()

func (*LabelSegment) Reset

func (m *LabelSegment) Reset()

func (*LabelSegment) String

func (m *LabelSegment) String() string

func (*LabelSegment) XXX_DiscardUnknown

func (m *LabelSegment) XXX_DiscardUnknown()

func (*LabelSegment) XXX_Marshal

func (m *LabelSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelSegment) XXX_Merge

func (m *LabelSegment) XXX_Merge(src proto.Message)

func (*LabelSegment) XXX_Size

func (m *LabelSegment) XXX_Size() int

func (*LabelSegment) XXX_Unmarshal

func (m *LabelSegment) XXX_Unmarshal(b []byte) error

type Likelihood

type Likelihood int32

Bucketized representation of likelihood.

const (
	// Unspecified likelihood.
	Likelihood_LIKELIHOOD_UNSPECIFIED Likelihood = 0
	// Very unlikely.
	Likelihood_VERY_UNLIKELY Likelihood = 1
	// Unlikely.
	Likelihood_UNLIKELY Likelihood = 2
	// Possible.
	Likelihood_POSSIBLE Likelihood = 3
	// Likely.
	Likelihood_LIKELY Likelihood = 4
	// Very likely.
	Likelihood_VERY_LIKELY Likelihood = 5
)

func (Likelihood) EnumDescriptor

func (Likelihood) EnumDescriptor() ([]byte, []int)

func (Likelihood) String

func (x Likelihood) String() string

type LogoRecognitionAnnotation

type LogoRecognitionAnnotation struct {
	// Entity category information to specify the logo class that all the logo
	// tracks within this LogoRecognitionAnnotation are recognized as.
	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// All logo tracks where the recognized logo appears. Each track corresponds
	// to one logo instance appearing in consecutive frames.
	Tracks []*Track `protobuf:"bytes,2,rep,name=tracks,proto3" json:"tracks,omitempty"`
	// All video segments where the recognized logo appears. There might be
	// multiple instances of the same logo class appearing in one VideoSegment.
	Segments             []*VideoSegment `protobuf:"bytes,3,rep,name=segments,proto3" json:"segments,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Annotation corresponding to one detected, tracked and recognized logo class.

func (*LogoRecognitionAnnotation) Descriptor

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

func (*LogoRecognitionAnnotation) GetEntity

func (m *LogoRecognitionAnnotation) GetEntity() *Entity

func (*LogoRecognitionAnnotation) GetSegments

func (m *LogoRecognitionAnnotation) GetSegments() []*VideoSegment

func (*LogoRecognitionAnnotation) GetTracks

func (m *LogoRecognitionAnnotation) GetTracks() []*Track

func (*LogoRecognitionAnnotation) ProtoMessage

func (*LogoRecognitionAnnotation) ProtoMessage()

func (*LogoRecognitionAnnotation) Reset

func (m *LogoRecognitionAnnotation) Reset()

func (*LogoRecognitionAnnotation) String

func (m *LogoRecognitionAnnotation) String() string

func (*LogoRecognitionAnnotation) XXX_DiscardUnknown

func (m *LogoRecognitionAnnotation) XXX_DiscardUnknown()

func (*LogoRecognitionAnnotation) XXX_Marshal

func (m *LogoRecognitionAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogoRecognitionAnnotation) XXX_Merge

func (m *LogoRecognitionAnnotation) XXX_Merge(src proto.Message)

func (*LogoRecognitionAnnotation) XXX_Size

func (m *LogoRecognitionAnnotation) XXX_Size() int

func (*LogoRecognitionAnnotation) XXX_Unmarshal

func (m *LogoRecognitionAnnotation) XXX_Unmarshal(b []byte) error

type NormalizedBoundingBox

type NormalizedBoundingBox struct {
	// Left X coordinate.
	Left float32 `protobuf:"fixed32,1,opt,name=left,proto3" json:"left,omitempty"`
	// Top Y coordinate.
	Top float32 `protobuf:"fixed32,2,opt,name=top,proto3" json:"top,omitempty"`
	// Right X coordinate.
	Right float32 `protobuf:"fixed32,3,opt,name=right,proto3" json:"right,omitempty"`
	// Bottom Y coordinate.
	Bottom               float32  `protobuf:"fixed32,4,opt,name=bottom,proto3" json:"bottom,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].

func (*NormalizedBoundingBox) Descriptor

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

func (*NormalizedBoundingBox) GetBottom

func (m *NormalizedBoundingBox) GetBottom() float32

func (*NormalizedBoundingBox) GetLeft

func (m *NormalizedBoundingBox) GetLeft() float32

func (*NormalizedBoundingBox) GetRight

func (m *NormalizedBoundingBox) GetRight() float32

func (*NormalizedBoundingBox) GetTop

func (m *NormalizedBoundingBox) GetTop() float32

func (*NormalizedBoundingBox) ProtoMessage

func (*NormalizedBoundingBox) ProtoMessage()

func (*NormalizedBoundingBox) Reset

func (m *NormalizedBoundingBox) Reset()

func (*NormalizedBoundingBox) String

func (m *NormalizedBoundingBox) String() string

func (*NormalizedBoundingBox) XXX_DiscardUnknown

func (m *NormalizedBoundingBox) XXX_DiscardUnknown()

func (*NormalizedBoundingBox) XXX_Marshal

func (m *NormalizedBoundingBox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NormalizedBoundingBox) XXX_Merge

func (m *NormalizedBoundingBox) XXX_Merge(src proto.Message)

func (*NormalizedBoundingBox) XXX_Size

func (m *NormalizedBoundingBox) XXX_Size() int

func (*NormalizedBoundingBox) XXX_Unmarshal

func (m *NormalizedBoundingBox) XXX_Unmarshal(b []byte) error

type NormalizedBoundingPoly

type NormalizedBoundingPoly struct {
	// Normalized vertices of the bounding polygon.
	Vertices             []*NormalizedVertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Normalized bounding polygon for text (that might not be aligned with axis). Contains list of the corner points in clockwise order starting from top-left corner. For example, for a rectangular bounding box: When the text is horizontal it might look like:

0----1
|    |
3----2

When it's clockwise rotated 180 degrees around the top-left corner it becomes:

2----3
|    |
1----0

and the vertex order will still be (0, 1, 2, 3). Note that values can be less than 0, or greater than 1 due to trignometric calculations for location of the box.

func (*NormalizedBoundingPoly) Descriptor

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

func (*NormalizedBoundingPoly) GetVertices

func (m *NormalizedBoundingPoly) GetVertices() []*NormalizedVertex

func (*NormalizedBoundingPoly) ProtoMessage

func (*NormalizedBoundingPoly) ProtoMessage()

func (*NormalizedBoundingPoly) Reset

func (m *NormalizedBoundingPoly) Reset()

func (*NormalizedBoundingPoly) String

func (m *NormalizedBoundingPoly) String() string

func (*NormalizedBoundingPoly) XXX_DiscardUnknown

func (m *NormalizedBoundingPoly) XXX_DiscardUnknown()

func (*NormalizedBoundingPoly) XXX_Marshal

func (m *NormalizedBoundingPoly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NormalizedBoundingPoly) XXX_Merge

func (m *NormalizedBoundingPoly) XXX_Merge(src proto.Message)

func (*NormalizedBoundingPoly) XXX_Size

func (m *NormalizedBoundingPoly) XXX_Size() int

func (*NormalizedBoundingPoly) XXX_Unmarshal

func (m *NormalizedBoundingPoly) XXX_Unmarshal(b []byte) error

type NormalizedVertex

type NormalizedVertex struct {
	// X coordinate.
	X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
	// Y coordinate.
	Y                    float32  `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.

func (*NormalizedVertex) Descriptor

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

func (*NormalizedVertex) GetX

func (m *NormalizedVertex) GetX() float32

func (*NormalizedVertex) GetY

func (m *NormalizedVertex) GetY() float32

func (*NormalizedVertex) ProtoMessage

func (*NormalizedVertex) ProtoMessage()

func (*NormalizedVertex) Reset

func (m *NormalizedVertex) Reset()

func (*NormalizedVertex) String

func (m *NormalizedVertex) String() string

func (*NormalizedVertex) XXX_DiscardUnknown

func (m *NormalizedVertex) XXX_DiscardUnknown()

func (*NormalizedVertex) XXX_Marshal

func (m *NormalizedVertex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NormalizedVertex) XXX_Merge

func (m *NormalizedVertex) XXX_Merge(src proto.Message)

func (*NormalizedVertex) XXX_Size

func (m *NormalizedVertex) XXX_Size() int

func (*NormalizedVertex) XXX_Unmarshal

func (m *NormalizedVertex) XXX_Unmarshal(b []byte) error

type ObjectTrackingAnnotation

type ObjectTrackingAnnotation struct {
	// Entity to specify the object category that this track is labeled as.
	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Object category's labeling confidence of this track.
	Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// Information corresponding to all frames where this object track appears.
	// Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
	// messages in frames.
	// Streaming mode: it can only be one ObjectTrackingFrame message in frames.
	Frames []*ObjectTrackingFrame `protobuf:"bytes,2,rep,name=frames,proto3" json:"frames,omitempty"`
	// Different representation of tracking info in non-streaming batch
	// and streaming modes.
	//
	// Types that are valid to be assigned to TrackInfo:
	//	*ObjectTrackingAnnotation_Segment
	//	*ObjectTrackingAnnotation_TrackId
	TrackInfo            isObjectTrackingAnnotation_TrackInfo `protobuf_oneof:"track_info"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

Annotations corresponding to one tracked object.

func (*ObjectTrackingAnnotation) Descriptor

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

func (*ObjectTrackingAnnotation) GetConfidence

func (m *ObjectTrackingAnnotation) GetConfidence() float32

func (*ObjectTrackingAnnotation) GetEntity

func (m *ObjectTrackingAnnotation) GetEntity() *Entity

func (*ObjectTrackingAnnotation) GetFrames

func (*ObjectTrackingAnnotation) GetSegment

func (m *ObjectTrackingAnnotation) GetSegment() *VideoSegment

func (*ObjectTrackingAnnotation) GetTrackId

func (m *ObjectTrackingAnnotation) GetTrackId() int64

func (*ObjectTrackingAnnotation) GetTrackInfo

func (m *ObjectTrackingAnnotation) GetTrackInfo() isObjectTrackingAnnotation_TrackInfo

func (*ObjectTrackingAnnotation) ProtoMessage

func (*ObjectTrackingAnnotation) ProtoMessage()

func (*ObjectTrackingAnnotation) Reset

func (m *ObjectTrackingAnnotation) Reset()

func (*ObjectTrackingAnnotation) String

func (m *ObjectTrackingAnnotation) String() string

func (*ObjectTrackingAnnotation) XXX_DiscardUnknown

func (m *ObjectTrackingAnnotation) XXX_DiscardUnknown()

func (*ObjectTrackingAnnotation) XXX_Marshal

func (m *ObjectTrackingAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectTrackingAnnotation) XXX_Merge

func (m *ObjectTrackingAnnotation) XXX_Merge(src proto.Message)

func (*ObjectTrackingAnnotation) XXX_OneofWrappers

func (*ObjectTrackingAnnotation) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ObjectTrackingAnnotation) XXX_Size

func (m *ObjectTrackingAnnotation) XXX_Size() int

func (*ObjectTrackingAnnotation) XXX_Unmarshal

func (m *ObjectTrackingAnnotation) XXX_Unmarshal(b []byte) error

type ObjectTrackingAnnotation_Segment

type ObjectTrackingAnnotation_Segment struct {
	Segment *VideoSegment `protobuf:"bytes,3,opt,name=segment,proto3,oneof"`
}

type ObjectTrackingAnnotation_TrackId

type ObjectTrackingAnnotation_TrackId struct {
	TrackId int64 `protobuf:"varint,5,opt,name=track_id,json=trackId,proto3,oneof"`
}

type ObjectTrackingConfig

type ObjectTrackingConfig struct {
	// Model to use for object tracking.
	// Supported values: "builtin/stable" (the default if unset) and
	// "builtin/latest".
	Model                string   `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for OBJECT_TRACKING.

func (*ObjectTrackingConfig) Descriptor

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

func (*ObjectTrackingConfig) GetModel

func (m *ObjectTrackingConfig) GetModel() string

func (*ObjectTrackingConfig) ProtoMessage

func (*ObjectTrackingConfig) ProtoMessage()

func (*ObjectTrackingConfig) Reset

func (m *ObjectTrackingConfig) Reset()

func (*ObjectTrackingConfig) String

func (m *ObjectTrackingConfig) String() string

func (*ObjectTrackingConfig) XXX_DiscardUnknown

func (m *ObjectTrackingConfig) XXX_DiscardUnknown()

func (*ObjectTrackingConfig) XXX_Marshal

func (m *ObjectTrackingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectTrackingConfig) XXX_Merge

func (m *ObjectTrackingConfig) XXX_Merge(src proto.Message)

func (*ObjectTrackingConfig) XXX_Size

func (m *ObjectTrackingConfig) XXX_Size() int

func (*ObjectTrackingConfig) XXX_Unmarshal

func (m *ObjectTrackingConfig) XXX_Unmarshal(b []byte) error

type ObjectTrackingFrame

type ObjectTrackingFrame struct {
	// The normalized bounding box location of this object track for the frame.
	NormalizedBoundingBox *NormalizedBoundingBox `` /* 126-byte string literal not displayed */
	// The timestamp of the frame in microseconds.
	TimeOffset           *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Video frame level annotations for object detection and tracking. This field stores per frame location, time offset, and confidence.

func (*ObjectTrackingFrame) Descriptor

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

func (*ObjectTrackingFrame) GetNormalizedBoundingBox

func (m *ObjectTrackingFrame) GetNormalizedBoundingBox() *NormalizedBoundingBox

func (*ObjectTrackingFrame) GetTimeOffset

func (m *ObjectTrackingFrame) GetTimeOffset() *duration.Duration

func (*ObjectTrackingFrame) ProtoMessage

func (*ObjectTrackingFrame) ProtoMessage()

func (*ObjectTrackingFrame) Reset

func (m *ObjectTrackingFrame) Reset()

func (*ObjectTrackingFrame) String

func (m *ObjectTrackingFrame) String() string

func (*ObjectTrackingFrame) XXX_DiscardUnknown

func (m *ObjectTrackingFrame) XXX_DiscardUnknown()

func (*ObjectTrackingFrame) XXX_Marshal

func (m *ObjectTrackingFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectTrackingFrame) XXX_Merge

func (m *ObjectTrackingFrame) XXX_Merge(src proto.Message)

func (*ObjectTrackingFrame) XXX_Size

func (m *ObjectTrackingFrame) XXX_Size() int

func (*ObjectTrackingFrame) XXX_Unmarshal

func (m *ObjectTrackingFrame) XXX_Unmarshal(b []byte) error

type PersonDetectionAnnotation

type PersonDetectionAnnotation struct {
	// The trackes that a person is detected.
	Tracks               []*Track `protobuf:"bytes,1,rep,name=tracks,proto3" json:"tracks,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Person detection annotation per video.

func (*PersonDetectionAnnotation) Descriptor

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

func (*PersonDetectionAnnotation) GetTracks

func (m *PersonDetectionAnnotation) GetTracks() []*Track

func (*PersonDetectionAnnotation) ProtoMessage

func (*PersonDetectionAnnotation) ProtoMessage()

func (*PersonDetectionAnnotation) Reset

func (m *PersonDetectionAnnotation) Reset()

func (*PersonDetectionAnnotation) String

func (m *PersonDetectionAnnotation) String() string

func (*PersonDetectionAnnotation) XXX_DiscardUnknown

func (m *PersonDetectionAnnotation) XXX_DiscardUnknown()

func (*PersonDetectionAnnotation) XXX_Marshal

func (m *PersonDetectionAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PersonDetectionAnnotation) XXX_Merge

func (m *PersonDetectionAnnotation) XXX_Merge(src proto.Message)

func (*PersonDetectionAnnotation) XXX_Size

func (m *PersonDetectionAnnotation) XXX_Size() int

func (*PersonDetectionAnnotation) XXX_Unmarshal

func (m *PersonDetectionAnnotation) XXX_Unmarshal(b []byte) error

type PersonDetectionConfig

type PersonDetectionConfig struct {
	// Whether bounding boxes be included in the person detection annotation
	// output.
	IncludeBoundingBoxes bool `protobuf:"varint,1,opt,name=include_bounding_boxes,json=includeBoundingBoxes,proto3" json:"include_bounding_boxes,omitempty"`
	// Whether to enable pose landmarks detection. Ignored if
	// 'include_bounding_boxes' is false.
	IncludePoseLandmarks bool `protobuf:"varint,2,opt,name=include_pose_landmarks,json=includePoseLandmarks,proto3" json:"include_pose_landmarks,omitempty"`
	// Whether to enable person attributes detection, such as cloth color (black,
	// blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair
	// color (black, blonde, etc), hair length (long, short, bald), etc.
	// Ignored if 'include_bounding_boxes' is false.
	IncludeAttributes    bool     `protobuf:"varint,3,opt,name=include_attributes,json=includeAttributes,proto3" json:"include_attributes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for PERSON_DETECTION.

func (*PersonDetectionConfig) Descriptor

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

func (*PersonDetectionConfig) GetIncludeAttributes

func (m *PersonDetectionConfig) GetIncludeAttributes() bool

func (*PersonDetectionConfig) GetIncludeBoundingBoxes

func (m *PersonDetectionConfig) GetIncludeBoundingBoxes() bool

func (*PersonDetectionConfig) GetIncludePoseLandmarks

func (m *PersonDetectionConfig) GetIncludePoseLandmarks() bool

func (*PersonDetectionConfig) ProtoMessage

func (*PersonDetectionConfig) ProtoMessage()

func (*PersonDetectionConfig) Reset

func (m *PersonDetectionConfig) Reset()

func (*PersonDetectionConfig) String

func (m *PersonDetectionConfig) String() string

func (*PersonDetectionConfig) XXX_DiscardUnknown

func (m *PersonDetectionConfig) XXX_DiscardUnknown()

func (*PersonDetectionConfig) XXX_Marshal

func (m *PersonDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PersonDetectionConfig) XXX_Merge

func (m *PersonDetectionConfig) XXX_Merge(src proto.Message)

func (*PersonDetectionConfig) XXX_Size

func (m *PersonDetectionConfig) XXX_Size() int

func (*PersonDetectionConfig) XXX_Unmarshal

func (m *PersonDetectionConfig) XXX_Unmarshal(b []byte) error

type ShotChangeDetectionConfig

type ShotChangeDetectionConfig struct {
	// Model to use for shot change detection.
	// Supported values: "builtin/stable" (the default if unset) and
	// "builtin/latest".
	Model                string   `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for SHOT_CHANGE_DETECTION.

func (*ShotChangeDetectionConfig) Descriptor

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

func (*ShotChangeDetectionConfig) GetModel

func (m *ShotChangeDetectionConfig) GetModel() string

func (*ShotChangeDetectionConfig) ProtoMessage

func (*ShotChangeDetectionConfig) ProtoMessage()

func (*ShotChangeDetectionConfig) Reset

func (m *ShotChangeDetectionConfig) Reset()

func (*ShotChangeDetectionConfig) String

func (m *ShotChangeDetectionConfig) String() string

func (*ShotChangeDetectionConfig) XXX_DiscardUnknown

func (m *ShotChangeDetectionConfig) XXX_DiscardUnknown()

func (*ShotChangeDetectionConfig) XXX_Marshal

func (m *ShotChangeDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShotChangeDetectionConfig) XXX_Merge

func (m *ShotChangeDetectionConfig) XXX_Merge(src proto.Message)

func (*ShotChangeDetectionConfig) XXX_Size

func (m *ShotChangeDetectionConfig) XXX_Size() int

func (*ShotChangeDetectionConfig) XXX_Unmarshal

func (m *ShotChangeDetectionConfig) XXX_Unmarshal(b []byte) error

type SpeechContext

type SpeechContext struct {
	// Optional. A list of strings containing words and phrases "hints" so that
	// the speech recognition is more likely to recognize them. This can be used
	// to improve the accuracy for specific words and phrases, for example, if
	// specific commands are typically spoken by the user. This can also be used
	// to add additional words to the vocabulary of the recognizer. See
	// [usage limits](https://cloud.google.com/speech/limits#content).
	Phrases              []string `protobuf:"bytes,1,rep,name=phrases,proto3" json:"phrases,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Provides "hints" to the speech recognizer to favor specific words and phrases in the results.

func (*SpeechContext) Descriptor

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

func (*SpeechContext) GetPhrases

func (m *SpeechContext) GetPhrases() []string

func (*SpeechContext) ProtoMessage

func (*SpeechContext) ProtoMessage()

func (*SpeechContext) Reset

func (m *SpeechContext) Reset()

func (*SpeechContext) String

func (m *SpeechContext) String() string

func (*SpeechContext) XXX_DiscardUnknown

func (m *SpeechContext) XXX_DiscardUnknown()

func (*SpeechContext) XXX_Marshal

func (m *SpeechContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpeechContext) XXX_Merge

func (m *SpeechContext) XXX_Merge(src proto.Message)

func (*SpeechContext) XXX_Size

func (m *SpeechContext) XXX_Size() int

func (*SpeechContext) XXX_Unmarshal

func (m *SpeechContext) XXX_Unmarshal(b []byte) error

type SpeechRecognitionAlternative

type SpeechRecognitionAlternative struct {
	// Transcript text representing the words that the user spoke.
	Transcript string `protobuf:"bytes,1,opt,name=transcript,proto3" json:"transcript,omitempty"`
	// Output only. The confidence estimate between 0.0 and 1.0. A higher number
	// indicates an estimated greater likelihood that the recognized words are
	// correct. This field is set only for the top alternative.
	// This field is not guaranteed to be accurate and users should not rely on it
	// to be always provided.
	// The default of 0.0 is a sentinel value indicating `confidence` was not set.
	Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// Output only. A list of word-specific information for each recognized word.
	// Note: When `enable_speaker_diarization` is true, you will see all the words
	// from the beginning of the audio.
	Words                []*WordInfo `protobuf:"bytes,3,rep,name=words,proto3" json:"words,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Alternative hypotheses (a.k.a. n-best list).

func (*SpeechRecognitionAlternative) Descriptor

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

func (*SpeechRecognitionAlternative) GetConfidence

func (m *SpeechRecognitionAlternative) GetConfidence() float32

func (*SpeechRecognitionAlternative) GetTranscript

func (m *SpeechRecognitionAlternative) GetTranscript() string

func (*SpeechRecognitionAlternative) GetWords

func (m *SpeechRecognitionAlternative) GetWords() []*WordInfo

func (*SpeechRecognitionAlternative) ProtoMessage

func (*SpeechRecognitionAlternative) ProtoMessage()

func (*SpeechRecognitionAlternative) Reset

func (m *SpeechRecognitionAlternative) Reset()

func (*SpeechRecognitionAlternative) String

func (*SpeechRecognitionAlternative) XXX_DiscardUnknown

func (m *SpeechRecognitionAlternative) XXX_DiscardUnknown()

func (*SpeechRecognitionAlternative) XXX_Marshal

func (m *SpeechRecognitionAlternative) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpeechRecognitionAlternative) XXX_Merge

func (m *SpeechRecognitionAlternative) XXX_Merge(src proto.Message)

func (*SpeechRecognitionAlternative) XXX_Size

func (m *SpeechRecognitionAlternative) XXX_Size() int

func (*SpeechRecognitionAlternative) XXX_Unmarshal

func (m *SpeechRecognitionAlternative) XXX_Unmarshal(b []byte) error

type SpeechTranscription

type SpeechTranscription struct {
	// May contain one or more recognition hypotheses (up to the maximum specified
	// in `max_alternatives`).  These alternatives are ordered in terms of
	// accuracy, with the top (first) alternative being the most probable, as
	// ranked by the recognizer.
	Alternatives []*SpeechRecognitionAlternative `protobuf:"bytes,1,rep,name=alternatives,proto3" json:"alternatives,omitempty"`
	// Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
	// language tag of the language in this result. This language code was
	// detected to have the most likelihood of being spoken in the audio.
	LanguageCode         string   `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A speech recognition result corresponding to a portion of the audio.

func (*SpeechTranscription) Descriptor

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

func (*SpeechTranscription) GetAlternatives

func (m *SpeechTranscription) GetAlternatives() []*SpeechRecognitionAlternative

func (*SpeechTranscription) GetLanguageCode

func (m *SpeechTranscription) GetLanguageCode() string

func (*SpeechTranscription) ProtoMessage

func (*SpeechTranscription) ProtoMessage()

func (*SpeechTranscription) Reset

func (m *SpeechTranscription) Reset()

func (*SpeechTranscription) String

func (m *SpeechTranscription) String() string

func (*SpeechTranscription) XXX_DiscardUnknown

func (m *SpeechTranscription) XXX_DiscardUnknown()

func (*SpeechTranscription) XXX_Marshal

func (m *SpeechTranscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpeechTranscription) XXX_Merge

func (m *SpeechTranscription) XXX_Merge(src proto.Message)

func (*SpeechTranscription) XXX_Size

func (m *SpeechTranscription) XXX_Size() int

func (*SpeechTranscription) XXX_Unmarshal

func (m *SpeechTranscription) XXX_Unmarshal(b []byte) error

type SpeechTranscriptionConfig

type SpeechTranscriptionConfig struct {
	// Required. *Required* The language of the supplied audio as a
	// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
	// Example: "en-US".
	// See [Language Support](https://cloud.google.com/speech/docs/languages)
	// for a list of the currently supported language codes.
	LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// Optional. Maximum number of recognition hypotheses to be returned.
	// Specifically, the maximum number of `SpeechRecognitionAlternative` messages
	// within each `SpeechTranscription`. The server may return fewer than
	// `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
	// return a maximum of one. If omitted, will return a maximum of one.
	MaxAlternatives int32 `protobuf:"varint,2,opt,name=max_alternatives,json=maxAlternatives,proto3" json:"max_alternatives,omitempty"`
	// Optional. If set to `true`, the server will attempt to filter out
	// profanities, replacing all but the initial character in each filtered word
	// with asterisks, e.g. "f***". If set to `false` or omitted, profanities
	// won't be filtered out.
	FilterProfanity bool `protobuf:"varint,3,opt,name=filter_profanity,json=filterProfanity,proto3" json:"filter_profanity,omitempty"`
	// Optional. A means to provide context to assist the speech recognition.
	SpeechContexts []*SpeechContext `protobuf:"bytes,4,rep,name=speech_contexts,json=speechContexts,proto3" json:"speech_contexts,omitempty"`
	// Optional. If 'true', adds punctuation to recognition result hypotheses.
	// This feature is only available in select languages. Setting this for
	// requests in other languages has no effect at all. The default 'false' value
	// does not add punctuation to result hypotheses. NOTE: "This is currently
	// offered as an experimental service, complimentary to all users. In the
	// future this may be exclusively available as a premium feature."
	EnableAutomaticPunctuation bool `` /* 142-byte string literal not displayed */
	// Optional. For file formats, such as MXF or MKV, supporting multiple audio
	// tracks, specify up to two tracks. Default: track 0.
	AudioTracks []int32 `protobuf:"varint,6,rep,packed,name=audio_tracks,json=audioTracks,proto3" json:"audio_tracks,omitempty"`
	// Optional. If 'true', enables speaker detection for each recognized word in
	// the top alternative of the recognition result using a speaker_tag provided
	// in the WordInfo.
	// Note: When this is true, we send all the words from the beginning of the
	// audio for the top alternative in every consecutive responses.
	// This is done in order to improve our speaker tags as our models learn to
	// identify the speakers in the conversation over time.
	EnableSpeakerDiarization bool `` /* 136-byte string literal not displayed */
	// Optional. If set, specifies the estimated number of speakers in the
	// conversation. If not set, defaults to '2'. Ignored unless
	// enable_speaker_diarization is set to true.
	DiarizationSpeakerCount int32 `` /* 133-byte string literal not displayed */
	// Optional. If `true`, the top result includes a list of words and the
	// confidence for those words. If `false`, no word-level confidence
	// information is returned. The default is `false`.
	EnableWordConfidence bool     `protobuf:"varint,9,opt,name=enable_word_confidence,json=enableWordConfidence,proto3" json:"enable_word_confidence,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for SPEECH_TRANSCRIPTION.

func (*SpeechTranscriptionConfig) Descriptor

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

func (*SpeechTranscriptionConfig) GetAudioTracks

func (m *SpeechTranscriptionConfig) GetAudioTracks() []int32

func (*SpeechTranscriptionConfig) GetDiarizationSpeakerCount

func (m *SpeechTranscriptionConfig) GetDiarizationSpeakerCount() int32

func (*SpeechTranscriptionConfig) GetEnableAutomaticPunctuation

func (m *SpeechTranscriptionConfig) GetEnableAutomaticPunctuation() bool

func (*SpeechTranscriptionConfig) GetEnableSpeakerDiarization

func (m *SpeechTranscriptionConfig) GetEnableSpeakerDiarization() bool

func (*SpeechTranscriptionConfig) GetEnableWordConfidence

func (m *SpeechTranscriptionConfig) GetEnableWordConfidence() bool

func (*SpeechTranscriptionConfig) GetFilterProfanity

func (m *SpeechTranscriptionConfig) GetFilterProfanity() bool

func (*SpeechTranscriptionConfig) GetLanguageCode

func (m *SpeechTranscriptionConfig) GetLanguageCode() string

func (*SpeechTranscriptionConfig) GetMaxAlternatives

func (m *SpeechTranscriptionConfig) GetMaxAlternatives() int32

func (*SpeechTranscriptionConfig) GetSpeechContexts

func (m *SpeechTranscriptionConfig) GetSpeechContexts() []*SpeechContext

func (*SpeechTranscriptionConfig) ProtoMessage

func (*SpeechTranscriptionConfig) ProtoMessage()

func (*SpeechTranscriptionConfig) Reset

func (m *SpeechTranscriptionConfig) Reset()

func (*SpeechTranscriptionConfig) String

func (m *SpeechTranscriptionConfig) String() string

func (*SpeechTranscriptionConfig) XXX_DiscardUnknown

func (m *SpeechTranscriptionConfig) XXX_DiscardUnknown()

func (*SpeechTranscriptionConfig) XXX_Marshal

func (m *SpeechTranscriptionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpeechTranscriptionConfig) XXX_Merge

func (m *SpeechTranscriptionConfig) XXX_Merge(src proto.Message)

func (*SpeechTranscriptionConfig) XXX_Size

func (m *SpeechTranscriptionConfig) XXX_Size() int

func (*SpeechTranscriptionConfig) XXX_Unmarshal

func (m *SpeechTranscriptionConfig) XXX_Unmarshal(b []byte) error

type StreamingAnnotateVideoRequest

type StreamingAnnotateVideoRequest struct {
	// *Required* The streaming request, which is either a streaming config or
	// video content.
	//
	// Types that are valid to be assigned to StreamingRequest:
	//	*StreamingAnnotateVideoRequest_VideoConfig
	//	*StreamingAnnotateVideoRequest_InputContent
	StreamingRequest     isStreamingAnnotateVideoRequest_StreamingRequest `protobuf_oneof:"streaming_request"`
	XXX_NoUnkeyedLiteral struct{}                                         `json:"-"`
	XXX_unrecognized     []byte                                           `json:"-"`
	XXX_sizecache        int32                                            `json:"-"`
}

The top-level message sent by the client for the `StreamingAnnotateVideo` method. Multiple `StreamingAnnotateVideoRequest` messages are sent. The first message must only contain a `StreamingVideoConfig` message. All subsequent messages must only contain `input_content` data.

func (*StreamingAnnotateVideoRequest) Descriptor

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

func (*StreamingAnnotateVideoRequest) GetInputContent

func (m *StreamingAnnotateVideoRequest) GetInputContent() []byte

func (*StreamingAnnotateVideoRequest) GetStreamingRequest

func (m *StreamingAnnotateVideoRequest) GetStreamingRequest() isStreamingAnnotateVideoRequest_StreamingRequest

func (*StreamingAnnotateVideoRequest) GetVideoConfig

func (*StreamingAnnotateVideoRequest) ProtoMessage

func (*StreamingAnnotateVideoRequest) ProtoMessage()

func (*StreamingAnnotateVideoRequest) Reset

func (m *StreamingAnnotateVideoRequest) Reset()

func (*StreamingAnnotateVideoRequest) String

func (*StreamingAnnotateVideoRequest) XXX_DiscardUnknown

func (m *StreamingAnnotateVideoRequest) XXX_DiscardUnknown()

func (*StreamingAnnotateVideoRequest) XXX_Marshal

func (m *StreamingAnnotateVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamingAnnotateVideoRequest) XXX_Merge

func (m *StreamingAnnotateVideoRequest) XXX_Merge(src proto.Message)

func (*StreamingAnnotateVideoRequest) XXX_OneofWrappers

func (*StreamingAnnotateVideoRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*StreamingAnnotateVideoRequest) XXX_Size

func (m *StreamingAnnotateVideoRequest) XXX_Size() int

func (*StreamingAnnotateVideoRequest) XXX_Unmarshal

func (m *StreamingAnnotateVideoRequest) XXX_Unmarshal(b []byte) error

type StreamingAnnotateVideoRequest_InputContent

type StreamingAnnotateVideoRequest_InputContent struct {
	InputContent []byte `protobuf:"bytes,2,opt,name=input_content,json=inputContent,proto3,oneof"`
}

type StreamingAnnotateVideoRequest_VideoConfig

type StreamingAnnotateVideoRequest_VideoConfig struct {
	VideoConfig *StreamingVideoConfig `protobuf:"bytes,1,opt,name=video_config,json=videoConfig,proto3,oneof"`
}

type StreamingAnnotateVideoResponse

type StreamingAnnotateVideoResponse struct {
	// If set, returns a [google.rpc.Status][google.rpc.Status] message that
	// specifies the error for the operation.
	Error *status.Status `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// Streaming annotation results.
	AnnotationResults *StreamingVideoAnnotationResults `protobuf:"bytes,2,opt,name=annotation_results,json=annotationResults,proto3" json:"annotation_results,omitempty"`
	// GCS URI that stores annotation results of one streaming session.
	// It is a directory that can hold multiple files in JSON format.
	// Example uri format:
	// gs://bucket_id/object_id/cloud_project_name-session_id
	AnnotationResultsUri string   `protobuf:"bytes,3,opt,name=annotation_results_uri,json=annotationResultsUri,proto3" json:"annotation_results_uri,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

`StreamingAnnotateVideoResponse` is the only message returned to the client by `StreamingAnnotateVideo`. A series of zero or more `StreamingAnnotateVideoResponse` messages are streamed back to the client.

func (*StreamingAnnotateVideoResponse) Descriptor

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

func (*StreamingAnnotateVideoResponse) GetAnnotationResults

func (*StreamingAnnotateVideoResponse) GetAnnotationResultsUri

func (m *StreamingAnnotateVideoResponse) GetAnnotationResultsUri() string

func (*StreamingAnnotateVideoResponse) GetError

func (*StreamingAnnotateVideoResponse) ProtoMessage

func (*StreamingAnnotateVideoResponse) ProtoMessage()

func (*StreamingAnnotateVideoResponse) Reset

func (m *StreamingAnnotateVideoResponse) Reset()

func (*StreamingAnnotateVideoResponse) String

func (*StreamingAnnotateVideoResponse) XXX_DiscardUnknown

func (m *StreamingAnnotateVideoResponse) XXX_DiscardUnknown()

func (*StreamingAnnotateVideoResponse) XXX_Marshal

func (m *StreamingAnnotateVideoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamingAnnotateVideoResponse) XXX_Merge

func (m *StreamingAnnotateVideoResponse) XXX_Merge(src proto.Message)

func (*StreamingAnnotateVideoResponse) XXX_Size

func (m *StreamingAnnotateVideoResponse) XXX_Size() int

func (*StreamingAnnotateVideoResponse) XXX_Unmarshal

func (m *StreamingAnnotateVideoResponse) XXX_Unmarshal(b []byte) error

type StreamingAutomlClassificationConfig

type StreamingAutomlClassificationConfig struct {
	// Resource name of AutoML model.
	// Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
	ModelName            string   `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for STREAMING_AUTOML_CLASSIFICATION.

func (*StreamingAutomlClassificationConfig) Descriptor

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

func (*StreamingAutomlClassificationConfig) GetModelName

func (m *StreamingAutomlClassificationConfig) GetModelName() string

func (*StreamingAutomlClassificationConfig) ProtoMessage

func (*StreamingAutomlClassificationConfig) ProtoMessage()

func (*StreamingAutomlClassificationConfig) Reset

func (*StreamingAutomlClassificationConfig) String

func (*StreamingAutomlClassificationConfig) XXX_DiscardUnknown

func (m *StreamingAutomlClassificationConfig) XXX_DiscardUnknown()

func (*StreamingAutomlClassificationConfig) XXX_Marshal

func (m *StreamingAutomlClassificationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamingAutomlClassificationConfig) XXX_Merge

func (*StreamingAutomlClassificationConfig) XXX_Size

func (*StreamingAutomlClassificationConfig) XXX_Unmarshal

func (m *StreamingAutomlClassificationConfig) XXX_Unmarshal(b []byte) error

type StreamingAutomlObjectTrackingConfig

type StreamingAutomlObjectTrackingConfig struct {
	// Resource name of AutoML model.
	// Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
	ModelName            string   `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for STREAMING_AUTOML_OBJECT_TRACKING.

func (*StreamingAutomlObjectTrackingConfig) Descriptor

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

func (*StreamingAutomlObjectTrackingConfig) GetModelName

func (m *StreamingAutomlObjectTrackingConfig) GetModelName() string

func (*StreamingAutomlObjectTrackingConfig) ProtoMessage

func (*StreamingAutomlObjectTrackingConfig) ProtoMessage()

func (*StreamingAutomlObjectTrackingConfig) Reset

func (*StreamingAutomlObjectTrackingConfig) String

func (*StreamingAutomlObjectTrackingConfig) XXX_DiscardUnknown

func (m *StreamingAutomlObjectTrackingConfig) XXX_DiscardUnknown()

func (*StreamingAutomlObjectTrackingConfig) XXX_Marshal

func (m *StreamingAutomlObjectTrackingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamingAutomlObjectTrackingConfig) XXX_Merge

func (*StreamingAutomlObjectTrackingConfig) XXX_Size

func (*StreamingAutomlObjectTrackingConfig) XXX_Unmarshal

func (m *StreamingAutomlObjectTrackingConfig) XXX_Unmarshal(b []byte) error

type StreamingExplicitContentDetectionConfig

type StreamingExplicitContentDetectionConfig struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for STREAMING_EXPLICIT_CONTENT_DETECTION.

func (*StreamingExplicitContentDetectionConfig) Descriptor

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

func (*StreamingExplicitContentDetectionConfig) ProtoMessage

func (*StreamingExplicitContentDetectionConfig) Reset

func (*StreamingExplicitContentDetectionConfig) String

func (*StreamingExplicitContentDetectionConfig) XXX_DiscardUnknown

func (m *StreamingExplicitContentDetectionConfig) XXX_DiscardUnknown()

func (*StreamingExplicitContentDetectionConfig) XXX_Marshal

func (m *StreamingExplicitContentDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamingExplicitContentDetectionConfig) XXX_Merge

func (*StreamingExplicitContentDetectionConfig) XXX_Size

func (*StreamingExplicitContentDetectionConfig) XXX_Unmarshal

func (m *StreamingExplicitContentDetectionConfig) XXX_Unmarshal(b []byte) error

type StreamingFeature

type StreamingFeature int32

Streaming video annotation feature.

const (
	// Unspecified.
	StreamingFeature_STREAMING_FEATURE_UNSPECIFIED StreamingFeature = 0
	// Label detection. Detect objects, such as dog or flower.
	StreamingFeature_STREAMING_LABEL_DETECTION StreamingFeature = 1
	// Shot change detection.
	StreamingFeature_STREAMING_SHOT_CHANGE_DETECTION StreamingFeature = 2
	// Explicit content detection.
	StreamingFeature_STREAMING_EXPLICIT_CONTENT_DETECTION StreamingFeature = 3
	// Object detection and tracking.
	StreamingFeature_STREAMING_OBJECT_TRACKING StreamingFeature = 4
	// Video classification based on AutoML model.
	StreamingFeature_STREAMING_AUTOML_CLASSIFICATION StreamingFeature = 21
	// Object detection and tracking based on AutoML model.
	StreamingFeature_STREAMING_AUTOML_OBJECT_TRACKING StreamingFeature = 22
)

func (StreamingFeature) EnumDescriptor

func (StreamingFeature) EnumDescriptor() ([]byte, []int)

func (StreamingFeature) String

func (x StreamingFeature) String() string

type StreamingLabelDetectionConfig

type StreamingLabelDetectionConfig struct {
	// Whether the video has been captured from a stationary (i.e. non-moving)
	// camera. When set to true, might improve detection accuracy for moving
	// objects. Default: false.
	StationaryCamera     bool     `protobuf:"varint,1,opt,name=stationary_camera,json=stationaryCamera,proto3" json:"stationary_camera,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for STREAMING_LABEL_DETECTION.

func (*StreamingLabelDetectionConfig) Descriptor

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

func (*StreamingLabelDetectionConfig) GetStationaryCamera

func (m *StreamingLabelDetectionConfig) GetStationaryCamera() bool

func (*StreamingLabelDetectionConfig) ProtoMessage

func (*StreamingLabelDetectionConfig) ProtoMessage()

func (*StreamingLabelDetectionConfig) Reset

func (m *StreamingLabelDetectionConfig) Reset()

func (*StreamingLabelDetectionConfig) String

func (*StreamingLabelDetectionConfig) XXX_DiscardUnknown

func (m *StreamingLabelDetectionConfig) XXX_DiscardUnknown()

func (*StreamingLabelDetectionConfig) XXX_Marshal

func (m *StreamingLabelDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamingLabelDetectionConfig) XXX_Merge

func (m *StreamingLabelDetectionConfig) XXX_Merge(src proto.Message)

func (*StreamingLabelDetectionConfig) XXX_Size

func (m *StreamingLabelDetectionConfig) XXX_Size() int

func (*StreamingLabelDetectionConfig) XXX_Unmarshal

func (m *StreamingLabelDetectionConfig) XXX_Unmarshal(b []byte) error

type StreamingObjectTrackingConfig

type StreamingObjectTrackingConfig struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for STREAMING_OBJECT_TRACKING.

func (*StreamingObjectTrackingConfig) Descriptor

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

func (*StreamingObjectTrackingConfig) ProtoMessage

func (*StreamingObjectTrackingConfig) ProtoMessage()

func (*StreamingObjectTrackingConfig) Reset

func (m *StreamingObjectTrackingConfig) Reset()

func (*StreamingObjectTrackingConfig) String

func (*StreamingObjectTrackingConfig) XXX_DiscardUnknown

func (m *StreamingObjectTrackingConfig) XXX_DiscardUnknown()

func (*StreamingObjectTrackingConfig) XXX_Marshal

func (m *StreamingObjectTrackingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamingObjectTrackingConfig) XXX_Merge

func (m *StreamingObjectTrackingConfig) XXX_Merge(src proto.Message)

func (*StreamingObjectTrackingConfig) XXX_Size

func (m *StreamingObjectTrackingConfig) XXX_Size() int

func (*StreamingObjectTrackingConfig) XXX_Unmarshal

func (m *StreamingObjectTrackingConfig) XXX_Unmarshal(b []byte) error

type StreamingShotChangeDetectionConfig

type StreamingShotChangeDetectionConfig struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for STREAMING_SHOT_CHANGE_DETECTION.

func (*StreamingShotChangeDetectionConfig) Descriptor

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

func (*StreamingShotChangeDetectionConfig) ProtoMessage

func (*StreamingShotChangeDetectionConfig) ProtoMessage()

func (*StreamingShotChangeDetectionConfig) Reset

func (*StreamingShotChangeDetectionConfig) String

func (*StreamingShotChangeDetectionConfig) XXX_DiscardUnknown

func (m *StreamingShotChangeDetectionConfig) XXX_DiscardUnknown()

func (*StreamingShotChangeDetectionConfig) XXX_Marshal

func (m *StreamingShotChangeDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamingShotChangeDetectionConfig) XXX_Merge

func (*StreamingShotChangeDetectionConfig) XXX_Size

func (*StreamingShotChangeDetectionConfig) XXX_Unmarshal

func (m *StreamingShotChangeDetectionConfig) XXX_Unmarshal(b []byte) error

type StreamingStorageConfig

type StreamingStorageConfig struct {
	// Enable streaming storage. Default: false.
	EnableStorageAnnotationResult bool `` /* 153-byte string literal not displayed */
	// GCS URI to store all annotation results for one client. Client should
	// specify this field as the top-level storage directory. Annotation results
	// of different sessions will be put into different sub-directories denoted
	// by project_name and session_id. All sub-directories will be auto generated
	// by program and will be made accessible to client in response proto.
	// URIs must be specified in the following format: `gs://bucket-id/object-id`
	// `bucket-id` should be a valid GCS bucket created by client and bucket
	// permission shall also be configured properly. `object-id` can be arbitrary
	// string that make sense to client. Other URI formats will return error and
	// cause GCS write failure.
	AnnotationResultStorageDirectory string   `` /* 161-byte string literal not displayed */
	XXX_NoUnkeyedLiteral             struct{} `json:"-"`
	XXX_unrecognized                 []byte   `json:"-"`
	XXX_sizecache                    int32    `json:"-"`
}

Config for streaming storage option.

func (*StreamingStorageConfig) Descriptor

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

func (*StreamingStorageConfig) GetAnnotationResultStorageDirectory

func (m *StreamingStorageConfig) GetAnnotationResultStorageDirectory() string

func (*StreamingStorageConfig) GetEnableStorageAnnotationResult

func (m *StreamingStorageConfig) GetEnableStorageAnnotationResult() bool

func (*StreamingStorageConfig) ProtoMessage

func (*StreamingStorageConfig) ProtoMessage()

func (*StreamingStorageConfig) Reset

func (m *StreamingStorageConfig) Reset()

func (*StreamingStorageConfig) String

func (m *StreamingStorageConfig) String() string

func (*StreamingStorageConfig) XXX_DiscardUnknown

func (m *StreamingStorageConfig) XXX_DiscardUnknown()

func (*StreamingStorageConfig) XXX_Marshal

func (m *StreamingStorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamingStorageConfig) XXX_Merge

func (m *StreamingStorageConfig) XXX_Merge(src proto.Message)

func (*StreamingStorageConfig) XXX_Size

func (m *StreamingStorageConfig) XXX_Size() int

func (*StreamingStorageConfig) XXX_Unmarshal

func (m *StreamingStorageConfig) XXX_Unmarshal(b []byte) error

type StreamingVideoAnnotationResults

type StreamingVideoAnnotationResults struct {
	// Shot annotation results. Each shot is represented as a video segment.
	ShotAnnotations []*VideoSegment `protobuf:"bytes,1,rep,name=shot_annotations,json=shotAnnotations,proto3" json:"shot_annotations,omitempty"`
	// Label annotation results.
	LabelAnnotations []*LabelAnnotation `protobuf:"bytes,2,rep,name=label_annotations,json=labelAnnotations,proto3" json:"label_annotations,omitempty"`
	// Explicit content annotation results.
	ExplicitAnnotation *ExplicitContentAnnotation `protobuf:"bytes,3,opt,name=explicit_annotation,json=explicitAnnotation,proto3" json:"explicit_annotation,omitempty"`
	// Object tracking results.
	ObjectAnnotations    []*ObjectTrackingAnnotation `protobuf:"bytes,4,rep,name=object_annotations,json=objectAnnotations,proto3" json:"object_annotations,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Streaming annotation results corresponding to a portion of the video that is currently being processed.

func (*StreamingVideoAnnotationResults) Descriptor

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

func (*StreamingVideoAnnotationResults) GetExplicitAnnotation

func (m *StreamingVideoAnnotationResults) GetExplicitAnnotation() *ExplicitContentAnnotation

func (*StreamingVideoAnnotationResults) GetLabelAnnotations

func (m *StreamingVideoAnnotationResults) GetLabelAnnotations() []*LabelAnnotation

func (*StreamingVideoAnnotationResults) GetObjectAnnotations

func (m *StreamingVideoAnnotationResults) GetObjectAnnotations() []*ObjectTrackingAnnotation

func (*StreamingVideoAnnotationResults) GetShotAnnotations

func (m *StreamingVideoAnnotationResults) GetShotAnnotations() []*VideoSegment

func (*StreamingVideoAnnotationResults) ProtoMessage

func (*StreamingVideoAnnotationResults) ProtoMessage()

func (*StreamingVideoAnnotationResults) Reset

func (*StreamingVideoAnnotationResults) String

func (*StreamingVideoAnnotationResults) XXX_DiscardUnknown

func (m *StreamingVideoAnnotationResults) XXX_DiscardUnknown()

func (*StreamingVideoAnnotationResults) XXX_Marshal

func (m *StreamingVideoAnnotationResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamingVideoAnnotationResults) XXX_Merge

func (m *StreamingVideoAnnotationResults) XXX_Merge(src proto.Message)

func (*StreamingVideoAnnotationResults) XXX_Size

func (m *StreamingVideoAnnotationResults) XXX_Size() int

func (*StreamingVideoAnnotationResults) XXX_Unmarshal

func (m *StreamingVideoAnnotationResults) XXX_Unmarshal(b []byte) error

type StreamingVideoConfig

type StreamingVideoConfig struct {
	// Requested annotation feature.
	Feature StreamingFeature `` /* 131-byte string literal not displayed */
	// Config for requested annotation feature.
	//
	// Types that are valid to be assigned to StreamingConfig:
	//	*StreamingVideoConfig_ShotChangeDetectionConfig
	//	*StreamingVideoConfig_LabelDetectionConfig
	//	*StreamingVideoConfig_ExplicitContentDetectionConfig
	//	*StreamingVideoConfig_ObjectTrackingConfig
	//	*StreamingVideoConfig_AutomlClassificationConfig
	//	*StreamingVideoConfig_AutomlObjectTrackingConfig
	StreamingConfig isStreamingVideoConfig_StreamingConfig `protobuf_oneof:"streaming_config"`
	// Streaming storage option. By default: storage is disabled.
	StorageConfig        *StreamingStorageConfig `protobuf:"bytes,30,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

Provides information to the annotator that specifies how to process the request.

func (*StreamingVideoConfig) Descriptor

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

func (*StreamingVideoConfig) GetAutomlClassificationConfig

func (m *StreamingVideoConfig) GetAutomlClassificationConfig() *StreamingAutomlClassificationConfig

func (*StreamingVideoConfig) GetAutomlObjectTrackingConfig

func (m *StreamingVideoConfig) GetAutomlObjectTrackingConfig() *StreamingAutomlObjectTrackingConfig

func (*StreamingVideoConfig) GetExplicitContentDetectionConfig

func (m *StreamingVideoConfig) GetExplicitContentDetectionConfig() *StreamingExplicitContentDetectionConfig

func (*StreamingVideoConfig) GetFeature

func (m *StreamingVideoConfig) GetFeature() StreamingFeature

func (*StreamingVideoConfig) GetLabelDetectionConfig

func (m *StreamingVideoConfig) GetLabelDetectionConfig() *StreamingLabelDetectionConfig

func (*StreamingVideoConfig) GetObjectTrackingConfig

func (m *StreamingVideoConfig) GetObjectTrackingConfig() *StreamingObjectTrackingConfig

func (*StreamingVideoConfig) GetShotChangeDetectionConfig

func (m *StreamingVideoConfig) GetShotChangeDetectionConfig() *StreamingShotChangeDetectionConfig

func (*StreamingVideoConfig) GetStorageConfig

func (m *StreamingVideoConfig) GetStorageConfig() *StreamingStorageConfig

func (*StreamingVideoConfig) GetStreamingConfig

func (m *StreamingVideoConfig) GetStreamingConfig() isStreamingVideoConfig_StreamingConfig

func (*StreamingVideoConfig) ProtoMessage

func (*StreamingVideoConfig) ProtoMessage()

func (*StreamingVideoConfig) Reset

func (m *StreamingVideoConfig) Reset()

func (*StreamingVideoConfig) String

func (m *StreamingVideoConfig) String() string

func (*StreamingVideoConfig) XXX_DiscardUnknown

func (m *StreamingVideoConfig) XXX_DiscardUnknown()

func (*StreamingVideoConfig) XXX_Marshal

func (m *StreamingVideoConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamingVideoConfig) XXX_Merge

func (m *StreamingVideoConfig) XXX_Merge(src proto.Message)

func (*StreamingVideoConfig) XXX_OneofWrappers

func (*StreamingVideoConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*StreamingVideoConfig) XXX_Size

func (m *StreamingVideoConfig) XXX_Size() int

func (*StreamingVideoConfig) XXX_Unmarshal

func (m *StreamingVideoConfig) XXX_Unmarshal(b []byte) error

type StreamingVideoConfig_AutomlClassificationConfig

type StreamingVideoConfig_AutomlClassificationConfig struct {
	AutomlClassificationConfig *StreamingAutomlClassificationConfig `protobuf:"bytes,21,opt,name=automl_classification_config,json=automlClassificationConfig,proto3,oneof"`
}

type StreamingVideoConfig_AutomlObjectTrackingConfig

type StreamingVideoConfig_AutomlObjectTrackingConfig struct {
	AutomlObjectTrackingConfig *StreamingAutomlObjectTrackingConfig `protobuf:"bytes,22,opt,name=automl_object_tracking_config,json=automlObjectTrackingConfig,proto3,oneof"`
}

type StreamingVideoConfig_ExplicitContentDetectionConfig

type StreamingVideoConfig_ExplicitContentDetectionConfig struct {
	ExplicitContentDetectionConfig *StreamingExplicitContentDetectionConfig `protobuf:"bytes,4,opt,name=explicit_content_detection_config,json=explicitContentDetectionConfig,proto3,oneof"`
}

type StreamingVideoConfig_LabelDetectionConfig

type StreamingVideoConfig_LabelDetectionConfig struct {
	LabelDetectionConfig *StreamingLabelDetectionConfig `protobuf:"bytes,3,opt,name=label_detection_config,json=labelDetectionConfig,proto3,oneof"`
}

type StreamingVideoConfig_ObjectTrackingConfig

type StreamingVideoConfig_ObjectTrackingConfig struct {
	ObjectTrackingConfig *StreamingObjectTrackingConfig `protobuf:"bytes,5,opt,name=object_tracking_config,json=objectTrackingConfig,proto3,oneof"`
}

type StreamingVideoConfig_ShotChangeDetectionConfig

type StreamingVideoConfig_ShotChangeDetectionConfig struct {
	ShotChangeDetectionConfig *StreamingShotChangeDetectionConfig `protobuf:"bytes,2,opt,name=shot_change_detection_config,json=shotChangeDetectionConfig,proto3,oneof"`
}

type StreamingVideoIntelligenceServiceClient

type StreamingVideoIntelligenceServiceClient interface {
	// Performs video annotation with bidirectional streaming: emitting results
	// while sending video/audio bytes.
	// This method is only available via the gRPC API (not REST).
	StreamingAnnotateVideo(ctx context.Context, opts ...grpc.CallOption) (StreamingVideoIntelligenceService_StreamingAnnotateVideoClient, error)
}

StreamingVideoIntelligenceServiceClient is the client API for StreamingVideoIntelligenceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type StreamingVideoIntelligenceServiceServer

type StreamingVideoIntelligenceServiceServer interface {
	// Performs video annotation with bidirectional streaming: emitting results
	// while sending video/audio bytes.
	// This method is only available via the gRPC API (not REST).
	StreamingAnnotateVideo(StreamingVideoIntelligenceService_StreamingAnnotateVideoServer) error
}

StreamingVideoIntelligenceServiceServer is the server API for StreamingVideoIntelligenceService service.

type StreamingVideoIntelligenceService_StreamingAnnotateVideoClient

type StreamingVideoIntelligenceService_StreamingAnnotateVideoClient interface {
	Send(*StreamingAnnotateVideoRequest) error
	Recv() (*StreamingAnnotateVideoResponse, error)
	grpc.ClientStream
}

type StreamingVideoIntelligenceService_StreamingAnnotateVideoServer

type StreamingVideoIntelligenceService_StreamingAnnotateVideoServer interface {
	Send(*StreamingAnnotateVideoResponse) error
	Recv() (*StreamingAnnotateVideoRequest, error)
	grpc.ServerStream
}

type TextAnnotation

type TextAnnotation struct {
	// The detected text.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// All video segments where OCR detected text appears.
	Segments             []*TextSegment `protobuf:"bytes,2,rep,name=segments,proto3" json:"segments,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.

func (*TextAnnotation) Descriptor

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

func (*TextAnnotation) GetSegments

func (m *TextAnnotation) GetSegments() []*TextSegment

func (*TextAnnotation) GetText

func (m *TextAnnotation) GetText() string

func (*TextAnnotation) ProtoMessage

func (*TextAnnotation) ProtoMessage()

func (*TextAnnotation) Reset

func (m *TextAnnotation) Reset()

func (*TextAnnotation) String

func (m *TextAnnotation) String() string

func (*TextAnnotation) XXX_DiscardUnknown

func (m *TextAnnotation) XXX_DiscardUnknown()

func (*TextAnnotation) XXX_Marshal

func (m *TextAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextAnnotation) XXX_Merge

func (m *TextAnnotation) XXX_Merge(src proto.Message)

func (*TextAnnotation) XXX_Size

func (m *TextAnnotation) XXX_Size() int

func (*TextAnnotation) XXX_Unmarshal

func (m *TextAnnotation) XXX_Unmarshal(b []byte) error

type TextDetectionConfig

type TextDetectionConfig struct {
	// Language hint can be specified if the language to be detected is known a
	// priori. It can increase the accuracy of the detection. Language hint must
	// be language code in BCP-47 format.
	//
	// Automatic language detection is performed if no hint is provided.
	LanguageHints []string `protobuf:"bytes,1,rep,name=language_hints,json=languageHints,proto3" json:"language_hints,omitempty"`
	// Model to use for text detection.
	// Supported values: "builtin/stable" (the default if unset) and
	// "builtin/latest".
	Model                string   `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Config for TEXT_DETECTION.

func (*TextDetectionConfig) Descriptor

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

func (*TextDetectionConfig) GetLanguageHints

func (m *TextDetectionConfig) GetLanguageHints() []string

func (*TextDetectionConfig) GetModel

func (m *TextDetectionConfig) GetModel() string

func (*TextDetectionConfig) ProtoMessage

func (*TextDetectionConfig) ProtoMessage()

func (*TextDetectionConfig) Reset

func (m *TextDetectionConfig) Reset()

func (*TextDetectionConfig) String

func (m *TextDetectionConfig) String() string

func (*TextDetectionConfig) XXX_DiscardUnknown

func (m *TextDetectionConfig) XXX_DiscardUnknown()

func (*TextDetectionConfig) XXX_Marshal

func (m *TextDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextDetectionConfig) XXX_Merge

func (m *TextDetectionConfig) XXX_Merge(src proto.Message)

func (*TextDetectionConfig) XXX_Size

func (m *TextDetectionConfig) XXX_Size() int

func (*TextDetectionConfig) XXX_Unmarshal

func (m *TextDetectionConfig) XXX_Unmarshal(b []byte) error

type TextFrame

type TextFrame struct {
	// Bounding polygon of the detected text for this frame.
	RotatedBoundingBox *NormalizedBoundingPoly `protobuf:"bytes,1,opt,name=rotated_bounding_box,json=rotatedBoundingBox,proto3" json:"rotated_bounding_box,omitempty"`
	// Timestamp of this frame.
	TimeOffset           *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Video frame level annotation results for text annotation (OCR). Contains information regarding timestamp and bounding box locations for the frames containing detected OCR text snippets.

func (*TextFrame) Descriptor

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

func (*TextFrame) GetRotatedBoundingBox

func (m *TextFrame) GetRotatedBoundingBox() *NormalizedBoundingPoly

func (*TextFrame) GetTimeOffset

func (m *TextFrame) GetTimeOffset() *duration.Duration

func (*TextFrame) ProtoMessage

func (*TextFrame) ProtoMessage()

func (*TextFrame) Reset

func (m *TextFrame) Reset()

func (*TextFrame) String

func (m *TextFrame) String() string

func (*TextFrame) XXX_DiscardUnknown

func (m *TextFrame) XXX_DiscardUnknown()

func (*TextFrame) XXX_Marshal

func (m *TextFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextFrame) XXX_Merge

func (m *TextFrame) XXX_Merge(src proto.Message)

func (*TextFrame) XXX_Size

func (m *TextFrame) XXX_Size() int

func (*TextFrame) XXX_Unmarshal

func (m *TextFrame) XXX_Unmarshal(b []byte) error

type TextSegment

type TextSegment struct {
	// Video segment where a text snippet was detected.
	Segment *VideoSegment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
	// Confidence for the track of detected text. It is calculated as the highest
	// over all frames where OCR detected text appears.
	Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// Information related to the frames where OCR detected text appears.
	Frames               []*TextFrame `protobuf:"bytes,3,rep,name=frames,proto3" json:"frames,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Video segment level annotation results for text detection.

func (*TextSegment) Descriptor

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

func (*TextSegment) GetConfidence

func (m *TextSegment) GetConfidence() float32

func (*TextSegment) GetFrames

func (m *TextSegment) GetFrames() []*TextFrame

func (*TextSegment) GetSegment

func (m *TextSegment) GetSegment() *VideoSegment

func (*TextSegment) ProtoMessage

func (*TextSegment) ProtoMessage()

func (*TextSegment) Reset

func (m *TextSegment) Reset()

func (*TextSegment) String

func (m *TextSegment) String() string

func (*TextSegment) XXX_DiscardUnknown

func (m *TextSegment) XXX_DiscardUnknown()

func (*TextSegment) XXX_Marshal

func (m *TextSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextSegment) XXX_Merge

func (m *TextSegment) XXX_Merge(src proto.Message)

func (*TextSegment) XXX_Size

func (m *TextSegment) XXX_Size() int

func (*TextSegment) XXX_Unmarshal

func (m *TextSegment) XXX_Unmarshal(b []byte) error

type TimestampedObject

type TimestampedObject struct {
	// Normalized Bounding box in a frame, where the object is located.
	NormalizedBoundingBox *NormalizedBoundingBox `` /* 126-byte string literal not displayed */
	// Time-offset, relative to the beginning of the video,
	// corresponding to the video frame for this object.
	TimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
	// Optional. The attributes of the object in the bounding box.
	Attributes []*DetectedAttribute `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// Optional. The detected landmarks.
	Landmarks            []*DetectedLandmark `protobuf:"bytes,4,rep,name=landmarks,proto3" json:"landmarks,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

For tracking related features. An object at time_offset with attributes, and located with normalized_bounding_box.

func (*TimestampedObject) Descriptor

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

func (*TimestampedObject) GetAttributes

func (m *TimestampedObject) GetAttributes() []*DetectedAttribute

func (*TimestampedObject) GetLandmarks

func (m *TimestampedObject) GetLandmarks() []*DetectedLandmark

func (*TimestampedObject) GetNormalizedBoundingBox

func (m *TimestampedObject) GetNormalizedBoundingBox() *NormalizedBoundingBox

func (*TimestampedObject) GetTimeOffset

func (m *TimestampedObject) GetTimeOffset() *duration.Duration

func (*TimestampedObject) ProtoMessage

func (*TimestampedObject) ProtoMessage()

func (*TimestampedObject) Reset

func (m *TimestampedObject) Reset()

func (*TimestampedObject) String

func (m *TimestampedObject) String() string

func (*TimestampedObject) XXX_DiscardUnknown

func (m *TimestampedObject) XXX_DiscardUnknown()

func (*TimestampedObject) XXX_Marshal

func (m *TimestampedObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimestampedObject) XXX_Merge

func (m *TimestampedObject) XXX_Merge(src proto.Message)

func (*TimestampedObject) XXX_Size

func (m *TimestampedObject) XXX_Size() int

func (*TimestampedObject) XXX_Unmarshal

func (m *TimestampedObject) XXX_Unmarshal(b []byte) error

type Track

type Track struct {
	// Video segment of a track.
	Segment *VideoSegment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
	// The object with timestamp and attributes per frame in the track.
	TimestampedObjects []*TimestampedObject `protobuf:"bytes,2,rep,name=timestamped_objects,json=timestampedObjects,proto3" json:"timestamped_objects,omitempty"`
	// Optional. Attributes in the track level.
	Attributes []*DetectedAttribute `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// Optional. The confidence score of the tracked object.
	Confidence           float32  `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A track of an object instance.

func (*Track) Descriptor

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

func (*Track) GetAttributes

func (m *Track) GetAttributes() []*DetectedAttribute

func (*Track) GetConfidence

func (m *Track) GetConfidence() float32

func (*Track) GetSegment

func (m *Track) GetSegment() *VideoSegment

func (*Track) GetTimestampedObjects

func (m *Track) GetTimestampedObjects() []*TimestampedObject

func (*Track) ProtoMessage

func (*Track) ProtoMessage()

func (*Track) Reset

func (m *Track) Reset()

func (*Track) String

func (m *Track) String() string

func (*Track) XXX_DiscardUnknown

func (m *Track) XXX_DiscardUnknown()

func (*Track) XXX_Marshal

func (m *Track) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Track) XXX_Merge

func (m *Track) XXX_Merge(src proto.Message)

func (*Track) XXX_Size

func (m *Track) XXX_Size() int

func (*Track) XXX_Unmarshal

func (m *Track) XXX_Unmarshal(b []byte) error

type UnimplementedStreamingVideoIntelligenceServiceServer

type UnimplementedStreamingVideoIntelligenceServiceServer struct {
}

UnimplementedStreamingVideoIntelligenceServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedStreamingVideoIntelligenceServiceServer) StreamingAnnotateVideo

type UnimplementedVideoIntelligenceServiceServer

type UnimplementedVideoIntelligenceServiceServer struct {
}

UnimplementedVideoIntelligenceServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedVideoIntelligenceServiceServer) AnnotateVideo

type VideoAnnotationProgress

type VideoAnnotationProgress struct {
	// Video file location in
	// [Google Cloud Storage](https://cloud.google.com/storage/).
	InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"`
	// Approximate percentage processed thus far. Guaranteed to be
	// 100 when fully processed.
	ProgressPercent int32 `protobuf:"varint,2,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
	// Time when the request was received.
	StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Time of the most recent update.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Specifies which feature is being tracked if the request contains more than
	// one features.
	Feature Feature `protobuf:"varint,5,opt,name=feature,proto3,enum=google.cloud.videointelligence.v1p3beta1.Feature" json:"feature,omitempty"`
	// Specifies which segment is being tracked if the request contains more than
	// one segments.
	Segment              *VideoSegment `protobuf:"bytes,6,opt,name=segment,proto3" json:"segment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

Annotation progress for a single video.

func (*VideoAnnotationProgress) Descriptor

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

func (*VideoAnnotationProgress) GetFeature

func (m *VideoAnnotationProgress) GetFeature() Feature

func (*VideoAnnotationProgress) GetInputUri

func (m *VideoAnnotationProgress) GetInputUri() string

func (*VideoAnnotationProgress) GetProgressPercent

func (m *VideoAnnotationProgress) GetProgressPercent() int32

func (*VideoAnnotationProgress) GetSegment

func (m *VideoAnnotationProgress) GetSegment() *VideoSegment

func (*VideoAnnotationProgress) GetStartTime

func (m *VideoAnnotationProgress) GetStartTime() *timestamp.Timestamp

func (*VideoAnnotationProgress) GetUpdateTime

func (m *VideoAnnotationProgress) GetUpdateTime() *timestamp.Timestamp

func (*VideoAnnotationProgress) ProtoMessage

func (*VideoAnnotationProgress) ProtoMessage()

func (*VideoAnnotationProgress) Reset

func (m *VideoAnnotationProgress) Reset()

func (*VideoAnnotationProgress) String

func (m *VideoAnnotationProgress) String() string

func (*VideoAnnotationProgress) XXX_DiscardUnknown

func (m *VideoAnnotationProgress) XXX_DiscardUnknown()

func (*VideoAnnotationProgress) XXX_Marshal

func (m *VideoAnnotationProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VideoAnnotationProgress) XXX_Merge

func (m *VideoAnnotationProgress) XXX_Merge(src proto.Message)

func (*VideoAnnotationProgress) XXX_Size

func (m *VideoAnnotationProgress) XXX_Size() int

func (*VideoAnnotationProgress) XXX_Unmarshal

func (m *VideoAnnotationProgress) XXX_Unmarshal(b []byte) error

type VideoAnnotationResults

type VideoAnnotationResults struct {
	// Video file location in
	// [Google Cloud Storage](https://cloud.google.com/storage/).
	InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"`
	// Video segment on which the annotation is run.
	Segment *VideoSegment `protobuf:"bytes,10,opt,name=segment,proto3" json:"segment,omitempty"`
	// Topical label annotations on video level or user specified segment level.
	// There is exactly one element for each unique label.
	SegmentLabelAnnotations []*LabelAnnotation `` /* 132-byte string literal not displayed */
	// Presence label annotations on video level or user specified segment level.
	// There is exactly one element for each unique label. Compared to the
	// existing topical `segment_label_annotations`, this field presents more
	// fine-grained, segment-level labels detected in video content and is made
	// available only when the client sets `LabelDetectionConfig.model` to
	// "builtin/latest" in the request.
	SegmentPresenceLabelAnnotations []*LabelAnnotation `` /* 159-byte string literal not displayed */
	// Topical label annotations on shot level.
	// There is exactly one element for each unique label.
	ShotLabelAnnotations []*LabelAnnotation `protobuf:"bytes,3,rep,name=shot_label_annotations,json=shotLabelAnnotations,proto3" json:"shot_label_annotations,omitempty"`
	// Presence label annotations on shot level. There is exactly one element for
	// each unique label. Compared to the existing topical
	// `shot_label_annotations`, this field presents more fine-grained, shot-level
	// labels detected in video content and is made available only when the client
	// sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
	ShotPresenceLabelAnnotations []*LabelAnnotation `` /* 150-byte string literal not displayed */
	// Label annotations on frame level.
	// There is exactly one element for each unique label.
	FrameLabelAnnotations []*LabelAnnotation `` /* 126-byte string literal not displayed */
	// Face detection annotations.
	FaceDetectionAnnotations []*FaceDetectionAnnotation `` /* 136-byte string literal not displayed */
	// Shot annotations. Each shot is represented as a video segment.
	ShotAnnotations []*VideoSegment `protobuf:"bytes,6,rep,name=shot_annotations,json=shotAnnotations,proto3" json:"shot_annotations,omitempty"`
	// Explicit content annotation.
	ExplicitAnnotation *ExplicitContentAnnotation `protobuf:"bytes,7,opt,name=explicit_annotation,json=explicitAnnotation,proto3" json:"explicit_annotation,omitempty"`
	// Speech transcription.
	SpeechTranscriptions []*SpeechTranscription `protobuf:"bytes,11,rep,name=speech_transcriptions,json=speechTranscriptions,proto3" json:"speech_transcriptions,omitempty"`
	// OCR text detection and tracking.
	// Annotations for list of detected text snippets. Each will have list of
	// frame information associated with it.
	TextAnnotations []*TextAnnotation `protobuf:"bytes,12,rep,name=text_annotations,json=textAnnotations,proto3" json:"text_annotations,omitempty"`
	// Annotations for list of objects detected and tracked in video.
	ObjectAnnotations []*ObjectTrackingAnnotation `protobuf:"bytes,14,rep,name=object_annotations,json=objectAnnotations,proto3" json:"object_annotations,omitempty"`
	// Annotations for list of logos detected, tracked and recognized in video.
	LogoRecognitionAnnotations []*LogoRecognitionAnnotation `` /* 142-byte string literal not displayed */
	// Person detection annotations.
	PersonDetectionAnnotations []*PersonDetectionAnnotation `` /* 142-byte string literal not displayed */
	// Celebrity recognition annotations.
	CelebrityRecognitionAnnotations *CelebrityRecognitionAnnotation `` /* 157-byte string literal not displayed */
	// If set, indicates an error. Note that for a single `AnnotateVideoRequest`
	// some videos may succeed and some may fail.
	Error                *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Annotation results for a single video.

func (*VideoAnnotationResults) Descriptor

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

func (*VideoAnnotationResults) GetCelebrityRecognitionAnnotations

func (m *VideoAnnotationResults) GetCelebrityRecognitionAnnotations() *CelebrityRecognitionAnnotation

func (*VideoAnnotationResults) GetError

func (m *VideoAnnotationResults) GetError() *status.Status

func (*VideoAnnotationResults) GetExplicitAnnotation

func (m *VideoAnnotationResults) GetExplicitAnnotation() *ExplicitContentAnnotation

func (*VideoAnnotationResults) GetFaceDetectionAnnotations

func (m *VideoAnnotationResults) GetFaceDetectionAnnotations() []*FaceDetectionAnnotation

func (*VideoAnnotationResults) GetFrameLabelAnnotations

func (m *VideoAnnotationResults) GetFrameLabelAnnotations() []*LabelAnnotation

func (*VideoAnnotationResults) GetInputUri

func (m *VideoAnnotationResults) GetInputUri() string

func (*VideoAnnotationResults) GetLogoRecognitionAnnotations

func (m *VideoAnnotationResults) GetLogoRecognitionAnnotations() []*LogoRecognitionAnnotation

func (*VideoAnnotationResults) GetObjectAnnotations

func (m *VideoAnnotationResults) GetObjectAnnotations() []*ObjectTrackingAnnotation

func (*VideoAnnotationResults) GetPersonDetectionAnnotations

func (m *VideoAnnotationResults) GetPersonDetectionAnnotations() []*PersonDetectionAnnotation

func (*VideoAnnotationResults) GetSegment

func (m *VideoAnnotationResults) GetSegment() *VideoSegment

func (*VideoAnnotationResults) GetSegmentLabelAnnotations

func (m *VideoAnnotationResults) GetSegmentLabelAnnotations() []*LabelAnnotation

func (*VideoAnnotationResults) GetSegmentPresenceLabelAnnotations

func (m *VideoAnnotationResults) GetSegmentPresenceLabelAnnotations() []*LabelAnnotation

func (*VideoAnnotationResults) GetShotAnnotations

func (m *VideoAnnotationResults) GetShotAnnotations() []*VideoSegment

func (*VideoAnnotationResults) GetShotLabelAnnotations

func (m *VideoAnnotationResults) GetShotLabelAnnotations() []*LabelAnnotation

func (*VideoAnnotationResults) GetShotPresenceLabelAnnotations

func (m *VideoAnnotationResults) GetShotPresenceLabelAnnotations() []*LabelAnnotation

func (*VideoAnnotationResults) GetSpeechTranscriptions

func (m *VideoAnnotationResults) GetSpeechTranscriptions() []*SpeechTranscription

func (*VideoAnnotationResults) GetTextAnnotations

func (m *VideoAnnotationResults) GetTextAnnotations() []*TextAnnotation

func (*VideoAnnotationResults) ProtoMessage

func (*VideoAnnotationResults) ProtoMessage()

func (*VideoAnnotationResults) Reset

func (m *VideoAnnotationResults) Reset()

func (*VideoAnnotationResults) String

func (m *VideoAnnotationResults) String() string

func (*VideoAnnotationResults) XXX_DiscardUnknown

func (m *VideoAnnotationResults) XXX_DiscardUnknown()

func (*VideoAnnotationResults) XXX_Marshal

func (m *VideoAnnotationResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VideoAnnotationResults) XXX_Merge

func (m *VideoAnnotationResults) XXX_Merge(src proto.Message)

func (*VideoAnnotationResults) XXX_Size

func (m *VideoAnnotationResults) XXX_Size() int

func (*VideoAnnotationResults) XXX_Unmarshal

func (m *VideoAnnotationResults) XXX_Unmarshal(b []byte) error

type VideoContext

type VideoContext struct {
	// Video segments to annotate. The segments may overlap and are not required
	// to be contiguous or span the whole video. If unspecified, each video is
	// treated as a single segment.
	Segments []*VideoSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
	// Config for LABEL_DETECTION.
	LabelDetectionConfig *LabelDetectionConfig `protobuf:"bytes,2,opt,name=label_detection_config,json=labelDetectionConfig,proto3" json:"label_detection_config,omitempty"`
	// Config for SHOT_CHANGE_DETECTION.
	ShotChangeDetectionConfig *ShotChangeDetectionConfig `` /* 140-byte string literal not displayed */
	// Config for EXPLICIT_CONTENT_DETECTION.
	ExplicitContentDetectionConfig *ExplicitContentDetectionConfig `` /* 155-byte string literal not displayed */
	// Config for FACE_DETECTION.
	FaceDetectionConfig *FaceDetectionConfig `protobuf:"bytes,5,opt,name=face_detection_config,json=faceDetectionConfig,proto3" json:"face_detection_config,omitempty"`
	// Config for SPEECH_TRANSCRIPTION.
	SpeechTranscriptionConfig *SpeechTranscriptionConfig `` /* 138-byte string literal not displayed */
	// Config for TEXT_DETECTION.
	TextDetectionConfig *TextDetectionConfig `protobuf:"bytes,8,opt,name=text_detection_config,json=textDetectionConfig,proto3" json:"text_detection_config,omitempty"`
	// Config for PERSON_DETECTION.
	PersonDetectionConfig *PersonDetectionConfig `` /* 127-byte string literal not displayed */
	// Config for OBJECT_TRACKING.
	ObjectTrackingConfig *ObjectTrackingConfig `protobuf:"bytes,13,opt,name=object_tracking_config,json=objectTrackingConfig,proto3" json:"object_tracking_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Video context and/or feature-specific parameters.

func (*VideoContext) Descriptor

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

func (*VideoContext) GetExplicitContentDetectionConfig

func (m *VideoContext) GetExplicitContentDetectionConfig() *ExplicitContentDetectionConfig

func (*VideoContext) GetFaceDetectionConfig

func (m *VideoContext) GetFaceDetectionConfig() *FaceDetectionConfig

func (*VideoContext) GetLabelDetectionConfig

func (m *VideoContext) GetLabelDetectionConfig() *LabelDetectionConfig

func (*VideoContext) GetObjectTrackingConfig

func (m *VideoContext) GetObjectTrackingConfig() *ObjectTrackingConfig

func (*VideoContext) GetPersonDetectionConfig

func (m *VideoContext) GetPersonDetectionConfig() *PersonDetectionConfig

func (*VideoContext) GetSegments

func (m *VideoContext) GetSegments() []*VideoSegment

func (*VideoContext) GetShotChangeDetectionConfig

func (m *VideoContext) GetShotChangeDetectionConfig() *ShotChangeDetectionConfig

func (*VideoContext) GetSpeechTranscriptionConfig

func (m *VideoContext) GetSpeechTranscriptionConfig() *SpeechTranscriptionConfig

func (*VideoContext) GetTextDetectionConfig

func (m *VideoContext) GetTextDetectionConfig() *TextDetectionConfig

func (*VideoContext) ProtoMessage

func (*VideoContext) ProtoMessage()

func (*VideoContext) Reset

func (m *VideoContext) Reset()

func (*VideoContext) String

func (m *VideoContext) String() string

func (*VideoContext) XXX_DiscardUnknown

func (m *VideoContext) XXX_DiscardUnknown()

func (*VideoContext) XXX_Marshal

func (m *VideoContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VideoContext) XXX_Merge

func (m *VideoContext) XXX_Merge(src proto.Message)

func (*VideoContext) XXX_Size

func (m *VideoContext) XXX_Size() int

func (*VideoContext) XXX_Unmarshal

func (m *VideoContext) XXX_Unmarshal(b []byte) error

type VideoIntelligenceServiceClient

type VideoIntelligenceServiceClient interface {
	// Performs asynchronous video annotation. Progress and results can be
	// retrieved through the `google.longrunning.Operations` interface.
	// `Operation.metadata` contains `AnnotateVideoProgress` (progress).
	// `Operation.response` contains `AnnotateVideoResponse` (results).
	AnnotateVideo(ctx context.Context, in *AnnotateVideoRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

VideoIntelligenceServiceClient is the client API for VideoIntelligenceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type VideoIntelligenceServiceServer

type VideoIntelligenceServiceServer interface {
	// Performs asynchronous video annotation. Progress and results can be
	// retrieved through the `google.longrunning.Operations` interface.
	// `Operation.metadata` contains `AnnotateVideoProgress` (progress).
	// `Operation.response` contains `AnnotateVideoResponse` (results).
	AnnotateVideo(context.Context, *AnnotateVideoRequest) (*longrunning.Operation, error)
}

VideoIntelligenceServiceServer is the server API for VideoIntelligenceService service.

type VideoSegment

type VideoSegment struct {
	// Time-offset, relative to the beginning of the video,
	// corresponding to the start of the segment (inclusive).
	StartTimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
	// Time-offset, relative to the beginning of the video,
	// corresponding to the end of the segment (inclusive).
	EndTimeOffset        *duration.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Video segment.

func (*VideoSegment) Descriptor

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

func (*VideoSegment) GetEndTimeOffset

func (m *VideoSegment) GetEndTimeOffset() *duration.Duration

func (*VideoSegment) GetStartTimeOffset

func (m *VideoSegment) GetStartTimeOffset() *duration.Duration

func (*VideoSegment) ProtoMessage

func (*VideoSegment) ProtoMessage()

func (*VideoSegment) Reset

func (m *VideoSegment) Reset()

func (*VideoSegment) String

func (m *VideoSegment) String() string

func (*VideoSegment) XXX_DiscardUnknown

func (m *VideoSegment) XXX_DiscardUnknown()

func (*VideoSegment) XXX_Marshal

func (m *VideoSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VideoSegment) XXX_Merge

func (m *VideoSegment) XXX_Merge(src proto.Message)

func (*VideoSegment) XXX_Size

func (m *VideoSegment) XXX_Size() int

func (*VideoSegment) XXX_Unmarshal

func (m *VideoSegment) XXX_Unmarshal(b []byte) error

type WordInfo

type WordInfo struct {
	// Time offset relative to the beginning of the audio, and
	// corresponding to the start of the spoken word. This field is only set if
	// `enable_word_time_offsets=true` and only in the top hypothesis. This is an
	// experimental feature and the accuracy of the time offset can vary.
	StartTime *duration.Duration `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Time offset relative to the beginning of the audio, and
	// corresponding to the end of the spoken word. This field is only set if
	// `enable_word_time_offsets=true` and only in the top hypothesis. This is an
	// experimental feature and the accuracy of the time offset can vary.
	EndTime *duration.Duration `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The word corresponding to this set of information.
	Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"`
	// Output only. The confidence estimate between 0.0 and 1.0. A higher number
	// indicates an estimated greater likelihood that the recognized words are
	// correct. This field is set only for the top alternative.
	// This field is not guaranteed to be accurate and users should not rely on it
	// to be always provided.
	// The default of 0.0 is a sentinel value indicating `confidence` was not set.
	Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// Output only. A distinct integer value is assigned for every speaker within
	// the audio. This field specifies which one of those speakers was detected to
	// have spoken this word. Value ranges from 1 up to diarization_speaker_count,
	// and is only set if speaker diarization is enabled.
	SpeakerTag           int32    `protobuf:"varint,5,opt,name=speaker_tag,json=speakerTag,proto3" json:"speaker_tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Word-specific information for recognized words. Word information is only included in the response when certain request parameters are set, such as `enable_word_time_offsets`.

func (*WordInfo) Descriptor

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

func (*WordInfo) GetConfidence

func (m *WordInfo) GetConfidence() float32

func (*WordInfo) GetEndTime

func (m *WordInfo) GetEndTime() *duration.Duration

func (*WordInfo) GetSpeakerTag

func (m *WordInfo) GetSpeakerTag() int32

func (*WordInfo) GetStartTime

func (m *WordInfo) GetStartTime() *duration.Duration

func (*WordInfo) GetWord

func (m *WordInfo) GetWord() string

func (*WordInfo) ProtoMessage

func (*WordInfo) ProtoMessage()

func (*WordInfo) Reset

func (m *WordInfo) Reset()

func (*WordInfo) String

func (m *WordInfo) String() string

func (*WordInfo) XXX_DiscardUnknown

func (m *WordInfo) XXX_DiscardUnknown()

func (*WordInfo) XXX_Marshal

func (m *WordInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WordInfo) XXX_Merge

func (m *WordInfo) XXX_Merge(src proto.Message)

func (*WordInfo) XXX_Size

func (m *WordInfo) XXX_Size() int

func (*WordInfo) XXX_Unmarshal

func (m *WordInfo) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL