Documentation ¶
Index ¶
- Variables
- func RegisterAutoMlServer(s *grpc.Server, srv AutoMlServer)
- func RegisterPredictionServiceServer(s *grpc.Server, srv PredictionServiceServer)
- type AnnotationPayload
- func (*AnnotationPayload) Descriptor() ([]byte, []int)
- func (m *AnnotationPayload) GetAnnotationSpecId() string
- func (m *AnnotationPayload) GetClassification() *ClassificationAnnotation
- func (m *AnnotationPayload) GetDetail() isAnnotationPayload_Detail
- func (m *AnnotationPayload) GetDisplayName() string
- func (m *AnnotationPayload) GetTranslation() *TranslationAnnotation
- func (*AnnotationPayload) ProtoMessage()
- func (m *AnnotationPayload) Reset()
- func (m *AnnotationPayload) String() string
- func (m *AnnotationPayload) XXX_DiscardUnknown()
- func (m *AnnotationPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnnotationPayload) XXX_Merge(src proto.Message)
- func (*AnnotationPayload) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *AnnotationPayload) XXX_Size() int
- func (m *AnnotationPayload) XXX_Unmarshal(b []byte) error
- type AnnotationPayload_Classification
- type AnnotationPayload_Translation
- type AutoMlClient
- type AutoMlServer
- type ClassificationAnnotation
- func (*ClassificationAnnotation) Descriptor() ([]byte, []int)
- func (m *ClassificationAnnotation) GetScore() float32
- func (*ClassificationAnnotation) ProtoMessage()
- func (m *ClassificationAnnotation) Reset()
- func (m *ClassificationAnnotation) String() string
- func (m *ClassificationAnnotation) XXX_DiscardUnknown()
- func (m *ClassificationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ClassificationAnnotation) XXX_Merge(src proto.Message)
- func (m *ClassificationAnnotation) XXX_Size() int
- func (m *ClassificationAnnotation) XXX_Unmarshal(b []byte) error
- type ClassificationEvaluationMetrics
- func (*ClassificationEvaluationMetrics) Descriptor() ([]byte, []int)
- func (m *ClassificationEvaluationMetrics) GetAnnotationSpecId() []string
- func (m *ClassificationEvaluationMetrics) GetAuPrc() float32
- func (m *ClassificationEvaluationMetrics) GetBaseAuPrc() float32
- func (m *ClassificationEvaluationMetrics) GetConfidenceMetricsEntry() []*ClassificationEvaluationMetrics_ConfidenceMetricsEntry
- func (m *ClassificationEvaluationMetrics) GetConfusionMatrix() *ClassificationEvaluationMetrics_ConfusionMatrix
- func (*ClassificationEvaluationMetrics) ProtoMessage()
- func (m *ClassificationEvaluationMetrics) Reset()
- func (m *ClassificationEvaluationMetrics) String() string
- func (m *ClassificationEvaluationMetrics) XXX_DiscardUnknown()
- func (m *ClassificationEvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ClassificationEvaluationMetrics) XXX_Merge(src proto.Message)
- func (m *ClassificationEvaluationMetrics) XXX_Size() int
- func (m *ClassificationEvaluationMetrics) XXX_Unmarshal(b []byte) error
- type ClassificationEvaluationMetrics_ConfidenceMetricsEntry
- func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) Descriptor() ([]byte, []int)
- func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetConfidenceThreshold() float32
- func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetF1Score() float32
- func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetF1ScoreAt1() float32
- func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetPrecision() float32
- func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetPrecisionAt1() float32
- func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetRecall() float32
- func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetRecallAt1() float32
- func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) ProtoMessage()
- func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) Reset()
- func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) String() string
- func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_DiscardUnknown()
- func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Merge(src proto.Message)
- func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Size() int
- func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Unmarshal(b []byte) error
- type ClassificationEvaluationMetrics_ConfusionMatrix
- func (*ClassificationEvaluationMetrics_ConfusionMatrix) Descriptor() ([]byte, []int)
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix) GetAnnotationSpecId() []string
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix) GetRow() []*ClassificationEvaluationMetrics_ConfusionMatrix_Row
- func (*ClassificationEvaluationMetrics_ConfusionMatrix) ProtoMessage()
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix) Reset()
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix) String() string
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_DiscardUnknown()
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Merge(src proto.Message)
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Size() int
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Unmarshal(b []byte) error
- type ClassificationEvaluationMetrics_ConfusionMatrix_Row
- func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) Descriptor() ([]byte, []int)
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) GetExampleCount() []int32
- func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) ProtoMessage()
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) Reset()
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) String() string
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_DiscardUnknown()
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Merge(src proto.Message)
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Size() int
- func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Unmarshal(b []byte) error
- type ClassificationType
- type CreateDatasetRequest
- func (*CreateDatasetRequest) Descriptor() ([]byte, []int)
- func (m *CreateDatasetRequest) GetDataset() *Dataset
- func (m *CreateDatasetRequest) GetParent() string
- func (*CreateDatasetRequest) ProtoMessage()
- func (m *CreateDatasetRequest) Reset()
- func (m *CreateDatasetRequest) String() string
- func (m *CreateDatasetRequest) XXX_DiscardUnknown()
- func (m *CreateDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateDatasetRequest) XXX_Merge(src proto.Message)
- func (m *CreateDatasetRequest) XXX_Size() int
- func (m *CreateDatasetRequest) XXX_Unmarshal(b []byte) error
- type CreateModelOperationMetadata
- func (*CreateModelOperationMetadata) Descriptor() ([]byte, []int)
- func (*CreateModelOperationMetadata) ProtoMessage()
- func (m *CreateModelOperationMetadata) Reset()
- func (m *CreateModelOperationMetadata) String() string
- func (m *CreateModelOperationMetadata) XXX_DiscardUnknown()
- func (m *CreateModelOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateModelOperationMetadata) XXX_Merge(src proto.Message)
- func (m *CreateModelOperationMetadata) XXX_Size() int
- func (m *CreateModelOperationMetadata) XXX_Unmarshal(b []byte) error
- type CreateModelRequest
- func (*CreateModelRequest) Descriptor() ([]byte, []int)
- func (m *CreateModelRequest) GetModel() *Model
- func (m *CreateModelRequest) GetParent() string
- func (*CreateModelRequest) ProtoMessage()
- func (m *CreateModelRequest) Reset()
- func (m *CreateModelRequest) String() string
- func (m *CreateModelRequest) XXX_DiscardUnknown()
- func (m *CreateModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateModelRequest) XXX_Merge(src proto.Message)
- func (m *CreateModelRequest) XXX_Size() int
- func (m *CreateModelRequest) XXX_Unmarshal(b []byte) error
- type Dataset
- func (*Dataset) Descriptor() ([]byte, []int)
- func (m *Dataset) GetCreateTime() *timestamp.Timestamp
- func (m *Dataset) GetDatasetMetadata() isDataset_DatasetMetadata
- func (m *Dataset) GetDisplayName() string
- func (m *Dataset) GetExampleCount() int32
- func (m *Dataset) GetImageClassificationDatasetMetadata() *ImageClassificationDatasetMetadata
- func (m *Dataset) GetName() string
- func (m *Dataset) GetTextClassificationDatasetMetadata() *TextClassificationDatasetMetadata
- func (m *Dataset) GetTranslationDatasetMetadata() *TranslationDatasetMetadata
- func (*Dataset) ProtoMessage()
- func (m *Dataset) Reset()
- func (m *Dataset) String() string
- func (m *Dataset) XXX_DiscardUnknown()
- func (m *Dataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Dataset) XXX_Merge(src proto.Message)
- func (*Dataset) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Dataset) XXX_Size() int
- func (m *Dataset) XXX_Unmarshal(b []byte) error
- type Dataset_ImageClassificationDatasetMetadata
- type Dataset_TextClassificationDatasetMetadata
- type Dataset_TranslationDatasetMetadata
- type DeleteDatasetRequest
- func (*DeleteDatasetRequest) Descriptor() ([]byte, []int)
- func (m *DeleteDatasetRequest) GetName() string
- func (*DeleteDatasetRequest) ProtoMessage()
- func (m *DeleteDatasetRequest) Reset()
- func (m *DeleteDatasetRequest) String() string
- func (m *DeleteDatasetRequest) XXX_DiscardUnknown()
- func (m *DeleteDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteDatasetRequest) XXX_Merge(src proto.Message)
- func (m *DeleteDatasetRequest) XXX_Size() int
- func (m *DeleteDatasetRequest) XXX_Unmarshal(b []byte) error
- type DeleteModelRequest
- func (*DeleteModelRequest) Descriptor() ([]byte, []int)
- func (m *DeleteModelRequest) GetName() string
- func (*DeleteModelRequest) ProtoMessage()
- func (m *DeleteModelRequest) Reset()
- func (m *DeleteModelRequest) String() string
- func (m *DeleteModelRequest) XXX_DiscardUnknown()
- func (m *DeleteModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteModelRequest) XXX_Merge(src proto.Message)
- func (m *DeleteModelRequest) XXX_Size() int
- func (m *DeleteModelRequest) XXX_Unmarshal(b []byte) error
- type DeployModelRequest
- func (*DeployModelRequest) Descriptor() ([]byte, []int)
- func (m *DeployModelRequest) GetName() string
- func (*DeployModelRequest) ProtoMessage()
- func (m *DeployModelRequest) Reset()
- func (m *DeployModelRequest) String() string
- func (m *DeployModelRequest) XXX_DiscardUnknown()
- func (m *DeployModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeployModelRequest) XXX_Merge(src proto.Message)
- func (m *DeployModelRequest) XXX_Size() int
- func (m *DeployModelRequest) XXX_Unmarshal(b []byte) error
- type ExamplePayload
- func (*ExamplePayload) Descriptor() ([]byte, []int)
- func (m *ExamplePayload) GetImage() *Image
- func (m *ExamplePayload) GetPayload() isExamplePayload_Payload
- func (m *ExamplePayload) GetTextSnippet() *TextSnippet
- func (*ExamplePayload) ProtoMessage()
- func (m *ExamplePayload) Reset()
- func (m *ExamplePayload) String() string
- func (m *ExamplePayload) XXX_DiscardUnknown()
- func (m *ExamplePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ExamplePayload) XXX_Merge(src proto.Message)
- func (*ExamplePayload) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ExamplePayload) XXX_Size() int
- func (m *ExamplePayload) XXX_Unmarshal(b []byte) error
- type ExamplePayload_Image
- type ExamplePayload_TextSnippet
- type ExportDataRequest
- func (*ExportDataRequest) Descriptor() ([]byte, []int)
- func (m *ExportDataRequest) GetName() string
- func (m *ExportDataRequest) GetOutputConfig() *OutputConfig
- func (*ExportDataRequest) ProtoMessage()
- func (m *ExportDataRequest) Reset()
- func (m *ExportDataRequest) String() string
- func (m *ExportDataRequest) XXX_DiscardUnknown()
- func (m *ExportDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ExportDataRequest) XXX_Merge(src proto.Message)
- func (m *ExportDataRequest) XXX_Size() int
- func (m *ExportDataRequest) XXX_Unmarshal(b []byte) error
- type GcsDestination
- func (*GcsDestination) Descriptor() ([]byte, []int)
- func (m *GcsDestination) GetOutputUriPrefix() string
- func (*GcsDestination) ProtoMessage()
- func (m *GcsDestination) Reset()
- func (m *GcsDestination) String() string
- func (m *GcsDestination) XXX_DiscardUnknown()
- func (m *GcsDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GcsDestination) XXX_Merge(src proto.Message)
- func (m *GcsDestination) XXX_Size() int
- func (m *GcsDestination) XXX_Unmarshal(b []byte) error
- type GcsSource
- func (*GcsSource) Descriptor() ([]byte, []int)
- func (m *GcsSource) GetInputUris() []string
- func (*GcsSource) ProtoMessage()
- func (m *GcsSource) Reset()
- func (m *GcsSource) String() string
- func (m *GcsSource) XXX_DiscardUnknown()
- func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GcsSource) XXX_Merge(src proto.Message)
- func (m *GcsSource) XXX_Size() int
- func (m *GcsSource) XXX_Unmarshal(b []byte) error
- type GetDatasetRequest
- func (*GetDatasetRequest) Descriptor() ([]byte, []int)
- func (m *GetDatasetRequest) GetName() string
- func (*GetDatasetRequest) ProtoMessage()
- func (m *GetDatasetRequest) Reset()
- func (m *GetDatasetRequest) String() string
- func (m *GetDatasetRequest) XXX_DiscardUnknown()
- func (m *GetDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDatasetRequest) XXX_Merge(src proto.Message)
- func (m *GetDatasetRequest) XXX_Size() int
- func (m *GetDatasetRequest) XXX_Unmarshal(b []byte) error
- type GetModelEvaluationRequest
- func (*GetModelEvaluationRequest) Descriptor() ([]byte, []int)
- func (m *GetModelEvaluationRequest) GetName() string
- func (*GetModelEvaluationRequest) ProtoMessage()
- func (m *GetModelEvaluationRequest) Reset()
- func (m *GetModelEvaluationRequest) String() string
- func (m *GetModelEvaluationRequest) XXX_DiscardUnknown()
- func (m *GetModelEvaluationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetModelEvaluationRequest) XXX_Merge(src proto.Message)
- func (m *GetModelEvaluationRequest) XXX_Size() int
- func (m *GetModelEvaluationRequest) XXX_Unmarshal(b []byte) error
- type GetModelRequest
- func (*GetModelRequest) Descriptor() ([]byte, []int)
- func (m *GetModelRequest) GetName() string
- func (*GetModelRequest) ProtoMessage()
- func (m *GetModelRequest) Reset()
- func (m *GetModelRequest) String() string
- func (m *GetModelRequest) XXX_DiscardUnknown()
- func (m *GetModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetModelRequest) XXX_Merge(src proto.Message)
- func (m *GetModelRequest) XXX_Size() int
- func (m *GetModelRequest) XXX_Unmarshal(b []byte) error
- type Image
- func (*Image) Descriptor() ([]byte, []int)
- func (m *Image) GetData() isImage_Data
- func (m *Image) GetImageBytes() []byte
- func (m *Image) GetInputConfig() *InputConfig
- func (m *Image) GetThumbnailUri() string
- func (*Image) ProtoMessage()
- func (m *Image) Reset()
- func (m *Image) String() string
- func (m *Image) XXX_DiscardUnknown()
- func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Image) XXX_Merge(src proto.Message)
- func (*Image) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Image) XXX_Size() int
- func (m *Image) XXX_Unmarshal(b []byte) error
- type ImageClassificationDatasetMetadata
- func (*ImageClassificationDatasetMetadata) Descriptor() ([]byte, []int)
- func (m *ImageClassificationDatasetMetadata) GetClassificationType() ClassificationType
- func (*ImageClassificationDatasetMetadata) ProtoMessage()
- func (m *ImageClassificationDatasetMetadata) Reset()
- func (m *ImageClassificationDatasetMetadata) String() string
- func (m *ImageClassificationDatasetMetadata) XXX_DiscardUnknown()
- func (m *ImageClassificationDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ImageClassificationDatasetMetadata) XXX_Merge(src proto.Message)
- func (m *ImageClassificationDatasetMetadata) XXX_Size() int
- func (m *ImageClassificationDatasetMetadata) XXX_Unmarshal(b []byte) error
- type ImageClassificationModelMetadata
- func (*ImageClassificationModelMetadata) Descriptor() ([]byte, []int)
- func (m *ImageClassificationModelMetadata) GetBaseModelId() string
- func (m *ImageClassificationModelMetadata) GetStopReason() string
- func (m *ImageClassificationModelMetadata) GetTrainBudget() int64
- func (m *ImageClassificationModelMetadata) GetTrainCost() int64
- func (*ImageClassificationModelMetadata) ProtoMessage()
- func (m *ImageClassificationModelMetadata) Reset()
- func (m *ImageClassificationModelMetadata) String() string
- func (m *ImageClassificationModelMetadata) XXX_DiscardUnknown()
- func (m *ImageClassificationModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ImageClassificationModelMetadata) XXX_Merge(src proto.Message)
- func (m *ImageClassificationModelMetadata) XXX_Size() int
- func (m *ImageClassificationModelMetadata) XXX_Unmarshal(b []byte) error
- type Image_ImageBytes
- type Image_InputConfig
- type ImportDataRequest
- func (*ImportDataRequest) Descriptor() ([]byte, []int)
- func (m *ImportDataRequest) GetInputConfig() *InputConfig
- func (m *ImportDataRequest) GetName() string
- func (*ImportDataRequest) ProtoMessage()
- func (m *ImportDataRequest) Reset()
- func (m *ImportDataRequest) String() string
- func (m *ImportDataRequest) XXX_DiscardUnknown()
- func (m *ImportDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ImportDataRequest) XXX_Merge(src proto.Message)
- func (m *ImportDataRequest) XXX_Size() int
- func (m *ImportDataRequest) XXX_Unmarshal(b []byte) error
- type InputConfig
- func (*InputConfig) Descriptor() ([]byte, []int)
- func (m *InputConfig) GetGcsSource() *GcsSource
- func (m *InputConfig) GetSource() isInputConfig_Source
- func (*InputConfig) ProtoMessage()
- func (m *InputConfig) Reset()
- func (m *InputConfig) String() string
- func (m *InputConfig) XXX_DiscardUnknown()
- func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InputConfig) XXX_Merge(src proto.Message)
- func (*InputConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *InputConfig) XXX_Size() int
- func (m *InputConfig) XXX_Unmarshal(b []byte) error
- type InputConfig_GcsSource
- type ListDatasetsRequest
- func (*ListDatasetsRequest) Descriptor() ([]byte, []int)
- func (m *ListDatasetsRequest) GetFilter() string
- func (m *ListDatasetsRequest) GetPageSize() int32
- func (m *ListDatasetsRequest) GetPageToken() string
- func (m *ListDatasetsRequest) GetParent() string
- func (*ListDatasetsRequest) ProtoMessage()
- func (m *ListDatasetsRequest) Reset()
- func (m *ListDatasetsRequest) String() string
- func (m *ListDatasetsRequest) XXX_DiscardUnknown()
- func (m *ListDatasetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListDatasetsRequest) XXX_Merge(src proto.Message)
- func (m *ListDatasetsRequest) XXX_Size() int
- func (m *ListDatasetsRequest) XXX_Unmarshal(b []byte) error
- type ListDatasetsResponse
- func (*ListDatasetsResponse) Descriptor() ([]byte, []int)
- func (m *ListDatasetsResponse) GetDatasets() []*Dataset
- func (m *ListDatasetsResponse) GetNextPageToken() string
- func (*ListDatasetsResponse) ProtoMessage()
- func (m *ListDatasetsResponse) Reset()
- func (m *ListDatasetsResponse) String() string
- func (m *ListDatasetsResponse) XXX_DiscardUnknown()
- func (m *ListDatasetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListDatasetsResponse) XXX_Merge(src proto.Message)
- func (m *ListDatasetsResponse) XXX_Size() int
- func (m *ListDatasetsResponse) XXX_Unmarshal(b []byte) error
- type ListModelEvaluationsRequest
- func (*ListModelEvaluationsRequest) Descriptor() ([]byte, []int)
- func (m *ListModelEvaluationsRequest) GetFilter() string
- func (m *ListModelEvaluationsRequest) GetPageSize() int32
- func (m *ListModelEvaluationsRequest) GetPageToken() string
- func (m *ListModelEvaluationsRequest) GetParent() string
- func (*ListModelEvaluationsRequest) ProtoMessage()
- func (m *ListModelEvaluationsRequest) Reset()
- func (m *ListModelEvaluationsRequest) String() string
- func (m *ListModelEvaluationsRequest) XXX_DiscardUnknown()
- func (m *ListModelEvaluationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListModelEvaluationsRequest) XXX_Merge(src proto.Message)
- func (m *ListModelEvaluationsRequest) XXX_Size() int
- func (m *ListModelEvaluationsRequest) XXX_Unmarshal(b []byte) error
- type ListModelEvaluationsResponse
- func (*ListModelEvaluationsResponse) Descriptor() ([]byte, []int)
- func (m *ListModelEvaluationsResponse) GetModelEvaluation() []*ModelEvaluation
- func (m *ListModelEvaluationsResponse) GetNextPageToken() string
- func (*ListModelEvaluationsResponse) ProtoMessage()
- func (m *ListModelEvaluationsResponse) Reset()
- func (m *ListModelEvaluationsResponse) String() string
- func (m *ListModelEvaluationsResponse) XXX_DiscardUnknown()
- func (m *ListModelEvaluationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListModelEvaluationsResponse) XXX_Merge(src proto.Message)
- func (m *ListModelEvaluationsResponse) XXX_Size() int
- func (m *ListModelEvaluationsResponse) XXX_Unmarshal(b []byte) error
- type ListModelsRequest
- func (*ListModelsRequest) Descriptor() ([]byte, []int)
- func (m *ListModelsRequest) GetFilter() string
- func (m *ListModelsRequest) GetPageSize() int32
- func (m *ListModelsRequest) GetPageToken() string
- func (m *ListModelsRequest) GetParent() string
- func (*ListModelsRequest) ProtoMessage()
- func (m *ListModelsRequest) Reset()
- func (m *ListModelsRequest) String() string
- func (m *ListModelsRequest) XXX_DiscardUnknown()
- func (m *ListModelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListModelsRequest) XXX_Merge(src proto.Message)
- func (m *ListModelsRequest) XXX_Size() int
- func (m *ListModelsRequest) XXX_Unmarshal(b []byte) error
- type ListModelsResponse
- func (*ListModelsResponse) Descriptor() ([]byte, []int)
- func (m *ListModelsResponse) GetModel() []*Model
- func (m *ListModelsResponse) GetNextPageToken() string
- func (*ListModelsResponse) ProtoMessage()
- func (m *ListModelsResponse) Reset()
- func (m *ListModelsResponse) String() string
- func (m *ListModelsResponse) XXX_DiscardUnknown()
- func (m *ListModelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListModelsResponse) XXX_Merge(src proto.Message)
- func (m *ListModelsResponse) XXX_Size() int
- func (m *ListModelsResponse) XXX_Unmarshal(b []byte) error
- type Model
- func (*Model) Descriptor() ([]byte, []int)
- func (m *Model) GetCreateTime() *timestamp.Timestamp
- func (m *Model) GetDatasetId() string
- func (m *Model) GetDeploymentState() Model_DeploymentState
- func (m *Model) GetDisplayName() string
- func (m *Model) GetImageClassificationModelMetadata() *ImageClassificationModelMetadata
- func (m *Model) GetModelMetadata() isModel_ModelMetadata
- func (m *Model) GetName() string
- func (m *Model) GetTextClassificationModelMetadata() *TextClassificationModelMetadata
- func (m *Model) GetTranslationModelMetadata() *TranslationModelMetadata
- func (m *Model) GetUpdateTime() *timestamp.Timestamp
- func (*Model) ProtoMessage()
- func (m *Model) Reset()
- func (m *Model) String() string
- func (m *Model) XXX_DiscardUnknown()
- func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Model) XXX_Merge(src proto.Message)
- func (*Model) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Model) XXX_Size() int
- func (m *Model) XXX_Unmarshal(b []byte) error
- type ModelEvaluation
- func (*ModelEvaluation) Descriptor() ([]byte, []int)
- func (m *ModelEvaluation) GetAnnotationSpecId() string
- func (m *ModelEvaluation) GetClassificationEvaluationMetrics() *ClassificationEvaluationMetrics
- func (m *ModelEvaluation) GetCreateTime() *timestamp.Timestamp
- func (m *ModelEvaluation) GetEvaluatedExampleCount() int32
- func (m *ModelEvaluation) GetMetrics() isModelEvaluation_Metrics
- func (m *ModelEvaluation) GetName() string
- func (m *ModelEvaluation) GetTranslationEvaluationMetrics() *TranslationEvaluationMetrics
- func (*ModelEvaluation) ProtoMessage()
- func (m *ModelEvaluation) Reset()
- func (m *ModelEvaluation) String() string
- func (m *ModelEvaluation) XXX_DiscardUnknown()
- func (m *ModelEvaluation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ModelEvaluation) XXX_Merge(src proto.Message)
- func (*ModelEvaluation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ModelEvaluation) XXX_Size() int
- func (m *ModelEvaluation) XXX_Unmarshal(b []byte) error
- type ModelEvaluation_ClassificationEvaluationMetrics
- type ModelEvaluation_TranslationEvaluationMetrics
- type Model_DeploymentState
- type Model_ImageClassificationModelMetadata
- type Model_TextClassificationModelMetadata
- type Model_TranslationModelMetadata
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)
- func (m *OperationMetadata) GetCreateModelDetails() *CreateModelOperationMetadata
- func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp
- func (m *OperationMetadata) GetDetails() isOperationMetadata_Details
- func (m *OperationMetadata) GetPartialFailures() []*status.Status
- func (m *OperationMetadata) GetProgressPercent() int32
- func (m *OperationMetadata) GetUpdateTime() *timestamp.Timestamp
- func (*OperationMetadata) ProtoMessage()
- func (m *OperationMetadata) Reset()
- func (m *OperationMetadata) String() string
- func (m *OperationMetadata) XXX_DiscardUnknown()
- func (m *OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OperationMetadata) XXX_Merge(src proto.Message)
- func (*OperationMetadata) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *OperationMetadata) XXX_Size() int
- func (m *OperationMetadata) XXX_Unmarshal(b []byte) error
- type OperationMetadata_CreateModelDetails
- type OutputConfig
- func (*OutputConfig) Descriptor() ([]byte, []int)
- func (m *OutputConfig) GetDestination() isOutputConfig_Destination
- func (m *OutputConfig) GetGcsDestination() *GcsDestination
- func (*OutputConfig) ProtoMessage()
- func (m *OutputConfig) Reset()
- func (m *OutputConfig) String() string
- func (m *OutputConfig) XXX_DiscardUnknown()
- func (m *OutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OutputConfig) XXX_Merge(src proto.Message)
- func (*OutputConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *OutputConfig) XXX_Size() int
- func (m *OutputConfig) XXX_Unmarshal(b []byte) error
- type OutputConfig_GcsDestination
- type PredictRequest
- func (*PredictRequest) Descriptor() ([]byte, []int)
- func (m *PredictRequest) GetName() string
- func (m *PredictRequest) GetParams() map[string]string
- func (m *PredictRequest) GetPayload() *ExamplePayload
- func (*PredictRequest) ProtoMessage()
- func (m *PredictRequest) Reset()
- func (m *PredictRequest) String() string
- func (m *PredictRequest) XXX_DiscardUnknown()
- func (m *PredictRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PredictRequest) XXX_Merge(src proto.Message)
- func (m *PredictRequest) XXX_Size() int
- func (m *PredictRequest) XXX_Unmarshal(b []byte) error
- type PredictResponse
- func (*PredictResponse) Descriptor() ([]byte, []int)
- func (m *PredictResponse) GetMetadata() map[string]string
- func (m *PredictResponse) GetPayload() []*AnnotationPayload
- func (*PredictResponse) ProtoMessage()
- func (m *PredictResponse) Reset()
- func (m *PredictResponse) String() string
- func (m *PredictResponse) XXX_DiscardUnknown()
- func (m *PredictResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PredictResponse) XXX_Merge(src proto.Message)
- func (m *PredictResponse) XXX_Size() int
- func (m *PredictResponse) XXX_Unmarshal(b []byte) error
- type PredictionServiceClient
- type PredictionServiceServer
- type TextClassificationDatasetMetadata
- func (*TextClassificationDatasetMetadata) Descriptor() ([]byte, []int)
- func (m *TextClassificationDatasetMetadata) GetClassificationType() ClassificationType
- func (*TextClassificationDatasetMetadata) ProtoMessage()
- func (m *TextClassificationDatasetMetadata) Reset()
- func (m *TextClassificationDatasetMetadata) String() string
- func (m *TextClassificationDatasetMetadata) XXX_DiscardUnknown()
- func (m *TextClassificationDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TextClassificationDatasetMetadata) XXX_Merge(src proto.Message)
- func (m *TextClassificationDatasetMetadata) XXX_Size() int
- func (m *TextClassificationDatasetMetadata) XXX_Unmarshal(b []byte) error
- type TextClassificationModelMetadata
- func (*TextClassificationModelMetadata) Descriptor() ([]byte, []int)
- func (*TextClassificationModelMetadata) ProtoMessage()
- func (m *TextClassificationModelMetadata) Reset()
- func (m *TextClassificationModelMetadata) String() string
- func (m *TextClassificationModelMetadata) XXX_DiscardUnknown()
- func (m *TextClassificationModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TextClassificationModelMetadata) XXX_Merge(src proto.Message)
- func (m *TextClassificationModelMetadata) XXX_Size() int
- func (m *TextClassificationModelMetadata) XXX_Unmarshal(b []byte) error
- type TextSnippet
- func (*TextSnippet) Descriptor() ([]byte, []int)
- func (m *TextSnippet) GetContent() string
- func (m *TextSnippet) GetContentUri() string
- func (m *TextSnippet) GetMimeType() string
- func (*TextSnippet) ProtoMessage()
- func (m *TextSnippet) Reset()
- func (m *TextSnippet) String() string
- func (m *TextSnippet) XXX_DiscardUnknown()
- func (m *TextSnippet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TextSnippet) XXX_Merge(src proto.Message)
- func (m *TextSnippet) XXX_Size() int
- func (m *TextSnippet) XXX_Unmarshal(b []byte) error
- type TranslationAnnotation
- func (*TranslationAnnotation) Descriptor() ([]byte, []int)
- func (m *TranslationAnnotation) GetTranslatedContent() *TextSnippet
- func (*TranslationAnnotation) ProtoMessage()
- func (m *TranslationAnnotation) Reset()
- func (m *TranslationAnnotation) String() string
- func (m *TranslationAnnotation) XXX_DiscardUnknown()
- func (m *TranslationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TranslationAnnotation) XXX_Merge(src proto.Message)
- func (m *TranslationAnnotation) XXX_Size() int
- func (m *TranslationAnnotation) XXX_Unmarshal(b []byte) error
- type TranslationDatasetMetadata
- func (*TranslationDatasetMetadata) Descriptor() ([]byte, []int)
- func (m *TranslationDatasetMetadata) GetSourceLanguageCode() string
- func (m *TranslationDatasetMetadata) GetTargetLanguageCode() string
- func (*TranslationDatasetMetadata) ProtoMessage()
- func (m *TranslationDatasetMetadata) Reset()
- func (m *TranslationDatasetMetadata) String() string
- func (m *TranslationDatasetMetadata) XXX_DiscardUnknown()
- func (m *TranslationDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TranslationDatasetMetadata) XXX_Merge(src proto.Message)
- func (m *TranslationDatasetMetadata) XXX_Size() int
- func (m *TranslationDatasetMetadata) XXX_Unmarshal(b []byte) error
- type TranslationEvaluationMetrics
- func (*TranslationEvaluationMetrics) Descriptor() ([]byte, []int)
- func (m *TranslationEvaluationMetrics) GetBaseBleuScore() float64
- func (m *TranslationEvaluationMetrics) GetBleuScore() float64
- func (*TranslationEvaluationMetrics) ProtoMessage()
- func (m *TranslationEvaluationMetrics) Reset()
- func (m *TranslationEvaluationMetrics) String() string
- func (m *TranslationEvaluationMetrics) XXX_DiscardUnknown()
- func (m *TranslationEvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TranslationEvaluationMetrics) XXX_Merge(src proto.Message)
- func (m *TranslationEvaluationMetrics) XXX_Size() int
- func (m *TranslationEvaluationMetrics) XXX_Unmarshal(b []byte) error
- type TranslationModelMetadata
- func (*TranslationModelMetadata) Descriptor() ([]byte, []int)
- func (m *TranslationModelMetadata) GetBaseModel() string
- func (m *TranslationModelMetadata) GetSourceLanguageCode() string
- func (m *TranslationModelMetadata) GetTargetLanguageCode() string
- func (*TranslationModelMetadata) ProtoMessage()
- func (m *TranslationModelMetadata) Reset()
- func (m *TranslationModelMetadata) String() string
- func (m *TranslationModelMetadata) XXX_DiscardUnknown()
- func (m *TranslationModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TranslationModelMetadata) XXX_Merge(src proto.Message)
- func (m *TranslationModelMetadata) XXX_Size() int
- func (m *TranslationModelMetadata) XXX_Unmarshal(b []byte) error
- type UndeployModelRequest
- func (*UndeployModelRequest) Descriptor() ([]byte, []int)
- func (m *UndeployModelRequest) GetName() string
- func (*UndeployModelRequest) ProtoMessage()
- func (m *UndeployModelRequest) Reset()
- func (m *UndeployModelRequest) String() string
- func (m *UndeployModelRequest) XXX_DiscardUnknown()
- func (m *UndeployModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UndeployModelRequest) XXX_Merge(src proto.Message)
- func (m *UndeployModelRequest) XXX_Size() int
- func (m *UndeployModelRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ClassificationType_name = map[int32]string{
0: "CLASSIFICATION_TYPE_UNSPECIFIED",
1: "MULTICLASS",
2: "MULTILABEL",
}
var ClassificationType_value = map[string]int32{
"CLASSIFICATION_TYPE_UNSPECIFIED": 0,
"MULTICLASS": 1,
"MULTILABEL": 2,
}
var Model_DeploymentState_name = map[int32]string{
0: "DEPLOYMENT_STATE_UNSPECIFIED",
1: "DEPLOYED",
2: "UNDEPLOYED",
}
var Model_DeploymentState_value = map[string]int32{
"DEPLOYMENT_STATE_UNSPECIFIED": 0,
"DEPLOYED": 1,
"UNDEPLOYED": 2,
}
Functions ¶
func RegisterAutoMlServer ¶
func RegisterAutoMlServer(s *grpc.Server, srv AutoMlServer)
func RegisterPredictionServiceServer ¶
func RegisterPredictionServiceServer(s *grpc.Server, srv PredictionServiceServer)
Types ¶
type AnnotationPayload ¶
type AnnotationPayload struct { // Output only . Additional information about the annotation // specific to the AutoML solution. // // Types that are valid to be assigned to Detail: // *AnnotationPayload_Translation // *AnnotationPayload_Classification Detail isAnnotationPayload_Detail `protobuf_oneof:"detail"` // Output only . The resource ID of the annotation spec that // this annotation pertains to. The annotation spec comes from either an // ancestor dataset, or the dataset that was used to train the model in use. AnnotationSpecId string `protobuf:"bytes,1,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` // Output only. The value of [AnnotationSpec.display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] when the model // was trained. Because this field returns a value at model training time, // for different models trained using the same dataset, the returned value // could be different as model owner could update the display_name between // any two model training. DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Contains annotation information that is relevant to AutoML.
func (*AnnotationPayload) Descriptor ¶
func (*AnnotationPayload) Descriptor() ([]byte, []int)
func (*AnnotationPayload) GetAnnotationSpecId ¶
func (m *AnnotationPayload) GetAnnotationSpecId() string
func (*AnnotationPayload) GetClassification ¶
func (m *AnnotationPayload) GetClassification() *ClassificationAnnotation
func (*AnnotationPayload) GetDetail ¶
func (m *AnnotationPayload) GetDetail() isAnnotationPayload_Detail
func (*AnnotationPayload) GetDisplayName ¶
func (m *AnnotationPayload) GetDisplayName() string
func (*AnnotationPayload) GetTranslation ¶
func (m *AnnotationPayload) GetTranslation() *TranslationAnnotation
func (*AnnotationPayload) ProtoMessage ¶
func (*AnnotationPayload) ProtoMessage()
func (*AnnotationPayload) Reset ¶
func (m *AnnotationPayload) Reset()
func (*AnnotationPayload) String ¶
func (m *AnnotationPayload) String() string
func (*AnnotationPayload) XXX_DiscardUnknown ¶
func (m *AnnotationPayload) XXX_DiscardUnknown()
func (*AnnotationPayload) XXX_Marshal ¶
func (m *AnnotationPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnnotationPayload) XXX_Merge ¶
func (dst *AnnotationPayload) XXX_Merge(src proto.Message)
func (*AnnotationPayload) XXX_OneofFuncs ¶
func (*AnnotationPayload) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*AnnotationPayload) XXX_Size ¶
func (m *AnnotationPayload) XXX_Size() int
func (*AnnotationPayload) XXX_Unmarshal ¶
func (m *AnnotationPayload) XXX_Unmarshal(b []byte) error
type AnnotationPayload_Classification ¶
type AnnotationPayload_Classification struct {
Classification *ClassificationAnnotation `protobuf:"bytes,3,opt,name=classification,proto3,oneof"`
}
type AnnotationPayload_Translation ¶
type AnnotationPayload_Translation struct {
Translation *TranslationAnnotation `protobuf:"bytes,2,opt,name=translation,proto3,oneof"`
}
type AutoMlClient ¶
type AutoMlClient interface { // Creates a dataset. CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) // Gets a dataset. GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) // Lists datasets in a project. ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) // Deletes a dataset and all of its contents. // Returns empty response in the // [response][google.longrunning.Operation.response] field when it completes, // and `delete_details` in the // [metadata][google.longrunning.Operation.metadata] field. DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Imports data into a dataset. // Returns an empty response in the // [response][google.longrunning.Operation.response] field when it completes. ImportData(ctx context.Context, in *ImportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Exports dataset's data to a Google Cloud Storage bucket. // Returns an empty response in the // [response][google.longrunning.Operation.response] field when it completes. ExportData(ctx context.Context, in *ExportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Creates a model. // Returns a Model in the [response][google.longrunning.Operation.response] // field when it completes. // When you create a model, several model evaluations are created for it: // a global evaluation, and one evaluation for each annotation spec. CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Gets a model. GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) // Lists models. ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) // Deletes a model. // If a model is already deployed, this only deletes the model in AutoML BE, // and does not change the status of the deployed model in the production // environment. // Returns `google.protobuf.Empty` in the // [response][google.longrunning.Operation.response] field when it completes, // and `delete_details` in the // [metadata][google.longrunning.Operation.metadata] field. DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deploys model. // Returns a [DeployModelResponse][] in the // [response][google.longrunning.Operation.response] field when it completes. DeployModel(ctx context.Context, in *DeployModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Undeploys model. // Returns an `UndeployModelResponse` in the // [response][google.longrunning.Operation.response] field when it completes. UndeployModel(ctx context.Context, in *UndeployModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Gets a model evaluation. GetModelEvaluation(ctx context.Context, in *GetModelEvaluationRequest, opts ...grpc.CallOption) (*ModelEvaluation, error) // Lists model evaluations. ListModelEvaluations(ctx context.Context, in *ListModelEvaluationsRequest, opts ...grpc.CallOption) (*ListModelEvaluationsResponse, error) }
AutoMlClient is the client API for AutoMl service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAutoMlClient ¶
func NewAutoMlClient(cc *grpc.ClientConn) AutoMlClient
type AutoMlServer ¶
type AutoMlServer interface { // Creates a dataset. CreateDataset(context.Context, *CreateDatasetRequest) (*Dataset, error) // Gets a dataset. GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error) // Lists datasets in a project. ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error) // Deletes a dataset and all of its contents. // Returns empty response in the // [response][google.longrunning.Operation.response] field when it completes, // and `delete_details` in the // [metadata][google.longrunning.Operation.metadata] field. DeleteDataset(context.Context, *DeleteDatasetRequest) (*longrunning.Operation, error) // Imports data into a dataset. // Returns an empty response in the // [response][google.longrunning.Operation.response] field when it completes. ImportData(context.Context, *ImportDataRequest) (*longrunning.Operation, error) // Exports dataset's data to a Google Cloud Storage bucket. // Returns an empty response in the // [response][google.longrunning.Operation.response] field when it completes. ExportData(context.Context, *ExportDataRequest) (*longrunning.Operation, error) // Creates a model. // Returns a Model in the [response][google.longrunning.Operation.response] // field when it completes. // When you create a model, several model evaluations are created for it: // a global evaluation, and one evaluation for each annotation spec. CreateModel(context.Context, *CreateModelRequest) (*longrunning.Operation, error) // Gets a model. GetModel(context.Context, *GetModelRequest) (*Model, error) // Lists models. ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) // Deletes a model. // If a model is already deployed, this only deletes the model in AutoML BE, // and does not change the status of the deployed model in the production // environment. // Returns `google.protobuf.Empty` in the // [response][google.longrunning.Operation.response] field when it completes, // and `delete_details` in the // [metadata][google.longrunning.Operation.metadata] field. DeleteModel(context.Context, *DeleteModelRequest) (*longrunning.Operation, error) // Deploys model. // Returns a [DeployModelResponse][] in the // [response][google.longrunning.Operation.response] field when it completes. DeployModel(context.Context, *DeployModelRequest) (*longrunning.Operation, error) // Undeploys model. // Returns an `UndeployModelResponse` in the // [response][google.longrunning.Operation.response] field when it completes. UndeployModel(context.Context, *UndeployModelRequest) (*longrunning.Operation, error) // Gets a model evaluation. GetModelEvaluation(context.Context, *GetModelEvaluationRequest) (*ModelEvaluation, error) // Lists model evaluations. ListModelEvaluations(context.Context, *ListModelEvaluationsRequest) (*ListModelEvaluationsResponse, error) }
AutoMlServer is the server API for AutoMl service.
type ClassificationAnnotation ¶
type ClassificationAnnotation struct { // Output only. A confidence estimate between 0.0 and 1.0. A higher value // means greater confidence that the annotation is positive. If a user // approves an annotation as negative or positive, the score value remains // unchanged. If a user creates an annotation, the score is 0 for negative or // 1 for positive. Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Contains annotation details specific to classification.
func (*ClassificationAnnotation) Descriptor ¶
func (*ClassificationAnnotation) Descriptor() ([]byte, []int)
func (*ClassificationAnnotation) GetScore ¶
func (m *ClassificationAnnotation) GetScore() float32
func (*ClassificationAnnotation) ProtoMessage ¶
func (*ClassificationAnnotation) ProtoMessage()
func (*ClassificationAnnotation) Reset ¶
func (m *ClassificationAnnotation) Reset()
func (*ClassificationAnnotation) String ¶
func (m *ClassificationAnnotation) String() string
func (*ClassificationAnnotation) XXX_DiscardUnknown ¶
func (m *ClassificationAnnotation) XXX_DiscardUnknown()
func (*ClassificationAnnotation) XXX_Marshal ¶
func (m *ClassificationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClassificationAnnotation) XXX_Merge ¶
func (dst *ClassificationAnnotation) XXX_Merge(src proto.Message)
func (*ClassificationAnnotation) XXX_Size ¶
func (m *ClassificationAnnotation) XXX_Size() int
func (*ClassificationAnnotation) XXX_Unmarshal ¶
func (m *ClassificationAnnotation) XXX_Unmarshal(b []byte) error
type ClassificationEvaluationMetrics ¶
type ClassificationEvaluationMetrics struct { // Output only. The Area under precision recall curve metric. AuPrc float32 `protobuf:"fixed32,1,opt,name=au_prc,json=auPrc,proto3" json:"au_prc,omitempty"` // Output only. The Area under precision recall curve metric based on priors. BaseAuPrc float32 `protobuf:"fixed32,2,opt,name=base_au_prc,json=baseAuPrc,proto3" json:"base_au_prc,omitempty"` // Output only. Metrics that have confidence thresholds. // Precision-recall curve can be derived from it. ConfidenceMetricsEntry []*ClassificationEvaluationMetrics_ConfidenceMetricsEntry `` /* 129-byte string literal not displayed */ // Output only. Confusion matrix of the evaluation. // Only set for MULTICLASS classification problems where number // of labels is no more than 10. // Only set for model level evaluation, not for evaluation per label. ConfusionMatrix *ClassificationEvaluationMetrics_ConfusionMatrix `protobuf:"bytes,4,opt,name=confusion_matrix,json=confusionMatrix,proto3" json:"confusion_matrix,omitempty"` // Output only. The annotation spec ids used for this evaluation. AnnotationSpecId []string `protobuf:"bytes,5,rep,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Model evaluation metrics for classification problems. Visible only to v1beta1
func (*ClassificationEvaluationMetrics) Descriptor ¶
func (*ClassificationEvaluationMetrics) Descriptor() ([]byte, []int)
func (*ClassificationEvaluationMetrics) GetAnnotationSpecId ¶
func (m *ClassificationEvaluationMetrics) GetAnnotationSpecId() []string
func (*ClassificationEvaluationMetrics) GetAuPrc ¶
func (m *ClassificationEvaluationMetrics) GetAuPrc() float32
func (*ClassificationEvaluationMetrics) GetBaseAuPrc ¶
func (m *ClassificationEvaluationMetrics) GetBaseAuPrc() float32
func (*ClassificationEvaluationMetrics) GetConfidenceMetricsEntry ¶
func (m *ClassificationEvaluationMetrics) GetConfidenceMetricsEntry() []*ClassificationEvaluationMetrics_ConfidenceMetricsEntry
func (*ClassificationEvaluationMetrics) GetConfusionMatrix ¶
func (m *ClassificationEvaluationMetrics) GetConfusionMatrix() *ClassificationEvaluationMetrics_ConfusionMatrix
func (*ClassificationEvaluationMetrics) ProtoMessage ¶
func (*ClassificationEvaluationMetrics) ProtoMessage()
func (*ClassificationEvaluationMetrics) Reset ¶
func (m *ClassificationEvaluationMetrics) Reset()
func (*ClassificationEvaluationMetrics) String ¶
func (m *ClassificationEvaluationMetrics) String() string
func (*ClassificationEvaluationMetrics) XXX_DiscardUnknown ¶
func (m *ClassificationEvaluationMetrics) XXX_DiscardUnknown()
func (*ClassificationEvaluationMetrics) XXX_Marshal ¶
func (m *ClassificationEvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClassificationEvaluationMetrics) XXX_Merge ¶
func (dst *ClassificationEvaluationMetrics) XXX_Merge(src proto.Message)
func (*ClassificationEvaluationMetrics) XXX_Size ¶
func (m *ClassificationEvaluationMetrics) XXX_Size() int
func (*ClassificationEvaluationMetrics) XXX_Unmarshal ¶
func (m *ClassificationEvaluationMetrics) XXX_Unmarshal(b []byte) error
type ClassificationEvaluationMetrics_ConfidenceMetricsEntry ¶
type ClassificationEvaluationMetrics_ConfidenceMetricsEntry struct { // Output only. The confidence threshold value used to compute the metrics. ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` // Output only. Recall under the given confidence threshold. Recall float32 `protobuf:"fixed32,2,opt,name=recall,proto3" json:"recall,omitempty"` // Output only. Precision under the given confidence threshold. Precision float32 `protobuf:"fixed32,3,opt,name=precision,proto3" json:"precision,omitempty"` // Output only. The harmonic mean of recall and precision. F1Score float32 `protobuf:"fixed32,4,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"` // Output only. The recall when only considering the label that has the // highest prediction score and not below the confidence threshold for each // example. RecallAt1 float32 `protobuf:"fixed32,5,opt,name=recall_at1,json=recallAt1,proto3" json:"recall_at1,omitempty"` // Output only. The precision when only considering the label that has the // highest predictionscore and not below the confidence threshold for each // example. PrecisionAt1 float32 `protobuf:"fixed32,6,opt,name=precision_at1,json=precisionAt1,proto3" json:"precision_at1,omitempty"` // Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1]. F1ScoreAt1 float32 `protobuf:"fixed32,7,opt,name=f1_score_at1,json=f1ScoreAt1,proto3" json:"f1_score_at1,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metrics for a single confidence threshold.
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) Descriptor ¶
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) Descriptor() ([]byte, []int)
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetConfidenceThreshold ¶
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetConfidenceThreshold() float32
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetF1Score ¶
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetF1Score() float32
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetF1ScoreAt1 ¶
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetF1ScoreAt1() float32
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetPrecision ¶
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetPrecision() float32
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetPrecisionAt1 ¶
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetPrecisionAt1() float32
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetRecall ¶
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetRecall() float32
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetRecallAt1 ¶
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetRecallAt1() float32
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) ProtoMessage ¶
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) ProtoMessage()
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) Reset ¶
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) Reset()
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) String ¶
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) String() string
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_DiscardUnknown ¶
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_DiscardUnknown()
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Marshal ¶
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Merge ¶
func (dst *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Merge(src proto.Message)
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Size ¶
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Size() int
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Unmarshal ¶
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Unmarshal(b []byte) error
type ClassificationEvaluationMetrics_ConfusionMatrix ¶
type ClassificationEvaluationMetrics_ConfusionMatrix struct { // Output only. IDs of the annotation specs used in the confusion matrix. AnnotationSpecId []string `protobuf:"bytes,1,rep,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` // Output only. Rows in the confusion matrix. The number of rows is equal to // the size of `annotation_spec_id`. // `row[i].value[j]` is the number of examples that have ground truth of the // `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by // the model being evaluated. Row []*ClassificationEvaluationMetrics_ConfusionMatrix_Row `protobuf:"bytes,2,rep,name=row,proto3" json:"row,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Confusion matrix of the model running the classification.
func (*ClassificationEvaluationMetrics_ConfusionMatrix) Descriptor ¶
func (*ClassificationEvaluationMetrics_ConfusionMatrix) Descriptor() ([]byte, []int)
func (*ClassificationEvaluationMetrics_ConfusionMatrix) GetAnnotationSpecId ¶
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) GetAnnotationSpecId() []string
func (*ClassificationEvaluationMetrics_ConfusionMatrix) ProtoMessage ¶
func (*ClassificationEvaluationMetrics_ConfusionMatrix) ProtoMessage()
func (*ClassificationEvaluationMetrics_ConfusionMatrix) Reset ¶
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) Reset()
func (*ClassificationEvaluationMetrics_ConfusionMatrix) String ¶
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) String() string
func (*ClassificationEvaluationMetrics_ConfusionMatrix) XXX_DiscardUnknown ¶
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_DiscardUnknown()
func (*ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Marshal ¶
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Merge ¶
func (dst *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Merge(src proto.Message)
func (*ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Size ¶
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Size() int
func (*ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Unmarshal ¶
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Unmarshal(b []byte) error
type ClassificationEvaluationMetrics_ConfusionMatrix_Row ¶
type ClassificationEvaluationMetrics_ConfusionMatrix_Row struct { // Output only. Value of the specific cell in the confusion matrix. // The number of values each row is equal to the size of // annotatin_spec_id. ExampleCount []int32 `protobuf:"varint,1,rep,packed,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Output only. A row in the confusion matrix.
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) Descriptor ¶
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) Descriptor() ([]byte, []int)
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) GetExampleCount ¶
func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) GetExampleCount() []int32
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) ProtoMessage ¶
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) ProtoMessage()
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) Reset ¶
func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) Reset()
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) String ¶
func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) String() string
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_DiscardUnknown ¶
func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_DiscardUnknown()
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Marshal ¶
func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Merge ¶
func (dst *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Merge(src proto.Message)
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Size ¶
func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Size() int
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Unmarshal ¶
func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Unmarshal(b []byte) error
type ClassificationType ¶
type ClassificationType int32
Type of the classification problem.
const ( // Should not be used, an un-set enum has this value by default. ClassificationType_CLASSIFICATION_TYPE_UNSPECIFIED ClassificationType = 0 // At most one label is allowed per example. ClassificationType_MULTICLASS ClassificationType = 1 // Multiple labels are allowed for one example. ClassificationType_MULTILABEL ClassificationType = 2 )
func (ClassificationType) EnumDescriptor ¶
func (ClassificationType) EnumDescriptor() ([]byte, []int)
func (ClassificationType) String ¶
func (x ClassificationType) String() string
type CreateDatasetRequest ¶
type CreateDatasetRequest struct { // The resource name of the project to create the dataset for. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The dataset to create. Dataset *Dataset `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [AutoMl.CreateDataset][google.cloud.automl.v1beta1.AutoMl.CreateDataset].
func (*CreateDatasetRequest) Descriptor ¶
func (*CreateDatasetRequest) Descriptor() ([]byte, []int)
func (*CreateDatasetRequest) GetDataset ¶
func (m *CreateDatasetRequest) GetDataset() *Dataset
func (*CreateDatasetRequest) GetParent ¶
func (m *CreateDatasetRequest) GetParent() string
func (*CreateDatasetRequest) ProtoMessage ¶
func (*CreateDatasetRequest) ProtoMessage()
func (*CreateDatasetRequest) Reset ¶
func (m *CreateDatasetRequest) Reset()
func (*CreateDatasetRequest) String ¶
func (m *CreateDatasetRequest) String() string
func (*CreateDatasetRequest) XXX_DiscardUnknown ¶
func (m *CreateDatasetRequest) XXX_DiscardUnknown()
func (*CreateDatasetRequest) XXX_Marshal ¶
func (m *CreateDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateDatasetRequest) XXX_Merge ¶
func (dst *CreateDatasetRequest) XXX_Merge(src proto.Message)
func (*CreateDatasetRequest) XXX_Size ¶
func (m *CreateDatasetRequest) XXX_Size() int
func (*CreateDatasetRequest) XXX_Unmarshal ¶
func (m *CreateDatasetRequest) XXX_Unmarshal(b []byte) error
type CreateModelOperationMetadata ¶
type CreateModelOperationMetadata struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Details of CreateModel operation.
func (*CreateModelOperationMetadata) Descriptor ¶
func (*CreateModelOperationMetadata) Descriptor() ([]byte, []int)
func (*CreateModelOperationMetadata) ProtoMessage ¶
func (*CreateModelOperationMetadata) ProtoMessage()
func (*CreateModelOperationMetadata) Reset ¶
func (m *CreateModelOperationMetadata) Reset()
func (*CreateModelOperationMetadata) String ¶
func (m *CreateModelOperationMetadata) String() string
func (*CreateModelOperationMetadata) XXX_DiscardUnknown ¶
func (m *CreateModelOperationMetadata) XXX_DiscardUnknown()
func (*CreateModelOperationMetadata) XXX_Marshal ¶
func (m *CreateModelOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateModelOperationMetadata) XXX_Merge ¶
func (dst *CreateModelOperationMetadata) XXX_Merge(src proto.Message)
func (*CreateModelOperationMetadata) XXX_Size ¶
func (m *CreateModelOperationMetadata) XXX_Size() int
func (*CreateModelOperationMetadata) XXX_Unmarshal ¶
func (m *CreateModelOperationMetadata) XXX_Unmarshal(b []byte) error
type CreateModelRequest ¶
type CreateModelRequest struct { // Resource name of the parent project where the model is being created. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The model to create. Model *Model `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [AutoMl.CreateModel][google.cloud.automl.v1beta1.AutoMl.CreateModel].
func (*CreateModelRequest) Descriptor ¶
func (*CreateModelRequest) Descriptor() ([]byte, []int)
func (*CreateModelRequest) GetModel ¶
func (m *CreateModelRequest) GetModel() *Model
func (*CreateModelRequest) GetParent ¶
func (m *CreateModelRequest) GetParent() string
func (*CreateModelRequest) ProtoMessage ¶
func (*CreateModelRequest) ProtoMessage()
func (*CreateModelRequest) Reset ¶
func (m *CreateModelRequest) Reset()
func (*CreateModelRequest) String ¶
func (m *CreateModelRequest) String() string
func (*CreateModelRequest) XXX_DiscardUnknown ¶
func (m *CreateModelRequest) XXX_DiscardUnknown()
func (*CreateModelRequest) XXX_Marshal ¶
func (m *CreateModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateModelRequest) XXX_Merge ¶
func (dst *CreateModelRequest) XXX_Merge(src proto.Message)
func (*CreateModelRequest) XXX_Size ¶
func (m *CreateModelRequest) XXX_Size() int
func (*CreateModelRequest) XXX_Unmarshal ¶
func (m *CreateModelRequest) XXX_Unmarshal(b []byte) error
type Dataset ¶
type Dataset struct { // Required. // The dataset metadata that is specific to the problem type. // // Types that are valid to be assigned to DatasetMetadata: // *Dataset_TranslationDatasetMetadata // *Dataset_ImageClassificationDatasetMetadata // *Dataset_TextClassificationDatasetMetadata DatasetMetadata isDataset_DatasetMetadata `protobuf_oneof:"dataset_metadata"` // Output only. The resource name of the dataset. // Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The name of the dataset to show in the interface. The name can be // up to 32 characters // long and can consist only of ASCII Latin letters A-Z and a-z, underscores // (_), and ASCII digits 0-9. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. The number of examples in the dataset. ExampleCount int32 `protobuf:"varint,21,opt,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"` // Output only. Timestamp when this dataset was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A workspace for solving a single, particular machine learning (ML) problem. A workspace contains examples that may be annotated.
func (*Dataset) Descriptor ¶
func (*Dataset) GetCreateTime ¶
func (*Dataset) GetDatasetMetadata ¶
func (m *Dataset) GetDatasetMetadata() isDataset_DatasetMetadata
func (*Dataset) GetDisplayName ¶
func (*Dataset) GetExampleCount ¶
func (*Dataset) GetImageClassificationDatasetMetadata ¶
func (m *Dataset) GetImageClassificationDatasetMetadata() *ImageClassificationDatasetMetadata
func (*Dataset) GetTextClassificationDatasetMetadata ¶
func (m *Dataset) GetTextClassificationDatasetMetadata() *TextClassificationDatasetMetadata
func (*Dataset) GetTranslationDatasetMetadata ¶
func (m *Dataset) GetTranslationDatasetMetadata() *TranslationDatasetMetadata
func (*Dataset) ProtoMessage ¶
func (*Dataset) ProtoMessage()
func (*Dataset) XXX_DiscardUnknown ¶
func (m *Dataset) XXX_DiscardUnknown()
func (*Dataset) XXX_Marshal ¶
func (*Dataset) XXX_OneofFuncs ¶
func (*Dataset) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Dataset) XXX_Unmarshal ¶
type Dataset_ImageClassificationDatasetMetadata ¶
type Dataset_ImageClassificationDatasetMetadata struct {
ImageClassificationDatasetMetadata *ImageClassificationDatasetMetadata `protobuf:"bytes,24,opt,name=image_classification_dataset_metadata,json=imageClassificationDatasetMetadata,proto3,oneof"`
}
type Dataset_TextClassificationDatasetMetadata ¶
type Dataset_TextClassificationDatasetMetadata struct {
TextClassificationDatasetMetadata *TextClassificationDatasetMetadata `protobuf:"bytes,25,opt,name=text_classification_dataset_metadata,json=textClassificationDatasetMetadata,proto3,oneof"`
}
type Dataset_TranslationDatasetMetadata ¶
type Dataset_TranslationDatasetMetadata struct {
TranslationDatasetMetadata *TranslationDatasetMetadata `protobuf:"bytes,23,opt,name=translation_dataset_metadata,json=translationDatasetMetadata,proto3,oneof"`
}
type DeleteDatasetRequest ¶
type DeleteDatasetRequest struct { // The resource name of the dataset to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [AutoMl.DeleteDataset][google.cloud.automl.v1beta1.AutoMl.DeleteDataset].
func (*DeleteDatasetRequest) Descriptor ¶
func (*DeleteDatasetRequest) Descriptor() ([]byte, []int)
func (*DeleteDatasetRequest) GetName ¶
func (m *DeleteDatasetRequest) GetName() string
func (*DeleteDatasetRequest) ProtoMessage ¶
func (*DeleteDatasetRequest) ProtoMessage()
func (*DeleteDatasetRequest) Reset ¶
func (m *DeleteDatasetRequest) Reset()
func (*DeleteDatasetRequest) String ¶
func (m *DeleteDatasetRequest) String() string
func (*DeleteDatasetRequest) XXX_DiscardUnknown ¶
func (m *DeleteDatasetRequest) XXX_DiscardUnknown()
func (*DeleteDatasetRequest) XXX_Marshal ¶
func (m *DeleteDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDatasetRequest) XXX_Merge ¶
func (dst *DeleteDatasetRequest) XXX_Merge(src proto.Message)
func (*DeleteDatasetRequest) XXX_Size ¶
func (m *DeleteDatasetRequest) XXX_Size() int
func (*DeleteDatasetRequest) XXX_Unmarshal ¶
func (m *DeleteDatasetRequest) XXX_Unmarshal(b []byte) error
type DeleteModelRequest ¶
type DeleteModelRequest struct { // Resource name of the model being deleted. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [AutoMl.DeleteModel][google.cloud.automl.v1beta1.AutoMl.DeleteModel].
func (*DeleteModelRequest) Descriptor ¶
func (*DeleteModelRequest) Descriptor() ([]byte, []int)
func (*DeleteModelRequest) GetName ¶
func (m *DeleteModelRequest) GetName() string
func (*DeleteModelRequest) ProtoMessage ¶
func (*DeleteModelRequest) ProtoMessage()
func (*DeleteModelRequest) Reset ¶
func (m *DeleteModelRequest) Reset()
func (*DeleteModelRequest) String ¶
func (m *DeleteModelRequest) String() string
func (*DeleteModelRequest) XXX_DiscardUnknown ¶
func (m *DeleteModelRequest) XXX_DiscardUnknown()
func (*DeleteModelRequest) XXX_Marshal ¶
func (m *DeleteModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteModelRequest) XXX_Merge ¶
func (dst *DeleteModelRequest) XXX_Merge(src proto.Message)
func (*DeleteModelRequest) XXX_Size ¶
func (m *DeleteModelRequest) XXX_Size() int
func (*DeleteModelRequest) XXX_Unmarshal ¶
func (m *DeleteModelRequest) XXX_Unmarshal(b []byte) error
type DeployModelRequest ¶
type DeployModelRequest struct { // Resource name of the model to deploy. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [AutoMl.DeployModel][google.cloud.automl.v1beta1.AutoMl.DeployModel].
func (*DeployModelRequest) Descriptor ¶
func (*DeployModelRequest) Descriptor() ([]byte, []int)
func (*DeployModelRequest) GetName ¶
func (m *DeployModelRequest) GetName() string
func (*DeployModelRequest) ProtoMessage ¶
func (*DeployModelRequest) ProtoMessage()
func (*DeployModelRequest) Reset ¶
func (m *DeployModelRequest) Reset()
func (*DeployModelRequest) String ¶
func (m *DeployModelRequest) String() string
func (*DeployModelRequest) XXX_DiscardUnknown ¶
func (m *DeployModelRequest) XXX_DiscardUnknown()
func (*DeployModelRequest) XXX_Marshal ¶
func (m *DeployModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeployModelRequest) XXX_Merge ¶
func (dst *DeployModelRequest) XXX_Merge(src proto.Message)
func (*DeployModelRequest) XXX_Size ¶
func (m *DeployModelRequest) XXX_Size() int
func (*DeployModelRequest) XXX_Unmarshal ¶
func (m *DeployModelRequest) XXX_Unmarshal(b []byte) error
type ExamplePayload ¶
type ExamplePayload struct { // Required. Input only. The example data. // // Types that are valid to be assigned to Payload: // *ExamplePayload_Image // *ExamplePayload_TextSnippet Payload isExamplePayload_Payload `protobuf_oneof:"payload"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Example data used for training or prediction.
func (*ExamplePayload) Descriptor ¶
func (*ExamplePayload) Descriptor() ([]byte, []int)
func (*ExamplePayload) GetImage ¶
func (m *ExamplePayload) GetImage() *Image
func (*ExamplePayload) GetPayload ¶
func (m *ExamplePayload) GetPayload() isExamplePayload_Payload
func (*ExamplePayload) GetTextSnippet ¶
func (m *ExamplePayload) GetTextSnippet() *TextSnippet
func (*ExamplePayload) ProtoMessage ¶
func (*ExamplePayload) ProtoMessage()
func (*ExamplePayload) Reset ¶
func (m *ExamplePayload) Reset()
func (*ExamplePayload) String ¶
func (m *ExamplePayload) String() string
func (*ExamplePayload) XXX_DiscardUnknown ¶
func (m *ExamplePayload) XXX_DiscardUnknown()
func (*ExamplePayload) XXX_Marshal ¶
func (m *ExamplePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExamplePayload) XXX_Merge ¶
func (dst *ExamplePayload) XXX_Merge(src proto.Message)
func (*ExamplePayload) XXX_OneofFuncs ¶
func (*ExamplePayload) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ExamplePayload) XXX_Size ¶
func (m *ExamplePayload) XXX_Size() int
func (*ExamplePayload) XXX_Unmarshal ¶
func (m *ExamplePayload) XXX_Unmarshal(b []byte) error
type ExamplePayload_Image ¶
type ExamplePayload_Image struct {
Image *Image `protobuf:"bytes,1,opt,name=image,proto3,oneof"`
}
type ExamplePayload_TextSnippet ¶
type ExamplePayload_TextSnippet struct {
TextSnippet *TextSnippet `protobuf:"bytes,2,opt,name=text_snippet,json=textSnippet,proto3,oneof"`
}
type ExportDataRequest ¶
type ExportDataRequest struct { // Required. The resource name of the dataset. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The desired output location. OutputConfig *OutputConfig `protobuf:"bytes,3,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [AutoMl.ExportData][google.cloud.automl.v1beta1.AutoMl.ExportData].
func (*ExportDataRequest) Descriptor ¶
func (*ExportDataRequest) Descriptor() ([]byte, []int)
func (*ExportDataRequest) GetName ¶
func (m *ExportDataRequest) GetName() string
func (*ExportDataRequest) GetOutputConfig ¶
func (m *ExportDataRequest) GetOutputConfig() *OutputConfig
func (*ExportDataRequest) ProtoMessage ¶
func (*ExportDataRequest) ProtoMessage()
func (*ExportDataRequest) Reset ¶
func (m *ExportDataRequest) Reset()
func (*ExportDataRequest) String ¶
func (m *ExportDataRequest) String() string
func (*ExportDataRequest) XXX_DiscardUnknown ¶
func (m *ExportDataRequest) XXX_DiscardUnknown()
func (*ExportDataRequest) XXX_Marshal ¶
func (m *ExportDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExportDataRequest) XXX_Merge ¶
func (dst *ExportDataRequest) XXX_Merge(src proto.Message)
func (*ExportDataRequest) XXX_Size ¶
func (m *ExportDataRequest) XXX_Size() int
func (*ExportDataRequest) XXX_Unmarshal ¶
func (m *ExportDataRequest) XXX_Unmarshal(b []byte) error
type GcsDestination ¶
type GcsDestination struct { // Required. Google Cloud Storage URI to output directory, up to 2000 // characters long. // Accepted forms: // * Prefix path: gs://bucket/directory // The requesting user must have write permission to the bucket. // The directory is created if it doesn't exist. OutputUriPrefix string `protobuf:"bytes,1,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The GCS location where the output must be written to
func (*GcsDestination) Descriptor ¶
func (*GcsDestination) Descriptor() ([]byte, []int)
func (*GcsDestination) GetOutputUriPrefix ¶
func (m *GcsDestination) GetOutputUriPrefix() string
func (*GcsDestination) ProtoMessage ¶
func (*GcsDestination) ProtoMessage()
func (*GcsDestination) Reset ¶
func (m *GcsDestination) Reset()
func (*GcsDestination) String ¶
func (m *GcsDestination) String() string
func (*GcsDestination) XXX_DiscardUnknown ¶
func (m *GcsDestination) XXX_DiscardUnknown()
func (*GcsDestination) XXX_Marshal ¶
func (m *GcsDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GcsDestination) XXX_Merge ¶
func (dst *GcsDestination) XXX_Merge(src proto.Message)
func (*GcsDestination) XXX_Size ¶
func (m *GcsDestination) XXX_Size() int
func (*GcsDestination) XXX_Unmarshal ¶
func (m *GcsDestination) XXX_Unmarshal(b []byte) error
type GcsSource ¶
type GcsSource struct { // Required. Google Cloud Storage URIs to input files, up to 2000 characters // long. Accepted forms: // * Full object path: gs://bucket/directory/object.csv InputUris []string `protobuf:"bytes,1,rep,name=input_uris,json=inputUris,proto3" json:"input_uris,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The GCS location for the input content.
func (*GcsSource) Descriptor ¶
func (*GcsSource) GetInputUris ¶
func (*GcsSource) ProtoMessage ¶
func (*GcsSource) ProtoMessage()
func (*GcsSource) XXX_DiscardUnknown ¶
func (m *GcsSource) XXX_DiscardUnknown()
func (*GcsSource) XXX_Marshal ¶
func (*GcsSource) XXX_Unmarshal ¶
type GetDatasetRequest ¶
type GetDatasetRequest struct { // The resource name of the dataset to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [AutoMl.GetDataset][google.cloud.automl.v1beta1.AutoMl.GetDataset].
func (*GetDatasetRequest) Descriptor ¶
func (*GetDatasetRequest) Descriptor() ([]byte, []int)
func (*GetDatasetRequest) GetName ¶
func (m *GetDatasetRequest) GetName() string
func (*GetDatasetRequest) ProtoMessage ¶
func (*GetDatasetRequest) ProtoMessage()
func (*GetDatasetRequest) Reset ¶
func (m *GetDatasetRequest) Reset()
func (*GetDatasetRequest) String ¶
func (m *GetDatasetRequest) String() string
func (*GetDatasetRequest) XXX_DiscardUnknown ¶
func (m *GetDatasetRequest) XXX_DiscardUnknown()
func (*GetDatasetRequest) XXX_Marshal ¶
func (m *GetDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDatasetRequest) XXX_Merge ¶
func (dst *GetDatasetRequest) XXX_Merge(src proto.Message)
func (*GetDatasetRequest) XXX_Size ¶
func (m *GetDatasetRequest) XXX_Size() int
func (*GetDatasetRequest) XXX_Unmarshal ¶
func (m *GetDatasetRequest) XXX_Unmarshal(b []byte) error
type GetModelEvaluationRequest ¶
type GetModelEvaluationRequest struct { // Resource name for the model evaluation. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [AutoMl.GetModelEvaluation][google.cloud.automl.v1beta1.AutoMl.GetModelEvaluation].
func (*GetModelEvaluationRequest) Descriptor ¶
func (*GetModelEvaluationRequest) Descriptor() ([]byte, []int)
func (*GetModelEvaluationRequest) GetName ¶
func (m *GetModelEvaluationRequest) GetName() string
func (*GetModelEvaluationRequest) ProtoMessage ¶
func (*GetModelEvaluationRequest) ProtoMessage()
func (*GetModelEvaluationRequest) Reset ¶
func (m *GetModelEvaluationRequest) Reset()
func (*GetModelEvaluationRequest) String ¶
func (m *GetModelEvaluationRequest) String() string
func (*GetModelEvaluationRequest) XXX_DiscardUnknown ¶
func (m *GetModelEvaluationRequest) XXX_DiscardUnknown()
func (*GetModelEvaluationRequest) XXX_Marshal ¶
func (m *GetModelEvaluationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetModelEvaluationRequest) XXX_Merge ¶
func (dst *GetModelEvaluationRequest) XXX_Merge(src proto.Message)
func (*GetModelEvaluationRequest) XXX_Size ¶
func (m *GetModelEvaluationRequest) XXX_Size() int
func (*GetModelEvaluationRequest) XXX_Unmarshal ¶
func (m *GetModelEvaluationRequest) XXX_Unmarshal(b []byte) error
type GetModelRequest ¶
type GetModelRequest struct { // Resource name of the model. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [AutoMl.GetModel][google.cloud.automl.v1beta1.AutoMl.GetModel].
func (*GetModelRequest) Descriptor ¶
func (*GetModelRequest) Descriptor() ([]byte, []int)
func (*GetModelRequest) GetName ¶
func (m *GetModelRequest) GetName() string
func (*GetModelRequest) ProtoMessage ¶
func (*GetModelRequest) ProtoMessage()
func (*GetModelRequest) Reset ¶
func (m *GetModelRequest) Reset()
func (*GetModelRequest) String ¶
func (m *GetModelRequest) String() string
func (*GetModelRequest) XXX_DiscardUnknown ¶
func (m *GetModelRequest) XXX_DiscardUnknown()
func (*GetModelRequest) XXX_Marshal ¶
func (m *GetModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetModelRequest) XXX_Merge ¶
func (dst *GetModelRequest) XXX_Merge(src proto.Message)
func (*GetModelRequest) XXX_Size ¶
func (m *GetModelRequest) XXX_Size() int
func (*GetModelRequest) XXX_Unmarshal ¶
func (m *GetModelRequest) XXX_Unmarshal(b []byte) error
type Image ¶
type Image struct { // Input only. The data representing the image. // For Predict calls [image_bytes][] must be set, as other options are not // currently supported by prediction API. You can read the contents of an // uploaded image by using the [content_uri][] field. // // Types that are valid to be assigned to Data: // *Image_ImageBytes // *Image_InputConfig Data isImage_Data `protobuf_oneof:"data"` // Output only. HTTP URI to the thumbnail image. ThumbnailUri string `protobuf:"bytes,4,opt,name=thumbnail_uri,json=thumbnailUri,proto3" json:"thumbnail_uri,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A representation of an image.
func (*Image) Descriptor ¶
func (*Image) GetImageBytes ¶
func (*Image) GetInputConfig ¶
func (m *Image) GetInputConfig() *InputConfig
func (*Image) GetThumbnailUri ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) XXX_DiscardUnknown ¶
func (m *Image) XXX_DiscardUnknown()
func (*Image) XXX_Marshal ¶
func (*Image) XXX_OneofFuncs ¶
func (*Image) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Image) XXX_Unmarshal ¶
type ImageClassificationDatasetMetadata ¶
type ImageClassificationDatasetMetadata struct { // Required. // Type of the classification problem. ClassificationType ClassificationType `` /* 168-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Dataset metadata that is specific to image classification.
func (*ImageClassificationDatasetMetadata) Descriptor ¶
func (*ImageClassificationDatasetMetadata) Descriptor() ([]byte, []int)
func (*ImageClassificationDatasetMetadata) GetClassificationType ¶
func (m *ImageClassificationDatasetMetadata) GetClassificationType() ClassificationType
func (*ImageClassificationDatasetMetadata) ProtoMessage ¶
func (*ImageClassificationDatasetMetadata) ProtoMessage()
func (*ImageClassificationDatasetMetadata) Reset ¶
func (m *ImageClassificationDatasetMetadata) Reset()
func (*ImageClassificationDatasetMetadata) String ¶
func (m *ImageClassificationDatasetMetadata) String() string
func (*ImageClassificationDatasetMetadata) XXX_DiscardUnknown ¶
func (m *ImageClassificationDatasetMetadata) XXX_DiscardUnknown()
func (*ImageClassificationDatasetMetadata) XXX_Marshal ¶
func (m *ImageClassificationDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImageClassificationDatasetMetadata) XXX_Merge ¶
func (dst *ImageClassificationDatasetMetadata) XXX_Merge(src proto.Message)
func (*ImageClassificationDatasetMetadata) XXX_Size ¶
func (m *ImageClassificationDatasetMetadata) XXX_Size() int
func (*ImageClassificationDatasetMetadata) XXX_Unmarshal ¶
func (m *ImageClassificationDatasetMetadata) XXX_Unmarshal(b []byte) error
type ImageClassificationModelMetadata ¶
type ImageClassificationModelMetadata struct { // Optional. The ID of the `base` model. If it is specified, the new model // will be created based on the `base` model. Otherwise, the new model will be // created from scratch. The `base` model is expected to be in the same // `project` and `location` as the new model to create. BaseModelId string `protobuf:"bytes,1,opt,name=base_model_id,json=baseModelId,proto3" json:"base_model_id,omitempty"` // Required. The train budget of creating this model. The actual // `train_cost` will be equal or less than this value. TrainBudget int64 `protobuf:"varint,2,opt,name=train_budget,json=trainBudget,proto3" json:"train_budget,omitempty"` // Output only. The actual train cost of creating this model. If this // model is created from a `base` model, the train cost used to create the // `base` model are not included. TrainCost int64 `protobuf:"varint,3,opt,name=train_cost,json=trainCost,proto3" json:"train_cost,omitempty"` // Output only. The reason that this create model operation stopped, // e.g. BUDGET_REACHED, CONVERGED. StopReason string `protobuf:"bytes,5,opt,name=stop_reason,json=stopReason,proto3" json:"stop_reason,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Model metadata for image classification.
func (*ImageClassificationModelMetadata) Descriptor ¶
func (*ImageClassificationModelMetadata) Descriptor() ([]byte, []int)
func (*ImageClassificationModelMetadata) GetBaseModelId ¶
func (m *ImageClassificationModelMetadata) GetBaseModelId() string
func (*ImageClassificationModelMetadata) GetStopReason ¶
func (m *ImageClassificationModelMetadata) GetStopReason() string
func (*ImageClassificationModelMetadata) GetTrainBudget ¶
func (m *ImageClassificationModelMetadata) GetTrainBudget() int64
func (*ImageClassificationModelMetadata) GetTrainCost ¶
func (m *ImageClassificationModelMetadata) GetTrainCost() int64
func (*ImageClassificationModelMetadata) ProtoMessage ¶
func (*ImageClassificationModelMetadata) ProtoMessage()
func (*ImageClassificationModelMetadata) Reset ¶
func (m *ImageClassificationModelMetadata) Reset()
func (*ImageClassificationModelMetadata) String ¶
func (m *ImageClassificationModelMetadata) String() string
func (*ImageClassificationModelMetadata) XXX_DiscardUnknown ¶
func (m *ImageClassificationModelMetadata) XXX_DiscardUnknown()
func (*ImageClassificationModelMetadata) XXX_Marshal ¶
func (m *ImageClassificationModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImageClassificationModelMetadata) XXX_Merge ¶
func (dst *ImageClassificationModelMetadata) XXX_Merge(src proto.Message)
func (*ImageClassificationModelMetadata) XXX_Size ¶
func (m *ImageClassificationModelMetadata) XXX_Size() int
func (*ImageClassificationModelMetadata) XXX_Unmarshal ¶
func (m *ImageClassificationModelMetadata) XXX_Unmarshal(b []byte) error
type Image_ImageBytes ¶
type Image_ImageBytes struct {
ImageBytes []byte `protobuf:"bytes,1,opt,name=image_bytes,json=imageBytes,proto3,oneof"`
}
type Image_InputConfig ¶
type Image_InputConfig struct {
InputConfig *InputConfig `protobuf:"bytes,6,opt,name=input_config,json=inputConfig,proto3,oneof"`
}
type ImportDataRequest ¶
type ImportDataRequest struct { // Required. Dataset name. Dataset must already exist. All imported // annotations and examples will be added. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The desired input location. InputConfig *InputConfig `protobuf:"bytes,3,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [AutoMl.ImportData][google.cloud.automl.v1beta1.AutoMl.ImportData].
func (*ImportDataRequest) Descriptor ¶
func (*ImportDataRequest) Descriptor() ([]byte, []int)
func (*ImportDataRequest) GetInputConfig ¶
func (m *ImportDataRequest) GetInputConfig() *InputConfig
func (*ImportDataRequest) GetName ¶
func (m *ImportDataRequest) GetName() string
func (*ImportDataRequest) ProtoMessage ¶
func (*ImportDataRequest) ProtoMessage()
func (*ImportDataRequest) Reset ¶
func (m *ImportDataRequest) Reset()
func (*ImportDataRequest) String ¶
func (m *ImportDataRequest) String() string
func (*ImportDataRequest) XXX_DiscardUnknown ¶
func (m *ImportDataRequest) XXX_DiscardUnknown()
func (*ImportDataRequest) XXX_Marshal ¶
func (m *ImportDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportDataRequest) XXX_Merge ¶
func (dst *ImportDataRequest) XXX_Merge(src proto.Message)
func (*ImportDataRequest) XXX_Size ¶
func (m *ImportDataRequest) XXX_Size() int
func (*ImportDataRequest) XXX_Unmarshal ¶
func (m *ImportDataRequest) XXX_Unmarshal(b []byte) error
type InputConfig ¶
type InputConfig struct { // Required. The source of the input. // // Types that are valid to be assigned to Source: // *InputConfig_GcsSource Source isInputConfig_Source `protobuf_oneof:"source"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Input configuration.
func (*InputConfig) Descriptor ¶
func (*InputConfig) Descriptor() ([]byte, []int)
func (*InputConfig) GetGcsSource ¶
func (m *InputConfig) GetGcsSource() *GcsSource
func (*InputConfig) GetSource ¶
func (m *InputConfig) GetSource() isInputConfig_Source
func (*InputConfig) ProtoMessage ¶
func (*InputConfig) ProtoMessage()
func (*InputConfig) Reset ¶
func (m *InputConfig) Reset()
func (*InputConfig) String ¶
func (m *InputConfig) String() string
func (*InputConfig) XXX_DiscardUnknown ¶
func (m *InputConfig) XXX_DiscardUnknown()
func (*InputConfig) XXX_Marshal ¶
func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InputConfig) XXX_Merge ¶
func (dst *InputConfig) XXX_Merge(src proto.Message)
func (*InputConfig) XXX_OneofFuncs ¶
func (*InputConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*InputConfig) XXX_Size ¶
func (m *InputConfig) XXX_Size() int
func (*InputConfig) XXX_Unmarshal ¶
func (m *InputConfig) XXX_Unmarshal(b []byte) error
type InputConfig_GcsSource ¶
type InputConfig_GcsSource struct {
GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}
type ListDatasetsRequest ¶
type ListDatasetsRequest struct { // The resource name of the project from which to list datasets. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // An expression for filtering the results of the request. // // * `dataset_metadata` - for existence of the case. // // An example of using the filter is: // // * `translation_dataset_metadata:*` --> The dataset has // translation_dataset_metadata. Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // Requested page size. Server may return fewer results than requested. // If unspecified, server will pick a default size. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A token identifying a page of results for the server to return // Typically obtained via // [ListDatasetsResponse.next_page_token][google.cloud.automl.v1beta1.ListDatasetsResponse.next_page_token] of the previous // [AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets] call. PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets].
func (*ListDatasetsRequest) Descriptor ¶
func (*ListDatasetsRequest) Descriptor() ([]byte, []int)
func (*ListDatasetsRequest) GetFilter ¶
func (m *ListDatasetsRequest) GetFilter() string
func (*ListDatasetsRequest) GetPageSize ¶
func (m *ListDatasetsRequest) GetPageSize() int32
func (*ListDatasetsRequest) GetPageToken ¶
func (m *ListDatasetsRequest) GetPageToken() string
func (*ListDatasetsRequest) GetParent ¶
func (m *ListDatasetsRequest) GetParent() string
func (*ListDatasetsRequest) ProtoMessage ¶
func (*ListDatasetsRequest) ProtoMessage()
func (*ListDatasetsRequest) Reset ¶
func (m *ListDatasetsRequest) Reset()
func (*ListDatasetsRequest) String ¶
func (m *ListDatasetsRequest) String() string
func (*ListDatasetsRequest) XXX_DiscardUnknown ¶
func (m *ListDatasetsRequest) XXX_DiscardUnknown()
func (*ListDatasetsRequest) XXX_Marshal ¶
func (m *ListDatasetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDatasetsRequest) XXX_Merge ¶
func (dst *ListDatasetsRequest) XXX_Merge(src proto.Message)
func (*ListDatasetsRequest) XXX_Size ¶
func (m *ListDatasetsRequest) XXX_Size() int
func (*ListDatasetsRequest) XXX_Unmarshal ¶
func (m *ListDatasetsRequest) XXX_Unmarshal(b []byte) error
type ListDatasetsResponse ¶
type ListDatasetsResponse struct { // The datasets read. Datasets []*Dataset `protobuf:"bytes,1,rep,name=datasets,proto3" json:"datasets,omitempty"` // A token to retrieve next page of results. // Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1beta1.ListDatasetsRequest.page_token] to obtain that page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for [AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets].
func (*ListDatasetsResponse) Descriptor ¶
func (*ListDatasetsResponse) Descriptor() ([]byte, []int)
func (*ListDatasetsResponse) GetDatasets ¶
func (m *ListDatasetsResponse) GetDatasets() []*Dataset
func (*ListDatasetsResponse) GetNextPageToken ¶
func (m *ListDatasetsResponse) GetNextPageToken() string
func (*ListDatasetsResponse) ProtoMessage ¶
func (*ListDatasetsResponse) ProtoMessage()
func (*ListDatasetsResponse) Reset ¶
func (m *ListDatasetsResponse) Reset()
func (*ListDatasetsResponse) String ¶
func (m *ListDatasetsResponse) String() string
func (*ListDatasetsResponse) XXX_DiscardUnknown ¶
func (m *ListDatasetsResponse) XXX_DiscardUnknown()
func (*ListDatasetsResponse) XXX_Marshal ¶
func (m *ListDatasetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDatasetsResponse) XXX_Merge ¶
func (dst *ListDatasetsResponse) XXX_Merge(src proto.Message)
func (*ListDatasetsResponse) XXX_Size ¶
func (m *ListDatasetsResponse) XXX_Size() int
func (*ListDatasetsResponse) XXX_Unmarshal ¶
func (m *ListDatasetsResponse) XXX_Unmarshal(b []byte) error
type ListModelEvaluationsRequest ¶
type ListModelEvaluationsRequest struct { // Resource name of the model to list the model evaluations for. // If modelId is set as "-", this will list model evaluations from across all // models of the parent location. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // An expression for filtering the results of the request. // // * `annotation_spec_id` - for =, != or existence. See example below for // the last. // // Some examples of using the filter are: // // * `annotation_spec_id!=4` --> The model evaluation was done for // annotation spec with ID different than 4. // * `NOT annotation_spec_id:*` --> The model evaluation was done for // aggregate of all annotation specs. Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // Requested page size. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A token identifying a page of results for the server to return. // Typically obtained via // `ListModelEvaluationsResponse.next_page_token` of the previous // [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations] call. PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations].
func (*ListModelEvaluationsRequest) Descriptor ¶
func (*ListModelEvaluationsRequest) Descriptor() ([]byte, []int)
func (*ListModelEvaluationsRequest) GetFilter ¶
func (m *ListModelEvaluationsRequest) GetFilter() string
func (*ListModelEvaluationsRequest) GetPageSize ¶
func (m *ListModelEvaluationsRequest) GetPageSize() int32
func (*ListModelEvaluationsRequest) GetPageToken ¶
func (m *ListModelEvaluationsRequest) GetPageToken() string
func (*ListModelEvaluationsRequest) GetParent ¶
func (m *ListModelEvaluationsRequest) GetParent() string
func (*ListModelEvaluationsRequest) ProtoMessage ¶
func (*ListModelEvaluationsRequest) ProtoMessage()
func (*ListModelEvaluationsRequest) Reset ¶
func (m *ListModelEvaluationsRequest) Reset()
func (*ListModelEvaluationsRequest) String ¶
func (m *ListModelEvaluationsRequest) String() string
func (*ListModelEvaluationsRequest) XXX_DiscardUnknown ¶
func (m *ListModelEvaluationsRequest) XXX_DiscardUnknown()
func (*ListModelEvaluationsRequest) XXX_Marshal ¶
func (m *ListModelEvaluationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListModelEvaluationsRequest) XXX_Merge ¶
func (dst *ListModelEvaluationsRequest) XXX_Merge(src proto.Message)
func (*ListModelEvaluationsRequest) XXX_Size ¶
func (m *ListModelEvaluationsRequest) XXX_Size() int
func (*ListModelEvaluationsRequest) XXX_Unmarshal ¶
func (m *ListModelEvaluationsRequest) XXX_Unmarshal(b []byte) error
type ListModelEvaluationsResponse ¶
type ListModelEvaluationsResponse struct { // List of model evaluations in the requested page. ModelEvaluation []*ModelEvaluation `protobuf:"bytes,1,rep,name=model_evaluation,json=modelEvaluation,proto3" json:"model_evaluation,omitempty"` // A token to retrieve next page of results. // Pass to [ListModelEvaluations.page_token][] to obtain that page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations].
func (*ListModelEvaluationsResponse) Descriptor ¶
func (*ListModelEvaluationsResponse) Descriptor() ([]byte, []int)
func (*ListModelEvaluationsResponse) GetModelEvaluation ¶
func (m *ListModelEvaluationsResponse) GetModelEvaluation() []*ModelEvaluation
func (*ListModelEvaluationsResponse) GetNextPageToken ¶
func (m *ListModelEvaluationsResponse) GetNextPageToken() string
func (*ListModelEvaluationsResponse) ProtoMessage ¶
func (*ListModelEvaluationsResponse) ProtoMessage()
func (*ListModelEvaluationsResponse) Reset ¶
func (m *ListModelEvaluationsResponse) Reset()
func (*ListModelEvaluationsResponse) String ¶
func (m *ListModelEvaluationsResponse) String() string
func (*ListModelEvaluationsResponse) XXX_DiscardUnknown ¶
func (m *ListModelEvaluationsResponse) XXX_DiscardUnknown()
func (*ListModelEvaluationsResponse) XXX_Marshal ¶
func (m *ListModelEvaluationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListModelEvaluationsResponse) XXX_Merge ¶
func (dst *ListModelEvaluationsResponse) XXX_Merge(src proto.Message)
func (*ListModelEvaluationsResponse) XXX_Size ¶
func (m *ListModelEvaluationsResponse) XXX_Size() int
func (*ListModelEvaluationsResponse) XXX_Unmarshal ¶
func (m *ListModelEvaluationsResponse) XXX_Unmarshal(b []byte) error
type ListModelsRequest ¶
type ListModelsRequest struct { // Resource name of the project, from which to list the models. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // An expression for filtering the results of the request. // // * `model_metadata` - for existence of the case. // * `dataset_id` - for = or !=. // // Some examples of using the filter are: // // * `image_classification_model_metadata:*` --> The model has // image_classification_model_metadata. // * `dataset_id=5` --> The model was created from a sibling dataset with // ID 5. Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // Requested page size. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A token identifying a page of results for the server to return // Typically obtained via // [ListModelsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelsResponse.next_page_token] of the previous // [AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels] call. PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels].
func (*ListModelsRequest) Descriptor ¶
func (*ListModelsRequest) Descriptor() ([]byte, []int)
func (*ListModelsRequest) GetFilter ¶
func (m *ListModelsRequest) GetFilter() string
func (*ListModelsRequest) GetPageSize ¶
func (m *ListModelsRequest) GetPageSize() int32
func (*ListModelsRequest) GetPageToken ¶
func (m *ListModelsRequest) GetPageToken() string
func (*ListModelsRequest) GetParent ¶
func (m *ListModelsRequest) GetParent() string
func (*ListModelsRequest) ProtoMessage ¶
func (*ListModelsRequest) ProtoMessage()
func (*ListModelsRequest) Reset ¶
func (m *ListModelsRequest) Reset()
func (*ListModelsRequest) String ¶
func (m *ListModelsRequest) String() string
func (*ListModelsRequest) XXX_DiscardUnknown ¶
func (m *ListModelsRequest) XXX_DiscardUnknown()
func (*ListModelsRequest) XXX_Marshal ¶
func (m *ListModelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListModelsRequest) XXX_Merge ¶
func (dst *ListModelsRequest) XXX_Merge(src proto.Message)
func (*ListModelsRequest) XXX_Size ¶
func (m *ListModelsRequest) XXX_Size() int
func (*ListModelsRequest) XXX_Unmarshal ¶
func (m *ListModelsRequest) XXX_Unmarshal(b []byte) error
type ListModelsResponse ¶
type ListModelsResponse struct { // List of models in the requested page. Model []*Model `protobuf:"bytes,1,rep,name=model,proto3" json:"model,omitempty"` // A token to retrieve next page of results. // Pass to [ListModels.page_token][] to obtain that page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for [AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels].
func (*ListModelsResponse) Descriptor ¶
func (*ListModelsResponse) Descriptor() ([]byte, []int)
func (*ListModelsResponse) GetModel ¶
func (m *ListModelsResponse) GetModel() []*Model
func (*ListModelsResponse) GetNextPageToken ¶
func (m *ListModelsResponse) GetNextPageToken() string
func (*ListModelsResponse) ProtoMessage ¶
func (*ListModelsResponse) ProtoMessage()
func (*ListModelsResponse) Reset ¶
func (m *ListModelsResponse) Reset()
func (*ListModelsResponse) String ¶
func (m *ListModelsResponse) String() string
func (*ListModelsResponse) XXX_DiscardUnknown ¶
func (m *ListModelsResponse) XXX_DiscardUnknown()
func (*ListModelsResponse) XXX_Marshal ¶
func (m *ListModelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListModelsResponse) XXX_Merge ¶
func (dst *ListModelsResponse) XXX_Merge(src proto.Message)
func (*ListModelsResponse) XXX_Size ¶
func (m *ListModelsResponse) XXX_Size() int
func (*ListModelsResponse) XXX_Unmarshal ¶
func (m *ListModelsResponse) XXX_Unmarshal(b []byte) error
type Model ¶
type Model struct { // Required. // The model metadata that is specific to the problem type. // Must match the metadata type of the dataset used to train the model. // // Types that are valid to be assigned to ModelMetadata: // *Model_ImageClassificationModelMetadata // *Model_TextClassificationModelMetadata // *Model_TranslationModelMetadata ModelMetadata isModel_ModelMetadata `protobuf_oneof:"model_metadata"` // Output only. // Resource name of the model. // Format: `projects/{project_id}/locations/{location_id}/models/{model_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The name of the model to show in the interface. The name can be // up to 32 characters // long and can consist only of ASCII Latin letters A-Z and a-z, underscores // (_), and ASCII digits 0-9. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Required. // The resource ID of the dataset used to create the model. The dataset must // come from the // same ancestor project and location. DatasetId string `protobuf:"bytes,3,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // Output only. // Timestamp when this model was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. // Timestamp when this model was last updated. UpdateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Deployment state of the model. DeploymentState Model_DeploymentState `` /* 162-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
API proto representing a trained machine learning model.
func (*Model) Descriptor ¶
func (*Model) GetCreateTime ¶
func (*Model) GetDatasetId ¶
func (*Model) GetDeploymentState ¶
func (m *Model) GetDeploymentState() Model_DeploymentState
func (*Model) GetDisplayName ¶
func (*Model) GetImageClassificationModelMetadata ¶
func (m *Model) GetImageClassificationModelMetadata() *ImageClassificationModelMetadata
func (*Model) GetModelMetadata ¶
func (m *Model) GetModelMetadata() isModel_ModelMetadata
func (*Model) GetTextClassificationModelMetadata ¶
func (m *Model) GetTextClassificationModelMetadata() *TextClassificationModelMetadata
func (*Model) GetTranslationModelMetadata ¶
func (m *Model) GetTranslationModelMetadata() *TranslationModelMetadata
func (*Model) GetUpdateTime ¶
func (*Model) ProtoMessage ¶
func (*Model) ProtoMessage()
func (*Model) XXX_DiscardUnknown ¶
func (m *Model) XXX_DiscardUnknown()
func (*Model) XXX_Marshal ¶
func (*Model) XXX_OneofFuncs ¶
func (*Model) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Model) XXX_Unmarshal ¶
type ModelEvaluation ¶
type ModelEvaluation struct { // Output only. Problem type specific evaluation metrics. // // Types that are valid to be assigned to Metrics: // *ModelEvaluation_ClassificationEvaluationMetrics // *ModelEvaluation_TranslationEvaluationMetrics Metrics isModelEvaluation_Metrics `protobuf_oneof:"metrics"` // Output only. // Resource name of the model evaluation. // Format: // // `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. // The ID of the annotation spec that the model evaluation applies to. The // ID is empty for overall model evaluation. // NOTE: Currently there is no way to obtain the display_name of the // annotation spec from its ID. To see the display_names, review the model // evaluations in the UI. AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` // Output only. // Timestamp when this model evaluation was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The number of examples used for model evaluation. EvaluatedExampleCount int32 `` /* 127-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Evaluation results of a model.
func (*ModelEvaluation) Descriptor ¶
func (*ModelEvaluation) Descriptor() ([]byte, []int)
func (*ModelEvaluation) GetAnnotationSpecId ¶
func (m *ModelEvaluation) GetAnnotationSpecId() string
func (*ModelEvaluation) GetClassificationEvaluationMetrics ¶
func (m *ModelEvaluation) GetClassificationEvaluationMetrics() *ClassificationEvaluationMetrics
func (*ModelEvaluation) GetCreateTime ¶
func (m *ModelEvaluation) GetCreateTime() *timestamp.Timestamp
func (*ModelEvaluation) GetEvaluatedExampleCount ¶
func (m *ModelEvaluation) GetEvaluatedExampleCount() int32
func (*ModelEvaluation) GetMetrics ¶
func (m *ModelEvaluation) GetMetrics() isModelEvaluation_Metrics
func (*ModelEvaluation) GetName ¶
func (m *ModelEvaluation) GetName() string
func (*ModelEvaluation) GetTranslationEvaluationMetrics ¶
func (m *ModelEvaluation) GetTranslationEvaluationMetrics() *TranslationEvaluationMetrics
func (*ModelEvaluation) ProtoMessage ¶
func (*ModelEvaluation) ProtoMessage()
func (*ModelEvaluation) Reset ¶
func (m *ModelEvaluation) Reset()
func (*ModelEvaluation) String ¶
func (m *ModelEvaluation) String() string
func (*ModelEvaluation) XXX_DiscardUnknown ¶
func (m *ModelEvaluation) XXX_DiscardUnknown()
func (*ModelEvaluation) XXX_Marshal ¶
func (m *ModelEvaluation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModelEvaluation) XXX_Merge ¶
func (dst *ModelEvaluation) XXX_Merge(src proto.Message)
func (*ModelEvaluation) XXX_OneofFuncs ¶
func (*ModelEvaluation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ModelEvaluation) XXX_Size ¶
func (m *ModelEvaluation) XXX_Size() int
func (*ModelEvaluation) XXX_Unmarshal ¶
func (m *ModelEvaluation) XXX_Unmarshal(b []byte) error
type ModelEvaluation_ClassificationEvaluationMetrics ¶
type ModelEvaluation_ClassificationEvaluationMetrics struct {
ClassificationEvaluationMetrics *ClassificationEvaluationMetrics `protobuf:"bytes,8,opt,name=classification_evaluation_metrics,json=classificationEvaluationMetrics,proto3,oneof"`
}
type ModelEvaluation_TranslationEvaluationMetrics ¶
type ModelEvaluation_TranslationEvaluationMetrics struct {
TranslationEvaluationMetrics *TranslationEvaluationMetrics `protobuf:"bytes,9,opt,name=translation_evaluation_metrics,json=translationEvaluationMetrics,proto3,oneof"`
}
type Model_DeploymentState ¶
type Model_DeploymentState int32
Deployment state of the model.
const ( // Should not be used, an un-set enum has this value by default. Model_DEPLOYMENT_STATE_UNSPECIFIED Model_DeploymentState = 0 // Model is deployed. Model_DEPLOYED Model_DeploymentState = 1 // Model is not deployed. Model_UNDEPLOYED Model_DeploymentState = 2 )
func (Model_DeploymentState) EnumDescriptor ¶
func (Model_DeploymentState) EnumDescriptor() ([]byte, []int)
func (Model_DeploymentState) String ¶
func (x Model_DeploymentState) String() string
type Model_ImageClassificationModelMetadata ¶
type Model_ImageClassificationModelMetadata struct {
ImageClassificationModelMetadata *ImageClassificationModelMetadata `protobuf:"bytes,13,opt,name=image_classification_model_metadata,json=imageClassificationModelMetadata,proto3,oneof"`
}
type Model_TextClassificationModelMetadata ¶
type Model_TextClassificationModelMetadata struct {
TextClassificationModelMetadata *TextClassificationModelMetadata `protobuf:"bytes,14,opt,name=text_classification_model_metadata,json=textClassificationModelMetadata,proto3,oneof"`
}
type Model_TranslationModelMetadata ¶
type Model_TranslationModelMetadata struct {
TranslationModelMetadata *TranslationModelMetadata `protobuf:"bytes,15,opt,name=translation_model_metadata,json=translationModelMetadata,proto3,oneof"`
}
type OperationMetadata ¶
type OperationMetadata struct { // Ouptut only. Details of specific operation. Even if this field is empty, // the presence allows to distinguish different types of operations. // // Types that are valid to be assigned to Details: // *OperationMetadata_CreateModelDetails Details isOperationMetadata_Details `protobuf_oneof:"details"` // Output only. Progress of operation. Range: [0, 100]. ProgressPercent int32 `protobuf:"varint,13,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` // Output only. Partial failures encountered. // E.g. single files that couldn't be read. // This field should never exceed 20 entries. // Status details field will contain standard GCP error details. PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` // Output only. Time when the operation was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time when the operation was updated for the last time. UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata used across all long running operations returned by AutoML API.
func (*OperationMetadata) Descriptor ¶
func (*OperationMetadata) Descriptor() ([]byte, []int)
func (*OperationMetadata) GetCreateModelDetails ¶
func (m *OperationMetadata) GetCreateModelDetails() *CreateModelOperationMetadata
func (*OperationMetadata) GetCreateTime ¶
func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp
func (*OperationMetadata) GetDetails ¶
func (m *OperationMetadata) GetDetails() isOperationMetadata_Details
func (*OperationMetadata) GetPartialFailures ¶
func (m *OperationMetadata) GetPartialFailures() []*status.Status
func (*OperationMetadata) GetProgressPercent ¶
func (m *OperationMetadata) GetProgressPercent() int32
func (*OperationMetadata) GetUpdateTime ¶
func (m *OperationMetadata) GetUpdateTime() *timestamp.Timestamp
func (*OperationMetadata) ProtoMessage ¶
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) Reset ¶
func (m *OperationMetadata) Reset()
func (*OperationMetadata) String ¶
func (m *OperationMetadata) String() string
func (*OperationMetadata) XXX_DiscardUnknown ¶
func (m *OperationMetadata) XXX_DiscardUnknown()
func (*OperationMetadata) XXX_Marshal ¶
func (m *OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OperationMetadata) XXX_Merge ¶
func (dst *OperationMetadata) XXX_Merge(src proto.Message)
func (*OperationMetadata) XXX_OneofFuncs ¶
func (*OperationMetadata) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*OperationMetadata) XXX_Size ¶
func (m *OperationMetadata) XXX_Size() int
func (*OperationMetadata) XXX_Unmarshal ¶
func (m *OperationMetadata) XXX_Unmarshal(b []byte) error
type OperationMetadata_CreateModelDetails ¶
type OperationMetadata_CreateModelDetails struct {
CreateModelDetails *CreateModelOperationMetadata `protobuf:"bytes,10,opt,name=create_model_details,json=createModelDetails,proto3,oneof"`
}
type OutputConfig ¶
type OutputConfig struct { // Required. The destination of the output. // // Types that are valid to be assigned to Destination: // *OutputConfig_GcsDestination Destination isOutputConfig_Destination `protobuf_oneof:"destination"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Output configuration.
func (*OutputConfig) Descriptor ¶
func (*OutputConfig) Descriptor() ([]byte, []int)
func (*OutputConfig) GetDestination ¶
func (m *OutputConfig) GetDestination() isOutputConfig_Destination
func (*OutputConfig) GetGcsDestination ¶
func (m *OutputConfig) GetGcsDestination() *GcsDestination
func (*OutputConfig) ProtoMessage ¶
func (*OutputConfig) ProtoMessage()
func (*OutputConfig) Reset ¶
func (m *OutputConfig) Reset()
func (*OutputConfig) String ¶
func (m *OutputConfig) String() string
func (*OutputConfig) XXX_DiscardUnknown ¶
func (m *OutputConfig) XXX_DiscardUnknown()
func (*OutputConfig) XXX_Marshal ¶
func (m *OutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutputConfig) XXX_Merge ¶
func (dst *OutputConfig) XXX_Merge(src proto.Message)
func (*OutputConfig) XXX_OneofFuncs ¶
func (*OutputConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*OutputConfig) XXX_Size ¶
func (m *OutputConfig) XXX_Size() int
func (*OutputConfig) XXX_Unmarshal ¶
func (m *OutputConfig) XXX_Unmarshal(b []byte) error
type OutputConfig_GcsDestination ¶
type OutputConfig_GcsDestination struct {
GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"`
}
type PredictRequest ¶
type PredictRequest struct { // Name of the model requested to serve the prediction. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. // Payload to perform a prediction on. The payload must match the // problem type that the model was trained to solve. Payload *ExamplePayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // Additional domain-specific parameters, any string must be up to 25000 // characters long. // // * For Image Classification: // // `score_threshold` - (float) A value from 0.0 to 1.0. When the model // makes predictions for an // image, it will only produce results that have at least this confidence // score threshold. The default is 0.5. Params map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict].
func (*PredictRequest) Descriptor ¶
func (*PredictRequest) Descriptor() ([]byte, []int)
func (*PredictRequest) GetName ¶
func (m *PredictRequest) GetName() string
func (*PredictRequest) GetParams ¶
func (m *PredictRequest) GetParams() map[string]string
func (*PredictRequest) GetPayload ¶
func (m *PredictRequest) GetPayload() *ExamplePayload
func (*PredictRequest) ProtoMessage ¶
func (*PredictRequest) ProtoMessage()
func (*PredictRequest) Reset ¶
func (m *PredictRequest) Reset()
func (*PredictRequest) String ¶
func (m *PredictRequest) String() string
func (*PredictRequest) XXX_DiscardUnknown ¶
func (m *PredictRequest) XXX_DiscardUnknown()
func (*PredictRequest) XXX_Marshal ¶
func (m *PredictRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PredictRequest) XXX_Merge ¶
func (dst *PredictRequest) XXX_Merge(src proto.Message)
func (*PredictRequest) XXX_Size ¶
func (m *PredictRequest) XXX_Size() int
func (*PredictRequest) XXX_Unmarshal ¶
func (m *PredictRequest) XXX_Unmarshal(b []byte) error
type PredictResponse ¶
type PredictResponse struct { // Prediction result. Payload []*AnnotationPayload `protobuf:"bytes,1,rep,name=payload,proto3" json:"payload,omitempty"` // Additional domain-specific prediction response metadata. Metadata map[string]string `` /* 157-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict].
Currently, this is only used to return an image recognition prediction result. More prediction output metadata might be introduced in the future.
func (*PredictResponse) Descriptor ¶
func (*PredictResponse) Descriptor() ([]byte, []int)
func (*PredictResponse) GetMetadata ¶
func (m *PredictResponse) GetMetadata() map[string]string
func (*PredictResponse) GetPayload ¶
func (m *PredictResponse) GetPayload() []*AnnotationPayload
func (*PredictResponse) ProtoMessage ¶
func (*PredictResponse) ProtoMessage()
func (*PredictResponse) Reset ¶
func (m *PredictResponse) Reset()
func (*PredictResponse) String ¶
func (m *PredictResponse) String() string
func (*PredictResponse) XXX_DiscardUnknown ¶
func (m *PredictResponse) XXX_DiscardUnknown()
func (*PredictResponse) XXX_Marshal ¶
func (m *PredictResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PredictResponse) XXX_Merge ¶
func (dst *PredictResponse) XXX_Merge(src proto.Message)
func (*PredictResponse) XXX_Size ¶
func (m *PredictResponse) XXX_Size() int
func (*PredictResponse) XXX_Unmarshal ¶
func (m *PredictResponse) XXX_Unmarshal(b []byte) error
type PredictionServiceClient ¶
type PredictionServiceClient interface { // Perform a prediction. Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*PredictResponse, error) }
PredictionServiceClient is the client API for PredictionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPredictionServiceClient ¶
func NewPredictionServiceClient(cc *grpc.ClientConn) PredictionServiceClient
type PredictionServiceServer ¶
type PredictionServiceServer interface { // Perform a prediction. Predict(context.Context, *PredictRequest) (*PredictResponse, error) }
PredictionServiceServer is the server API for PredictionService service.
type TextClassificationDatasetMetadata ¶
type TextClassificationDatasetMetadata struct { // Required. // Type of the classification problem. ClassificationType ClassificationType `` /* 168-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Dataset metadata for classification.
func (*TextClassificationDatasetMetadata) Descriptor ¶
func (*TextClassificationDatasetMetadata) Descriptor() ([]byte, []int)
func (*TextClassificationDatasetMetadata) GetClassificationType ¶
func (m *TextClassificationDatasetMetadata) GetClassificationType() ClassificationType
func (*TextClassificationDatasetMetadata) ProtoMessage ¶
func (*TextClassificationDatasetMetadata) ProtoMessage()
func (*TextClassificationDatasetMetadata) Reset ¶
func (m *TextClassificationDatasetMetadata) Reset()
func (*TextClassificationDatasetMetadata) String ¶
func (m *TextClassificationDatasetMetadata) String() string
func (*TextClassificationDatasetMetadata) XXX_DiscardUnknown ¶
func (m *TextClassificationDatasetMetadata) XXX_DiscardUnknown()
func (*TextClassificationDatasetMetadata) XXX_Marshal ¶
func (m *TextClassificationDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TextClassificationDatasetMetadata) XXX_Merge ¶
func (dst *TextClassificationDatasetMetadata) XXX_Merge(src proto.Message)
func (*TextClassificationDatasetMetadata) XXX_Size ¶
func (m *TextClassificationDatasetMetadata) XXX_Size() int
func (*TextClassificationDatasetMetadata) XXX_Unmarshal ¶
func (m *TextClassificationDatasetMetadata) XXX_Unmarshal(b []byte) error
type TextClassificationModelMetadata ¶
type TextClassificationModelMetadata struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Model metadata that is specific to text classification.
func (*TextClassificationModelMetadata) Descriptor ¶
func (*TextClassificationModelMetadata) Descriptor() ([]byte, []int)
func (*TextClassificationModelMetadata) ProtoMessage ¶
func (*TextClassificationModelMetadata) ProtoMessage()
func (*TextClassificationModelMetadata) Reset ¶
func (m *TextClassificationModelMetadata) Reset()
func (*TextClassificationModelMetadata) String ¶
func (m *TextClassificationModelMetadata) String() string
func (*TextClassificationModelMetadata) XXX_DiscardUnknown ¶
func (m *TextClassificationModelMetadata) XXX_DiscardUnknown()
func (*TextClassificationModelMetadata) XXX_Marshal ¶
func (m *TextClassificationModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TextClassificationModelMetadata) XXX_Merge ¶
func (dst *TextClassificationModelMetadata) XXX_Merge(src proto.Message)
func (*TextClassificationModelMetadata) XXX_Size ¶
func (m *TextClassificationModelMetadata) XXX_Size() int
func (*TextClassificationModelMetadata) XXX_Unmarshal ¶
func (m *TextClassificationModelMetadata) XXX_Unmarshal(b []byte) error
type TextSnippet ¶
type TextSnippet struct { // Required. The content of the text snippet as a string. Up to 250000 // characters long. Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // The format of the source text. For example, "text/html" or // "text/plain". If left blank the format is automatically determined from // the type of the uploaded content. The default is "text/html". Up to 25000 // characters long. MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // Output only. HTTP URI where you can download the content. ContentUri string `protobuf:"bytes,4,opt,name=content_uri,json=contentUri,proto3" json:"content_uri,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A representation of a text snippet.
func (*TextSnippet) Descriptor ¶
func (*TextSnippet) Descriptor() ([]byte, []int)
func (*TextSnippet) GetContent ¶
func (m *TextSnippet) GetContent() string
func (*TextSnippet) GetContentUri ¶
func (m *TextSnippet) GetContentUri() string
func (*TextSnippet) GetMimeType ¶
func (m *TextSnippet) GetMimeType() string
func (*TextSnippet) ProtoMessage ¶
func (*TextSnippet) ProtoMessage()
func (*TextSnippet) Reset ¶
func (m *TextSnippet) Reset()
func (*TextSnippet) String ¶
func (m *TextSnippet) String() string
func (*TextSnippet) XXX_DiscardUnknown ¶
func (m *TextSnippet) XXX_DiscardUnknown()
func (*TextSnippet) XXX_Marshal ¶
func (m *TextSnippet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TextSnippet) XXX_Merge ¶
func (dst *TextSnippet) XXX_Merge(src proto.Message)
func (*TextSnippet) XXX_Size ¶
func (m *TextSnippet) XXX_Size() int
func (*TextSnippet) XXX_Unmarshal ¶
func (m *TextSnippet) XXX_Unmarshal(b []byte) error
type TranslationAnnotation ¶
type TranslationAnnotation struct { // Output only . The translated content. TranslatedContent *TextSnippet `protobuf:"bytes,1,opt,name=translated_content,json=translatedContent,proto3" json:"translated_content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Annotation details specific to translation.
func (*TranslationAnnotation) Descriptor ¶
func (*TranslationAnnotation) Descriptor() ([]byte, []int)
func (*TranslationAnnotation) GetTranslatedContent ¶
func (m *TranslationAnnotation) GetTranslatedContent() *TextSnippet
func (*TranslationAnnotation) ProtoMessage ¶
func (*TranslationAnnotation) ProtoMessage()
func (*TranslationAnnotation) Reset ¶
func (m *TranslationAnnotation) Reset()
func (*TranslationAnnotation) String ¶
func (m *TranslationAnnotation) String() string
func (*TranslationAnnotation) XXX_DiscardUnknown ¶
func (m *TranslationAnnotation) XXX_DiscardUnknown()
func (*TranslationAnnotation) XXX_Marshal ¶
func (m *TranslationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TranslationAnnotation) XXX_Merge ¶
func (dst *TranslationAnnotation) XXX_Merge(src proto.Message)
func (*TranslationAnnotation) XXX_Size ¶
func (m *TranslationAnnotation) XXX_Size() int
func (*TranslationAnnotation) XXX_Unmarshal ¶
func (m *TranslationAnnotation) XXX_Unmarshal(b []byte) error
type TranslationDatasetMetadata ¶
type TranslationDatasetMetadata struct { // Required. The BCP-47 language code of the source language. SourceLanguageCode string `protobuf:"bytes,1,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"` // Required. The BCP-47 language code of the target language. TargetLanguageCode string `protobuf:"bytes,2,opt,name=target_language_code,json=targetLanguageCode,proto3" json:"target_language_code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Dataset metadata that is specific to translation.
func (*TranslationDatasetMetadata) Descriptor ¶
func (*TranslationDatasetMetadata) Descriptor() ([]byte, []int)
func (*TranslationDatasetMetadata) GetSourceLanguageCode ¶
func (m *TranslationDatasetMetadata) GetSourceLanguageCode() string
func (*TranslationDatasetMetadata) GetTargetLanguageCode ¶
func (m *TranslationDatasetMetadata) GetTargetLanguageCode() string
func (*TranslationDatasetMetadata) ProtoMessage ¶
func (*TranslationDatasetMetadata) ProtoMessage()
func (*TranslationDatasetMetadata) Reset ¶
func (m *TranslationDatasetMetadata) Reset()
func (*TranslationDatasetMetadata) String ¶
func (m *TranslationDatasetMetadata) String() string
func (*TranslationDatasetMetadata) XXX_DiscardUnknown ¶
func (m *TranslationDatasetMetadata) XXX_DiscardUnknown()
func (*TranslationDatasetMetadata) XXX_Marshal ¶
func (m *TranslationDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TranslationDatasetMetadata) XXX_Merge ¶
func (dst *TranslationDatasetMetadata) XXX_Merge(src proto.Message)
func (*TranslationDatasetMetadata) XXX_Size ¶
func (m *TranslationDatasetMetadata) XXX_Size() int
func (*TranslationDatasetMetadata) XXX_Unmarshal ¶
func (m *TranslationDatasetMetadata) XXX_Unmarshal(b []byte) error
type TranslationEvaluationMetrics ¶
type TranslationEvaluationMetrics struct { // Output only. BLEU score. BleuScore float64 `protobuf:"fixed64,1,opt,name=bleu_score,json=bleuScore,proto3" json:"bleu_score,omitempty"` // Output only. BLEU score for base model. BaseBleuScore float64 `protobuf:"fixed64,2,opt,name=base_bleu_score,json=baseBleuScore,proto3" json:"base_bleu_score,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Evaluation metrics for the dataset.
func (*TranslationEvaluationMetrics) Descriptor ¶
func (*TranslationEvaluationMetrics) Descriptor() ([]byte, []int)
func (*TranslationEvaluationMetrics) GetBaseBleuScore ¶
func (m *TranslationEvaluationMetrics) GetBaseBleuScore() float64
func (*TranslationEvaluationMetrics) GetBleuScore ¶
func (m *TranslationEvaluationMetrics) GetBleuScore() float64
func (*TranslationEvaluationMetrics) ProtoMessage ¶
func (*TranslationEvaluationMetrics) ProtoMessage()
func (*TranslationEvaluationMetrics) Reset ¶
func (m *TranslationEvaluationMetrics) Reset()
func (*TranslationEvaluationMetrics) String ¶
func (m *TranslationEvaluationMetrics) String() string
func (*TranslationEvaluationMetrics) XXX_DiscardUnknown ¶
func (m *TranslationEvaluationMetrics) XXX_DiscardUnknown()
func (*TranslationEvaluationMetrics) XXX_Marshal ¶
func (m *TranslationEvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TranslationEvaluationMetrics) XXX_Merge ¶
func (dst *TranslationEvaluationMetrics) XXX_Merge(src proto.Message)
func (*TranslationEvaluationMetrics) XXX_Size ¶
func (m *TranslationEvaluationMetrics) XXX_Size() int
func (*TranslationEvaluationMetrics) XXX_Unmarshal ¶
func (m *TranslationEvaluationMetrics) XXX_Unmarshal(b []byte) error
type TranslationModelMetadata ¶
type TranslationModelMetadata struct { // The resource name of the model to use as a baseline to train the custom // model. If unset, we use the default base model provided by Google // Translate. Format: // `projects/{project_id}/locations/{location_id}/models/{model_id}` BaseModel string `protobuf:"bytes,1,opt,name=base_model,json=baseModel,proto3" json:"base_model,omitempty"` // Output only. Inferred from the dataset. // The source languge (The BCP-47 language code) that is used for training. SourceLanguageCode string `protobuf:"bytes,2,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"` // Output only. The target languge (The BCP-47 language code) that is used for // training. TargetLanguageCode string `protobuf:"bytes,3,opt,name=target_language_code,json=targetLanguageCode,proto3" json:"target_language_code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Model metadata that is specific to translation.
func (*TranslationModelMetadata) Descriptor ¶
func (*TranslationModelMetadata) Descriptor() ([]byte, []int)
func (*TranslationModelMetadata) GetBaseModel ¶
func (m *TranslationModelMetadata) GetBaseModel() string
func (*TranslationModelMetadata) GetSourceLanguageCode ¶
func (m *TranslationModelMetadata) GetSourceLanguageCode() string
func (*TranslationModelMetadata) GetTargetLanguageCode ¶
func (m *TranslationModelMetadata) GetTargetLanguageCode() string
func (*TranslationModelMetadata) ProtoMessage ¶
func (*TranslationModelMetadata) ProtoMessage()
func (*TranslationModelMetadata) Reset ¶
func (m *TranslationModelMetadata) Reset()
func (*TranslationModelMetadata) String ¶
func (m *TranslationModelMetadata) String() string
func (*TranslationModelMetadata) XXX_DiscardUnknown ¶
func (m *TranslationModelMetadata) XXX_DiscardUnknown()
func (*TranslationModelMetadata) XXX_Marshal ¶
func (m *TranslationModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TranslationModelMetadata) XXX_Merge ¶
func (dst *TranslationModelMetadata) XXX_Merge(src proto.Message)
func (*TranslationModelMetadata) XXX_Size ¶
func (m *TranslationModelMetadata) XXX_Size() int
func (*TranslationModelMetadata) XXX_Unmarshal ¶
func (m *TranslationModelMetadata) XXX_Unmarshal(b []byte) error
type UndeployModelRequest ¶
type UndeployModelRequest struct { // Resource name of the model to undeploy. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [AutoMl.UndeployModel][google.cloud.automl.v1beta1.AutoMl.UndeployModel].
func (*UndeployModelRequest) Descriptor ¶
func (*UndeployModelRequest) Descriptor() ([]byte, []int)
func (*UndeployModelRequest) GetName ¶
func (m *UndeployModelRequest) GetName() string
func (*UndeployModelRequest) ProtoMessage ¶
func (*UndeployModelRequest) ProtoMessage()
func (*UndeployModelRequest) Reset ¶
func (m *UndeployModelRequest) Reset()
func (*UndeployModelRequest) String ¶
func (m *UndeployModelRequest) String() string
func (*UndeployModelRequest) XXX_DiscardUnknown ¶
func (m *UndeployModelRequest) XXX_DiscardUnknown()
func (*UndeployModelRequest) XXX_Marshal ¶
func (m *UndeployModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UndeployModelRequest) XXX_Merge ¶
func (dst *UndeployModelRequest) XXX_Merge(src proto.Message)
func (*UndeployModelRequest) XXX_Size ¶
func (m *UndeployModelRequest) XXX_Size() int
func (*UndeployModelRequest) XXX_Unmarshal ¶
func (m *UndeployModelRequest) XXX_Unmarshal(b []byte) error