viam.proto.service.datamanager

@generated by Viam. Do not edit manually!

Classes

DataManagerServiceBase

Helper class that provides a standard way to create an ABC using

DataManagerServiceStub

UnimplementedDataManagerServiceBase

Helper class that provides a standard way to create an ABC using

SyncRequest

Abstract base class for protocol messages.

SyncResponse

Abstract base class for protocol messages.

UploadBinaryDataToDatasetsRequest

Abstract base class for protocol messages.

UploadBinaryDataToDatasetsResponse

Abstract base class for protocol messages.

Package Contents

class viam.proto.service.datamanager.DataManagerServiceBase[source]

Bases: abc.ABC

Helper class that provides a standard way to create an ABC using inheritance.

abstract Sync(stream: grpclib.server.Stream[service.datamanager.v1.data_manager_pb2.SyncRequest, service.datamanager.v1.data_manager_pb2.SyncResponse]) None[source]
Async:

abstract DoCommand(stream: grpclib.server.Stream[common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse]) None[source]
Async:

abstract UploadBinaryDataToDatasets(stream: grpclib.server.Stream[service.datamanager.v1.data_manager_pb2.UploadBinaryDataToDatasetsRequest, service.datamanager.v1.data_manager_pb2.UploadBinaryDataToDatasetsResponse]) None[source]
Async:

__mapping__() Dict[str, grpclib.const.Handler][source]
class viam.proto.service.datamanager.DataManagerServiceStub(channel: grpclib.client.Channel)[source]
Sync
DoCommand
UploadBinaryDataToDatasets
class viam.proto.service.datamanager.UnimplementedDataManagerServiceBase[source]

Bases: DataManagerServiceBase

Helper class that provides a standard way to create an ABC using inheritance.

async Sync(stream: grpclib.server.Stream[service.datamanager.v1.data_manager_pb2.SyncRequest, service.datamanager.v1.data_manager_pb2.SyncResponse]) None[source]
async DoCommand(stream: grpclib.server.Stream[common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse]) None[source]
async UploadBinaryDataToDatasets(stream: grpclib.server.Stream[service.datamanager.v1.data_manager_pb2.UploadBinaryDataToDatasetsRequest, service.datamanager.v1.data_manager_pb2.UploadBinaryDataToDatasetsResponse]) None[source]
class viam.proto.service.datamanager.SyncRequest(*, name: str = ..., extra: google.protobuf.struct_pb2.Struct | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

name: str
property extra: google.protobuf.struct_pb2.Struct

Additional arguments to the method

HasField(field_name: Literal['extra', b'extra']) bool

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

class viam.proto.service.datamanager.SyncResponse

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

class viam.proto.service.datamanager.UploadBinaryDataToDatasetsRequest(*, name: str = ..., binary_data: bytes = ..., tags: collections.abc.Iterable[str] | None = ..., dataset_ids: collections.abc.Iterable[str] | None = ..., mime_type: viam.gen.app.datasync.v1.data_sync_pb2.MimeType.ValueType = ..., extra: google.protobuf.struct_pb2.Struct | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

name: str
binary_data: bytes
mime_type: viam.gen.app.datasync.v1.data_sync_pb2.MimeType.ValueType
property tags: google.protobuf.internal.containers.RepeatedScalarFieldContainer[str]
property dataset_ids: google.protobuf.internal.containers.RepeatedScalarFieldContainer[str]
property extra: google.protobuf.struct_pb2.Struct

Additional arguments to the method

HasField(field_name: Literal['extra', b'extra']) bool

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

class viam.proto.service.datamanager.UploadBinaryDataToDatasetsResponse

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.