instance

package
v0.0.0-...-3abc09e Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ImageClassificationPredictionInstance

type ImageClassificationPredictionInstance struct {

	// The image bytes or Cloud Storage URI to make the prediction on.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// 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
}

Prediction input format for Image Classification.

func (*ImageClassificationPredictionInstance) Descriptor deprecated

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

Deprecated: Use ImageClassificationPredictionInstance.ProtoReflect.Descriptor instead.

func (*ImageClassificationPredictionInstance) GetContent

func (*ImageClassificationPredictionInstance) GetMimeType

func (*ImageClassificationPredictionInstance) ProtoMessage

func (*ImageClassificationPredictionInstance) ProtoMessage()

func (*ImageClassificationPredictionInstance) ProtoReflect

func (*ImageClassificationPredictionInstance) Reset

func (*ImageClassificationPredictionInstance) String

type ImageObjectDetectionPredictionInstance

type ImageObjectDetectionPredictionInstance struct {

	// The image bytes or Cloud Storage URI to make the prediction on.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// 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
}

Prediction input format for Image Object Detection.

func (*ImageObjectDetectionPredictionInstance) Descriptor deprecated

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

Deprecated: Use ImageObjectDetectionPredictionInstance.ProtoReflect.Descriptor instead.

func (*ImageObjectDetectionPredictionInstance) GetContent

func (*ImageObjectDetectionPredictionInstance) GetMimeType

func (*ImageObjectDetectionPredictionInstance) ProtoMessage

func (*ImageObjectDetectionPredictionInstance) ProtoReflect

func (*ImageObjectDetectionPredictionInstance) Reset

func (*ImageObjectDetectionPredictionInstance) String

type ImageSegmentationPredictionInstance

type ImageSegmentationPredictionInstance struct {

	// The image bytes to make the predictions on.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// The MIME type of the content of the image. Only the images in below listed
	// MIME types are supported.
	// - image/jpeg
	// - image/png
	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// contains filtered or unexported fields
}

Prediction input format for Image Segmentation.

func (*ImageSegmentationPredictionInstance) Descriptor deprecated

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

Deprecated: Use ImageSegmentationPredictionInstance.ProtoReflect.Descriptor instead.

func (*ImageSegmentationPredictionInstance) GetContent

func (*ImageSegmentationPredictionInstance) GetMimeType

func (*ImageSegmentationPredictionInstance) ProtoMessage

func (*ImageSegmentationPredictionInstance) ProtoMessage()

func (*ImageSegmentationPredictionInstance) ProtoReflect

func (*ImageSegmentationPredictionInstance) Reset

func (*ImageSegmentationPredictionInstance) String

type TextClassificationPredictionInstance

type TextClassificationPredictionInstance struct {

	// The text snippet to make the predictions on.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// The MIME type of the text snippet. The supported MIME types are listed
	// below.
	// - text/plain
	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// contains filtered or unexported fields
}

Prediction input format for Text Classification.

func (*TextClassificationPredictionInstance) Descriptor deprecated

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

Deprecated: Use TextClassificationPredictionInstance.ProtoReflect.Descriptor instead.

func (*TextClassificationPredictionInstance) GetContent

func (*TextClassificationPredictionInstance) GetMimeType

func (*TextClassificationPredictionInstance) ProtoMessage

func (*TextClassificationPredictionInstance) ProtoMessage()

func (*TextClassificationPredictionInstance) ProtoReflect

func (*TextClassificationPredictionInstance) Reset

func (*TextClassificationPredictionInstance) String

type TextExtractionPredictionInstance

