package schema
import "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema"
Index ¶
- Variables
- type AnnotationSpecColor
- func (*AnnotationSpecColor) Descriptor() ([]byte, []int)
- func (x *AnnotationSpecColor) GetColor() *color.Color
- func (x *AnnotationSpecColor) GetDisplayName() string
- func (x *AnnotationSpecColor) GetId() string
- func (*AnnotationSpecColor) ProtoMessage()
- func (x *AnnotationSpecColor) ProtoReflect() protoreflect.Message
- func (x *AnnotationSpecColor) Reset()
- func (x *AnnotationSpecColor) String() string
- type ImageBoundingBoxAnnotation
- func (*ImageBoundingBoxAnnotation) Descriptor() ([]byte, []int)
- func (x *ImageBoundingBoxAnnotation) GetAnnotationSpecId() string
- func (x *ImageBoundingBoxAnnotation) GetDisplayName() string
- func (x *ImageBoundingBoxAnnotation) GetXMax() float64
- func (x *ImageBoundingBoxAnnotation) GetXMin() float64
- func (x *ImageBoundingBoxAnnotation) GetYMax() float64
- func (x *ImageBoundingBoxAnnotation) GetYMin() float64
- func (*ImageBoundingBoxAnnotation) ProtoMessage()
- func (x *ImageBoundingBoxAnnotation) ProtoReflect() protoreflect.Message
- func (x *ImageBoundingBoxAnnotation) Reset()
- func (x *ImageBoundingBoxAnnotation) String() string
- type ImageClassificationAnnotation
- func (*ImageClassificationAnnotation) Descriptor() ([]byte, []int)
- func (x *ImageClassificationAnnotation) GetAnnotationSpecId() string
- func (x *ImageClassificationAnnotation) GetDisplayName() string
- func (*ImageClassificationAnnotation) ProtoMessage()
- func (x *ImageClassificationAnnotation) ProtoReflect() protoreflect.Message
- func (x *ImageClassificationAnnotation) Reset()
- func (x *ImageClassificationAnnotation) String() string
- type ImageDataItem
- func (*ImageDataItem) Descriptor() ([]byte, []int)
- func (x *ImageDataItem) GetGcsUri() string
- func (x *ImageDataItem) GetMimeType() string
- func (*ImageDataItem) ProtoMessage()
- func (x *ImageDataItem) ProtoReflect() protoreflect.Message
- func (x *ImageDataItem) Reset()
- func (x *ImageDataItem) String() string
- type ImageDatasetMetadata
- func (*ImageDatasetMetadata) Descriptor() ([]byte, []int)
- func (x *ImageDatasetMetadata) GetDataItemSchemaUri() string
- func (x *ImageDatasetMetadata) GetGcsBucket() string
- func (*ImageDatasetMetadata) ProtoMessage()
- func (x *ImageDatasetMetadata) ProtoReflect() protoreflect.Message
- func (x *ImageDatasetMetadata) Reset()
- func (x *ImageDatasetMetadata) String() string
- type ImageSegmentationAnnotation
- func (*ImageSegmentationAnnotation) Descriptor() ([]byte, []int)
- func (m *ImageSegmentationAnnotation) GetAnnotation() isImageSegmentationAnnotation_Annotation
- func (x *ImageSegmentationAnnotation) GetMaskAnnotation() *ImageSegmentationAnnotation_MaskAnnotation
- func (x *ImageSegmentationAnnotation) GetPolygonAnnotation() *ImageSegmentationAnnotation_PolygonAnnotation
- func (x *ImageSegmentationAnnotation) GetPolylineAnnotation() *ImageSegmentationAnnotation_PolylineAnnotation
- func (*ImageSegmentationAnnotation) ProtoMessage()
- func (x *ImageSegmentationAnnotation) ProtoReflect() protoreflect.Message
- func (x *ImageSegmentationAnnotation) Reset()
- func (x *ImageSegmentationAnnotation) String() string
- type ImageSegmentationAnnotation_MaskAnnotation
- func (*ImageSegmentationAnnotation_MaskAnnotation) Descriptor() ([]byte, []int)
- func (x *ImageSegmentationAnnotation_MaskAnnotation) GetAnnotationSpecColors() []*AnnotationSpecColor
- func (x *ImageSegmentationAnnotation_MaskAnnotation) GetMaskGcsUri() string
- func (*ImageSegmentationAnnotation_MaskAnnotation) ProtoMessage()
- func (x *ImageSegmentationAnnotation_MaskAnnotation) ProtoReflect() protoreflect.Message
- func (x *ImageSegmentationAnnotation_MaskAnnotation) Reset()
- func (x *ImageSegmentationAnnotation_MaskAnnotation) String() string
- type ImageSegmentationAnnotation_MaskAnnotation_
- type ImageSegmentationAnnotation_PolygonAnnotation
- func (*ImageSegmentationAnnotation_PolygonAnnotation) Descriptor() ([]byte, []int)
- func (x *ImageSegmentationAnnotation_PolygonAnnotation) GetAnnotationSpecId() string
- func (x *ImageSegmentationAnnotation_PolygonAnnotation) GetDisplayName() string
- func (x *ImageSegmentationAnnotation_PolygonAnnotation) GetVertexes() []*Vertex
- func (*ImageSegmentationAnnotation_PolygonAnnotation) ProtoMessage()
- func (x *ImageSegmentationAnnotation_PolygonAnnotation) ProtoReflect() protoreflect.Message
- func (x *ImageSegmentationAnnotation_PolygonAnnotation) Reset()
- func (x *ImageSegmentationAnnotation_PolygonAnnotation) String() string
- type ImageSegmentationAnnotation_PolygonAnnotation_
- type ImageSegmentationAnnotation_PolylineAnnotation
- func (*ImageSegmentationAnnotation_PolylineAnnotation) Descriptor() ([]byte, []int)
- func (x *ImageSegmentationAnnotation_PolylineAnnotation) GetAnnotationSpecId() string
- func (x *ImageSegmentationAnnotation_PolylineAnnotation) GetDisplayName() string
- func (x *ImageSegmentationAnnotation_PolylineAnnotation) GetVertexes() []*Vertex
- func (*ImageSegmentationAnnotation_PolylineAnnotation) ProtoMessage()
- func (x *ImageSegmentationAnnotation_PolylineAnnotation) ProtoReflect() protoreflect.Message
- func (x *ImageSegmentationAnnotation_PolylineAnnotation) Reset()
- func (x *ImageSegmentationAnnotation_PolylineAnnotation) String() string
- type ImageSegmentationAnnotation_PolylineAnnotation_
- type PredictionResult
- func (*PredictionResult) Descriptor() ([]byte, []int)
- func (x *PredictionResult) GetError() *PredictionResult_Error
- func (m *PredictionResult) GetInput() isPredictionResult_Input
- func (x *PredictionResult) GetInstance() *structpb.Struct
- func (x *PredictionResult) GetKey() string
- func (x *PredictionResult) GetPrediction() *structpb.Value
- func (*PredictionResult) ProtoMessage()
- func (x *PredictionResult) ProtoReflect() protoreflect.Message
- func (x *PredictionResult) Reset()
- func (x *PredictionResult) String() string
- type PredictionResult_Error
- func (*PredictionResult_Error) Descriptor() ([]byte, []int)
- func (x *PredictionResult_Error) GetMessage() string
- func (x *PredictionResult_Error) GetStatus() code.Code
- func (*PredictionResult_Error) ProtoMessage()
- func (x *PredictionResult_Error) ProtoReflect() protoreflect.Message
- func (x *PredictionResult_Error) Reset()
- func (x *PredictionResult_Error) String() string
- type PredictionResult_Instance
- type PredictionResult_Key
- type TablesDatasetMetadata
- func (*TablesDatasetMetadata) Descriptor() ([]byte, []int)
- func (x *TablesDatasetMetadata) GetInputConfig() *TablesDatasetMetadata_InputConfig
- func (*TablesDatasetMetadata) ProtoMessage()
- func (x *TablesDatasetMetadata) ProtoReflect() protoreflect.Message
- func (x *TablesDatasetMetadata) Reset()
- func (x *TablesDatasetMetadata) String() string
- type TablesDatasetMetadata_BigQuerySource
- func (*TablesDatasetMetadata_BigQuerySource) Descriptor() ([]byte, []int)
- func (x *TablesDatasetMetadata_BigQuerySource) GetUri() string
- func (*TablesDatasetMetadata_BigQuerySource) ProtoMessage()
- func (x *TablesDatasetMetadata_BigQuerySource) ProtoReflect() protoreflect.Message
- func (x *TablesDatasetMetadata_BigQuerySource) Reset()
- func (x *TablesDatasetMetadata_BigQuerySource) String() string
- type TablesDatasetMetadata_GcsSource
- func (*TablesDatasetMetadata_GcsSource) Descriptor() ([]byte, []int)
- func (x *TablesDatasetMetadata_GcsSource) GetUri() []string
- func (*TablesDatasetMetadata_GcsSource) ProtoMessage()
- func (x *TablesDatasetMetadata_GcsSource) ProtoReflect() protoreflect.Message
- func (x *TablesDatasetMetadata_GcsSource) Reset()
- func (x *TablesDatasetMetadata_GcsSource) String() string
- type TablesDatasetMetadata_InputConfig
- func (*TablesDatasetMetadata_InputConfig) Descriptor() ([]byte, []int)
- func (x *TablesDatasetMetadata_InputConfig) GetBigquerySource() *TablesDatasetMetadata_BigQuerySource
- func (x *TablesDatasetMetadata_InputConfig) GetGcsSource() *TablesDatasetMetadata_GcsSource
- func (m *TablesDatasetMetadata_InputConfig) GetSource() isTablesDatasetMetadata_InputConfig_Source
- func (*TablesDatasetMetadata_InputConfig) ProtoMessage()
- func (x *TablesDatasetMetadata_InputConfig) ProtoReflect() protoreflect.Message
- func (x *TablesDatasetMetadata_InputConfig) Reset()
- func (x *TablesDatasetMetadata_InputConfig) String() string
- type TablesDatasetMetadata_InputConfig_BigquerySource
- type TablesDatasetMetadata_InputConfig_GcsSource
- type TextClassificationAnnotation
- func (*TextClassificationAnnotation) Descriptor() ([]byte, []int)
- func (x *TextClassificationAnnotation) GetAnnotationSpecId() string
- func (x *TextClassificationAnnotation) GetDisplayName() string
- func (*TextClassificationAnnotation) ProtoMessage()
- func (x *TextClassificationAnnotation) ProtoReflect() protoreflect.Message
- func (x *TextClassificationAnnotation) Reset()
- func (x *TextClassificationAnnotation) String() string
- type TextDataItem
- func (*TextDataItem) Descriptor() ([]byte, []int)
- func (x *TextDataItem) GetGcsUri() string
- func (*TextDataItem) ProtoMessage()
- func (x *TextDataItem) ProtoReflect() protoreflect.Message
- func (x *TextDataItem) Reset()
- func (x *TextDataItem) String() string
- type TextDatasetMetadata
- func (*TextDatasetMetadata) Descriptor() ([]byte, []int)
- func (x *TextDatasetMetadata) GetDataItemSchemaUri() string
- func (x *TextDatasetMetadata) GetGcsBucket() string
- func (*TextDatasetMetadata) ProtoMessage()
- func (x *TextDatasetMetadata) ProtoReflect() protoreflect.Message
- func (x *TextDatasetMetadata) Reset()
- func (x *TextDatasetMetadata) String() string
- type TextExtractionAnnotation
- func (*TextExtractionAnnotation) Descriptor() ([]byte, []int)
- func (x *TextExtractionAnnotation) GetAnnotationSpecId() string
- func (x *TextExtractionAnnotation) GetDisplayName() string
- func (x *TextExtractionAnnotation) GetTextSegment() *TextSegment
- func (*TextExtractionAnnotation) ProtoMessage()
- func (x *TextExtractionAnnotation) ProtoReflect() protoreflect.Message
- func (x *TextExtractionAnnotation) Reset()
- func (x *TextExtractionAnnotation) String() string
- type TextSegment
- func (*TextSegment) Descriptor() ([]byte, []int)
- func (x *TextSegment) GetContent() string
- func (x *TextSegment) GetEndOffset() uint64
- func (x *TextSegment) GetStartOffset() uint64
- func (*TextSegment) ProtoMessage()
- func (x *TextSegment) ProtoReflect() protoreflect.Message
- func (x *TextSegment) Reset()
- func (x *TextSegment) String() string
- type TextSentimentAnnotation
- func (*TextSentimentAnnotation) Descriptor() ([]byte, []int)
- func (x *TextSentimentAnnotation) GetAnnotationSpecId() string
- func (x *TextSentimentAnnotation) GetDisplayName() string
- func (x *TextSentimentAnnotation) GetSentiment() int32
- func (x *TextSentimentAnnotation) GetSentimentMax() int32
- func (*TextSentimentAnnotation) ProtoMessage()
- func (x *TextSentimentAnnotation) ProtoReflect() protoreflect.Message
- func (x *TextSentimentAnnotation) Reset()
- func (x *TextSentimentAnnotation) String() string
- type TimeSegment
- func (*TimeSegment) Descriptor() ([]byte, []int)
- func (x *TimeSegment) GetEndTimeOffset() *durationpb.Duration
- func (x *TimeSegment) GetStartTimeOffset() *durationpb.Duration
- func (*TimeSegment) ProtoMessage()
- func (x *TimeSegment) ProtoReflect() protoreflect.Message
- func (x *TimeSegment) Reset()
- func (x *TimeSegment) String() string
- type TimeSeriesDatasetMetadata
- func (*TimeSeriesDatasetMetadata) Descriptor() ([]byte, []int)
- func (x *TimeSeriesDatasetMetadata) GetInputConfig() *TimeSeriesDatasetMetadata_InputConfig
- func (x *TimeSeriesDatasetMetadata) GetTimeColumn() string
- func (x *TimeSeriesDatasetMetadata) GetTimeSeriesIdentifierColumn() string
- func (*TimeSeriesDatasetMetadata) ProtoMessage()
- func (x *TimeSeriesDatasetMetadata) ProtoReflect() protoreflect.Message
- func (x *TimeSeriesDatasetMetadata) Reset()
- func (x *TimeSeriesDatasetMetadata) String() string
- type TimeSeriesDatasetMetadata_BigQuerySource
- func (*TimeSeriesDatasetMetadata_BigQuerySource) Descriptor() ([]byte, []int)
- func (x *TimeSeriesDatasetMetadata_BigQuerySource) GetUri() string
- func (*TimeSeriesDatasetMetadata_BigQuerySource) ProtoMessage()
- func (x *TimeSeriesDatasetMetadata_BigQuerySource) ProtoReflect() protoreflect.Message
- func (x *TimeSeriesDatasetMetadata_BigQuerySource) Reset()
- func (x *TimeSeriesDatasetMetadata_BigQuerySource) String() string
- type TimeSeriesDatasetMetadata_GcsSource
- func (*TimeSeriesDatasetMetadata_GcsSource) Descriptor() ([]byte, []int)
- func (x *TimeSeriesDatasetMetadata_GcsSource) GetUri() []string
- func (*TimeSeriesDatasetMetadata_GcsSource) ProtoMessage()
- func (x *TimeSeriesDatasetMetadata_GcsSource) ProtoReflect() protoreflect.Message
- func (x *TimeSeriesDatasetMetadata_GcsSource) Reset()
- func (x *TimeSeriesDatasetMetadata_GcsSource) String() string
- type TimeSeriesDatasetMetadata_InputConfig
- func (*TimeSeriesDatasetMetadata_InputConfig) Descriptor() ([]byte, []int)
- func (x *TimeSeriesDatasetMetadata_InputConfig) GetBigquerySource() *TimeSeriesDatasetMetadata_BigQuerySource
- func (x *TimeSeriesDatasetMetadata_InputConfig) GetGcsSource() *TimeSeriesDatasetMetadata_GcsSource
- func (m *TimeSeriesDatasetMetadata_InputConfig) GetSource() isTimeSeriesDatasetMetadata_InputConfig_Source
- func (*TimeSeriesDatasetMetadata_InputConfig) ProtoMessage()
- func (x *TimeSeriesDatasetMetadata_InputConfig) ProtoReflect() protoreflect.Message
- func (x *TimeSeriesDatasetMetadata_InputConfig) Reset()
- func (x *TimeSeriesDatasetMetadata_InputConfig) String() string
- type TimeSeriesDatasetMetadata_InputConfig_BigquerySource
- type TimeSeriesDatasetMetadata_InputConfig_GcsSource
- type Vertex
- func (*Vertex) Descriptor() ([]byte, []int)
- func (x *Vertex) GetX() float64
- func (x *Vertex) GetY() float64
- func (*Vertex) ProtoMessage()
- func (x *Vertex) ProtoReflect() protoreflect.Message
- func (x *Vertex) Reset()
- func (x *Vertex) String() string
- type VideoActionRecognitionAnnotation
- func (*VideoActionRecognitionAnnotation) Descriptor() ([]byte, []int)
- func (x *VideoActionRecognitionAnnotation) GetAnnotationSpecId() string
- func (x *VideoActionRecognitionAnnotation) GetDisplayName() string
- func (x *VideoActionRecognitionAnnotation) GetTimeSegment() *TimeSegment
- func (*VideoActionRecognitionAnnotation) ProtoMessage()
- func (x *VideoActionRecognitionAnnotation) ProtoReflect() protoreflect.Message
- func (x *VideoActionRecognitionAnnotation) Reset()
- func (x *VideoActionRecognitionAnnotation) String() string
- type VideoClassificationAnnotation
- func (*VideoClassificationAnnotation) Descriptor() ([]byte, []int)
- func (x *VideoClassificationAnnotation) GetAnnotationSpecId() string
- func (x *VideoClassificationAnnotation) GetDisplayName() string
- func (x *VideoClassificationAnnotation) GetTimeSegment() *TimeSegment
- func (*VideoClassificationAnnotation) ProtoMessage()
- func (x *VideoClassificationAnnotation) ProtoReflect() protoreflect.Message
- func (x *VideoClassificationAnnotation) Reset()
- func (x *VideoClassificationAnnotation) String() string
- type VideoDataItem
- func (*VideoDataItem) Descriptor() ([]byte, []int)
- func (x *VideoDataItem) GetGcsUri() string
- func (x *VideoDataItem) GetMimeType() string
- func (*VideoDataItem) ProtoMessage()
- func (x *VideoDataItem) ProtoReflect() protoreflect.Message
- func (x *VideoDataItem) Reset()
- func (x *VideoDataItem) String() string
- type VideoDatasetMetadata
- func (*VideoDatasetMetadata) Descriptor() ([]byte, []int)
- func (x *VideoDatasetMetadata) GetDataItemSchemaUri() string
- func (x *VideoDatasetMetadata) GetGcsBucket() string
- func (*VideoDatasetMetadata) ProtoMessage()
- func (x *VideoDatasetMetadata) ProtoReflect() protoreflect.Message
- func (x *VideoDatasetMetadata) Reset()
- func (x *VideoDatasetMetadata) String() string
- type VideoObjectTrackingAnnotation
- func (*VideoObjectTrackingAnnotation) Descriptor() ([]byte, []int)
- func (x *VideoObjectTrackingAnnotation) GetAnnotationSpecId() string
- func (x *VideoObjectTrackingAnnotation) GetDisplayName() string
- func (x *VideoObjectTrackingAnnotation) GetInstanceId() int64
- func (x *VideoObjectTrackingAnnotation) GetTimeOffset() *durationpb.Duration
- func (x *VideoObjectTrackingAnnotation) GetXMax() float64
- func (x *VideoObjectTrackingAnnotation) GetXMin() float64
- func (x *VideoObjectTrackingAnnotation) GetYMax() float64
- func (x *VideoObjectTrackingAnnotation) GetYMin() float64
- func (*VideoObjectTrackingAnnotation) ProtoMessage()
- func (x *VideoObjectTrackingAnnotation) ProtoReflect() protoreflect.Message
- func (x *VideoObjectTrackingAnnotation) Reset()
- func (x *VideoObjectTrackingAnnotation) String() string
Variables ¶
var File_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto protoreflect.FileDescriptor
var File_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto protoreflect.FileDescriptor
var File_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto protoreflect.FileDescriptor
var File_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto protoreflect.FileDescriptor
var File_google_cloud_aiplatform_v1beta1_schema_geometry_proto protoreflect.FileDescriptor
var File_google_cloud_aiplatform_v1beta1_schema_io_format_proto protoreflect.FileDescriptor
Types ¶
type AnnotationSpecColor ¶
type AnnotationSpecColor struct {
// The color of the AnnotationSpec in a segmentation mask.
Color *color.Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"`
// The display name of the AnnotationSpec represented by the color in the
// segmentation mask.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The ID of the AnnotationSpec represented by the color in the segmentation
// mask.
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
An entry of mapping between color and AnnotationSpec. The mapping is used in segmentation mask.
func (*AnnotationSpecColor) Descriptor ¶
func (*AnnotationSpecColor) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationSpecColor.ProtoReflect.Descriptor instead.
func (*AnnotationSpecColor) GetColor ¶
func (x *AnnotationSpecColor) GetColor() *color.Color
func (*AnnotationSpecColor) GetDisplayName ¶
func (x *AnnotationSpecColor) GetDisplayName() string
func (*AnnotationSpecColor) GetId ¶
func (x *AnnotationSpecColor) GetId() string
func (*AnnotationSpecColor) ProtoMessage ¶
func (*AnnotationSpecColor) ProtoMessage()
func (*AnnotationSpecColor) ProtoReflect ¶
func (x *AnnotationSpecColor) ProtoReflect() protoreflect.Message
func (*AnnotationSpecColor) Reset ¶
func (x *AnnotationSpecColor) Reset()
func (*AnnotationSpecColor) String ¶
func (x *AnnotationSpecColor) String() string
type ImageBoundingBoxAnnotation ¶
type ImageBoundingBoxAnnotation struct {
// The resource Id of the AnnotationSpec that this Annotation pertains to.
AnnotationSpecId string `protobuf:"bytes,1,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
// The display name of the AnnotationSpec that this Annotation pertains to.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The leftmost coordinate of the bounding box.
XMin float64 `protobuf:"fixed64,3,opt,name=x_min,json=xMin,proto3" json:"x_min,omitempty"`
// The rightmost coordinate of the bounding box.
XMax float64 `protobuf:"fixed64,4,opt,name=x_max,json=xMax,proto3" json:"x_max,omitempty"`
// The topmost coordinate of the bounding box.
YMin float64 `protobuf:"fixed64,5,opt,name=y_min,json=yMin,proto3" json:"y_min,omitempty"`
// The bottommost coordinate of the bounding box.
YMax float64 `protobuf:"fixed64,6,opt,name=y_max,json=yMax,proto3" json:"y_max,omitempty"`
// contains filtered or unexported fields
}
Annotation details specific to image object detection.
func (*ImageBoundingBoxAnnotation) Descriptor ¶
func (*ImageBoundingBoxAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use ImageBoundingBoxAnnotation.ProtoReflect.Descriptor instead.
func (*ImageBoundingBoxAnnotation) GetAnnotationSpecId ¶
func (x *ImageBoundingBoxAnnotation) GetAnnotationSpecId() string
func (*ImageBoundingBoxAnnotation) GetDisplayName ¶
func (x *ImageBoundingBoxAnnotation) GetDisplayName() string
func (*ImageBoundingBoxAnnotation) GetXMax ¶
func (x *ImageBoundingBoxAnnotation) GetXMax() float64
func (*ImageBoundingBoxAnnotation) GetXMin ¶
func (x *ImageBoundingBoxAnnotation) GetXMin() float64
func (*ImageBoundingBoxAnnotation) GetYMax ¶
func (x *ImageBoundingBoxAnnotation) GetYMax() float64
func (*ImageBoundingBoxAnnotation) GetYMin ¶
func (x *ImageBoundingBoxAnnotation) GetYMin() float64
func (*ImageBoundingBoxAnnotation) ProtoMessage ¶
func (*ImageBoundingBoxAnnotation) ProtoMessage()
func (*ImageBoundingBoxAnnotation) ProtoReflect ¶
func (x *ImageBoundingBoxAnnotation) ProtoReflect() protoreflect.Message
func (*ImageBoundingBoxAnnotation) Reset ¶
func (x *ImageBoundingBoxAnnotation) Reset()
func (*ImageBoundingBoxAnnotation) String ¶
func (x *ImageBoundingBoxAnnotation) String() string
type ImageClassificationAnnotation ¶
type ImageClassificationAnnotation struct {
// The resource Id of the AnnotationSpec that this Annotation pertains to.
AnnotationSpecId string `protobuf:"bytes,1,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
// The display name of the AnnotationSpec that this Annotation pertains to.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
Annotation details specific to image classification.
func (*ImageClassificationAnnotation) Descriptor ¶
func (*ImageClassificationAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use ImageClassificationAnnotation.ProtoReflect.Descriptor instead.
func (*ImageClassificationAnnotation) GetAnnotationSpecId ¶
func (x *ImageClassificationAnnotation) GetAnnotationSpecId() string
func (*ImageClassificationAnnotation) GetDisplayName ¶
func (x *ImageClassificationAnnotation) GetDisplayName() string
func (*ImageClassificationAnnotation) ProtoMessage ¶
func (*ImageClassificationAnnotation) ProtoMessage()
func (*ImageClassificationAnnotation) ProtoReflect ¶
func (x *ImageClassificationAnnotation) ProtoReflect() protoreflect.Message
func (*ImageClassificationAnnotation) Reset ¶
func (x *ImageClassificationAnnotation) Reset()
func (*ImageClassificationAnnotation) String ¶
func (x *ImageClassificationAnnotation) String() string
type ImageDataItem ¶
type ImageDataItem struct {
// Required. Google Cloud Storage URI points to the original image in user's bucket.
// The image is up to 30MB in size.
GcsUri string `protobuf:"bytes,1,opt,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"`
// Output only. The mime type of the content of the image. Only the images in below listed
// mime types are supported.
// - image/jpeg
// - image/gif
// - image/png
// - image/webp
// - image/bmp
// - image/tiff
// - image/vnd.microsoft.icon
MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
// contains filtered or unexported fields
}
Payload of Image DataItem.
func (*ImageDataItem) Descriptor ¶
func (*ImageDataItem) Descriptor() ([]byte, []int)
Deprecated: Use ImageDataItem.ProtoReflect.Descriptor instead.
func (*ImageDataItem) GetGcsUri ¶
func (x *ImageDataItem) GetGcsUri() string
func (*ImageDataItem) GetMimeType ¶
func (x *ImageDataItem) GetMimeType() string
func (*ImageDataItem) ProtoMessage ¶
func (*ImageDataItem) ProtoMessage()
func (*ImageDataItem) ProtoReflect ¶
func (x *ImageDataItem) ProtoReflect() protoreflect.Message
func (*ImageDataItem) Reset ¶
func (x *ImageDataItem) Reset()
func (*ImageDataItem) String ¶
func (x *ImageDataItem) String() string
type ImageDatasetMetadata ¶
type ImageDatasetMetadata struct {
// Points to a YAML file stored on Google Cloud Storage describing payload of
// the Image DataItems that belong to this Dataset.
DataItemSchemaUri string `protobuf:"bytes,1,opt,name=data_item_schema_uri,json=dataItemSchemaUri,proto3" json:"data_item_schema_uri,omitempty"`
// Google Cloud Storage Bucket name that contains the blob data of this
// Dataset.
GcsBucket string `protobuf:"bytes,2,opt,name=gcs_bucket,json=gcsBucket,proto3" json:"gcs_bucket,omitempty"`
// contains filtered or unexported fields
}
The metadata of Datasets that contain Image DataItems.
func (*ImageDatasetMetadata) Descriptor ¶
func (*ImageDatasetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImageDatasetMetadata.ProtoReflect.Descriptor instead.
func (*ImageDatasetMetadata) GetDataItemSchemaUri ¶
func (x *ImageDatasetMetadata) GetDataItemSchemaUri() string
func (*ImageDatasetMetadata) GetGcsBucket ¶
func (x *ImageDatasetMetadata) GetGcsBucket() string
func (*ImageDatasetMetadata) ProtoMessage ¶
func (*ImageDatasetMetadata) ProtoMessage()
func (*ImageDatasetMetadata) ProtoReflect ¶
func (x *ImageDatasetMetadata) ProtoReflect() protoreflect.Message
func (*ImageDatasetMetadata) Reset ¶
func (x *ImageDatasetMetadata) Reset()
func (*ImageDatasetMetadata) String ¶
func (x *ImageDatasetMetadata) String() string
type ImageSegmentationAnnotation ¶
type ImageSegmentationAnnotation struct {
// Types that are assignable to Annotation:
//
// *ImageSegmentationAnnotation_MaskAnnotation_
// *ImageSegmentationAnnotation_PolygonAnnotation_
// *ImageSegmentationAnnotation_PolylineAnnotation_
Annotation isImageSegmentationAnnotation_Annotation `protobuf_oneof:"annotation"`
// contains filtered or unexported fields
}
Annotation details specific to image segmentation.
func (*ImageSegmentationAnnotation) Descriptor ¶
func (*ImageSegmentationAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use ImageSegmentationAnnotation.ProtoReflect.Descriptor instead.
func (*ImageSegmentationAnnotation) GetAnnotation ¶
func (m *ImageSegmentationAnnotation) GetAnnotation() isImageSegmentationAnnotation_Annotation
func (*ImageSegmentationAnnotation) GetMaskAnnotation ¶
func (x *ImageSegmentationAnnotation) GetMaskAnnotation() *ImageSegmentationAnnotation_MaskAnnotation
func (*ImageSegmentationAnnotation) GetPolygonAnnotation ¶
func (x *ImageSegmentationAnnotation) GetPolygonAnnotation() *ImageSegmentationAnnotation_PolygonAnnotation
func (*ImageSegmentationAnnotation) GetPolylineAnnotation ¶
func (x *ImageSegmentationAnnotation) GetPolylineAnnotation() *ImageSegmentationAnnotation_PolylineAnnotation
func (*ImageSegmentationAnnotation) ProtoMessage ¶
func (*ImageSegmentationAnnotation) ProtoMessage()
func (*ImageSegmentationAnnotation) ProtoReflect ¶
func (x *ImageSegmentationAnnotation) ProtoReflect() protoreflect.Message
func (*ImageSegmentationAnnotation) Reset ¶
func (x *ImageSegmentationAnnotation) Reset()
func (*ImageSegmentationAnnotation) String ¶
func (x *ImageSegmentationAnnotation) String() string
type ImageSegmentationAnnotation_MaskAnnotation ¶
type ImageSegmentationAnnotation_MaskAnnotation struct {
// Google Cloud Storage URI that points to the mask image. The image must be
// in PNG format. It must have the same size as the DataItem's image. Each
// pixel in the image mask represents the AnnotationSpec which the pixel in
// the image DataItem belong to. Each color is mapped to one AnnotationSpec
// based on annotation_spec_colors.
MaskGcsUri string `protobuf:"bytes,1,opt,name=mask_gcs_uri,json=maskGcsUri,proto3" json:"mask_gcs_uri,omitempty"`
// The mapping between color and AnnotationSpec for this Annotation.
AnnotationSpecColors []*AnnotationSpecColor `protobuf:"bytes,2,rep,name=annotation_spec_colors,json=annotationSpecColors,proto3" json:"annotation_spec_colors,omitempty"`
// contains filtered or unexported fields
}
The mask based segmentation annotation.
func (*ImageSegmentationAnnotation_MaskAnnotation) Descriptor ¶
func (*ImageSegmentationAnnotation_MaskAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use ImageSegmentationAnnotation_MaskAnnotation.ProtoReflect.Descriptor instead.
func (*ImageSegmentationAnnotation_MaskAnnotation) GetAnnotationSpecColors ¶
func (x *ImageSegmentationAnnotation_MaskAnnotation) GetAnnotationSpecColors() []*AnnotationSpecColor
func (*ImageSegmentationAnnotation_MaskAnnotation) GetMaskGcsUri ¶
func (x *ImageSegmentationAnnotation_MaskAnnotation) GetMaskGcsUri() string
func (*ImageSegmentationAnnotation_MaskAnnotation) ProtoMessage ¶
func (*ImageSegmentationAnnotation_MaskAnnotation) ProtoMessage()
func (*ImageSegmentationAnnotation_MaskAnnotation) ProtoReflect ¶
func (x *ImageSegmentationAnnotation_MaskAnnotation) ProtoReflect() protoreflect.Message
func (*ImageSegmentationAnnotation_MaskAnnotation) Reset ¶
func (x *ImageSegmentationAnnotation_MaskAnnotation) Reset()
func (*ImageSegmentationAnnotation_MaskAnnotation) String ¶
func (x *ImageSegmentationAnnotation_MaskAnnotation) String() string
type ImageSegmentationAnnotation_MaskAnnotation_ ¶
type ImageSegmentationAnnotation_MaskAnnotation_ struct {
// Mask based segmentation annotation. Only one mask annotation can exist
// for one image.
MaskAnnotation *ImageSegmentationAnnotation_MaskAnnotation `protobuf:"bytes,3,opt,name=mask_annotation,json=maskAnnotation,proto3,oneof"`
}
type ImageSegmentationAnnotation_PolygonAnnotation ¶
type ImageSegmentationAnnotation_PolygonAnnotation struct {
// The vertexes are connected one by one and the last vertex is connected to
// the first one to represent a polygon.
Vertexes []*Vertex `protobuf:"bytes,1,rep,name=vertexes,proto3" json:"vertexes,omitempty"`
// The resource Id of the AnnotationSpec that this Annotation pertains to.
AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
// The display name of the AnnotationSpec that this Annotation pertains to.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
Represents a polygon in image.
func (*ImageSegmentationAnnotation_PolygonAnnotation) Descriptor ¶
func (*ImageSegmentationAnnotation_PolygonAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use ImageSegmentationAnnotation_PolygonAnnotation.ProtoReflect.Descriptor instead.
func (*ImageSegmentationAnnotation_PolygonAnnotation) GetAnnotationSpecId ¶
func (x *ImageSegmentationAnnotation_PolygonAnnotation) GetAnnotationSpecId() string
func (*ImageSegmentationAnnotation_PolygonAnnotation) GetDisplayName ¶
func (x *ImageSegmentationAnnotation_PolygonAnnotation) GetDisplayName() string
func (*ImageSegmentationAnnotation_PolygonAnnotation) GetVertexes ¶
func (x *ImageSegmentationAnnotation_PolygonAnnotation) GetVertexes() []*Vertex
func (*ImageSegmentationAnnotation_PolygonAnnotation) ProtoMessage ¶
func (*ImageSegmentationAnnotation_PolygonAnnotation) ProtoMessage()
func (*ImageSegmentationAnnotation_PolygonAnnotation) ProtoReflect ¶
func (x *ImageSegmentationAnnotation_PolygonAnnotation) ProtoReflect() protoreflect.Message
func (*ImageSegmentationAnnotation_PolygonAnnotation) Reset ¶
func (x *ImageSegmentationAnnotation_PolygonAnnotation) Reset()
func (*ImageSegmentationAnnotation_PolygonAnnotation) String ¶
func (x *ImageSegmentationAnnotation_PolygonAnnotation) String() string
type ImageSegmentationAnnotation_PolygonAnnotation_ ¶
type ImageSegmentationAnnotation_PolygonAnnotation_ struct {
// Polygon annotation.
PolygonAnnotation *ImageSegmentationAnnotation_PolygonAnnotation `protobuf:"bytes,4,opt,name=polygon_annotation,json=polygonAnnotation,proto3,oneof"`
}
type ImageSegmentationAnnotation_PolylineAnnotation ¶
type ImageSegmentationAnnotation_PolylineAnnotation struct {
// The vertexes are connected one by one and the last vertex in not
// connected to the first one.
Vertexes []*Vertex `protobuf:"bytes,1,rep,name=vertexes,proto3" json:"vertexes,omitempty"`
// The resource Id of the AnnotationSpec that this Annotation pertains to.
AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
// The display name of the AnnotationSpec that this Annotation pertains to.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
Represents a polyline in image.
func (*ImageSegmentationAnnotation_PolylineAnnotation) Descriptor ¶
func (*ImageSegmentationAnnotation_PolylineAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use ImageSegmentationAnnotation_PolylineAnnotation.ProtoReflect.Descriptor instead.
func (*ImageSegmentationAnnotation_PolylineAnnotation) GetAnnotationSpecId ¶
func (x *ImageSegmentationAnnotation_PolylineAnnotation) GetAnnotationSpecId() string
func (*ImageSegmentationAnnotation_PolylineAnnotation) GetDisplayName ¶
func (x *ImageSegmentationAnnotation_PolylineAnnotation) GetDisplayName() string
func (*ImageSegmentationAnnotation_PolylineAnnotation) GetVertexes ¶
func (x *ImageSegmentationAnnotation_PolylineAnnotation) GetVertexes() []*Vertex
func (*ImageSegmentationAnnotation_PolylineAnnotation) ProtoMessage ¶
func (*ImageSegmentationAnnotation_PolylineAnnotation) ProtoMessage()
func (*ImageSegmentationAnnotation_PolylineAnnotation) ProtoReflect ¶
func (x *ImageSegmentationAnnotation_PolylineAnnotation) ProtoReflect() protoreflect.Message
func (*ImageSegmentationAnnotation_PolylineAnnotation) Reset ¶
func (x *ImageSegmentationAnnotation_PolylineAnnotation) Reset()
func (*ImageSegmentationAnnotation_PolylineAnnotation) String ¶
func (x *ImageSegmentationAnnotation_PolylineAnnotation) String() string
type ImageSegmentationAnnotation_PolylineAnnotation_ ¶
type ImageSegmentationAnnotation_PolylineAnnotation_ struct {
// Polyline annotation.
PolylineAnnotation *ImageSegmentationAnnotation_PolylineAnnotation `protobuf:"bytes,5,opt,name=polyline_annotation,json=polylineAnnotation,proto3,oneof"`
}
type PredictionResult ¶
type PredictionResult struct {
// Some identifier from the input so that the prediction can be mapped back to
// the input instance.
//
// Types that are assignable to Input:
// *PredictionResult_Instance
// *PredictionResult_Key
Input isPredictionResult_Input `protobuf_oneof:"input"`
// The prediction result.
// Value is used here instead of Any so that JsonFormat does not append an
// extra "@type" field when we convert the proto to JSON and so we can
// represent array of objects.
// Do not set error if this is set.
Prediction *structpb.Value `protobuf:"bytes,3,opt,name=prediction,proto3" json:"prediction,omitempty"`
// The error result.
// Do not set prediction if this is set.
Error *PredictionResult_Error `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
Represents a line of JSONL in the batch prediction output file.
func (*PredictionResult) Descriptor ¶
func (*PredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use PredictionResult.ProtoReflect.Descriptor instead.
func (*PredictionResult) GetError ¶
func (x *PredictionResult) GetError() *PredictionResult_Error
func (*PredictionResult) GetInput ¶
func (m *PredictionResult) GetInput() isPredictionResult_Input
func (*PredictionResult) GetInstance ¶
func (x *PredictionResult) GetInstance() *structpb.Struct
func (*PredictionResult) GetKey ¶
func (x *PredictionResult) GetKey() string
func (*PredictionResult) GetPrediction ¶
func (x *PredictionResult) GetPrediction() *structpb.Value
func (*PredictionResult) ProtoMessage ¶
func (*PredictionResult) ProtoMessage()
func (*PredictionResult) ProtoReflect ¶
func (x *PredictionResult) ProtoReflect() protoreflect.Message
func (*PredictionResult) Reset ¶
func (x *PredictionResult) Reset()
func (*PredictionResult) String ¶
func (x *PredictionResult) String() string
type PredictionResult_Error ¶
type PredictionResult_Error struct {
// Error status. This will be serialized into the enum name e.g.
// "NOT_FOUND".
Status code.Code `protobuf:"varint,1,opt,name=status,proto3,enum=google.rpc.Code" json:"status,omitempty"`
// Error message with additional details.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*PredictionResult_Error) Descriptor ¶
func (*PredictionResult_Error) Descriptor() ([]byte, []int)
Deprecated: Use PredictionResult_Error.ProtoReflect.Descriptor instead.
func (*PredictionResult_Error) GetMessage ¶
func (x *PredictionResult_Error) GetMessage() string
func (*PredictionResult_Error) GetStatus ¶
func (x *PredictionResult_Error) GetStatus() code.Code
func (*PredictionResult_Error) ProtoMessage ¶
func (*PredictionResult_Error) ProtoMessage()
func (*PredictionResult_Error) ProtoReflect ¶
func (x *PredictionResult_Error) ProtoReflect() protoreflect.Message
func (*PredictionResult_Error) Reset ¶
func (x *PredictionResult_Error) Reset()
func (*PredictionResult_Error) String ¶
func (x *PredictionResult_Error) String() string
type PredictionResult_Instance ¶
type PredictionResult_Instance struct {
// User's input instance.
// Struct is used here instead of Any so that JsonFormat does not append an
// extra "@type" field when we convert the proto to JSON.
Instance *structpb.Struct `protobuf:"bytes,1,opt,name=instance,proto3,oneof"`
}
type PredictionResult_Key ¶
type PredictionResult_Key struct {
// Optional user-provided key from the input instance.
Key string `protobuf:"bytes,2,opt,name=key,proto3,oneof"`
}
type TablesDatasetMetadata ¶
type TablesDatasetMetadata struct {
InputConfig *TablesDatasetMetadata_InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
// contains filtered or unexported fields
}
The metadata of Datasets that contain tables data.
func (*TablesDatasetMetadata) Descriptor ¶
func (*TablesDatasetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TablesDatasetMetadata.ProtoReflect.Descriptor instead.
func (*TablesDatasetMetadata) GetInputConfig ¶
func (x *TablesDatasetMetadata) GetInputConfig() *TablesDatasetMetadata_InputConfig
func (*TablesDatasetMetadata) ProtoMessage ¶
func (*TablesDatasetMetadata) ProtoMessage()
func (*TablesDatasetMetadata) ProtoReflect ¶
func (x *TablesDatasetMetadata) ProtoReflect() protoreflect.Message
func (*TablesDatasetMetadata) Reset ¶
func (x *TablesDatasetMetadata) Reset()
func (*TablesDatasetMetadata) String ¶
func (x *TablesDatasetMetadata) String() string
type TablesDatasetMetadata_BigQuerySource ¶
type TablesDatasetMetadata_BigQuerySource struct {
// The URI of a BigQuery table.
// e.g. bq://projectId.bqDatasetId.bqTableId
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
func (*TablesDatasetMetadata_BigQuerySource) Descriptor ¶
func (*TablesDatasetMetadata_BigQuerySource) Descriptor() ([]byte, []int)
Deprecated: Use TablesDatasetMetadata_BigQuerySource.ProtoReflect.Descriptor instead.
func (*TablesDatasetMetadata_BigQuerySource) GetUri ¶
func (x *TablesDatasetMetadata_BigQuerySource) GetUri() string
func (*TablesDatasetMetadata_BigQuerySource) ProtoMessage ¶
func (*TablesDatasetMetadata_BigQuerySource) ProtoMessage()
func (*TablesDatasetMetadata_BigQuerySource) ProtoReflect ¶
func (x *TablesDatasetMetadata_BigQuerySource) ProtoReflect() protoreflect.Message
func (*TablesDatasetMetadata_BigQuerySource) Reset ¶
func (x *TablesDatasetMetadata_BigQuerySource) Reset()
func (*TablesDatasetMetadata_BigQuerySource) String ¶
func (x *TablesDatasetMetadata_BigQuerySource) String() string
type TablesDatasetMetadata_GcsSource ¶
type TablesDatasetMetadata_GcsSource struct {
// Cloud Storage URI of one or more files. Only CSV files are supported.
// The first line of the CSV file is used as the header.
// If there are multiple files, the header is the first line of
// the lexicographically first file, the other files must either
// contain the exact same header or omit the header.
Uri []string `protobuf:"bytes,1,rep,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
func (*TablesDatasetMetadata_GcsSource) Descriptor ¶
func (*TablesDatasetMetadata_GcsSource) Descriptor() ([]byte, []int)
Deprecated: Use TablesDatasetMetadata_GcsSource.ProtoReflect.Descriptor instead.
func (*TablesDatasetMetadata_GcsSource) GetUri ¶
func (x *TablesDatasetMetadata_GcsSource) GetUri() []string
func (*TablesDatasetMetadata_GcsSource) ProtoMessage ¶
func (*TablesDatasetMetadata_GcsSource) ProtoMessage()
func (*TablesDatasetMetadata_GcsSource) ProtoReflect ¶
func (x *TablesDatasetMetadata_GcsSource) ProtoReflect() protoreflect.Message
func (*TablesDatasetMetadata_GcsSource) Reset ¶
func (x *TablesDatasetMetadata_GcsSource) Reset()
func (*TablesDatasetMetadata_GcsSource) String ¶
func (x *TablesDatasetMetadata_GcsSource) String() string
type TablesDatasetMetadata_InputConfig ¶
type TablesDatasetMetadata_InputConfig struct {
// Types that are assignable to Source:
//
// *TablesDatasetMetadata_InputConfig_GcsSource
// *TablesDatasetMetadata_InputConfig_BigquerySource
Source isTablesDatasetMetadata_InputConfig_Source `protobuf_oneof:"source"`
// contains filtered or unexported fields
}
The tables Dataset's data source. The Dataset doesn't store the data directly, but only pointer(s) to its data.
func (*TablesDatasetMetadata_InputConfig) Descriptor ¶
func (*TablesDatasetMetadata_InputConfig) Descriptor() ([]byte, []int)
Deprecated: Use TablesDatasetMetadata_InputConfig.ProtoReflect.Descriptor instead.
func (*TablesDatasetMetadata_InputConfig) GetBigquerySource ¶
func (x *TablesDatasetMetadata_InputConfig) GetBigquerySource() *TablesDatasetMetadata_BigQuerySource
func (*TablesDatasetMetadata_InputConfig) GetGcsSource ¶
func (x *TablesDatasetMetadata_InputConfig) GetGcsSource() *TablesDatasetMetadata_GcsSource
func (*TablesDatasetMetadata_InputConfig) GetSource ¶
func (m *TablesDatasetMetadata_InputConfig) GetSource() isTablesDatasetMetadata_InputConfig_Source
func (*TablesDatasetMetadata_InputConfig) ProtoMessage ¶
func (*TablesDatasetMetadata_InputConfig) ProtoMessage()
func (*TablesDatasetMetadata_InputConfig) ProtoReflect ¶
func (x *TablesDatasetMetadata_InputConfig) ProtoReflect() protoreflect.Message
func (*TablesDatasetMetadata_InputConfig) Reset ¶
func (x *TablesDatasetMetadata_InputConfig) Reset()
func (*TablesDatasetMetadata_InputConfig) String ¶
func (x *TablesDatasetMetadata_InputConfig) String() string
type TablesDatasetMetadata_InputConfig_BigquerySource ¶
type TablesDatasetMetadata_InputConfig_BigquerySource struct {
BigquerySource *TablesDatasetMetadata_BigQuerySource `protobuf:"bytes,2,opt,name=bigquery_source,json=bigquerySource,proto3,oneof"`
}
type TablesDatasetMetadata_InputConfig_GcsSource ¶
type TablesDatasetMetadata_InputConfig_GcsSource struct {
GcsSource *TablesDatasetMetadata_GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}
type TextClassificationAnnotation ¶
type TextClassificationAnnotation struct {
// The resource Id of the AnnotationSpec that this Annotation pertains to.
AnnotationSpecId string `protobuf:"bytes,1,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
// The display name of the AnnotationSpec that this Annotation pertains to.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
Annotation details specific to text classification.
func (*TextClassificationAnnotation) Descriptor ¶
func (*TextClassificationAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use TextClassificationAnnotation.ProtoReflect.Descriptor instead.
func (*TextClassificationAnnotation) GetAnnotationSpecId ¶
func (x *TextClassificationAnnotation) GetAnnotationSpecId() string
func (*TextClassificationAnnotation) GetDisplayName ¶
func (x *TextClassificationAnnotation) GetDisplayName() string
func (*TextClassificationAnnotation) ProtoMessage ¶
func (*TextClassificationAnnotation) ProtoMessage()
func (*TextClassificationAnnotation) ProtoReflect ¶
func (x *TextClassificationAnnotation) ProtoReflect() protoreflect.Message
func (*TextClassificationAnnotation) Reset ¶
func (x *TextClassificationAnnotation) Reset()
func (*TextClassificationAnnotation) String ¶
func (x *TextClassificationAnnotation) String() string
type TextDataItem ¶
type TextDataItem struct {
// Output only. Google Cloud Storage URI points to the original text in user's bucket.
// The text file is up to 10MB in size.
GcsUri string `protobuf:"bytes,1,opt,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"`
// contains filtered or unexported fields
}
Payload of Text DataItem.
func (*TextDataItem) Descriptor ¶
func (*TextDataItem) Descriptor() ([]byte, []int)
Deprecated: Use TextDataItem.ProtoReflect.Descriptor instead.
func (*TextDataItem) GetGcsUri ¶
func (x *TextDataItem) GetGcsUri() string
func (*TextDataItem) ProtoMessage ¶
func (*TextDataItem) ProtoMessage()
func (*TextDataItem) ProtoReflect ¶
func (x *TextDataItem) ProtoReflect() protoreflect.Message
func (*TextDataItem) Reset ¶
func (x *TextDataItem) Reset()
func (*TextDataItem) String ¶
func (x *TextDataItem) String() string
type TextDatasetMetadata ¶
type TextDatasetMetadata struct {
// Points to a YAML file stored on Google Cloud Storage describing payload of
// the Text DataItems that belong to this Dataset.
DataItemSchemaUri string `protobuf:"bytes,1,opt,name=data_item_schema_uri,json=dataItemSchemaUri,proto3" json:"data_item_schema_uri,omitempty"`
// Google Cloud Storage Bucket name that contains the blob data of this
// Dataset.
GcsBucket string `protobuf:"bytes,2,opt,name=gcs_bucket,json=gcsBucket,proto3" json:"gcs_bucket,omitempty"`
// contains filtered or unexported fields
}
The metadata of Datasets that contain Text DataItems.
func (*TextDatasetMetadata) Descriptor ¶
func (*TextDatasetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TextDatasetMetadata.ProtoReflect.Descriptor instead.
func (*TextDatasetMetadata) GetDataItemSchemaUri ¶
func (x *TextDatasetMetadata) GetDataItemSchemaUri() string
func (*TextDatasetMetadata) GetGcsBucket ¶
func (x *TextDatasetMetadata) GetGcsBucket() string
func (*TextDatasetMetadata) ProtoMessage ¶
func (*TextDatasetMetadata) ProtoMessage()
func (*TextDatasetMetadata) ProtoReflect ¶
func (x *TextDatasetMetadata) ProtoReflect() protoreflect.Message
func (*TextDatasetMetadata) Reset ¶
func (x *TextDatasetMetadata) Reset()
func (*TextDatasetMetadata) String ¶
func (x *TextDatasetMetadata) String() string
type TextExtractionAnnotation ¶
type TextExtractionAnnotation struct {
// The segment of the text content.
TextSegment *TextSegment `protobuf:"bytes,1,opt,name=text_segment,json=textSegment,proto3" json:"text_segment,omitempty"`
// The resource Id of the AnnotationSpec that this Annotation pertains to.
AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
// The display name of the AnnotationSpec that this Annotation pertains to.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
Annotation details specific to text extraction.
func (*TextExtractionAnnotation) Descriptor ¶
func (*TextExtractionAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use TextExtractionAnnotation.ProtoReflect.Descriptor instead.
func (*TextExtractionAnnotation) GetAnnotationSpecId ¶
func (x *TextExtractionAnnotation) GetAnnotationSpecId() string
func (*TextExtractionAnnotation) GetDisplayName ¶
func (x *TextExtractionAnnotation) GetDisplayName() string
func (*TextExtractionAnnotation) GetTextSegment ¶
func (x *TextExtractionAnnotation) GetTextSegment() *TextSegment
func (*TextExtractionAnnotation) ProtoMessage ¶
func (*TextExtractionAnnotation) ProtoMessage()
func (*TextExtractionAnnotation) ProtoReflect ¶
func (x *TextExtractionAnnotation) ProtoReflect() protoreflect.Message
func (*TextExtractionAnnotation) Reset ¶
func (x *TextExtractionAnnotation) Reset()
func (*TextExtractionAnnotation) String ¶
func (x *TextExtractionAnnotation) String() string
type TextSegment ¶
type TextSegment struct {
// Zero-based character index of the first character of the text
// segment (counting characters from the beginning of the text).
StartOffset uint64 `protobuf:"varint,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"`
// Zero-based character index of the first character past the end of
// the text segment (counting character from the beginning of the text).
// The character at the end_offset is NOT included in the text segment.
EndOffset uint64 `protobuf:"varint,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"`
// The text content in the segment for output only.
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}
The text segment inside of DataItem.
func (*TextSegment) Descriptor ¶
func (*TextSegment) Descriptor() ([]byte, []int)
Deprecated: Use TextSegment.ProtoReflect.Descriptor instead.
func (*TextSegment) GetContent ¶
func (x *TextSegment) GetContent() string
func (*TextSegment) GetEndOffset ¶
func (x *TextSegment) GetEndOffset() uint64
func (*TextSegment) GetStartOffset ¶
func (x *TextSegment) GetStartOffset() uint64
func (*TextSegment) ProtoMessage ¶
func (*TextSegment) ProtoMessage()
func (*TextSegment) ProtoReflect ¶
func (x *TextSegment) ProtoReflect() protoreflect.Message
func (*TextSegment) Reset ¶
func (x *TextSegment) Reset()
func (*TextSegment) String ¶
func (x *TextSegment) String() string
type TextSentimentAnnotation ¶
type TextSentimentAnnotation struct {
// The sentiment score for text.
Sentiment int32 `protobuf:"varint,1,opt,name=sentiment,proto3" json:"sentiment,omitempty"`
// The sentiment max score for text.
SentimentMax int32 `protobuf:"varint,2,opt,name=sentiment_max,json=sentimentMax,proto3" json:"sentiment_max,omitempty"`
// The resource Id of the AnnotationSpec that this Annotation pertains to.
AnnotationSpecId string `protobuf:"bytes,3,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
// The display name of the AnnotationSpec that this Annotation pertains to.
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
Annotation details specific to text sentiment.
func (*TextSentimentAnnotation) Descriptor ¶
func (*TextSentimentAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use TextSentimentAnnotation.ProtoReflect.Descriptor instead.
func (*TextSentimentAnnotation) GetAnnotationSpecId ¶
func (x *TextSentimentAnnotation) GetAnnotationSpecId() string
func (*TextSentimentAnnotation) GetDisplayName ¶
func (x *TextSentimentAnnotation) GetDisplayName() string
func (*TextSentimentAnnotation) GetSentiment ¶
func (x *TextSentimentAnnotation) GetSentiment() int32
func (*TextSentimentAnnotation) GetSentimentMax ¶
func (x *TextSentimentAnnotation) GetSentimentMax() int32
func (*TextSentimentAnnotation) ProtoMessage ¶
func (*TextSentimentAnnotation) ProtoMessage()
func (*TextSentimentAnnotation) ProtoReflect ¶
func (x *TextSentimentAnnotation) ProtoReflect() protoreflect.Message
func (*TextSentimentAnnotation) Reset ¶
func (x *TextSentimentAnnotation) Reset()
func (*TextSentimentAnnotation) String ¶
func (x *TextSentimentAnnotation) String() string
type TimeSegment ¶
type TimeSegment struct {
// Start of the time segment (inclusive), represented as the duration since
// the start of the DataItem.
StartTimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
// End of the time segment (exclusive), represented as the duration since the
// start of the DataItem.
EndTimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"`
// contains filtered or unexported fields
}
A time period inside of a DataItem that has a time dimension (e.g. video).
func (*TimeSegment) Descriptor ¶
func (*TimeSegment) Descriptor() ([]byte, []int)
Deprecated: Use TimeSegment.ProtoReflect.Descriptor instead.
func (*TimeSegment) GetEndTimeOffset ¶
func (x *TimeSegment) GetEndTimeOffset() *durationpb.Duration
func (*TimeSegment) GetStartTimeOffset ¶
func (x *TimeSegment) GetStartTimeOffset() *durationpb.Duration
func (*TimeSegment) ProtoMessage ¶
func (*TimeSegment) ProtoMessage()
func (*TimeSegment) ProtoReflect ¶
func (x *TimeSegment) ProtoReflect() protoreflect.Message
func (*TimeSegment) Reset ¶
func (x *TimeSegment) Reset()
func (*TimeSegment) String ¶
func (x *TimeSegment) String() string
type TimeSeriesDatasetMetadata ¶
type TimeSeriesDatasetMetadata struct {
InputConfig *TimeSeriesDatasetMetadata_InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
// The column name of the time series identifier column that identifies the
// time series.
TimeSeriesIdentifierColumn string `protobuf:"bytes,2,opt,name=time_series_identifier_column,json=timeSeriesIdentifierColumn,proto3" json:"time_series_identifier_column,omitempty"`
// The column name of the time column that identifies time order in the time
// series.
TimeColumn string `protobuf:"bytes,3,opt,name=time_column,json=timeColumn,proto3" json:"time_column,omitempty"`
// contains filtered or unexported fields
}
The metadata of Datasets that contain time series data.
func (*TimeSeriesDatasetMetadata) Descriptor ¶
func (*TimeSeriesDatasetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TimeSeriesDatasetMetadata.ProtoReflect.Descriptor instead.
func (*TimeSeriesDatasetMetadata) GetInputConfig ¶
func (x *TimeSeriesDatasetMetadata) GetInputConfig() *TimeSeriesDatasetMetadata_InputConfig
func (*TimeSeriesDatasetMetadata) GetTimeColumn ¶
func (x *TimeSeriesDatasetMetadata) GetTimeColumn() string
func (*TimeSeriesDatasetMetadata) GetTimeSeriesIdentifierColumn ¶
func (x *TimeSeriesDatasetMetadata) GetTimeSeriesIdentifierColumn() string
func (*TimeSeriesDatasetMetadata) ProtoMessage ¶
func (*TimeSeriesDatasetMetadata) ProtoMessage()
func (*TimeSeriesDatasetMetadata) ProtoReflect ¶
func (x *TimeSeriesDatasetMetadata) ProtoReflect() protoreflect.Message
func (*TimeSeriesDatasetMetadata) Reset ¶
func (x *TimeSeriesDatasetMetadata) Reset()
func (*TimeSeriesDatasetMetadata) String ¶
func (x *TimeSeriesDatasetMetadata) String() string
type TimeSeriesDatasetMetadata_BigQuerySource ¶
type TimeSeriesDatasetMetadata_BigQuerySource struct {
// The URI of a BigQuery table.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
func (*TimeSeriesDatasetMetadata_BigQuerySource) Descriptor ¶
func (*TimeSeriesDatasetMetadata_BigQuerySource) Descriptor() ([]byte, []int)
Deprecated: Use TimeSeriesDatasetMetadata_BigQuerySource.ProtoReflect.Descriptor instead.
func (*TimeSeriesDatasetMetadata_BigQuerySource) GetUri ¶
func (x *TimeSeriesDatasetMetadata_BigQuerySource) GetUri() string
func (*TimeSeriesDatasetMetadata_BigQuerySource) ProtoMessage ¶
func (*TimeSeriesDatasetMetadata_BigQuerySource) ProtoMessage()
func (*TimeSeriesDatasetMetadata_BigQuerySource) ProtoReflect ¶
func (x *TimeSeriesDatasetMetadata_BigQuerySource) ProtoReflect() protoreflect.Message
func (*TimeSeriesDatasetMetadata_BigQuerySource) Reset ¶
func (x *TimeSeriesDatasetMetadata_BigQuerySource) Reset()
func (*TimeSeriesDatasetMetadata_BigQuerySource) String ¶
func (x *TimeSeriesDatasetMetadata_BigQuerySource) String() string
type TimeSeriesDatasetMetadata_GcsSource ¶
type TimeSeriesDatasetMetadata_GcsSource struct {
// Cloud Storage URI of one or more files. Only CSV files are supported.
// The first line of the CSV file is used as the header.
// If there are multiple files, the header is the first line of
// the lexicographically first file, the other files must either
// contain the exact same header or omit the header.
Uri []string `protobuf:"bytes,1,rep,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
func (*TimeSeriesDatasetMetadata_GcsSource) Descriptor ¶
func (*TimeSeriesDatasetMetadata_GcsSource) Descriptor() ([]byte, []int)
Deprecated: Use TimeSeriesDatasetMetadata_GcsSource.ProtoReflect.Descriptor instead.
func (*TimeSeriesDatasetMetadata_GcsSource) GetUri ¶
func (x *TimeSeriesDatasetMetadata_GcsSource) GetUri() []string
func (*TimeSeriesDatasetMetadata_GcsSource) ProtoMessage ¶
func (*TimeSeriesDatasetMetadata_GcsSource) ProtoMessage()
func (*TimeSeriesDatasetMetadata_GcsSource) ProtoReflect ¶
func (x *TimeSeriesDatasetMetadata_GcsSource) ProtoReflect() protoreflect.Message
func (*TimeSeriesDatasetMetadata_GcsSource) Reset ¶
func (x *TimeSeriesDatasetMetadata_GcsSource) Reset()
func (*TimeSeriesDatasetMetadata_GcsSource) String ¶
func (x *TimeSeriesDatasetMetadata_GcsSource) String() string
type TimeSeriesDatasetMetadata_InputConfig ¶
type TimeSeriesDatasetMetadata_InputConfig struct {
// Types that are assignable to Source:
//
// *TimeSeriesDatasetMetadata_InputConfig_GcsSource
// *TimeSeriesDatasetMetadata_InputConfig_BigquerySource
Source isTimeSeriesDatasetMetadata_InputConfig_Source `protobuf_oneof:"source"`
// contains filtered or unexported fields
}
The time series Dataset's data source. The Dataset doesn't store the data directly, but only pointer(s) to its data.
func (*TimeSeriesDatasetMetadata_InputConfig) Descriptor ¶
func (*TimeSeriesDatasetMetadata_InputConfig) Descriptor() ([]byte, []int)
Deprecated: Use TimeSeriesDatasetMetadata_InputConfig.ProtoReflect.Descriptor instead.
func (*TimeSeriesDatasetMetadata_InputConfig) GetBigquerySource ¶
func (x *TimeSeriesDatasetMetadata_InputConfig) GetBigquerySource() *TimeSeriesDatasetMetadata_BigQuerySource
func (*TimeSeriesDatasetMetadata_InputConfig) GetGcsSource ¶
func (x *TimeSeriesDatasetMetadata_InputConfig) GetGcsSource() *TimeSeriesDatasetMetadata_GcsSource
func (*TimeSeriesDatasetMetadata_InputConfig) GetSource ¶
func (m *TimeSeriesDatasetMetadata_InputConfig) GetSource() isTimeSeriesDatasetMetadata_InputConfig_Source
func (*TimeSeriesDatasetMetadata_InputConfig) ProtoMessage ¶
func (*TimeSeriesDatasetMetadata_InputConfig) ProtoMessage()
func (*TimeSeriesDatasetMetadata_InputConfig) ProtoReflect ¶
func (x *TimeSeriesDatasetMetadata_InputConfig) ProtoReflect() protoreflect.Message
func (*TimeSeriesDatasetMetadata_InputConfig) Reset ¶
func (x *TimeSeriesDatasetMetadata_InputConfig) Reset()
func (*TimeSeriesDatasetMetadata_InputConfig) String ¶
func (x *TimeSeriesDatasetMetadata_InputConfig) String() string
type TimeSeriesDatasetMetadata_InputConfig_BigquerySource ¶
type TimeSeriesDatasetMetadata_InputConfig_BigquerySource struct {
BigquerySource *TimeSeriesDatasetMetadata_BigQuerySource `protobuf:"bytes,2,opt,name=bigquery_source,json=bigquerySource,proto3,oneof"`
}
type TimeSeriesDatasetMetadata_InputConfig_GcsSource ¶
type TimeSeriesDatasetMetadata_InputConfig_GcsSource struct {
GcsSource *TimeSeriesDatasetMetadata_GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}
type Vertex ¶
type Vertex struct {
// X coordinate.
X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
// Y coordinate.
Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
// contains filtered or unexported fields
}
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 (*Vertex) Descriptor ¶
Deprecated: Use Vertex.ProtoReflect.Descriptor instead.
func (*Vertex) GetX ¶
func (*Vertex) GetY ¶
func (*Vertex) ProtoMessage ¶
func (*Vertex) ProtoMessage()
func (*Vertex) ProtoReflect ¶
func (x *Vertex) ProtoReflect() protoreflect.Message
func (*Vertex) Reset ¶
func (x *Vertex) Reset()
func (*Vertex) String ¶
type VideoActionRecognitionAnnotation ¶
type VideoActionRecognitionAnnotation struct {
// This Annotation applies to the time period represented by the TimeSegment.
// If it's not set, the Annotation applies to the whole video.
TimeSegment *TimeSegment `protobuf:"bytes,1,opt,name=time_segment,json=timeSegment,proto3" json:"time_segment,omitempty"`
// The resource Id of the AnnotationSpec that this Annotation pertains to.
AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
// The display name of the AnnotationSpec that this Annotation pertains to.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
Annotation details specific to video action recognition.
func (*VideoActionRecognitionAnnotation) Descriptor ¶
func (*VideoActionRecognitionAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use VideoActionRecognitionAnnotation.ProtoReflect.Descriptor instead.
func (*VideoActionRecognitionAnnotation) GetAnnotationSpecId ¶
func (x *VideoActionRecognitionAnnotation) GetAnnotationSpecId() string
func (*VideoActionRecognitionAnnotation) GetDisplayName ¶
func (x *VideoActionRecognitionAnnotation) GetDisplayName() string
func (*VideoActionRecognitionAnnotation) GetTimeSegment ¶
func (x *VideoActionRecognitionAnnotation) GetTimeSegment() *TimeSegment
func (*VideoActionRecognitionAnnotation) ProtoMessage ¶
func (*VideoActionRecognitionAnnotation) ProtoMessage()
func (*VideoActionRecognitionAnnotation) ProtoReflect ¶
func (x *VideoActionRecognitionAnnotation) ProtoReflect() protoreflect.Message
func (*VideoActionRecognitionAnnotation) Reset ¶
func (x *VideoActionRecognitionAnnotation) Reset()
func (*VideoActionRecognitionAnnotation) String ¶
func (x *VideoActionRecognitionAnnotation) String() string
type VideoClassificationAnnotation ¶
type VideoClassificationAnnotation struct {
// This Annotation applies to the time period represented by the TimeSegment.
// If it's not set, the Annotation applies to the whole video.
TimeSegment *TimeSegment `protobuf:"bytes,1,opt,name=time_segment,json=timeSegment,proto3" json:"time_segment,omitempty"`
// The resource Id of the AnnotationSpec that this Annotation pertains to.
AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
// The display name of the AnnotationSpec that this Annotation pertains to.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
Annotation details specific to video classification.
func (*VideoClassificationAnnotation) Descriptor ¶
func (*VideoClassificationAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use VideoClassificationAnnotation.ProtoReflect.Descriptor instead.
func (*VideoClassificationAnnotation) GetAnnotationSpecId ¶
func (x *VideoClassificationAnnotation) GetAnnotationSpecId() string
func (*VideoClassificationAnnotation) GetDisplayName ¶
func (x *VideoClassificationAnnotation) GetDisplayName() string
func (*VideoClassificationAnnotation) GetTimeSegment ¶
func (x *VideoClassificationAnnotation) GetTimeSegment() *TimeSegment
func (*VideoClassificationAnnotation) ProtoMessage ¶
func (*VideoClassificationAnnotation) ProtoMessage()
func (*VideoClassificationAnnotation) ProtoReflect ¶
func (x *VideoClassificationAnnotation) ProtoReflect() protoreflect.Message
func (*VideoClassificationAnnotation) Reset ¶
func (x *VideoClassificationAnnotation) Reset()
func (*VideoClassificationAnnotation) String ¶
func (x *VideoClassificationAnnotation) String() string
type VideoDataItem ¶
type VideoDataItem struct {
// Required. Google Cloud Storage URI points to the original video in user's bucket.
// The video is up to 50 GB in size and up to 3 hour in duration.
GcsUri string `protobuf:"bytes,1,opt,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"`
// Output only. The mime type of the content of the video. Only the videos in below listed
// mime types are supported.
// Supported mime_type:
// - video/mp4
// - video/avi
// - video/quicktime
MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
// contains filtered or unexported fields
}
Payload of Video DataItem.
func (*VideoDataItem) Descriptor ¶
func (*VideoDataItem) Descriptor() ([]byte, []int)
Deprecated: Use VideoDataItem.ProtoReflect.Descriptor instead.
func (*VideoDataItem) GetGcsUri ¶
func (x *VideoDataItem) GetGcsUri() string
func (*VideoDataItem) GetMimeType ¶
func (x *VideoDataItem) GetMimeType() string
func (*VideoDataItem) ProtoMessage ¶
func (*VideoDataItem) ProtoMessage()
func (*VideoDataItem) ProtoReflect ¶
func (x *VideoDataItem) ProtoReflect() protoreflect.Message
func (*VideoDataItem) Reset ¶
func (x *VideoDataItem) Reset()
func (*VideoDataItem) String ¶
func (x *VideoDataItem) String() string
type VideoDatasetMetadata ¶
type VideoDatasetMetadata struct {
// Points to a YAML file stored on Google Cloud Storage describing payload of
// the Video DataItems that belong to this Dataset.
DataItemSchemaUri string `protobuf:"bytes,1,opt,name=data_item_schema_uri,json=dataItemSchemaUri,proto3" json:"data_item_schema_uri,omitempty"`
// Google Cloud Storage Bucket name that contains the blob data of this
// Dataset.
GcsBucket string `protobuf:"bytes,2,opt,name=gcs_bucket,json=gcsBucket,proto3" json:"gcs_bucket,omitempty"`
// contains filtered or unexported fields
}
The metadata of Datasets that contain Video DataItems.
func (*VideoDatasetMetadata) Descriptor ¶
func (*VideoDatasetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use VideoDatasetMetadata.ProtoReflect.Descriptor instead.
func (*VideoDatasetMetadata) GetDataItemSchemaUri ¶
func (x *VideoDatasetMetadata) GetDataItemSchemaUri() string
func (*VideoDatasetMetadata) GetGcsBucket ¶
func (x *VideoDatasetMetadata) GetGcsBucket() string
func (*VideoDatasetMetadata) ProtoMessage ¶
func (*VideoDatasetMetadata) ProtoMessage()
func (*VideoDatasetMetadata) ProtoReflect ¶
func (x *VideoDatasetMetadata) ProtoReflect() protoreflect.Message
func (*VideoDatasetMetadata) Reset ¶
func (x *VideoDatasetMetadata) Reset()
func (*VideoDatasetMetadata) String ¶
func (x *VideoDatasetMetadata) String() string
type VideoObjectTrackingAnnotation ¶
type VideoObjectTrackingAnnotation struct {
// A time (frame) of a video to which this annotation pertains.
// Represented as the duration since the video's start.
TimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
// The leftmost coordinate of the bounding box.
XMin float64 `protobuf:"fixed64,2,opt,name=x_min,json=xMin,proto3" json:"x_min,omitempty"`
// The rightmost coordinate of the bounding box.
XMax float64 `protobuf:"fixed64,3,opt,name=x_max,json=xMax,proto3" json:"x_max,omitempty"`
// The topmost coordinate of the bounding box.
YMin float64 `protobuf:"fixed64,4,opt,name=y_min,json=yMin,proto3" json:"y_min,omitempty"`
// The bottommost coordinate of the bounding box.
YMax float64 `protobuf:"fixed64,5,opt,name=y_max,json=yMax,proto3" json:"y_max,omitempty"`
// The instance of the object, expressed as a positive integer. Used to track
// the same object across different frames.
InstanceId int64 `protobuf:"varint,6,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// The resource Id of the AnnotationSpec that this Annotation pertains to.
AnnotationSpecId string `protobuf:"bytes,7,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
// The display name of the AnnotationSpec that this Annotation pertains to.
DisplayName string `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
Annotation details specific to video object tracking.
func (*VideoObjectTrackingAnnotation) Descriptor ¶
func (*VideoObjectTrackingAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use VideoObjectTrackingAnnotation.ProtoReflect.Descriptor instead.
func (*VideoObjectTrackingAnnotation) GetAnnotationSpecId ¶
func (x *VideoObjectTrackingAnnotation) GetAnnotationSpecId() string
func (*VideoObjectTrackingAnnotation) GetDisplayName ¶
func (x *VideoObjectTrackingAnnotation) GetDisplayName() string
func (*VideoObjectTrackingAnnotation) GetInstanceId ¶
func (x *VideoObjectTrackingAnnotation) GetInstanceId() int64
func (*VideoObjectTrackingAnnotation) GetTimeOffset ¶
func (x *VideoObjectTrackingAnnotation) GetTimeOffset() *durationpb.Duration
func (*VideoObjectTrackingAnnotation) GetXMax ¶
func (x *VideoObjectTrackingAnnotation) GetXMax() float64
func (*VideoObjectTrackingAnnotation) GetXMin ¶
func (x *VideoObjectTrackingAnnotation) GetXMin() float64
func (*VideoObjectTrackingAnnotation) GetYMax ¶
func (x *VideoObjectTrackingAnnotation) GetYMax() float64
func (*VideoObjectTrackingAnnotation) GetYMin ¶
func (x *VideoObjectTrackingAnnotation) GetYMin() float64
func (*VideoObjectTrackingAnnotation) ProtoMessage ¶
func (*VideoObjectTrackingAnnotation) ProtoMessage()
func (*VideoObjectTrackingAnnotation) ProtoReflect ¶
func (x *VideoObjectTrackingAnnotation) ProtoReflect() protoreflect.Message
func (*VideoObjectTrackingAnnotation) Reset ¶
func (x *VideoObjectTrackingAnnotation) Reset()
func (*VideoObjectTrackingAnnotation) String ¶
func (x *VideoObjectTrackingAnnotation) String() string
Source Files ¶
annotation_payload.pb.go annotation_spec_color.pb.go data_item_payload.pb.go dataset_metadata.pb.go geometry.pb.go io_format.pb.go
Directories ¶
- Version
- v0.0.0-20260427160629-7cedc36a6bc4 (latest)
- Published
- Apr 27, 2026
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 2 days ago –
Tools for package owners.