v1

package
v0.1.367 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 18 Imported by: 8

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	Order_name = map[int32]string{
		0: "ORDER_UNSPECIFIED",
		1: "ORDER_DESCENDING",
		2: "ORDER_ASCENDING",
	}
	Order_value = map[string]int32{
		"ORDER_UNSPECIFIED": 0,
		"ORDER_DESCENDING":  1,
		"ORDER_ASCENDING":   2,
	}
)

Enum value maps for Order.

View Source
var (
	TagsFilterType_name = map[int32]string{
		0: "TAGS_FILTER_TYPE_UNSPECIFIED",
		1: "TAGS_FILTER_TYPE_MATCH_BY_OR",
		2: "TAGS_FILTER_TYPE_TAGGED",
		3: "TAGS_FILTER_TYPE_UNTAGGED",
	}
	TagsFilterType_value = map[string]int32{
		"TAGS_FILTER_TYPE_UNSPECIFIED": 0,
		"TAGS_FILTER_TYPE_MATCH_BY_OR": 1,
		"TAGS_FILTER_TYPE_TAGGED":      2,
		"TAGS_FILTER_TYPE_UNTAGGED":    3,
	}
)

Enum value maps for TagsFilterType.

View Source
var DataService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "viam.app.data.v1.DataService",
	HandlerType: (*DataServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "TabularDataByFilter",
			Handler:    _DataService_TabularDataByFilter_Handler,
		},
		{
			MethodName: "TabularDataBySQL",
			Handler:    _DataService_TabularDataBySQL_Handler,
		},
		{
			MethodName: "TabularDataByMQL",
			Handler:    _DataService_TabularDataByMQL_Handler,
		},
		{
			MethodName: "GetLatestTabularData",
			Handler:    _DataService_GetLatestTabularData_Handler,
		},
		{
			MethodName: "BinaryDataByFilter",
			Handler:    _DataService_BinaryDataByFilter_Handler,
		},
		{
			MethodName: "BinaryDataByIDs",
			Handler:    _DataService_BinaryDataByIDs_Handler,
		},
		{
			MethodName: "DeleteTabularData",
			Handler:    _DataService_DeleteTabularData_Handler,
		},
		{
			MethodName: "DeleteBinaryDataByFilter",
			Handler:    _DataService_DeleteBinaryDataByFilter_Handler,
		},
		{
			MethodName: "DeleteBinaryDataByIDs",
			Handler:    _DataService_DeleteBinaryDataByIDs_Handler,
		},
		{
			MethodName: "AddTagsToBinaryDataByIDs",
			Handler:    _DataService_AddTagsToBinaryDataByIDs_Handler,
		},
		{
			MethodName: "AddTagsToBinaryDataByFilter",
			Handler:    _DataService_AddTagsToBinaryDataByFilter_Handler,
		},
		{
			MethodName: "RemoveTagsFromBinaryDataByIDs",
			Handler:    _DataService_RemoveTagsFromBinaryDataByIDs_Handler,
		},
		{
			MethodName: "RemoveTagsFromBinaryDataByFilter",
			Handler:    _DataService_RemoveTagsFromBinaryDataByFilter_Handler,
		},
		{
			MethodName: "TagsByFilter",
			Handler:    _DataService_TagsByFilter_Handler,
		},
		{
			MethodName: "AddBoundingBoxToImageByID",
			Handler:    _DataService_AddBoundingBoxToImageByID_Handler,
		},
		{
			MethodName: "RemoveBoundingBoxFromImageByID",
			Handler:    _DataService_RemoveBoundingBoxFromImageByID_Handler,
		},
		{
			MethodName: "BoundingBoxLabelsByFilter",
			Handler:    _DataService_BoundingBoxLabelsByFilter_Handler,
		},
		{
			MethodName: "UpdateBoundingBox",
			Handler:    _DataService_UpdateBoundingBox_Handler,
		},
		{
			MethodName: "GetDatabaseConnection",
			Handler:    _DataService_GetDatabaseConnection_Handler,
		},
		{
			MethodName: "ConfigureDatabaseUser",
			Handler:    _DataService_ConfigureDatabaseUser_Handler,
		},
		{
			MethodName: "AddBinaryDataToDatasetByIDs",
			Handler:    _DataService_AddBinaryDataToDatasetByIDs_Handler,
		},
		{
			MethodName: "RemoveBinaryDataFromDatasetByIDs",
			Handler:    _DataService_RemoveBinaryDataFromDatasetByIDs_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ExportTabularData",
			Handler:       _DataService_ExportTabularData_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "app/data/v1/data.proto",
}

DataService_ServiceDesc is the grpc.ServiceDesc for DataService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_app_data_v1_data_proto protoreflect.FileDescriptor

Functions

func RegisterDataServiceHandler

func RegisterDataServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterDataServiceHandler registers the http handlers for service DataService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterDataServiceHandlerClient

func RegisterDataServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DataServiceClient) error

RegisterDataServiceHandlerClient registers the http handlers for service DataService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DataServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DataServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DataServiceClient" to call the correct interceptors.

func RegisterDataServiceHandlerFromEndpoint

func RegisterDataServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterDataServiceHandlerFromEndpoint is same as RegisterDataServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterDataServiceHandlerServer

func RegisterDataServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DataServiceServer) error

RegisterDataServiceHandlerServer registers the http handlers for service DataService to "mux". UnaryRPC :call DataServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDataServiceHandlerFromEndpoint instead.

func RegisterDataServiceServer

func RegisterDataServiceServer(s grpc.ServiceRegistrar, srv DataServiceServer)

Types

type AddBinaryDataToDatasetByIDsRequest added in v0.1.196

type AddBinaryDataToDatasetByIDsRequest struct {
	BinaryIds []*BinaryID `protobuf:"bytes,1,rep,name=binary_ids,json=binaryIds,proto3" json:"binary_ids,omitempty"`
	DatasetId string      `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	// contains filtered or unexported fields
}

AddBinaryDataToDatasetByIDsRequest adds the binary data with the given binary IDs to a dataset with dataset_id.

func (*AddBinaryDataToDatasetByIDsRequest) Descriptor deprecated added in v0.1.196

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

Deprecated: Use AddBinaryDataToDatasetByIDsRequest.ProtoReflect.Descriptor instead.

func (*AddBinaryDataToDatasetByIDsRequest) GetBinaryIds added in v0.1.196

func (x *AddBinaryDataToDatasetByIDsRequest) GetBinaryIds() []*BinaryID

func (*AddBinaryDataToDatasetByIDsRequest) GetDatasetId added in v0.1.196

func (x *AddBinaryDataToDatasetByIDsRequest) GetDatasetId() string

func (*AddBinaryDataToDatasetByIDsRequest) ProtoMessage added in v0.1.196

func (*AddBinaryDataToDatasetByIDsRequest) ProtoMessage()

func (*AddBinaryDataToDatasetByIDsRequest) ProtoReflect added in v0.1.196

func (*AddBinaryDataToDatasetByIDsRequest) Reset added in v0.1.196

func (*AddBinaryDataToDatasetByIDsRequest) String added in v0.1.196

type AddBinaryDataToDatasetByIDsResponse added in v0.1.196

type AddBinaryDataToDatasetByIDsResponse struct {
	// contains filtered or unexported fields
}

func (*AddBinaryDataToDatasetByIDsResponse) Descriptor deprecated added in v0.1.196

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

Deprecated: Use AddBinaryDataToDatasetByIDsResponse.ProtoReflect.Descriptor instead.

func (*AddBinaryDataToDatasetByIDsResponse) ProtoMessage added in v0.1.196

func (*AddBinaryDataToDatasetByIDsResponse) ProtoMessage()

func (*AddBinaryDataToDatasetByIDsResponse) ProtoReflect added in v0.1.196

func (*AddBinaryDataToDatasetByIDsResponse) Reset added in v0.1.196

func (*AddBinaryDataToDatasetByIDsResponse) String added in v0.1.196

type AddBoundingBoxToImageByIDRequest added in v0.1.110

type AddBoundingBoxToImageByIDRequest struct {
	BinaryId       *BinaryID `protobuf:"bytes,7,opt,name=binary_id,json=binaryId,proto3" json:"binary_id,omitempty"`
	Label          string    `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	XMinNormalized float64   `protobuf:"fixed64,3,opt,name=x_min_normalized,json=xMinNormalized,proto3" json:"x_min_normalized,omitempty"`
	YMinNormalized float64   `protobuf:"fixed64,4,opt,name=y_min_normalized,json=yMinNormalized,proto3" json:"y_min_normalized,omitempty"`
	XMaxNormalized float64   `protobuf:"fixed64,5,opt,name=x_max_normalized,json=xMaxNormalized,proto3" json:"x_max_normalized,omitempty"`
	YMaxNormalized float64   `protobuf:"fixed64,6,opt,name=y_max_normalized,json=yMaxNormalized,proto3" json:"y_max_normalized,omitempty"`
	// contains filtered or unexported fields
}

AddBoundingBoxToImageByIDRequest specifies the binary ID to which a bounding box with the associated label and position in normalized coordinates will be added.

func (*AddBoundingBoxToImageByIDRequest) Descriptor deprecated added in v0.1.110

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

Deprecated: Use AddBoundingBoxToImageByIDRequest.ProtoReflect.Descriptor instead.

func (*AddBoundingBoxToImageByIDRequest) GetBinaryId added in v0.1.133

func (x *AddBoundingBoxToImageByIDRequest) GetBinaryId() *BinaryID

func (*AddBoundingBoxToImageByIDRequest) GetLabel added in v0.1.110

func (*AddBoundingBoxToImageByIDRequest) GetXMaxNormalized added in v0.1.110

func (x *AddBoundingBoxToImageByIDRequest) GetXMaxNormalized() float64

func (*AddBoundingBoxToImageByIDRequest) GetXMinNormalized added in v0.1.110

func (x *AddBoundingBoxToImageByIDRequest) GetXMinNormalized() float64

func (*AddBoundingBoxToImageByIDRequest) GetYMaxNormalized added in v0.1.110

func (x *AddBoundingBoxToImageByIDRequest) GetYMaxNormalized() float64

func (*AddBoundingBoxToImageByIDRequest) GetYMinNormalized added in v0.1.110

func (x *AddBoundingBoxToImageByIDRequest) GetYMinNormalized() float64

func (*AddBoundingBoxToImageByIDRequest) ProtoMessage added in v0.1.110

func (*AddBoundingBoxToImageByIDRequest) ProtoMessage()

func (*AddBoundingBoxToImageByIDRequest) ProtoReflect added in v0.1.110

func (*AddBoundingBoxToImageByIDRequest) Reset added in v0.1.110

func (*AddBoundingBoxToImageByIDRequest) String added in v0.1.110

type AddBoundingBoxToImageByIDResponse added in v0.1.110

type AddBoundingBoxToImageByIDResponse struct {
	BboxId string `protobuf:"bytes,1,opt,name=bbox_id,json=bboxId,proto3" json:"bbox_id,omitempty"`
	// contains filtered or unexported fields
}

AddBoundingBoxToImageByIDResponse returns the bounding box ID of the successfully added bounding box.

func (*AddBoundingBoxToImageByIDResponse) Descriptor deprecated added in v0.1.110

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

Deprecated: Use AddBoundingBoxToImageByIDResponse.ProtoReflect.Descriptor instead.

func (*AddBoundingBoxToImageByIDResponse) GetBboxId added in v0.1.110

func (*AddBoundingBoxToImageByIDResponse) ProtoMessage added in v0.1.110

func (*AddBoundingBoxToImageByIDResponse) ProtoMessage()

func (*AddBoundingBoxToImageByIDResponse) ProtoReflect added in v0.1.110

func (*AddBoundingBoxToImageByIDResponse) Reset added in v0.1.110

func (*AddBoundingBoxToImageByIDResponse) String added in v0.1.110

type AddTagsToBinaryDataByFilterRequest added in v0.1.9