type TextExtractionPredictionInstance struct {

	// The text snippet to make the predictions on.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// The MIME type of the text snippet. The supported MIME types are listed
	// below.
	// - text/plain
	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// This field is only used for batch prediction. If a key is provided, the
	// batch prediction result will by mapped to this key. If omitted, then the
	// batch prediction result will contain the entire input instance. Vertex AI
	// will not check if keys in the request are duplicates, so it is up to the
	// caller to ensure the keys are unique.
	Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

Prediction input format for Text Extraction.

func (*TextExtractionPredictionInstance) Descriptor deprecated

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

Deprecated: Use TextExtractionPredictionInstance.ProtoReflect.Descriptor instead.

func (*TextExtractionPredictionInstance) GetContent

func (x *TextExtractionPredictionInstance) GetContent() string

func (*TextExtractionPredictionInstance) GetKey

func (*TextExtractionPredictionInstance) GetMimeType

func (x *TextExtractionPredictionInstance) GetMimeType() string

func (*TextExtractionPredictionInstance) ProtoMessage

func (*TextExtractionPredictionInstance) ProtoMessage()

func (*TextExtractionPredictionInstance) ProtoReflect

func (*TextExtractionPredictionInstance) Reset

func (*TextExtractionPredictionInstance) String

type TextSentimentPredictionInstance

type TextSentimentPredictionInstance struct {

	// The text snippet to make the predictions on.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// The MIME type of the text snippet. The supported MIME types are listed
	// below.
	// - text/plain
	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// contains filtered or unexported fields
}

Prediction input format for Text Sentiment.

func (*TextSentimentPredictionInstance) Descriptor deprecated

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

Deprecated: Use TextSentimentPredictionInstance.ProtoReflect.Descriptor instead.

func (*TextSentimentPredictionInstance) GetContent

func (x *TextSentimentPredictionInstance) GetContent() string

func (*TextSentimentPredictionInstance) GetMimeType

func (x *TextSentimentPredictionInstance) GetMimeType() string

func (*TextSentimentPredictionInstance) ProtoMessage

func (*TextSentimentPredictionInstance) ProtoMessage()

func (*TextSentimentPredictionInstance) ProtoReflect

func (*TextSentimentPredictionInstance) Reset

func (*TextSentimentPredictionInstance) String

type VideoActionRecognitionPredictionInstance

type VideoActionRecognitionPredictionInstance struct {

	// The Google Cloud Storage location of the video on which to perform the
	// prediction.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// The MIME type of the content of the video. Only the following are
	// supported: video/mp4 video/avi video/quicktime
	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// The beginning, inclusive, of the video's time segment on which to perform
	// the prediction. Expressed as a number of seconds as measured from the
	// start of the video, with "s" appended at the end. Fractions are allowed,
	// up to a microsecond precision.
	TimeSegmentStart string `protobuf:"bytes,3,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"`
	// The end, exclusive, of the video's time segment on which to perform
	// the prediction. Expressed as a number of seconds as measured from the
	// start of the video, with "s" appended at the end. Fractions are allowed,
	// up to a microsecond precision, and "inf" or "Infinity" is allowed, which
	// means the end of the video.
	TimeSegmentEnd string `protobuf:"bytes,4,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"`
	// contains filtered or unexported fields
}

Prediction input format for Video Action Recognition.

func (*VideoActionRecognitionPredictionInstance) Descriptor deprecated

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

Deprecated: Use VideoActionRecognitionPredictionInstance.ProtoReflect.Descriptor instead.

func (*VideoActionRecognitionPredictionInstance) GetContent

func (*VideoActionRecognitionPredictionInstance) GetMimeType

func (*VideoActionRecognitionPredictionInstance) GetTimeSegmentEnd

func (x *VideoActionRecognitionPredictionInstance) GetTimeSegmentEnd() string

func (*VideoActionRecognitionPredictionInstance) GetTimeSegmentStart

func (x *VideoActionRecognitionPredictionInstance) GetTimeSegmentStart() string

func (*VideoActionRecognitionPredictionInstance) ProtoMessage

func (*VideoActionRecognitionPredictionInstance) ProtoReflect

func (*VideoActionRecognitionPredictionInstance) Reset

func (*VideoActionRecognitionPredictionInstance) String

type VideoClassificationPredictionInstance

type VideoClassificationPredictionInstance struct {

	// The Google Cloud Storage location of the video on which to perform the
	// prediction.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// The MIME type of the content of the video. Only the following are
	// supported: video/mp4 video/avi video/quicktime
	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// The beginning, inclusive, of the video's time segment on which to perform
	// the prediction. Expressed as a number of seconds as measured from the
	// start of the video, with "s" appended at the end. Fractions are allowed,
	// up to a microsecond precision.
	TimeSegmentStart string `protobuf:"bytes,3,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"`
	// The end, exclusive, of the video's time segment on which to perform
	// the prediction. Expressed as a number of seconds as measured from the
	// start of the video, with "s" appended at the end. Fractions are allowed,
	// up to a microsecond precision, and "inf" or "Infinity" is allowed, which
	// means the end of the video.
	TimeSegmentEnd string `protobuf:"bytes,4,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"`
	// contains filtered or unexported fields
}

Prediction input format for Video Classification.

func (*VideoClassificationPredictionInstance) Descriptor deprecated

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

Deprecated: Use VideoClassificationPredictionInstance.ProtoReflect.Descriptor instead.

func (*VideoClassificationPredictionInstance) GetContent

func (*VideoClassificationPredictionInstance) GetMimeType

func (*VideoClassificationPredictionInstance) GetTimeSegmentEnd

func (x *VideoClassificationPredictionInstance) GetTimeSegmentEnd() string

func (*VideoClassificationPredictionInstance) GetTimeSegmentStart

func (x *VideoClassificationPredictionInstance) GetTimeSegmentStart() string

func (*VideoClassificationPredictionInstance) ProtoMessage

func (*VideoClassificationPredictionInstance) ProtoMessage()

func (*VideoClassificationPredictionInstance) ProtoReflect

func (*VideoClassificationPredictionInstance) Reset

func (*VideoClassificationPredictionInstance) String

type VideoObjectTrackingPredictionInstance

type VideoObjectTrackingPredictionInstance struct {

	// The Google Cloud Storage location of the video on which to perform the
	// prediction.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// The MIME type of the content of the video. Only the following are
	// supported: video/mp4 video/avi video/quicktime
	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// The beginning, inclusive, of the video's time segment on which to perform
	// the prediction. Expressed as a number of seconds as measured from the
	// start of the video, with "s" appended at the end. Fractions are allowed,
	// up to a microsecond precision.
	TimeSegmentStart string `protobuf:"bytes,3,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"`
	// The end, exclusive, of the video's time segment on which to perform
	// the prediction. Expressed as a number of seconds as measured from the
	// start of the video, with "s" appended at the end. Fractions are allowed,
	// up to a microsecond precision, and "inf" or "Infinity" is allowed, which
	// means the end of the video.
	TimeSegmentEnd string `protobuf:"bytes,4,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"`
	// contains filtered or unexported fields
}

Prediction input format for Video Object Tracking.

func (*VideoObjectTrackingPredictionInstance) Descriptor deprecated

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

Deprecated: Use VideoObjectTrackingPredictionInstance.ProtoReflect.Descriptor instead.

func (*VideoObjectTrackingPredictionInstance) GetContent

func (*VideoObjectTrackingPredictionInstance) GetMimeType

func (*VideoObjectTrackingPredictionInstance) GetTimeSegmentEnd

func (x *VideoObjectTrackingPredictionInstance) GetTimeSegmentEnd() string

func (*VideoObjectTrackingPredictionInstance) GetTimeSegmentStart

func (x *VideoObjectTrackingPredictionInstance) GetTimeSegmentStart() string

func (*VideoObjectTrackingPredictionInstance) ProtoMessage

func (*VideoObjectTrackingPredictionInstance) ProtoMessage()

func (*VideoObjectTrackingPredictionInstance) ProtoReflect

func (*VideoObjectTrackingPredictionInstance) Reset

func (*VideoObjectTrackingPredictionInstance) String

Jump to

Keyboard shortcuts

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