type AddTagsToBinaryDataByFilterRequest struct {
	Filter *Filter  `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	Tags   []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

AddTagsToBinaryDataByFilterRequest requests adding all specified tags to each of the files when a filter is provided.

func (*AddTagsToBinaryDataByFilterRequest) Descriptor deprecated added in v0.1.9

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

Deprecated: Use AddTagsToBinaryDataByFilterRequest.ProtoReflect.Descriptor instead.

func (*AddTagsToBinaryDataByFilterRequest) GetFilter added in v0.1.9

func (*AddTagsToBinaryDataByFilterRequest) GetTags added in v0.1.9

func (*AddTagsToBinaryDataByFilterRequest) ProtoMessage added in v0.1.9

func (*AddTagsToBinaryDataByFilterRequest) ProtoMessage()

func (*AddTagsToBinaryDataByFilterRequest) ProtoReflect added in v0.1.9

func (*AddTagsToBinaryDataByFilterRequest) Reset added in v0.1.9

func (*AddTagsToBinaryDataByFilterRequest) String added in v0.1.9

type AddTagsToBinaryDataByFilterResponse added in v0.1.9

type AddTagsToBinaryDataByFilterResponse struct {
	// contains filtered or unexported fields
}

func (*AddTagsToBinaryDataByFilterResponse) Descriptor deprecated added in v0.1.9

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

Deprecated: Use AddTagsToBinaryDataByFilterResponse.ProtoReflect.Descriptor instead.

func (*AddTagsToBinaryDataByFilterResponse) ProtoMessage added in v0.1.9

func (*AddTagsToBinaryDataByFilterResponse) ProtoMessage()

func (*AddTagsToBinaryDataByFilterResponse) ProtoReflect added in v0.1.9

func (*AddTagsToBinaryDataByFilterResponse) Reset added in v0.1.9

func (*AddTagsToBinaryDataByFilterResponse) String added in v0.1.9

type AddTagsToBinaryDataByIDsRequest added in v0.1.139

type AddTagsToBinaryDataByIDsRequest struct {
	BinaryIds []*BinaryID `protobuf:"bytes,3,rep,name=binary_ids,json=binaryIds,proto3" json:"binary_ids,omitempty"`
	Tags      []string    `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

AddTagsToBinaryDataByIDsRequest requests adding all specified tags to each of the files when binary ids are provided.

func (*AddTagsToBinaryDataByIDsRequest) Descriptor deprecated added in v0.1.139

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

Deprecated: Use AddTagsToBinaryDataByIDsRequest.ProtoReflect.Descriptor instead.

func (*AddTagsToBinaryDataByIDsRequest) GetBinaryIds added in v0.1.139

func (x *AddTagsToBinaryDataByIDsRequest) GetBinaryIds() []*BinaryID

func (*AddTagsToBinaryDataByIDsRequest) GetTags added in v0.1.139

func (x *AddTagsToBinaryDataByIDsRequest) GetTags() []string

func (*AddTagsToBinaryDataByIDsRequest) ProtoMessage added in v0.1.139

func (*AddTagsToBinaryDataByIDsRequest) ProtoMessage()

func (*AddTagsToBinaryDataByIDsRequest) ProtoReflect added in v0.1.139

func (*AddTagsToBinaryDataByIDsRequest) Reset added in v0.1.139

func (*AddTagsToBinaryDataByIDsRequest) String added in v0.1.139

type AddTagsToBinaryDataByIDsResponse added in v0.1.139

type AddTagsToBinaryDataByIDsResponse struct {
	// contains filtered or unexported fields
}

func (*AddTagsToBinaryDataByIDsResponse) Descriptor deprecated added in v0.1.139

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

Deprecated: Use AddTagsToBinaryDataByIDsResponse.ProtoReflect.Descriptor instead.

func (*AddTagsToBinaryDataByIDsResponse) ProtoMessage added in v0.1.139

func (*AddTagsToBinaryDataByIDsResponse) ProtoMessage()

func (*AddTagsToBinaryDataByIDsResponse) ProtoReflect added in v0.1.139

func (*AddTagsToBinaryDataByIDsResponse) Reset added in v0.1.139

func (*AddTagsToBinaryDataByIDsResponse) String added in v0.1.139

type Annotations added in v0.1.110

type Annotations struct {
	Bboxes          []*BoundingBox    `protobuf:"bytes,1,rep,name=bboxes,proto3" json:"bboxes,omitempty"`
	Classifications []*Classification `protobuf:"bytes,2,rep,name=classifications,proto3" json:"classifications,omitempty"`
	// contains filtered or unexported fields
}

Annotations are data annotations used for machine learning.

func (*Annotations) Descriptor deprecated added in v0.1.110

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

Deprecated: Use Annotations.ProtoReflect.Descriptor instead.

func (*Annotations) GetBboxes added in v0.1.110

func (x *Annotations) GetBboxes() []*BoundingBox

func (*Annotations) GetClassifications added in v0.1.360

func (x *Annotations) GetClassifications() []*Classification

func (*Annotations) ProtoMessage added in v0.1.110

func (*Annotations) ProtoMessage()

func (*Annotations) ProtoReflect added in v0.1.110

func (x *Annotations) ProtoReflect() protoreflect.Message

func (*Annotations) Reset added in v0.1.110

func (x *Annotations) Reset()

func (*Annotations) String added in v0.1.110

func (x *Annotations) String() string

type BinaryData

type BinaryData struct {
	Binary   []byte          `protobuf:"bytes,1,opt,name=binary,proto3" json:"binary,omitempty"`
	Metadata *BinaryMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

BinaryData contains data and metadata associated with binary data.

func (*BinaryData) Descriptor deprecated

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

Deprecated: Use BinaryData.ProtoReflect.Descriptor instead.

func (*BinaryData) GetBinary

func (x *BinaryData) GetBinary() []byte

func (*BinaryData) GetMetadata added in v0.1.3

func (x *BinaryData) GetMetadata() *BinaryMetadata

func (*BinaryData) ProtoMessage

func (*BinaryData) ProtoMessage()

func (*BinaryData) ProtoReflect

func (x *BinaryData) ProtoReflect() protoreflect.Message

func (*BinaryData) Reset

func (x *BinaryData) Reset()

func (*BinaryData) String

func (x *BinaryData) String() string

type BinaryDataByFilterRequest

type BinaryDataByFilterRequest struct {
	DataRequest         *DataRequest `protobuf:"bytes,1,opt,name=data_request,json=dataRequest,proto3" json:"data_request,omitempty"`
	IncludeBinary       bool         `protobuf:"varint,2,opt,name=include_binary,json=includeBinary,proto3" json:"include_binary,omitempty"`
	CountOnly           bool         `protobuf:"varint,3,opt,name=count_only,json=countOnly,proto3" json:"count_only,omitempty"`
	IncludeInternalData bool         `protobuf:"varint,4,opt,name=include_internal_data,json=includeInternalData,proto3" json:"include_internal_data,omitempty"`
	// contains filtered or unexported fields
}

BinaryDataByFilterRequest requests the data and metadata of binary (image + file) data when a filter is provided.

func (*BinaryDataByFilterRequest) Descriptor deprecated

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

Deprecated: Use BinaryDataByFilterRequest.ProtoReflect.Descriptor instead.

func (*BinaryDataByFilterRequest) GetCountOnly

func (x *BinaryDataByFilterRequest) GetCountOnly() bool

func (*BinaryDataByFilterRequest) GetDataRequest

func (x *BinaryDataByFilterRequest) GetDataRequest() *DataRequest

func (*BinaryDataByFilterRequest) GetIncludeBinary

func (x *BinaryDataByFilterRequest) GetIncludeBinary() bool

func (*BinaryDataByFilterRequest) GetIncludeInternalData added in v0.1.187

func (x *BinaryDataByFilterRequest) GetIncludeInternalData() bool

func (*BinaryDataByFilterRequest) ProtoMessage

func (*BinaryDataByFilterRequest) ProtoMessage()

func (*BinaryDataByFilterRequest) ProtoReflect

func (*BinaryDataByFilterRequest) Reset

func (x *BinaryDataByFilterRequest) Reset()

func (*BinaryDataByFilterRequest) String

func (x *BinaryDataByFilterRequest) String() string

type BinaryDataByFilterResponse

type BinaryDataByFilterResponse struct {
	Data           []*BinaryData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	Count          uint64        `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Last           string        `protobuf:"bytes,3,opt,name=last,proto3" json:"last,omitempty"`
	TotalSizeBytes uint64        `protobuf:"varint,4,opt,name=total_size_bytes,json=totalSizeBytes,proto3" json:"total_size_bytes,omitempty"`
	// contains filtered or unexported fields
}

BinaryDataByFilterResponse provides the data and metadata of binary (image + file) data when a filter is provided.

func (*BinaryDataByFilterResponse) Descriptor deprecated

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

Deprecated: Use BinaryDataByFilterResponse.ProtoReflect.Descriptor instead.

func (*BinaryDataByFilterResponse) GetCount

func (x *BinaryDataByFilterResponse) GetCount() uint64

func (*BinaryDataByFilterResponse) GetData

func (x *BinaryDataByFilterResponse) GetData() []*BinaryData

func (*BinaryDataByFilterResponse) GetLast added in v0.1.5

func (x *BinaryDataByFilterResponse) GetLast() string

func (*BinaryDataByFilterResponse) GetTotalSizeBytes added in v0.1.141

func (x *BinaryDataByFilterResponse) GetTotalSizeBytes() uint64

func (*BinaryDataByFilterResponse) ProtoMessage

func (*BinaryDataByFilterResponse) ProtoMessage()

func (*BinaryDataByFilterResponse) ProtoReflect

func (*BinaryDataByFilterResponse) Reset

func (x *BinaryDataByFilterResponse) Reset()

func (*BinaryDataByFilterResponse) String

func (x *BinaryDataByFilterResponse) String() string

type BinaryDataByIDsRequest

type BinaryDataByIDsRequest struct {
	IncludeBinary bool        `protobuf:"varint,2,opt,name=include_binary,json=includeBinary,proto3" json:"include_binary,omitempty"`
	BinaryIds     []*BinaryID `protobuf:"bytes,3,rep,name=binary_ids,json=binaryIds,proto3" json:"binary_ids,omitempty"`
	// contains filtered or unexported fields
}

BinaryDataByFilterRequest requests the data and metadata of binary (image + file) data by binary ids.

func (*BinaryDataByIDsRequest) Descriptor deprecated

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

Deprecated: Use BinaryDataByIDsRequest.ProtoReflect.Descriptor instead.

func (*BinaryDataByIDsRequest) GetBinaryIds added in v0.1.133

func (x *BinaryDataByIDsRequest) GetBinaryIds() []*BinaryID

func (*BinaryDataByIDsRequest) GetIncludeBinary

func (x *BinaryDataByIDsRequest) GetIncludeBinary() bool

func (*BinaryDataByIDsRequest) ProtoMessage

func (*BinaryDataByIDsRequest) ProtoMessage()

func (*BinaryDataByIDsRequest) ProtoReflect

func (x *BinaryDataByIDsRequest) ProtoReflect() protoreflect.Message

func (*BinaryDataByIDsRequest) Reset

func (x *BinaryDataByIDsRequest) Reset()

func (*BinaryDataByIDsRequest) String

func (x *BinaryDataByIDsRequest) String() string

type BinaryDataByIDsResponse

type BinaryDataByIDsResponse struct {
	Data  []*BinaryData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	Count uint64        `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

BinaryDataByIDsResponse provides the data and metadata of binary (image + file) data when a filter is provided.

func (*BinaryDataByIDsResponse) Descriptor deprecated

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

Deprecated: Use BinaryDataByIDsResponse.ProtoReflect.Descriptor instead.

func (*BinaryDataByIDsResponse) GetCount

func (x *BinaryDataByIDsResponse) GetCount() uint64

func (*BinaryDataByIDsResponse) GetData

func (x *BinaryDataByIDsResponse) GetData() []*BinaryData

func (*BinaryDataByIDsResponse) ProtoMessage

func (*BinaryDataByIDsResponse) ProtoMessage()

func (*BinaryDataByIDsResponse) ProtoReflect

func (x *BinaryDataByIDsResponse) ProtoReflect() protoreflect.Message

func (*BinaryDataByIDsResponse) Reset

func (x *BinaryDataByIDsResponse) Reset()

func (*BinaryDataByIDsResponse) String

func (x *BinaryDataByIDsResponse) String() string

type BinaryID added in v0.1.133

type BinaryID struct {
	FileId         string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
	OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	LocationId     string `protobuf:"bytes,3,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	// contains filtered or unexported fields
}

BinaryID is the unique identifier for a file that one can request to be retrieved or modified.

func (*BinaryID) Descriptor deprecated added in v0.1.133

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

Deprecated: Use BinaryID.ProtoReflect.Descriptor instead.

func (*BinaryID) GetFileId added in v0.1.133

func (x *BinaryID) GetFileId() string

func (*BinaryID) GetLocationId added in v0.1.133

func (x *BinaryID) GetLocationId() string

func (*BinaryID) GetOrganizationId added in v0.1.133

func (x *BinaryID) GetOrganizationId() string

func (*BinaryID) ProtoMessage added in v0.1.133

func (*BinaryID) ProtoMessage()

func (*BinaryID) ProtoReflect added in v0.1.133

func (x *BinaryID) ProtoReflect() protoreflect.Message

func (*BinaryID) Reset added in v0.1.133

func (x *BinaryID) Reset()

func (*BinaryID) String added in v0.1.133

func (x *BinaryID) String() string

type BinaryMetadata added in v0.1.3

type BinaryMetadata struct {
	Id              string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CaptureMetadata *CaptureMetadata       `protobuf:"bytes,2,opt,name=capture_metadata,json=captureMetadata,proto3" json:"capture_metadata,omitempty"`
	TimeRequested   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time_requested,json=timeRequested,proto3" json:"time_requested,omitempty"`
	TimeReceived    *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time_received,json=timeReceived,proto3" json:"time_received,omitempty"`
	FileName        string                 `protobuf:"bytes,5,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	FileExt         string                 `protobuf:"bytes,6,opt,name=file_ext,json=fileExt,proto3" json:"file_ext,omitempty"`
	Uri             string                 `protobuf:"bytes,7,opt,name=uri,proto3" json:"uri,omitempty"`
	Annotations     *Annotations           `protobuf:"bytes,8,opt,name=annotations,proto3" json:"annotations,omitempty"`
	DatasetIds      []string               `protobuf:"bytes,9,rep,name=dataset_ids,json=datasetIds,proto3" json:"dataset_ids,omitempty"`
	// contains filtered or unexported fields
}

BinaryMetadata is the metadata associated with binary data.

func (*BinaryMetadata) Descriptor deprecated added in v0.1.3

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

Deprecated: Use BinaryMetadata.ProtoReflect.Descriptor instead.

func (*BinaryMetadata) GetAnnotations added in v0.1.110

func (x *BinaryMetadata) GetAnnotations() *Annotations

func (*BinaryMetadata) GetCaptureMetadata added in v0.1.3

func (x *BinaryMetadata) GetCaptureMetadata() *CaptureMetadata

func (*BinaryMetadata) GetDatasetIds added in v0.1.197

func (x *BinaryMetadata) GetDatasetIds() []string

func (*BinaryMetadata) GetFileExt added in v0.1.3

func (x *BinaryMetadata) GetFileExt() string

func (*BinaryMetadata) GetFileName added in v0.1.3

func (x *BinaryMetadata) GetFileName() string

func (*BinaryMetadata) GetId added in v0.1.3

func (x *BinaryMetadata) GetId() string

func (*BinaryMetadata) GetTimeReceived added in v0.1.3

func (x *BinaryMetadata) GetTimeReceived() *timestamppb.Timestamp

func (*BinaryMetadata) GetTimeRequested added in v0.1.3

func (x *BinaryMetadata) GetTimeRequested() *timestamppb.Timestamp

func (*BinaryMetadata) GetUri added in v0.1.3

func (x *BinaryMetadata) GetUri() string

func (*BinaryMetadata) ProtoMessage added in v0.1.3

func (*BinaryMetadata) ProtoMessage()

func (*BinaryMetadata) ProtoReflect added in v0.1.3

func (x *BinaryMetadata) ProtoReflect() protoreflect.Message

func (*BinaryMetadata) Reset added in v0.1.3

func (x *BinaryMetadata) Reset()

func (*BinaryMetadata) String added in v0.1.3

func (x *BinaryMetadata) String() string

type BoundingBox added in v0.1.110

type BoundingBox struct {
	Id             string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Label          string  `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	XMinNormalized float64 `protobuf:"fixed64,3,opt,name=x_min_normalized,json=xMinNormalized,proto3" json:"x_min_normalized,omitempty"`
	YMinNormalized float64 `protobuf:"fixed64,4,opt,name=y_min_normalized,json=yMinNormalized,proto3" json:"y_min_normalized,omitempty"`
	XMaxNormalized float64 `protobuf:"fixed64,5,opt,name=x_max_normalized,json=xMaxNormalized,proto3" json:"x_max_normalized,omitempty"`
	YMaxNormalized float64 `protobuf:"fixed64,6,opt,name=y_max_normalized,json=yMaxNormalized,proto3" json:"y_max_normalized,omitempty"`
	// confidence is an optional range from 0 - 1
	Confidence *float64 `protobuf:"fixed64,7,opt,name=confidence,proto3,oneof" json:"confidence,omitempty"`
	// contains filtered or unexported fields
}

BoundingBox represents a labeled bounding box on an image. x and y values are normalized ratios between 0 and 1.

func (*BoundingBox) Descriptor deprecated added in v0.1.110

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

Deprecated: Use BoundingBox.ProtoReflect.Descriptor instead.

func (*BoundingBox) GetConfidence added in v0.1.360

func (x *BoundingBox) GetConfidence() float64

func (*BoundingBox) GetId added in v0.1.110

func (x *BoundingBox) GetId() string

func (*BoundingBox) GetLabel added in v0.1.110

func (x *BoundingBox) GetLabel() string

func (*BoundingBox) GetXMaxNormalized added in v0.1.110

func (x *BoundingBox) GetXMaxNormalized() float64

func (*BoundingBox) GetXMinNormalized added in v0.1.110

func (x *BoundingBox) GetXMinNormalized() float64

func (*BoundingBox) GetYMaxNormalized added in v0.1.110

func (x *BoundingBox) GetYMaxNormalized() float64

func (*BoundingBox) GetYMinNormalized added in v0.1.110

func (x *BoundingBox) GetYMinNormalized() float64

func (*BoundingBox) ProtoMessage added in v0.1.110

func (*BoundingBox) ProtoMessage()

func (*BoundingBox) ProtoReflect added in v0.1.110

func (x *BoundingBox) ProtoReflect() protoreflect.Message

func (*BoundingBox) Reset added in v0.1.110

func (x *BoundingBox) Reset()

func (*BoundingBox) String added in v0.1.110

func (x *BoundingBox) String() string

type BoundingBoxLabelsByFilterRequest added in v0.1.110

type BoundingBoxLabelsByFilterRequest struct {
	Filter *Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

BoundingBoxLabelsByFilterRequest requests all the labels of the bounding boxes from files from a given filter.

func (*BoundingBoxLabelsByFilterRequest) Descriptor deprecated added in v0.1.110

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

Deprecated: Use BoundingBoxLabelsByFilterRequest.ProtoReflect.Descriptor instead.

func (*BoundingBoxLabelsByFilterRequest) GetFilter added in v0.1.110

func (x *BoundingBoxLabelsByFilterRequest) GetFilter() *Filter

func (*BoundingBoxLabelsByFilterRequest) ProtoMessage added in v0.1.110

func (*BoundingBoxLabelsByFilterRequest) ProtoMessage()

func (*BoundingBoxLabelsByFilterRequest) ProtoReflect added in v0.1.110

func (*BoundingBoxLabelsByFilterRequest) Reset added in v0.1.110

func (*BoundingBoxLabelsByFilterRequest) String added in v0.1.110

type BoundingBoxLabelsByFilterResponse added in v0.1.110

type BoundingBoxLabelsByFilterResponse struct {
	Labels []string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

BoundingBoxLabelsByFilterRequest returns all the labels of the bounding boxes from files from a given filter.

func (*BoundingBoxLabelsByFilterResponse) Descriptor deprecated added in v0.1.110

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

Deprecated: Use BoundingBoxLabelsByFilterResponse.ProtoReflect.Descriptor instead.

func (*BoundingBoxLabelsByFilterResponse) GetLabels added in v0.1.110

func (x *BoundingBoxLabelsByFilterResponse) GetLabels() []string

func (*BoundingBoxLabelsByFilterResponse) ProtoMessage added in v0.1.110

func (*BoundingBoxLabelsByFilterResponse) ProtoMessage()

func (*BoundingBoxLabelsByFilterResponse) ProtoReflect added in v0.1.110

func (*BoundingBoxLabelsByFilterResponse) Reset added in v0.1.110

func (*BoundingBoxLabelsByFilterResponse) String added in v0.1.110

type CaptureInterval

type CaptureInterval struct {
	Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

CaptureInterval describes the start and end time of the capture in this file.

func (*CaptureInterval) Descriptor deprecated

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

Deprecated: Use CaptureInterval.ProtoReflect.Descriptor instead.

func (*CaptureInterval) GetEnd

func (x *CaptureInterval) GetEnd() *timestamppb.Timestamp

func (*CaptureInterval) GetStart

func (x *CaptureInterval) GetStart() *timestamppb.Timestamp

func (*CaptureInterval) ProtoMessage

func (*CaptureInterval) ProtoMessage()

func (*CaptureInterval) ProtoReflect

func (x *CaptureInterval) ProtoReflect() protoreflect.Message

func (*CaptureInterval) Reset

func (x *CaptureInterval) Reset()

func (*CaptureInterval) String

func (x *CaptureInterval) String() string

type CaptureMetadata

type CaptureMetadata struct {
	OrganizationId   string                `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	LocationId       string                `protobuf:"bytes,2,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	RobotName        string                `protobuf:"bytes,3,opt,name=robot_name,json=robotName,proto3" json:"robot_name,omitempty"`
	RobotId          string                `protobuf:"bytes,4,opt,name=robot_id,json=robotId,proto3" json:"robot_id,omitempty"`
	PartName         string                `protobuf:"bytes,5,opt,name=part_name,json=partName,proto3" json:"part_name,omitempty"`
	PartId           string                `protobuf:"bytes,6,opt,name=part_id,json=partId,proto3" json:"part_id,omitempty"`
	ComponentType    string                `protobuf:"bytes,7,opt,name=component_type,json=componentType,proto3" json:"component_type,omitempty"`
	ComponentName    string                `protobuf:"bytes,9,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
	MethodName       string                `protobuf:"bytes,10,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
	MethodParameters map[string]*anypb.Any `` /* 198-byte string literal not displayed */
	Tags             []string              `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"`
	MimeType         string                `protobuf:"bytes,13,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// contains filtered or unexported fields
}

CaptureMetadata contains information on the settings used for the data capture.

func (*CaptureMetadata) Descriptor deprecated

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

Deprecated: Use CaptureMetadata.ProtoReflect.Descriptor instead.

func (*CaptureMetadata) GetComponentName

func (x *CaptureMetadata) GetComponentName() string

func (*CaptureMetadata) GetComponentType

func (x *CaptureMetadata) GetComponentType() string

func (*CaptureMetadata) GetLocationId

func (x *CaptureMetadata) GetLocationId() string

func (*CaptureMetadata) GetMethodName

func (x *CaptureMetadata) GetMethodName() string

func (*CaptureMetadata) GetMethodParameters

func (x *CaptureMetadata) GetMethodParameters() map[string]*anypb.Any

func (*CaptureMetadata) GetMimeType

func (x *CaptureMetadata) GetMimeType() string

func (*CaptureMetadata) GetOrganizationId added in v0.1.139

func (x *CaptureMetadata) GetOrganizationId() string

func (*CaptureMetadata) GetPartId

func (x *CaptureMetadata) GetPartId() string

func (*CaptureMetadata) GetPartName

func (x *CaptureMetadata) GetPartName() string

func (*CaptureMetadata) GetRobotId

func (x *CaptureMetadata) GetRobotId() string

func (*CaptureMetadata) GetRobotName

func (x *CaptureMetadata) GetRobotName() string

func (*CaptureMetadata) GetTags

func (x *CaptureMetadata) GetTags() []string

func (*CaptureMetadata) ProtoMessage

func (*CaptureMetadata) ProtoMessage()

func (*CaptureMetadata) ProtoReflect

func (x *CaptureMetadata) ProtoReflect() protoreflect.Message

func (*CaptureMetadata) Reset

func (x *CaptureMetadata) Reset()

func (*CaptureMetadata) String

func (x *CaptureMetadata) String() string

type Classification added in v0.1.360

type Classification struct {
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// confidence is an optional range from 0 - 1
	Confidence *float64 `protobuf:"fixed64,2,opt,name=confidence,proto3,oneof" json:"confidence,omitempty"`
	// contains filtered or unexported fields
}

Classification represents a confidence score with a label.

func (*Classification) Descriptor deprecated added in v0.1.360

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

Deprecated: Use Classification.ProtoReflect.Descriptor instead.

func (*Classification) GetConfidence added in v0.1.360

func (x *Classification) GetConfidence() float64

func (*Classification) GetLabel added in v0.1.360

func (x *Classification) GetLabel() string

func (*Classification) ProtoMessage added in v0.1.360

func (*Classification) ProtoMessage()

func (*Classification) ProtoReflect added in v0.1.360

func (x *Classification) ProtoReflect() protoreflect.Message

func (*Classification) Reset added in v0.1.360

func (x *Classification) Reset()

func (*Classification) String added in v0.1.360

func (x *Classification) String() string

type ConfigureDatabaseUserRequest added in v0.1.193

type ConfigureDatabaseUserRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	Password       string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

ConfigureDatabaseUserRequest accepts a Viam organization ID and a password for the database user being configured. Viam uses gRPC over TLS, so the entire request will be encrypted while in flight, including the password.

func (*ConfigureDatabaseUserRequest) Descriptor deprecated added in v0.1.193

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

Deprecated: Use ConfigureDatabaseUserRequest.ProtoReflect.Descriptor instead.

func (*ConfigureDatabaseUserRequest) GetOrganizationId added in v0.1.193

func (x *ConfigureDatabaseUserRequest) GetOrganizationId() string

func (*ConfigureDatabaseUserRequest) GetPassword added in v0.1.193

func (x *ConfigureDatabaseUserRequest) GetPassword() string

func (*ConfigureDatabaseUserRequest) ProtoMessage added in v0.1.193

func (*ConfigureDatabaseUserRequest) ProtoMessage()

func (*ConfigureDatabaseUserRequest) ProtoReflect added in v0.1.193

func (*ConfigureDatabaseUserRequest) Reset added in v0.1.193

func (x *ConfigureDatabaseUserRequest) Reset()

func (*ConfigureDatabaseUserRequest) String added in v0.1.193

type ConfigureDatabaseUserResponse added in v0.1.193

type ConfigureDatabaseUserResponse struct {
	// contains filtered or unexported fields
}

func (*ConfigureDatabaseUserResponse) Descriptor deprecated added in v0.1.193

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

Deprecated: Use ConfigureDatabaseUserResponse.ProtoReflect.Descriptor instead.

func (*ConfigureDatabaseUserResponse) ProtoMessage added in v0.1.193

func (*ConfigureDatabaseUserResponse) ProtoMessage()

func (*ConfigureDatabaseUserResponse) ProtoReflect added in v0.1.193

func (*ConfigureDatabaseUserResponse) Reset added in v0.1.193

func (x *ConfigureDatabaseUserResponse) Reset()

func (*ConfigureDatabaseUserResponse) String added in v0.1.193

type DataRequest

type DataRequest struct {
	Filter    *Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	Limit     uint64  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Last      string  `protobuf:"bytes,3,opt,name=last,proto3" json:"last,omitempty"`
	SortOrder Order   `protobuf:"varint,4,opt,name=sort_order,json=sortOrder,proto3,enum=viam.app.data.v1.Order" json:"sort_order,omitempty"`
	// contains filtered or unexported fields
}

DataRequest encapsulates the filter for the data, a limit on the maximum results returned, a last string associated with the last returned document, and the sorting order by time. last is returned in the responses TabularDataByFilterResponse and BinaryDataByFilterResponse from the API calls TabularDataByFilter and BinaryDataByFilter, respectively. We can then use the last string from the previous API calls in the subsequent request to get the next set of ordered documents.

func (*DataRequest) Descriptor deprecated

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

Deprecated: Use DataRequest.ProtoReflect.Descriptor instead.

func (*DataRequest) GetFilter

func (x *DataRequest) GetFilter() *Filter

func (*DataRequest) GetLast added in v0.1.5

func (x *DataRequest) GetLast() string

func (*DataRequest) GetLimit

func (x *DataRequest) GetLimit() uint64

func (*DataRequest) GetSortOrder added in v0.1.5

func (x *DataRequest) GetSortOrder() Order

func (*DataRequest) ProtoMessage

func (*DataRequest) ProtoMessage()

func (*DataRequest) ProtoReflect

func (x *DataRequest) ProtoReflect() protoreflect.Message

func (*DataRequest) Reset

func (x *DataRequest) Reset()

func (*DataRequest) String

func (x *DataRequest) String() string

type DataServiceClient

type DataServiceClient interface {
	// Deprecated: Do not use.
	// TabularDataByFilter queries tabular data and metadata based on given filters.
	TabularDataByFilter(ctx context.Context, in *TabularDataByFilterRequest, opts ...grpc.CallOption) (*TabularDataByFilterResponse, error)
	// TabularDataBySQL queries tabular data with a SQL query.
	TabularDataBySQL(ctx context.Context, in *TabularDataBySQLRequest, opts ...grpc.CallOption) (*TabularDataBySQLResponse, error)
	// TabularDataByMQL queries tabular data with an MQL (MongoDB Query Language) query.
	TabularDataByMQL(ctx context.Context, in *TabularDataByMQLRequest, opts ...grpc.CallOption) (*TabularDataByMQLResponse, error)
	// ExportTabularData queries tabular data from the specified data source.
	ExportTabularData(ctx context.Context, in *ExportTabularDataRequest, opts ...grpc.CallOption) (DataService_ExportTabularDataClient, error)
	// GetLatestTabularData gets the most recent tabular data captured from the specified data source.
	GetLatestTabularData(ctx context.Context, in *GetLatestTabularDataRequest, opts ...grpc.CallOption) (*GetLatestTabularDataResponse, error)
	// BinaryDataByFilter queries binary data and metadata based on given filters.
	BinaryDataByFilter(ctx context.Context, in *BinaryDataByFilterRequest, opts ...grpc.CallOption) (*BinaryDataByFilterResponse, error)
	// BinaryDataByIDs queries binary data and metadata based on given IDs.
	BinaryDataByIDs(ctx context.Context, in *BinaryDataByIDsRequest, opts ...grpc.CallOption) (*BinaryDataByIDsResponse, error)
	// DeleteTabularData deletes tabular data older than a number of days, based on the given organization ID.
	DeleteTabularData(ctx context.Context, in *DeleteTabularDataRequest, opts ...grpc.CallOption) (*DeleteTabularDataResponse, error)
	// DeleteBinaryDataByFilter deletes binary data based on given filters.
	DeleteBinaryDataByFilter(ctx context.Context, in *DeleteBinaryDataByFilterRequest, opts ...grpc.CallOption) (*DeleteBinaryDataByFilterResponse, error)
	// DeleteBinaryDataByIDs deletes binary data based on given IDs.
	DeleteBinaryDataByIDs(ctx context.Context, in *DeleteBinaryDataByIDsRequest, opts ...grpc.CallOption) (*DeleteBinaryDataByIDsResponse, error)
	// AddTagsToBinaryDataByIDs adds string tags, unless the tags are already present, to binary data based on given IDs.
	AddTagsToBinaryDataByIDs(ctx context.Context, in *AddTagsToBinaryDataByIDsRequest, opts ...grpc.CallOption) (*AddTagsToBinaryDataByIDsResponse, error)
	// AddTagsToBinaryDataByFilter adds string tags, unless the tags are already present, to binary data based on the given filter.
	AddTagsToBinaryDataByFilter(ctx context.Context, in *AddTagsToBinaryDataByFilterRequest, opts ...grpc.CallOption) (*AddTagsToBinaryDataByFilterResponse, error)
	// RemoveTagsToBinaryDataByIDs removes string tags from binary data based on given IDs.
	RemoveTagsFromBinaryDataByIDs(ctx context.Context, in *RemoveTagsFromBinaryDataByIDsRequest, opts ...grpc.CallOption) (*RemoveTagsFromBinaryDataByIDsResponse, error)
	// RemoveTagsToBinaryDataByFilter removes string tags from binary data based on the given filter.
	RemoveTagsFromBinaryDataByFilter(ctx context.Context, in *RemoveTagsFromBinaryDataByFilterRequest, opts ...grpc.CallOption) (*RemoveTagsFromBinaryDataByFilterResponse, error)
	// TagsByFilter gets all unique tags from data based on given filter.
	TagsByFilter(ctx context.Context, in *TagsByFilterRequest, opts ...grpc.CallOption) (*TagsByFilterResponse, error)
	// AddBoundingBoxToImageByID adds a bounding box to an image with the given ID.
	AddBoundingBoxToImageByID(ctx context.Context, in *AddBoundingBoxToImageByIDRequest, opts ...grpc.CallOption) (*AddBoundingBoxToImageByIDResponse, error)
	// RemoveBoundingBoxFromImageByID removes a bounding box from an image with the given ID.
	RemoveBoundingBoxFromImageByID(ctx context.Context, in *RemoveBoundingBoxFromImageByIDRequest, opts ...grpc.CallOption) (*RemoveBoundingBoxFromImageByIDResponse, error)
	// BoundingBoxLabelsByFilter gets all string labels for bounding boxes from data based on given filter.
	BoundingBoxLabelsByFilter(ctx context.Context, in *BoundingBoxLabelsByFilterRequest, opts ...grpc.CallOption) (*BoundingBoxLabelsByFilterResponse, error)
	// UpdateBoundingBox updates the bounding box associated with a given binary ID and bounding box ID.
	UpdateBoundingBox(ctx context.Context, in *UpdateBoundingBoxRequest, opts ...grpc.CallOption) (*UpdateBoundingBoxResponse, error)
	// GetDatabaseConnection gets a connection to access a MongoDB Atlas Data Federation instance. It
	// returns the hostname of the federated database.
	GetDatabaseConnection(ctx context.Context, in *GetDatabaseConnectionRequest, opts ...grpc.CallOption) (*GetDatabaseConnectionResponse, error)
	// ConfigureDatabaseUser configures a database user for the Viam organization's MongoDB Atlas Data
	// Federation instance. It can also be used to reset the password of the existing database user.
	ConfigureDatabaseUser(ctx context.Context, in *ConfigureDatabaseUserRequest, opts ...grpc.CallOption) (*ConfigureDatabaseUserResponse, error)
	// AddBinaryDataToDatasetByIDs adds the binary data with the given binary IDs to the dataset.
	AddBinaryDataToDatasetByIDs(ctx context.Context, in *AddBinaryDataToDatasetByIDsRequest, opts ...grpc.CallOption) (*AddBinaryDataToDatasetByIDsResponse, error)
	// RemoveBinaryDataFromDatasetByIDs removes the binary data with the given binary IDs from the dataset.
	RemoveBinaryDataFromDatasetByIDs(ctx context.Context, in *RemoveBinaryDataFromDatasetByIDsRequest, opts ...grpc.CallOption) (*RemoveBinaryDataFromDatasetByIDsResponse, error)
}

DataServiceClient is the client API for DataService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type DataServiceServer

type DataServiceServer interface {
	// Deprecated: Do not use.
	// TabularDataByFilter queries tabular data and metadata based on given filters.
	TabularDataByFilter(context.Context, *TabularDataByFilterRequest) (*TabularDataByFilterResponse, error)
	// TabularDataBySQL queries tabular data with a SQL query.
	TabularDataBySQL(context.Context, *TabularDataBySQLRequest) (*TabularDataBySQLResponse, error)
	// TabularDataByMQL queries tabular data with an MQL (MongoDB Query Language) query.
	TabularDataByMQL(context.Context, *TabularDataByMQLRequest) (*TabularDataByMQLResponse, error)
	// ExportTabularData queries tabular data from the specified data source.
	ExportTabularData(*ExportTabularDataRequest, DataService_ExportTabularDataServer) error
	// GetLatestTabularData gets the most recent tabular data captured from the specified data source.
	GetLatestTabularData(context.Context, *GetLatestTabularDataRequest) (*GetLatestTabularDataResponse, error)
	// BinaryDataByFilter queries binary data and metadata based on given filters.
	BinaryDataByFilter(context.Context, *BinaryDataByFilterRequest) (*BinaryDataByFilterResponse, error)
	// BinaryDataByIDs queries binary data and metadata based on given IDs.
	BinaryDataByIDs(context.Context, *BinaryDataByIDsRequest) (*BinaryDataByIDsResponse, error)
	// DeleteTabularData deletes tabular data older than a number of days, based on the given organization ID.
	DeleteTabularData(context.Context, *DeleteTabularDataRequest) (*DeleteTabularDataResponse, error)
	// DeleteBinaryDataByFilter deletes binary data based on given filters.
	DeleteBinaryDataByFilter(context.Context, *DeleteBinaryDataByFilterRequest) (*DeleteBinaryDataByFilterResponse, error)
	// DeleteBinaryDataByIDs deletes binary data based on given IDs.
	DeleteBinaryDataByIDs(context.Context, *DeleteBinaryDataByIDsRequest) (*DeleteBinaryDataByIDsResponse, error)
	// AddTagsToBinaryDataByIDs adds string tags, unless the tags are already present, to binary data based on given IDs.
	AddTagsToBinaryDataByIDs(context.Context, *AddTagsToBinaryDataByIDsRequest) (*AddTagsToBinaryDataByIDsResponse, error)
	// AddTagsToBinaryDataByFilter adds string tags, unless the tags are already present, to binary data based on the given filter.
	AddTagsToBinaryDataByFilter(context.Context, *AddTagsToBinaryDataByFilterRequest) (*AddTagsToBinaryDataByFilterResponse, error)
	// RemoveTagsToBinaryDataByIDs removes string tags from binary data based on given IDs.
	RemoveTagsFromBinaryDataByIDs(context.Context, *RemoveTagsFromBinaryDataByIDsRequest) (*RemoveTagsFromBinaryDataByIDsResponse, error)
	// RemoveTagsToBinaryDataByFilter removes string tags from binary data based on the given filter.
	RemoveTagsFromBinaryDataByFilter(context.Context, *RemoveTagsFromBinaryDataByFilterRequest) (*RemoveTagsFromBinaryDataByFilterResponse, error)
	// TagsByFilter gets all unique tags from data based on given filter.
	TagsByFilter(context.Context, *TagsByFilterRequest) (*TagsByFilterResponse, error)
	// AddBoundingBoxToImageByID adds a bounding box to an image with the given ID.
	AddBoundingBoxToImageByID(context.Context, *AddBoundingBoxToImageByIDRequest) (*AddBoundingBoxToImageByIDResponse, error)
	// RemoveBoundingBoxFromImageByID removes a bounding box from an image with the given ID.
	RemoveBoundingBoxFromImageByID(context.Context, *RemoveBoundingBoxFromImageByIDRequest) (*RemoveBoundingBoxFromImageByIDResponse, error)
	// BoundingBoxLabelsByFilter gets all string labels for bounding boxes from data based on given filter.
	BoundingBoxLabelsByFilter(context.Context, *BoundingBoxLabelsByFilterRequest) (*BoundingBoxLabelsByFilterResponse, error)
	// UpdateBoundingBox updates the bounding box associated with a given binary ID and bounding box ID.
	UpdateBoundingBox(context.Context, *UpdateBoundingBoxRequest) (*UpdateBoundingBoxResponse, error)
	// GetDatabaseConnection gets a connection to access a MongoDB Atlas Data Federation instance. It
	// returns the hostname of the federated database.
	GetDatabaseConnection(context.Context, *GetDatabaseConnectionRequest) (*GetDatabaseConnectionResponse, error)
	// ConfigureDatabaseUser configures a database user for the Viam organization's MongoDB Atlas Data
	// Federation instance. It can also be used to reset the password of the existing database user.
	ConfigureDatabaseUser(context.Context, *ConfigureDatabaseUserRequest) (*ConfigureDatabaseUserResponse, error)
	// AddBinaryDataToDatasetByIDs adds the binary data with the given binary IDs to the dataset.
	AddBinaryDataToDatasetByIDs(context.Context, *AddBinaryDataToDatasetByIDsRequest) (*AddBinaryDataToDatasetByIDsResponse, error)
	// RemoveBinaryDataFromDatasetByIDs removes the binary data with the given binary IDs from the dataset.
	RemoveBinaryDataFromDatasetByIDs(context.Context, *RemoveBinaryDataFromDatasetByIDsRequest) (*RemoveBinaryDataFromDatasetByIDsResponse, error)
	// contains filtered or unexported methods
}

DataServiceServer is the server API for DataService service. All implementations must embed UnimplementedDataServiceServer for forward compatibility

type DataService_ExportTabularDataClient added in v0.1.367

type DataService_ExportTabularDataClient interface {
	Recv() (*ExportTabularDataResponse, error)
	grpc.ClientStream
}

type DataService_ExportTabularDataServer added in v0.1.367

type DataService_ExportTabularDataServer interface {
	Send(*ExportTabularDataResponse) error
	grpc.ServerStream
}

type DeleteBinaryDataByFilterRequest added in v0.1.4

type DeleteBinaryDataByFilterRequest struct {
	Filter              *Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	IncludeInternalData bool    `protobuf:"varint,2,opt,name=include_internal_data,json=includeInternalData,proto3" json:"include_internal_data,omitempty"`
	// contains filtered or unexported fields
}

DeleteBinaryDataByFilterRequest deletes the data and metadata of binary data when a filter is provided.

func (*DeleteBinaryDataByFilterRequest) Descriptor deprecated added in v0.1.4

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

Deprecated: Use DeleteBinaryDataByFilterRequest.ProtoReflect.Descriptor instead.

func (*DeleteBinaryDataByFilterRequest) GetFilter added in v0.1.4

func (x *DeleteBinaryDataByFilterRequest) GetFilter() *Filter

func (*DeleteBinaryDataByFilterRequest) GetIncludeInternalData added in v0.1.190

func (x *DeleteBinaryDataByFilterRequest) GetIncludeInternalData() bool

func (*DeleteBinaryDataByFilterRequest) ProtoMessage added in v0.1.4

func (*DeleteBinaryDataByFilterRequest) ProtoMessage()

func (*DeleteBinaryDataByFilterRequest) ProtoReflect added in v0.1.4

func (*DeleteBinaryDataByFilterRequest) Reset added in v0.1.4

func (*DeleteBinaryDataByFilterRequest) String added in v0.1.4

type DeleteBinaryDataByFilterResponse added in v0.1.4

type DeleteBinaryDataByFilterResponse struct {
	DeletedCount uint64 `protobuf:"varint,1,opt,name=deleted_count,json=deletedCount,proto3" json:"deleted_count,omitempty"`
	// contains filtered or unexported fields
}

DeleteBinaryDataByFilterResponse returns the number of binary files deleted when a filter is provided.

func (*DeleteBinaryDataByFilterResponse) Descriptor deprecated added in v0.1.4

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

Deprecated: Use DeleteBinaryDataByFilterResponse.ProtoReflect.Descriptor instead.

func (*DeleteBinaryDataByFilterResponse) GetDeletedCount added in v0.1.4

func (x *DeleteBinaryDataByFilterResponse) GetDeletedCount() uint64

func (*DeleteBinaryDataByFilterResponse) ProtoMessage added in v0.1.4

func (*DeleteBinaryDataByFilterResponse) ProtoMessage()

func (*DeleteBinaryDataByFilterResponse) ProtoReflect added in v0.1.4

func (*DeleteBinaryDataByFilterResponse) Reset added in v0.1.4

func (*DeleteBinaryDataByFilterResponse) String added in v0.1.4

type DeleteBinaryDataByIDsRequest added in v0.1.4

type DeleteBinaryDataByIDsRequest struct {
	BinaryIds []*BinaryID `protobuf:"bytes,2,rep,name=binary_ids,json=binaryIds,proto3" json:"binary_ids,omitempty"`
	// contains filtered or unexported fields
}

DeleteBinaryDataByIDsRequest deletes the data and metadata of binary data when binary ids are provided.

func (*DeleteBinaryDataByIDsRequest) Descriptor deprecated added in v0.1.4

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

Deprecated: Use DeleteBinaryDataByIDsRequest.ProtoReflect.Descriptor instead.

func (*DeleteBinaryDataByIDsRequest) GetBinaryIds added in v0.1.133

func (x *DeleteBinaryDataByIDsRequest) GetBinaryIds() []*BinaryID

func (*DeleteBinaryDataByIDsRequest) ProtoMessage added in v0.1.4

func (*DeleteBinaryDataByIDsRequest) ProtoMessage()

func (*DeleteBinaryDataByIDsRequest) ProtoReflect added in v0.1.4

func (*DeleteBinaryDataByIDsRequest) Reset added in v0.1.4

func (x *DeleteBinaryDataByIDsRequest) Reset()

func (*DeleteBinaryDataByIDsRequest) String added in v0.1.4

type DeleteBinaryDataByIDsResponse added in v0.1.4

type DeleteBinaryDataByIDsResponse struct {
	DeletedCount uint64 `protobuf:"varint,1,opt,name=deleted_count,json=deletedCount,proto3" json:"deleted_count,omitempty"`
	// contains filtered or unexported fields
}

DeleteBinaryDataByIDsResponse returns the number of binary files deleted when binary ids are provided.

func (*DeleteBinaryDataByIDsResponse) Descriptor deprecated added in v0.1.4

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

Deprecated: Use DeleteBinaryDataByIDsResponse.ProtoReflect.Descriptor instead.

func (*DeleteBinaryDataByIDsResponse) GetDeletedCount added in v0.1.4

func (x *DeleteBinaryDataByIDsResponse) GetDeletedCount() uint64

func (*DeleteBinaryDataByIDsResponse) ProtoMessage added in v0.1.4

func (*DeleteBinaryDataByIDsResponse) ProtoMessage()

func (*DeleteBinaryDataByIDsResponse) ProtoReflect added in v0.1.4

func (*DeleteBinaryDataByIDsResponse) Reset added in v0.1.4

func (x *DeleteBinaryDataByIDsResponse) Reset()

func (*DeleteBinaryDataByIDsResponse) String added in v0.1.4

type DeleteTabularDataRequest added in v0.1.185

type DeleteTabularDataRequest struct {
	OrganizationId      string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	DeleteOlderThanDays uint32 `protobuf:"varint,2,opt,name=delete_older_than_days,json=deleteOlderThanDays,proto3" json:"delete_older_than_days,omitempty"`
	// contains filtered or unexported fields
}

DeleteTabularDataRequest deletes the data from the organization that is older than `delete_older_than_days` in UTC time. For example, if delete_older_than_days=1 and the request is made at 1AM EST on March 11 (March 11 5AM UTC), this deletes all data captured through March 10 11:59:59PM UTC. If the request is at 10PM EST on March 11 (March 12 2AM UTC), this deletes all data captured through March 11 11:59:59PM UTC. If delete_older_than_days is 0, all existing data is deleted.

func (*DeleteTabularDataRequest) Descriptor deprecated added in v0.1.185

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

Deprecated: Use DeleteTabularDataRequest.ProtoReflect.Descriptor instead.

func (*DeleteTabularDataRequest) GetDeleteOlderThanDays added in v0.1.185

func (x *DeleteTabularDataRequest) GetDeleteOlderThanDays() uint32

func (*DeleteTabularDataRequest) GetOrganizationId added in v0.1.185

func (x *DeleteTabularDataRequest) GetOrganizationId() string

func (*DeleteTabularDataRequest) ProtoMessage added in v0.1.185

func (*DeleteTabularDataRequest) ProtoMessage()

func (*DeleteTabularDataRequest) ProtoReflect added in v0.1.185

func (x *DeleteTabularDataRequest) ProtoReflect() protoreflect.Message

func (*DeleteTabularDataRequest) Reset added in v0.1.185

func (x *DeleteTabularDataRequest) Reset()

func (*DeleteTabularDataRequest) String added in v0.1.185

func (x *DeleteTabularDataRequest) String() string

type DeleteTabularDataResponse added in v0.1.185

type DeleteTabularDataResponse struct {
	DeletedCount uint64 `protobuf:"varint,1,opt,name=deleted_count,json=deletedCount,proto3" json:"deleted_count,omitempty"`
	// contains filtered or unexported fields
}

DeleteBinaryDataResponse returns the number of tabular datapoints deleted.

func (*DeleteTabularDataResponse) Descriptor deprecated added in v0.1.185

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

Deprecated: Use DeleteTabularDataResponse.ProtoReflect.Descriptor instead.

func (*DeleteTabularDataResponse) GetDeletedCount added in v0.1.185

func (x *DeleteTabularDataResponse) GetDeletedCount() uint64

func (*DeleteTabularDataResponse) ProtoMessage added in v0.1.185

func (*DeleteTabularDataResponse) ProtoMessage()

func (*DeleteTabularDataResponse) ProtoReflect added in v0.1.185

func (*DeleteTabularDataResponse) Reset added in v0.1.185

func (x *DeleteTabularDataResponse) Reset()

func (*DeleteTabularDataResponse) String added in v0.1.185

func (x *DeleteTabularDataResponse) String() string

type ExportTabularDataRequest added in v0.1.367

type ExportTabularDataRequest struct {
	PartId          string           `protobuf:"bytes,1,opt,name=part_id,json=partId,proto3" json:"part_id,omitempty"`
	ResourceName    string           `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	ResourceSubtype string           `protobuf:"bytes,3,opt,name=resource_subtype,json=resourceSubtype,proto3" json:"resource_subtype,omitempty"`
	MethodName      string           `protobuf:"bytes,4,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
	Interval        *CaptureInterval `protobuf:"bytes,5,opt,name=interval,proto3" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

ExportTabularDataRequest requests tabular data from the specified data source.

func (*ExportTabularDataRequest) Descriptor deprecated added in v0.1.367

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

Deprecated: Use ExportTabularDataRequest.ProtoReflect.Descriptor instead.

func (*ExportTabularDataRequest) GetInterval added in v0.1.367

func (x *ExportTabularDataRequest) GetInterval() *CaptureInterval

func (*ExportTabularDataRequest) GetMethodName added in v0.1.367

func (x *ExportTabularDataRequest) GetMethodName() string

func (*ExportTabularDataRequest) GetPartId added in v0.1.367

func (x *ExportTabularDataRequest) GetPartId() string

func (*ExportTabularDataRequest) GetResourceName added in v0.1.367

func (x *ExportTabularDataRequest) GetResourceName() string

func (*ExportTabularDataRequest) GetResourceSubtype added in v0.1.367

func (x *ExportTabularDataRequest) GetResourceSubtype() string

func (*ExportTabularDataRequest) ProtoMessage added in v0.1.367

func (*ExportTabularDataRequest) ProtoMessage()

func (*ExportTabularDataRequest) ProtoReflect added in v0.1.367

func (x *ExportTabularDataRequest) ProtoReflect() protoreflect.Message

func (*ExportTabularDataRequest) Reset added in v0.1.367

func (x *ExportTabularDataRequest) Reset()

func (*ExportTabularDataRequest) String added in v0.1.367

func (x *ExportTabularDataRequest) String() string

type ExportTabularDataResponse added in v0.1.367

type ExportTabularDataResponse struct {
	PartId           string                 `protobuf:"bytes,1,opt,name=part_id,json=partId,proto3" json:"part_id,omitempty"`
	ComponentName    string                 `protobuf:"bytes,2,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
	ComponentType    string                 `protobuf:"bytes,3,opt,name=component_type,json=componentType,proto3" json:"component_type,omitempty"`
	MethodName       string                 `protobuf:"bytes,4,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
	TimeCaptured     *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=time_captured,json=timeCaptured,proto3" json:"time_captured,omitempty"`
	OrganizationId   string                 `protobuf:"bytes,6,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	LocationId       string                 `protobuf:"bytes,7,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	RobotName        string                 `protobuf:"bytes,8,opt,name=robot_name,json=robotName,proto3" json:"robot_name,omitempty"`
	RobotId          string                 `protobuf:"bytes,9,opt,name=robot_id,json=robotId,proto3" json:"robot_id,omitempty"`
	PartName         string                 `protobuf:"bytes,10,opt,name=part_name,json=partName,proto3" json:"part_name,omitempty"`
	MethodParameters map[string]*anypb.Any  `` /* 198-byte string literal not displayed */
	Tags             []string               `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"`
	Payload          *structpb.Struct       `protobuf:"bytes,13,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

ExportTabularDataResponse provides unified tabular data and metadata for a single data point from the specified data source.

func (*ExportTabularDataResponse) Descriptor deprecated added in v0.1.367

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

Deprecated: Use ExportTabularDataResponse.ProtoReflect.Descriptor instead.

func (*ExportTabularDataResponse) GetComponentName added in v0.1.367

func (x *ExportTabularDataResponse) GetComponentName() string

func (*ExportTabularDataResponse) GetComponentType added in v0.1.367

func (x *ExportTabularDataResponse) GetComponentType() string

func (*ExportTabularDataResponse) GetLocationId added in v0.1.367

func (x *ExportTabularDataResponse) GetLocationId() string

func (*ExportTabularDataResponse) GetMethodName added in v0.1.367

func (x *ExportTabularDataResponse) GetMethodName() string

func (*ExportTabularDataResponse) GetMethodParameters added in v0.1.367

func (x *ExportTabularDataResponse) GetMethodParameters() map[string]*anypb.Any

func (*ExportTabularDataResponse) GetOrganizationId added in v0.1.367

func (x *ExportTabularDataResponse) GetOrganizationId() string

func (*ExportTabularDataResponse) GetPartId added in v0.1.367

func (x *ExportTabularDataResponse) GetPartId() string

func (*ExportTabularDataResponse) GetPartName added in v0.1.367

func (x *ExportTabularDataResponse) GetPartName() string

func (*ExportTabularDataResponse) GetPayload added in v0.1.367

func (x *ExportTabularDataResponse) GetPayload() *structpb.Struct

func (*ExportTabularDataResponse) GetRobotId added in v0.1.367

func (x *ExportTabularDataResponse) GetRobotId() string

func (*ExportTabularDataResponse) GetRobotName added in v0.1.367

func (x *ExportTabularDataResponse) GetRobotName() string

func (*ExportTabularDataResponse) GetTags added in v0.1.367

func (x *ExportTabularDataResponse) GetTags() []string

func (*ExportTabularDataResponse) GetTimeCaptured added in v0.1.367

func (x *ExportTabularDataResponse) GetTimeCaptured() *timestamppb.Timestamp

func (*ExportTabularDataResponse) ProtoMessage added in v0.1.367

func (*ExportTabularDataResponse) ProtoMessage()

func (*ExportTabularDataResponse) ProtoReflect added in v0.1.367

func (*ExportTabularDataResponse) Reset added in v0.1.367

func (x *ExportTabularDataResponse) Reset()

func (*ExportTabularDataResponse) String added in v0.1.367

func (x *ExportTabularDataResponse) String() string

type Filter

type Filter struct {
	ComponentName   string           `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
	ComponentType   string           `protobuf:"bytes,2,opt,name=component_type,json=componentType,proto3" json:"component_type,omitempty"`
	Method          string           `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
	RobotName       string           `protobuf:"bytes,6,opt,name=robot_name,json=robotName,proto3" json:"robot_name,omitempty"`
	RobotId         string           `protobuf:"bytes,7,opt,name=robot_id,json=robotId,proto3" json:"robot_id,omitempty"`
	PartName        string           `protobuf:"bytes,8,opt,name=part_name,json=partName,proto3" json:"part_name,omitempty"`
	PartId          string           `protobuf:"bytes,9,opt,name=part_id,json=partId,proto3" json:"part_id,omitempty"`
	LocationIds     []string         `protobuf:"bytes,10,rep,name=location_ids,json=locationIds,proto3" json:"location_ids,omitempty"`
	OrganizationIds []string         `protobuf:"bytes,11,rep,name=organization_ids,json=organizationIds,proto3" json:"organization_ids,omitempty"`
	MimeType        []string         `protobuf:"bytes,12,rep,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	Interval        *CaptureInterval `protobuf:"bytes,13,opt,name=interval,proto3" json:"interval,omitempty"`
	TagsFilter      *TagsFilter      `protobuf:"bytes,14,opt,name=tags_filter,json=tagsFilter,proto3" json:"tags_filter,omitempty"`
	// bbox_labels are used to match documents with the specified bounding box labels (using logical OR).
	BboxLabels []string `protobuf:"bytes,15,rep,name=bbox_labels,json=bboxLabels,proto3" json:"bbox_labels,omitempty"`
	DatasetId  string   `protobuf:"bytes,16,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	// contains filtered or unexported fields
}

Filter defines the fields over which we can filter data using a logic AND. For example, if component_type and robot_id are specified, only data from that `robot_id` of type `component_type` is returned. However, we logical OR over the specified tags and bounding box labels, such that if component_type, robot_id, tagA, tagB are specified, we return data from that `robot_id` of type `component_type` with `tagA` or `tagB`.

func (*Filter) Descriptor deprecated

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetBboxLabels added in v0.1.110

func (x *Filter) GetBboxLabels() []string

func (*Filter) GetComponentName

func (x *Filter) GetComponentName() string

func (*Filter) GetComponentType

func (x *Filter) GetComponentType() string

func (*Filter) GetDatasetId added in v0.1.196

func (x *Filter) GetDatasetId() string

func (*Filter) GetInterval

func (x *Filter) GetInterval() *CaptureInterval

func (*Filter) GetLocationIds added in v0.1.11

func (x *Filter) GetLocationIds() []string

func (*Filter) GetMethod

func (x *Filter) GetMethod() string

func (*Filter) GetMimeType

func (x *Filter) GetMimeType() []string

func (*Filter) GetOrganizationIds added in v0.1.139

func (x *Filter) GetOrganizationIds() []string

func (*Filter) GetPartId

func (x *Filter) GetPartId() string

func (*Filter) GetPartName

func (x *Filter) GetPartName() string

func (*Filter) GetRobotId

func (x *Filter) GetRobotId() string

func (*Filter) GetRobotName

func (x *Filter) GetRobotName() string

func (*Filter) GetTagsFilter added in v0.1.14

func (x *Filter) GetTagsFilter() *TagsFilter

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

func (x *Filter) ProtoReflect() protoreflect.Message

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

type GetDatabaseConnectionRequest added in v0.1.189

type GetDatabaseConnectionRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

GetDatabaseConnectionRequest requests the database connection hostname.

func (*GetDatabaseConnectionRequest) Descriptor deprecated added in v0.1.189

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

Deprecated: Use GetDatabaseConnectionRequest.ProtoReflect.Descriptor instead.

func (*GetDatabaseConnectionRequest) GetOrganizationId added in v0.1.189

func (x *GetDatabaseConnectionRequest) GetOrganizationId() string

func (*GetDatabaseConnectionRequest) ProtoMessage added in v0.1.189

func (*GetDatabaseConnectionRequest) ProtoMessage()

func (*GetDatabaseConnectionRequest) ProtoReflect added in v0.1.189

func (*GetDatabaseConnectionRequest) Reset added in v0.1.189

func (x *GetDatabaseConnectionRequest) Reset()

func (*GetDatabaseConnectionRequest) String added in v0.1.189

type GetDatabaseConnectionResponse added in v0.1.189

type GetDatabaseConnectionResponse struct {
	Hostname        string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	MongodbUri      string `protobuf:"bytes,2,opt,name=mongodb_uri,json=mongodbUri,proto3" json:"mongodb_uri,omitempty"`
	HasDatabaseUser bool   `protobuf:"varint,3,opt,name=has_database_user,json=hasDatabaseUser,proto3" json:"has_database_user,omitempty"`
	// contains filtered or unexported fields
}

GetDatabaseConnectionResponse returns the database connection hostname endpoint. It also returns a URI that can be used to connect to the database instance through MongoDB clients, as well as information on whether the Viam organization has a database user configured.

func (*GetDatabaseConnectionResponse) Descriptor deprecated added in v0.1.189

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

Deprecated: Use GetDatabaseConnectionResponse.ProtoReflect.Descriptor instead.

func (*GetDatabaseConnectionResponse) GetHasDatabaseUser added in v0.1.230

func (x *GetDatabaseConnectionResponse) GetHasDatabaseUser() bool

func (*GetDatabaseConnectionResponse) GetHostname added in v0.1.189

func (x *GetDatabaseConnectionResponse) GetHostname() string

func (*GetDatabaseConnectionResponse) GetMongodbUri added in v0.1.230

func (x *GetDatabaseConnectionResponse) GetMongodbUri() string

func (*GetDatabaseConnectionResponse) ProtoMessage added in v0.1.189

func (*GetDatabaseConnectionResponse) ProtoMessage()

func (*GetDatabaseConnectionResponse) ProtoReflect added in v0.1.189

func (*GetDatabaseConnectionResponse) Reset added in v0.1.189

func (x *GetDatabaseConnectionResponse) Reset()

func (*GetDatabaseConnectionResponse) String added in v0.1.189

type GetLatestTabularDataRequest added in v0.1.364

type GetLatestTabularDataRequest struct {
	PartId          string `protobuf:"bytes,1,opt,name=part_id,json=partId,proto3" json:"part_id,omitempty"`
	ResourceName    string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	MethodName      string `protobuf:"bytes,3,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
	ResourceSubtype string `protobuf:"bytes,4,opt,name=resource_subtype,json=resourceSubtype,proto3" json:"resource_subtype,omitempty"`
	// contains filtered or unexported fields
}

GetLatestTabularDataRequest requests the most recent tabular data captured from the specified data source.

func (*GetLatestTabularDataRequest) Descriptor deprecated added in v0.1.364

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

Deprecated: Use GetLatestTabularDataRequest.ProtoReflect.Descriptor instead.

func (*GetLatestTabularDataRequest) GetMethodName added in v0.1.364

func (x *GetLatestTabularDataRequest) GetMethodName() string

func (*GetLatestTabularDataRequest) GetPartId added in v0.1.364

func (x *GetLatestTabularDataRequest) GetPartId() string

func (*GetLatestTabularDataRequest) GetResourceName added in v0.1.364

func (x *GetLatestTabularDataRequest) GetResourceName() string

func (*GetLatestTabularDataRequest) GetResourceSubtype added in v0.1.366

func (x *GetLatestTabularDataRequest) GetResourceSubtype() string

func (*GetLatestTabularDataRequest) ProtoMessage added in v0.1.364

func (*GetLatestTabularDataRequest) ProtoMessage()

func (*GetLatestTabularDataRequest) ProtoReflect added in v0.1.364

func (*GetLatestTabularDataRequest) Reset added in v0.1.364

func (x *GetLatestTabularDataRequest) Reset()

func (*GetLatestTabularDataRequest) String added in v0.1.364

func (x *GetLatestTabularDataRequest) String() string

type GetLatestTabularDataResponse added in v0.1.364

type GetLatestTabularDataResponse struct {
	TimeCaptured *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time_captured,json=timeCaptured,proto3" json:"time_captured,omitempty"`
	TimeSynced   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time_synced,json=timeSynced,proto3" json:"time_synced,omitempty"`
	Payload      *structpb.Struct       `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

GetLatestTabularDataResponse provides the data, time synced, and time captured of the most recent tabular data captured from the requested data source, as long as it was synced within the last year.

func (*GetLatestTabularDataResponse) Descriptor deprecated added in v0.1.364

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

Deprecated: Use GetLatestTabularDataResponse.ProtoReflect.Descriptor instead.

func (*GetLatestTabularDataResponse) GetPayload added in v0.1.364

func (x *GetLatestTabularDataResponse) GetPayload() *structpb.Struct

func (*GetLatestTabularDataResponse) GetTimeCaptured added in v0.1.364

func (x *GetLatestTabularDataResponse) GetTimeCaptured() *timestamppb.Timestamp

func (*GetLatestTabularDataResponse) GetTimeSynced added in v0.1.364

func (*GetLatestTabularDataResponse) ProtoMessage added in v0.1.364

func (*GetLatestTabularDataResponse) ProtoMessage()

func (*GetLatestTabularDataResponse) ProtoReflect added in v0.1.364

func (*GetLatestTabularDataResponse) Reset added in v0.1.364

func (x *GetLatestTabularDataResponse) Reset()

func (*GetLatestTabularDataResponse) String added in v0.1.364

type Order added in v0.1.5

type Order int32

Order specifies the order in which data is returned.

const (
	Order_ORDER_UNSPECIFIED Order = 0
	Order_ORDER_DESCENDING  Order = 1
	Order_ORDER_ASCENDING   Order = 2
)

func (Order) Descriptor added in v0.1.5

func (Order) Descriptor() protoreflect.EnumDescriptor

func (Order) Enum added in v0.1.5

func (x Order) Enum() *Order

func (Order) EnumDescriptor deprecated added in v0.1.5

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

Deprecated: Use Order.Descriptor instead.

func (Order) Number added in v0.1.5

func (x Order) Number() protoreflect.EnumNumber

func (Order) String added in v0.1.5

func (x Order) String() string

func (Order) Type added in v0.1.5

func (Order) Type() protoreflect.EnumType

type RemoveBinaryDataFromDatasetByIDsRequest added in v0.1.196

type RemoveBinaryDataFromDatasetByIDsRequest struct {
	BinaryIds []*BinaryID `protobuf:"bytes,1,rep,name=binary_ids,json=binaryIds,proto3" json:"binary_ids,omitempty"`
	DatasetId string      `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	// contains filtered or unexported fields
}

RemoveBinaryDataFromDatasetByIDsRequest removes the specified binary IDs from a dataset with dataset_id.

func (*RemoveBinaryDataFromDatasetByIDsRequest) Descriptor deprecated added in v0.1.196

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

Deprecated: Use RemoveBinaryDataFromDatasetByIDsRequest.ProtoReflect.Descriptor instead.

func (*RemoveBinaryDataFromDatasetByIDsRequest) GetBinaryIds added in v0.1.196

func (*RemoveBinaryDataFromDatasetByIDsRequest) GetDatasetId added in v0.1.196

func (*RemoveBinaryDataFromDatasetByIDsRequest) ProtoMessage added in v0.1.196

func (*RemoveBinaryDataFromDatasetByIDsRequest) ProtoReflect added in v0.1.196

func (*RemoveBinaryDataFromDatasetByIDsRequest) Reset added in v0.1.196

func (*RemoveBinaryDataFromDatasetByIDsRequest) String added in v0.1.196

type RemoveBinaryDataFromDatasetByIDsResponse added in v0.1.196

type RemoveBinaryDataFromDatasetByIDsResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveBinaryDataFromDatasetByIDsResponse) Descriptor deprecated added in v0.1.196

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

Deprecated: Use RemoveBinaryDataFromDatasetByIDsResponse.ProtoReflect.Descriptor instead.

func (*RemoveBinaryDataFromDatasetByIDsResponse) ProtoMessage added in v0.1.196

func (*RemoveBinaryDataFromDatasetByIDsResponse) ProtoReflect added in v0.1.196

func (*RemoveBinaryDataFromDatasetByIDsResponse) Reset added in v0.1.196

func (*RemoveBinaryDataFromDatasetByIDsResponse) String added in v0.1.196

type RemoveBoundingBoxFromImageByIDRequest added in v0.1.110

type RemoveBoundingBoxFromImageByIDRequest struct {
	BinaryId *BinaryID `protobuf:"bytes,3,opt,name=binary_id,json=binaryId,proto3" json:"binary_id,omitempty"`
	BboxId   string    `protobuf:"bytes,2,opt,name=bbox_id,json=bboxId,proto3" json:"bbox_id,omitempty"`
	// contains filtered or unexported fields
}

RemoveBoundingBoxFromImageByIDRequest removes the bounding box with specified bounding box ID for the file represented by the binary ID.

func (*RemoveBoundingBoxFromImageByIDRequest) Descriptor deprecated added in v0.1.110

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

Deprecated: Use RemoveBoundingBoxFromImageByIDRequest.ProtoReflect.Descriptor instead.

func (*RemoveBoundingBoxFromImageByIDRequest) GetBboxId added in v0.1.110

func (*RemoveBoundingBoxFromImageByIDRequest) GetBinaryId added in v0.1.133

func (*RemoveBoundingBoxFromImageByIDRequest) ProtoMessage added in v0.1.110

func (*RemoveBoundingBoxFromImageByIDRequest) ProtoMessage()

func (*RemoveBoundingBoxFromImageByIDRequest) ProtoReflect added in v0.1.110

func (*RemoveBoundingBoxFromImageByIDRequest) Reset added in v0.1.110

func (*RemoveBoundingBoxFromImageByIDRequest) String added in v0.1.110

type RemoveBoundingBoxFromImageByIDResponse added in v0.1.110

type RemoveBoundingBoxFromImageByIDResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveBoundingBoxFromImageByIDResponse) Descriptor deprecated added in v0.1.110

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

Deprecated: Use RemoveBoundingBoxFromImageByIDResponse.ProtoReflect.Descriptor instead.

func (*RemoveBoundingBoxFromImageByIDResponse) ProtoMessage added in v0.1.110

func (*RemoveBoundingBoxFromImageByIDResponse) ProtoReflect added in v0.1.110

func (*RemoveBoundingBoxFromImageByIDResponse) Reset added in v0.1.110

func (*RemoveBoundingBoxFromImageByIDResponse) String added in v0.1.110

type RemoveTagsFromBinaryDataByFilterRequest added in v0.1.9

type RemoveTagsFromBinaryDataByFilterRequest struct {
	Filter *Filter  `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	Tags   []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

RemoveTagsFromBinaryDataByFilterRequest requests removing the given tags value from each file when a filter is provided.

func (*RemoveTagsFromBinaryDataByFilterRequest) Descriptor deprecated added in v0.1.9

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

Deprecated: Use RemoveTagsFromBinaryDataByFilterRequest.ProtoReflect.Descriptor instead.

func (*RemoveTagsFromBinaryDataByFilterRequest) GetFilter added in v0.1.9

func (*RemoveTagsFromBinaryDataByFilterRequest) GetTags added in v0.1.9

func (*RemoveTagsFromBinaryDataByFilterRequest) ProtoMessage added in v0.1.9

func (*RemoveTagsFromBinaryDataByFilterRequest) ProtoReflect added in v0.1.9

func (*RemoveTagsFromBinaryDataByFilterRequest) Reset added in v0.1.9

func (*RemoveTagsFromBinaryDataByFilterRequest) String added in v0.1.9

type RemoveTagsFromBinaryDataByFilterResponse added in v0.1.9

type RemoveTagsFromBinaryDataByFilterResponse struct {
	DeletedCount uint64 `protobuf:"varint,1,opt,name=deleted_count,json=deletedCount,proto3" json:"deleted_count,omitempty"`
	// contains filtered or unexported fields
}

RemoveTagsFromBinaryDataByFilterResponse returns the number of binary files which had tags removed.

func (*RemoveTagsFromBinaryDataByFilterResponse) Descriptor deprecated added in v0.1.9

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

Deprecated: Use RemoveTagsFromBinaryDataByFilterResponse.ProtoReflect.Descriptor instead.

func (*RemoveTagsFromBinaryDataByFilterResponse) GetDeletedCount added in v0.1.9

func (x *RemoveTagsFromBinaryDataByFilterResponse) GetDeletedCount() uint64

func (*RemoveTagsFromBinaryDataByFilterResponse) ProtoMessage added in v0.1.9

func (*RemoveTagsFromBinaryDataByFilterResponse) ProtoReflect added in v0.1.9

func (*RemoveTagsFromBinaryDataByFilterResponse) Reset added in v0.1.9

func (*RemoveTagsFromBinaryDataByFilterResponse) String added in v0.1.9

type RemoveTagsFromBinaryDataByIDsRequest added in v0.1.139

type RemoveTagsFromBinaryDataByIDsRequest struct {
	BinaryIds []*BinaryID `protobuf:"bytes,3,rep,name=binary_ids,json=binaryIds,proto3" json:"binary_ids,omitempty"`
	Tags      []string    `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

RemoveTagsFromBinaryDataByIDsRequest requests removing the given tags value from each file when binary ids are provided.

func (*RemoveTagsFromBinaryDataByIDsRequest) Descriptor deprecated added in v0.1.139

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

Deprecated: Use RemoveTagsFromBinaryDataByIDsRequest.ProtoReflect.Descriptor instead.

func (*RemoveTagsFromBinaryDataByIDsRequest) GetBinaryIds added in v0.1.139

func (x *RemoveTagsFromBinaryDataByIDsRequest) GetBinaryIds() []*BinaryID

func (*RemoveTagsFromBinaryDataByIDsRequest) GetTags added in v0.1.139

func (*RemoveTagsFromBinaryDataByIDsRequest) ProtoMessage added in v0.1.139

func (*RemoveTagsFromBinaryDataByIDsRequest) ProtoMessage()

func (*RemoveTagsFromBinaryDataByIDsRequest) ProtoReflect added in v0.1.139

func (*RemoveTagsFromBinaryDataByIDsRequest) Reset added in v0.1.139

func (*RemoveTagsFromBinaryDataByIDsRequest) String added in v0.1.139

type RemoveTagsFromBinaryDataByIDsResponse added in v0.1.139

type RemoveTagsFromBinaryDataByIDsResponse struct {
	DeletedCount uint64 `protobuf:"varint,1,opt,name=deleted_count,json=deletedCount,proto3" json:"deleted_count,omitempty"`
	// contains filtered or unexported fields
}

RemoveTagsFromBinaryDataByIDsResponse returns the number of binary files which had tags removed

func (*RemoveTagsFromBinaryDataByIDsResponse) Descriptor deprecated added in v0.1.139

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

Deprecated: Use RemoveTagsFromBinaryDataByIDsResponse.ProtoReflect.Descriptor instead.

func (*RemoveTagsFromBinaryDataByIDsResponse) GetDeletedCount added in v0.1.139

func (x *RemoveTagsFromBinaryDataByIDsResponse) GetDeletedCount() uint64

func (*RemoveTagsFromBinaryDataByIDsResponse) ProtoMessage added in v0.1.139

func (*RemoveTagsFromBinaryDataByIDsResponse) ProtoMessage()

func (*RemoveTagsFromBinaryDataByIDsResponse) ProtoReflect added in v0.1.139

func (*RemoveTagsFromBinaryDataByIDsResponse) Reset added in v0.1.139

func (*RemoveTagsFromBinaryDataByIDsResponse) String added in v0.1.139

type TabularData deprecated

type TabularData struct {
	Data          *structpb.Struct       `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	MetadataIndex uint32                 `protobuf:"varint,2,opt,name=metadata_index,json=metadataIndex,proto3" json:"metadata_index,omitempty"`
	TimeRequested *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time_requested,json=timeRequested,proto3" json:"time_requested,omitempty"`
	TimeReceived  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time_received,json=timeReceived,proto3" json:"time_received,omitempty"`
	// contains filtered or unexported fields
}

TabularData contains data and metadata associated with tabular data.

Deprecated: Marked as deprecated in app/data/v1/data.proto.

func (*TabularData) Descriptor deprecated

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

Deprecated: Use TabularData.ProtoReflect.Descriptor instead.

func (*TabularData) GetData

func (x *TabularData) GetData() *structpb.Struct

func (*TabularData) GetMetadataIndex added in v0.1.1

func (x *TabularData) GetMetadataIndex() uint32

func (*TabularData) GetTimeReceived added in v0.1.1

func (x *TabularData) GetTimeReceived() *timestamppb.Timestamp

func (*TabularData) GetTimeRequested added in v0.1.1

func (x *TabularData) GetTimeRequested() *timestamppb.Timestamp

func (*TabularData) ProtoMessage

func (*TabularData) ProtoMessage()

func (*TabularData) ProtoReflect

func (x *TabularData) ProtoReflect() protoreflect.Message

func (*TabularData) Reset

func (x *TabularData) Reset()

func (*TabularData) String

func (x *TabularData) String() string

type TabularDataByFilterRequest deprecated

type TabularDataByFilterRequest struct {
	DataRequest         *DataRequest `protobuf:"bytes,1,opt,name=data_request,json=dataRequest,proto3" json:"data_request,omitempty"`
	CountOnly           bool         `protobuf:"varint,2,opt,name=count_only,json=countOnly,proto3" json:"count_only,omitempty"`
	IncludeInternalData bool         `protobuf:"varint,3,opt,name=include_internal_data,json=includeInternalData,proto3" json:"include_internal_data,omitempty"`
	// contains filtered or unexported fields
}

TabularDataByFilterRequest requests tabular data based on filter values.

Deprecated: Marked as deprecated in app/data/v1/data.proto.

func (*TabularDataByFilterRequest) Descriptor deprecated

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

Deprecated: Use TabularDataByFilterRequest.ProtoReflect.Descriptor instead.

func (*TabularDataByFilterRequest) GetCountOnly

func (x *TabularDataByFilterRequest) GetCountOnly() bool

func (*TabularDataByFilterRequest) GetDataRequest

func (x *TabularDataByFilterRequest) GetDataRequest() *DataRequest

func (*TabularDataByFilterRequest) GetIncludeInternalData added in v0.1.187

func (x *TabularDataByFilterRequest) GetIncludeInternalData() bool

func (*TabularDataByFilterRequest) ProtoMessage

func (*TabularDataByFilterRequest) ProtoMessage()

func (*TabularDataByFilterRequest) ProtoReflect

func (*TabularDataByFilterRequest) Reset

func (x *TabularDataByFilterRequest) Reset()

func (*TabularDataByFilterRequest) String

func (x *TabularDataByFilterRequest) String() string

type TabularDataByFilterResponse deprecated

type TabularDataByFilterResponse struct {
	Metadata       []*CaptureMetadata `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty"`
	Data           []*TabularData     `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	Count          uint64             `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	Last           string             `protobuf:"bytes,4,opt,name=last,proto3" json:"last,omitempty"`
	TotalSizeBytes uint64             `protobuf:"varint,5,opt,name=total_size_bytes,json=totalSizeBytes,proto3" json:"total_size_bytes,omitempty"`
	// contains filtered or unexported fields
}

TabularDataByFilterResponse provides the data and metadata of tabular data.

Deprecated: Marked as deprecated in app/data/v1/data.proto.

func (*TabularDataByFilterResponse) Descriptor deprecated

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

Deprecated: Use TabularDataByFilterResponse.ProtoReflect.Descriptor instead.

func (*TabularDataByFilterResponse) GetCount

func (x *TabularDataByFilterResponse) GetCount() uint64

func (*TabularDataByFilterResponse) GetData

func (x *TabularDataByFilterResponse) GetData() []*TabularData

func (*TabularDataByFilterResponse) GetLast added in v0.1.5

func (x *TabularDataByFilterResponse) GetLast() string

func (*TabularDataByFilterResponse) GetMetadata

func (x *TabularDataByFilterResponse) GetMetadata() []*CaptureMetadata

func (*TabularDataByFilterResponse) GetTotalSizeBytes added in v0.1.56

func (x *TabularDataByFilterResponse) GetTotalSizeBytes() uint64

func (*TabularDataByFilterResponse) ProtoMessage

func (*TabularDataByFilterResponse) ProtoMessage()

func (*TabularDataByFilterResponse) ProtoReflect

func (*TabularDataByFilterResponse) Reset

func (x *TabularDataByFilterResponse) Reset()

func (*TabularDataByFilterResponse) String

func (x *TabularDataByFilterResponse) String() string

type TabularDataByMQLRequest added in v0.1.224

type TabularDataByMQLRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each
	// document is one stage in the pipeline. The pipeline is run on the "sensorData.readings"
	// namespace, which holds the Viam organization's tabular data.
	MqlBinary [][]byte `protobuf:"bytes,3,rep,name=mql_binary,json=mqlBinary,proto3" json:"mql_binary,omitempty"`
	// contains filtered or unexported fields
}

TabularDataByMQLRequest requests tabular data using an MQL query.

func (*TabularDataByMQLRequest) Descriptor deprecated added in v0.1.224

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

Deprecated: Use TabularDataByMQLRequest.ProtoReflect.Descriptor instead.

func (*TabularDataByMQLRequest) GetMqlBinary added in v0.1.229

func (x *TabularDataByMQLRequest) GetMqlBinary() [][]byte

func (*TabularDataByMQLRequest) GetOrganizationId added in v0.1.224

func (x *TabularDataByMQLRequest) GetOrganizationId() string

func (*TabularDataByMQLRequest) ProtoMessage added in v0.1.224

func (*TabularDataByMQLRequest) ProtoMessage()

func (*TabularDataByMQLRequest) ProtoReflect added in v0.1.224

func (x *TabularDataByMQLRequest) ProtoReflect() protoreflect.Message

func (*TabularDataByMQLRequest) Reset added in v0.1.224

func (x *TabularDataByMQLRequest) Reset()

func (*TabularDataByMQLRequest) String added in v0.1.224

func (x *TabularDataByMQLRequest) String() string

type TabularDataByMQLResponse added in v0.1.224

type TabularDataByMQLResponse struct {
	RawData [][]byte `protobuf:"bytes,2,rep,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
	// contains filtered or unexported fields
}

TabularDataByMQLResponse provides unified tabular data and metadata, queried with MQL.

func (*TabularDataByMQLResponse) Descriptor deprecated added in v0.1.224

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

Deprecated: Use TabularDataByMQLResponse.ProtoReflect.Descriptor instead.

func (*TabularDataByMQLResponse) GetRawData added in v0.1.349

func (x *TabularDataByMQLResponse) GetRawData() [][]byte

func (*TabularDataByMQLResponse) ProtoMessage added in v0.1.224

func (*TabularDataByMQLResponse) ProtoMessage()

func (*TabularDataByMQLResponse) ProtoReflect added in v0.1.224

func (x *TabularDataByMQLResponse) ProtoReflect() protoreflect.Message

func (*TabularDataByMQLResponse) Reset added in v0.1.224

func (x *TabularDataByMQLResponse) Reset()

func (*TabularDataByMQLResponse) String added in v0.1.224

func (x *TabularDataByMQLResponse) String() string

type TabularDataBySQLRequest added in v0.1.224

type TabularDataBySQLRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// sql_query accepts any valid SQL SELECT statement. Tabular data is held in a database
	// called "sensorData" and a table called readings, so queries should select from "readings"
	// or "sensorData.readings".
	SqlQuery string `protobuf:"bytes,2,opt,name=sql_query,json=sqlQuery,proto3" json:"sql_query,omitempty"`
	// contains filtered or unexported fields
}

TabularDataBySQLRequest requests tabular data using a SQL query.

func (*TabularDataBySQLRequest) Descriptor deprecated added in v0.1.224

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

Deprecated: Use TabularDataBySQLRequest.ProtoReflect.Descriptor instead.

func (*TabularDataBySQLRequest) GetOrganizationId added in v0.1.224

func (x *TabularDataBySQLRequest) GetOrganizationId() string

func (*TabularDataBySQLRequest) GetSqlQuery added in v0.1.224

func (x *TabularDataBySQLRequest) GetSqlQuery() string

func (*TabularDataBySQLRequest) ProtoMessage added in v0.1.224

func (*TabularDataBySQLRequest) ProtoMessage()

func (*TabularDataBySQLRequest) ProtoReflect added in v0.1.224

func (x *TabularDataBySQLRequest) ProtoReflect() protoreflect.Message

func (*TabularDataBySQLRequest) Reset added in v0.1.224

func (x *TabularDataBySQLRequest) Reset()

func (*TabularDataBySQLRequest) String added in v0.1.224

func (x *TabularDataBySQLRequest) String() string

type TabularDataBySQLResponse added in v0.1.224

type TabularDataBySQLResponse struct {
	RawData [][]byte `protobuf:"bytes,2,rep,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
	// contains filtered or unexported fields
}

TabularDataBySQLResponse provides unified tabular data and metadata, queried with SQL.

func (*TabularDataBySQLResponse) Descriptor deprecated added in v0.1.224

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

Deprecated: Use TabularDataBySQLResponse.ProtoReflect.Descriptor instead.

func (*TabularDataBySQLResponse) GetRawData added in v0.1.349

func (x *TabularDataBySQLResponse) GetRawData() [][]byte

func (*TabularDataBySQLResponse) ProtoMessage added in v0.1.224

func (*TabularDataBySQLResponse) ProtoMessage()

func (*TabularDataBySQLResponse) ProtoReflect added in v0.1.224

func (x *TabularDataBySQLResponse) ProtoReflect() protoreflect.Message

func (*TabularDataBySQLResponse) Reset added in v0.1.224

func (x *TabularDataBySQLResponse) Reset()

func (*TabularDataBySQLResponse) String added in v0.1.224

func (x *TabularDataBySQLResponse) String() string

type TagsByFilterRequest added in v0.1.22

type TagsByFilterRequest struct {
	Filter *Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

TagsByFilterRequest requests the unique tags from data based on given filter.

func (*TagsByFilterRequest) Descriptor deprecated added in v0.1.22

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

Deprecated: Use TagsByFilterRequest.ProtoReflect.Descriptor instead.

func (*TagsByFilterRequest) GetFilter added in v0.1.22

func (x *TagsByFilterRequest) GetFilter() *Filter

func (*TagsByFilterRequest) ProtoMessage added in v0.1.22

func (*TagsByFilterRequest) ProtoMessage()

func (*TagsByFilterRequest) ProtoReflect added in v0.1.22

func (x *TagsByFilterRequest) ProtoReflect() protoreflect.Message

func (*TagsByFilterRequest) Reset added in v0.1.22

func (x *TagsByFilterRequest) Reset()

func (*TagsByFilterRequest) String added in v0.1.22

func (x *TagsByFilterRequest) String() string

type TagsByFilterResponse added in v0.1.22

type TagsByFilterResponse struct {
	Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

TagsByFilterResponse returns the unique tags from data based on given filter.

func (*TagsByFilterResponse) Descriptor deprecated added in v0.1.22

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

Deprecated: Use TagsByFilterResponse.ProtoReflect.Descriptor instead.

func (*TagsByFilterResponse) GetTags added in v0.1.22

func (x *TagsByFilterResponse) GetTags() []string

func (*TagsByFilterResponse) ProtoMessage added in v0.1.22

func (*TagsByFilterResponse) ProtoMessage()

func (*TagsByFilterResponse) ProtoReflect added in v0.1.22

func (x *TagsByFilterResponse) ProtoReflect() protoreflect.Message

func (*TagsByFilterResponse) Reset added in v0.1.22

func (x *TagsByFilterResponse) Reset()

func (*TagsByFilterResponse) String added in v0.1.22

func (x *TagsByFilterResponse) String() string

type TagsFilter added in v0.1.14

type TagsFilter struct {
	Type TagsFilterType `protobuf:"varint,1,opt,name=type,proto3,enum=viam.app.data.v1.TagsFilterType" json:"type,omitempty"`
	// Tags are used to match documents if `type` is UNSPECIFIED or MATCH_BY_OR.
	Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

TagsFilter defines the type of filtering and, if applicable, over which tags to perform a logical OR.

func (*TagsFilter) Descriptor deprecated added in v0.1.14

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

Deprecated: Use TagsFilter.ProtoReflect.Descriptor instead.

func (*TagsFilter) GetTags added in v0.1.14

func (x *TagsFilter) GetTags() []string

func (*TagsFilter) GetType added in v0.1.14

func (x *TagsFilter) GetType() TagsFilterType

func (*TagsFilter) ProtoMessage added in v0.1.14

func (*TagsFilter) ProtoMessage()

func (*TagsFilter) ProtoReflect added in v0.1.14

func (x *TagsFilter) ProtoReflect() protoreflect.Message

func (*TagsFilter) Reset added in v0.1.14

func (x *TagsFilter) Reset()

func (*TagsFilter) String added in v0.1.14

func (x *TagsFilter) String() string

type TagsFilterType added in v0.1.14

type TagsFilterType int32

TagsFilterType specifies how data can be filtered based on tags.

const (
	TagsFilterType_TAGS_FILTER_TYPE_UNSPECIFIED TagsFilterType = 0
	// TAGS_FILTER_TYPE_MATCH_BY_OR specifies documents matched (using logical OR) on the tags field in the TagsFilter.
	TagsFilterType_TAGS_FILTER_TYPE_MATCH_BY_OR TagsFilterType = 1
	// TAGS_FILTER_TYPE_TAGGED specifies that all tagged documents should be returned.
	TagsFilterType_TAGS_FILTER_TYPE_TAGGED TagsFilterType = 2
	// TAGS_FILTER_TYPE_UNTAGGED specifes that all untagged documents should be returned.
	TagsFilterType_TAGS_FILTER_TYPE_UNTAGGED TagsFilterType = 3
)

func (TagsFilterType) Descriptor added in v0.1.14

func (TagsFilterType) Enum added in v0.1.14

func (x TagsFilterType) Enum() *TagsFilterType

func (TagsFilterType) EnumDescriptor deprecated added in v0.1.14

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

Deprecated: Use TagsFilterType.Descriptor instead.

func (TagsFilterType) Number added in v0.1.14

func (TagsFilterType) String added in v0.1.14

func (x TagsFilterType) String() string

func (TagsFilterType) Type added in v0.1.14

type UnimplementedDataServiceServer

type UnimplementedDataServiceServer struct {
}

UnimplementedDataServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDataServiceServer) AddBinaryDataToDatasetByIDs added in v0.1.196

func (UnimplementedDataServiceServer) AddBoundingBoxToImageByID added in v0.1.110

func (UnimplementedDataServiceServer) AddTagsToBinaryDataByFilter added in v0.1.9

func (UnimplementedDataServiceServer) AddTagsToBinaryDataByIDs added in v0.1.139

func (UnimplementedDataServiceServer) BinaryDataByFilter

func (UnimplementedDataServiceServer) BinaryDataByIDs

func (UnimplementedDataServiceServer) BoundingBoxLabelsByFilter added in v0.1.110

func (UnimplementedDataServiceServer) ConfigureDatabaseUser added in v0.1.193

func (UnimplementedDataServiceServer) DeleteBinaryDataByFilter added in v0.1.4

func (UnimplementedDataServiceServer) DeleteBinaryDataByIDs added in v0.1.4

func (UnimplementedDataServiceServer) DeleteTabularData added in v0.1.185

func (UnimplementedDataServiceServer) ExportTabularData added in v0.1.367

func (UnimplementedDataServiceServer) GetDatabaseConnection added in v0.1.189

func (UnimplementedDataServiceServer) GetLatestTabularData added in v0.1.364

func (UnimplementedDataServiceServer) RemoveBinaryDataFromDatasetByIDs added in v0.1.196

func (UnimplementedDataServiceServer) RemoveBoundingBoxFromImageByID added in v0.1.110

func (UnimplementedDataServiceServer) RemoveTagsFromBinaryDataByFilter added in v0.1.9

func (UnimplementedDataServiceServer) RemoveTagsFromBinaryDataByIDs added in v0.1.139

func (UnimplementedDataServiceServer) TabularDataByMQL added in v0.1.224

func (UnimplementedDataServiceServer) TabularDataBySQL added in v0.1.224

func (UnimplementedDataServiceServer) TagsByFilter added in v0.1.22

func (UnimplementedDataServiceServer) UpdateBoundingBox added in v0.1.337

type UnsafeDataServiceServer

type UnsafeDataServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataServiceServer will result in compilation errors.

type UpdateBoundingBoxRequest added in v0.1.337

type UpdateBoundingBoxRequest struct {
	BinaryId       *BinaryID `protobuf:"bytes,1,opt,name=binary_id,json=binaryId,proto3" json:"binary_id,omitempty"`
	BboxId         string    `protobuf:"bytes,2,opt,name=bbox_id,json=bboxId,proto3" json:"bbox_id,omitempty"`
	Label          *string   `protobuf:"bytes,3,opt,name=label,proto3,oneof" json:"label,omitempty"`
	XMinNormalized *float64  `protobuf:"fixed64,4,opt,name=x_min_normalized,json=xMinNormalized,proto3,oneof" json:"x_min_normalized,omitempty"`
	YMinNormalized *float64  `protobuf:"fixed64,5,opt,name=y_min_normalized,json=yMinNormalized,proto3,oneof" json:"y_min_normalized,omitempty"`
	XMaxNormalized *float64  `protobuf:"fixed64,6,opt,name=x_max_normalized,json=xMaxNormalized,proto3,oneof" json:"x_max_normalized,omitempty"`
	YMaxNormalized *float64  `protobuf:"fixed64,7,opt,name=y_max_normalized,json=yMaxNormalized,proto3,oneof" json:"y_max_normalized,omitempty"`
	// contains filtered or unexported fields
}

UpdateBoundingBoxRequest updates the bounding box with specified bounding box ID for the file represented by the binary ID.

func (*UpdateBoundingBoxRequest) Descriptor deprecated added in v0.1.337

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

Deprecated: Use UpdateBoundingBoxRequest.ProtoReflect.Descriptor instead.

func (*UpdateBoundingBoxRequest) GetBboxId added in v0.1.337

func (x *UpdateBoundingBoxRequest) GetBboxId() string

func (*UpdateBoundingBoxRequest) GetBinaryId added in v0.1.337

func (x *UpdateBoundingBoxRequest) GetBinaryId() *BinaryID

func (*UpdateBoundingBoxRequest) GetLabel added in v0.1.337

func (x *UpdateBoundingBoxRequest) GetLabel() string

func (*UpdateBoundingBoxRequest) GetXMaxNormalized added in v0.1.337

func (x *UpdateBoundingBoxRequest) GetXMaxNormalized() float64

func (*UpdateBoundingBoxRequest) GetXMinNormalized added in v0.1.337

func (x *UpdateBoundingBoxRequest) GetXMinNormalized() float64

func (*UpdateBoundingBoxRequest) GetYMaxNormalized added in v0.1.337

func (x *UpdateBoundingBoxRequest) GetYMaxNormalized() float64

func (*UpdateBoundingBoxRequest) GetYMinNormalized added in v0.1.337

func (x *UpdateBoundingBoxRequest) GetYMinNormalized() float64

func (*UpdateBoundingBoxRequest) ProtoMessage added in v0.1.337

func (*UpdateBoundingBoxRequest) ProtoMessage()

func (*UpdateBoundingBoxRequest) ProtoReflect added in v0.1.337

func (x *UpdateBoundingBoxRequest) ProtoReflect() protoreflect.Message

func (*UpdateBoundingBoxRequest) Reset added in v0.1.337

func (x *UpdateBoundingBoxRequest) Reset()

func (*UpdateBoundingBoxRequest) String added in v0.1.337

func (x *UpdateBoundingBoxRequest) String() string

type UpdateBoundingBoxResponse added in v0.1.337

type UpdateBoundingBoxResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateBoundingBoxResponse) Descriptor deprecated added in v0.1.337

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

Deprecated: Use UpdateBoundingBoxResponse.ProtoReflect.Descriptor instead.

func (*UpdateBoundingBoxResponse) ProtoMessage added in v0.1.337

func (*UpdateBoundingBoxResponse) ProtoMessage()

func (*UpdateBoundingBoxResponse) ProtoReflect added in v0.1.337

func (*UpdateBoundingBoxResponse) Reset added in v0.1.337

func (x *UpdateBoundingBoxResponse) Reset()

func (*UpdateBoundingBoxResponse) String added in v0.1.337

func (x *UpdateBoundingBoxResponse) String() string

Jump to

Keyboard shortcuts

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