viam.gen.app.mltraining.v1.ml_training_pb2
@generated by mypy-protobuf. Do not edit manually! isort:skip_file
Attributes
Classes
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
|
Abstract base class for protocol messages. |
Module Contents
- viam.gen.app.mltraining.v1.ml_training_pb2.DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
- class viam.gen.app.mltraining.v1.ml_training_pb2.ModelType
Bases:
_ModelType
- class viam.gen.app.mltraining.v1.ml_training_pb2.ModelFramework
Bases:
_ModelFramework
- viam.gen.app.mltraining.v1.ml_training_pb2.MODEL_FRAMEWORK_UNSPECIFIED: ModelFramework
- viam.gen.app.mltraining.v1.ml_training_pb2.MODEL_FRAMEWORK_TFLITE: ModelFramework
- viam.gen.app.mltraining.v1.ml_training_pb2.MODEL_FRAMEWORK_TENSORFLOW: ModelFramework
- viam.gen.app.mltraining.v1.ml_training_pb2.MODEL_FRAMEWORK_PYTORCH: ModelFramework
- viam.gen.app.mltraining.v1.ml_training_pb2.MODEL_FRAMEWORK_ONNX: ModelFramework
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___ModelFramework = ModelFramework
- class viam.gen.app.mltraining.v1.ml_training_pb2.TrainingStatus
Bases:
_TrainingStatus
- viam.gen.app.mltraining.v1.ml_training_pb2.TRAINING_STATUS_UNSPECIFIED: TrainingStatus
- viam.gen.app.mltraining.v1.ml_training_pb2.TRAINING_STATUS_PENDING: TrainingStatus
- viam.gen.app.mltraining.v1.ml_training_pb2.TRAINING_STATUS_IN_PROGRESS: TrainingStatus
- viam.gen.app.mltraining.v1.ml_training_pb2.TRAINING_STATUS_COMPLETED: TrainingStatus
- viam.gen.app.mltraining.v1.ml_training_pb2.TRAINING_STATUS_FAILED: TrainingStatus
- viam.gen.app.mltraining.v1.ml_training_pb2.TRAINING_STATUS_CANCELED: TrainingStatus
- viam.gen.app.mltraining.v1.ml_training_pb2.TRAINING_STATUS_CANCELING: TrainingStatus
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___TrainingStatus = TrainingStatus
- class viam.gen.app.mltraining.v1.ml_training_pb2.SubmitTrainingJobRequest(*, dataset_id: str = ..., organization_id: str = ..., model_name: str = ..., model_version: str = ..., model_type: Global___ModelType = ..., model_framework: Global___ModelFramework = ..., tags: collections.abc.Iterable[str] | None = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- dataset_id: str
- organization_id: str
- model_name: str
- model_version: str
- model_type: Global___ModelType
- model_framework: Global___ModelFramework
- tags() google.protobuf.internal.containers.RepeatedScalarFieldContainer[str]
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___SubmitTrainingJobRequest = SubmitTrainingJobRequest
- class viam.gen.app.mltraining.v1.ml_training_pb2.SubmitTrainingJobResponse(*, id: str = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- id: str
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___SubmitTrainingJobResponse = SubmitTrainingJobResponse
- class viam.gen.app.mltraining.v1.ml_training_pb2.SubmitCustomTrainingJobRequest(*, dataset_id: str = ..., registry_item_id: str = ..., registry_item_version: str = ..., organization_id: str = ..., model_name: str = ..., model_version: str = ..., arguments: collections.abc.Mapping[str, str] | None = ..., container_version: str = ...)
Bases:
google.protobuf.message.MessageAbstract 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 ArgumentsEntry(*, key: str = ..., value: str = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- key: str
- value: str
- dataset_id: str
- registry_item_id: str
- registry_item_version: str
- organization_id: str
- model_name: str
- model_version: str
- container_version: str
- arguments() google.protobuf.internal.containers.ScalarMap[str, str]
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___SubmitCustomTrainingJobRequest = SubmitCustomTrainingJobRequest
- class viam.gen.app.mltraining.v1.ml_training_pb2.SubmitCustomTrainingJobResponse(*, id: str = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- id: str
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___SubmitCustomTrainingJobResponse = SubmitCustomTrainingJobResponse
- class viam.gen.app.mltraining.v1.ml_training_pb2.GetTrainingJobRequest(*, id: str = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- id: str
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___GetTrainingJobRequest = GetTrainingJobRequest
- class viam.gen.app.mltraining.v1.ml_training_pb2.GetTrainingJobResponse(*, metadata: Global___TrainingJobMetadata | None = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- metadata() Global___TrainingJobMetadata
- HasField(field_name: _HasFieldArgType) 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,
ValueErrorwill 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.
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___GetTrainingJobResponse = GetTrainingJobResponse
- class viam.gen.app.mltraining.v1.ml_training_pb2.ListTrainingJobsRequest(*, organization_id: str = ..., status: Global___TrainingStatus = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- organization_id: str
- status: Global___TrainingStatus
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___ListTrainingJobsRequest = ListTrainingJobsRequest
- class viam.gen.app.mltraining.v1.ml_training_pb2.ListTrainingJobsResponse(*, jobs: collections.abc.Iterable[Global___TrainingJobMetadata] | None = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- jobs() google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___TrainingJobMetadata]
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___ListTrainingJobsResponse = ListTrainingJobsResponse
- class viam.gen.app.mltraining.v1.ml_training_pb2.TrainingJobMetadata(*, id: str = ..., dataset_id: str = ..., organization_id: str = ..., model_name: str = ..., model_version: str = ..., model_type: Global___ModelType = ..., model_framework: Global___ModelFramework = ..., is_custom_job: bool = ..., registry_item_id: str = ..., registry_item_version: str = ..., status: Global___TrainingStatus = ..., error_status: google.rpc.status_pb2.Status | None = ..., created_on: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified: google.protobuf.timestamp_pb2.Timestamp | None = ..., training_started: google.protobuf.timestamp_pb2.Timestamp | None = ..., training_ended: google.protobuf.timestamp_pb2.Timestamp | None = ..., synced_model_id: str = ..., tags: collections.abc.Iterable[str] | None = ..., arguments: collections.abc.Mapping[str, str] | None = ..., container_version: str = ...)
Bases:
google.protobuf.message.MessageAbstract 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 ArgumentsEntry(*, key: str = ..., value: str = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- key: str
- value: str
- id: str
- dataset_id: str
- organization_id: str
- model_name: str
- model_version: str
- model_type: Global___ModelType
- model_framework: Global___ModelFramework
- is_custom_job: bool
- registry_item_id: str
- registry_item_version: str
- status: Global___TrainingStatus
- synced_model_id: str
- container_version: str
- error_status() google.rpc.status_pb2.Status
- created_on() google.protobuf.timestamp_pb2.Timestamp
- last_modified() google.protobuf.timestamp_pb2.Timestamp
- training_started() google.protobuf.timestamp_pb2.Timestamp
- training_ended() google.protobuf.timestamp_pb2.Timestamp
- tags() google.protobuf.internal.containers.RepeatedScalarFieldContainer[str]
- arguments() google.protobuf.internal.containers.ScalarMap[str, str]
- HasField(field_name: _HasFieldArgType) 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,
ValueErrorwill 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.
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___TrainingJobMetadata = TrainingJobMetadata
- class viam.gen.app.mltraining.v1.ml_training_pb2.CancelTrainingJobRequest(*, id: str = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- id: str
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___CancelTrainingJobRequest = CancelTrainingJobRequest
- class viam.gen.app.mltraining.v1.ml_training_pb2.CancelTrainingJobResponse
Bases:
google.protobuf.message.MessageAbstract 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.
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___CancelTrainingJobResponse = CancelTrainingJobResponse
- class viam.gen.app.mltraining.v1.ml_training_pb2.DeleteCompletedTrainingJobRequest(*, id: str = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- id: str
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___DeleteCompletedTrainingJobRequest = DeleteCompletedTrainingJobRequest
- class viam.gen.app.mltraining.v1.ml_training_pb2.DeleteCompletedTrainingJobResponse
Bases:
google.protobuf.message.MessageAbstract 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.
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___DeleteCompletedTrainingJobResponse = DeleteCompletedTrainingJobResponse
- class viam.gen.app.mltraining.v1.ml_training_pb2.TrainingJobLogEntry(*, level: str = ..., time: google.protobuf.timestamp_pb2.Timestamp | None = ..., message: str = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- level: str
- message: str
- time() google.protobuf.timestamp_pb2.Timestamp
- HasField(field_name: _HasFieldArgType) 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,
ValueErrorwill 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.
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___TrainingJobLogEntry = TrainingJobLogEntry
- class viam.gen.app.mltraining.v1.ml_training_pb2.GetTrainingJobLogsRequest(*, id: str = ..., page_token: str | None = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- id: str
- page_token: str
- HasField(field_name: _HasFieldArgType) 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,
ValueErrorwill 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.
- WhichOneof(oneof_group: _WhichOneofArgType__page_token) _WhichOneofReturnType__page_token | None
Returns the name of the field that is set inside a oneof group.
If no field is set, returns None.
- Parameters:
oneof_group (str) – the name of the oneof group to check.
- Returns:
The name of the group that is set, or None.
- Return type:
str or None
- Raises:
ValueError – no group with the given name exists
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___GetTrainingJobLogsRequest = GetTrainingJobLogsRequest
- class viam.gen.app.mltraining.v1.ml_training_pb2.GetTrainingJobLogsResponse(*, logs: collections.abc.Iterable[Global___TrainingJobLogEntry] | None = ..., next_page_token: str = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- next_page_token: str
- logs() google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___TrainingJobLogEntry]
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___GetTrainingJobLogsResponse = GetTrainingJobLogsResponse
- class viam.gen.app.mltraining.v1.ml_training_pb2.ListSupportedContainersRequest
Bases:
google.protobuf.message.MessageAbstract 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.
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___ListSupportedContainersRequest = ListSupportedContainersRequest
- class viam.gen.app.mltraining.v1.ml_training_pb2.ListSupportedContainersResponse(*, container_map: collections.abc.Mapping[str, Global___Container] | None = ...)
Bases:
google.protobuf.message.MessageAbstract 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 ContainerMapEntry(*, key: str = ..., value: Global___Container | None = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- key: str
- value() Global___Container
- HasField(field_name: _HasFieldArgType) 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,
ValueErrorwill 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.
- container_map() google.protobuf.internal.containers.MessageMap[str, Global___Container]
ex value: container_map: {
- “tf:2.15”: Container {
key: “tf:2.15” uri: “us-docker.pkg.dev/vertex-ai/training/tf-gpu.2-15.py310:latest” description: “Tensorflow 2.15” eol: { seconds: 1772630400, nanos: 0 } // 2026-03-03T00:00:00Z
}
}
- type viam.gen.app.mltraining.v1.ml_training_pb2.Global___ListSupportedContainersResponse = ListSupportedContainersResponse
- class viam.gen.app.mltraining.v1.ml_training_pb2.Container(*, key: str = ..., uri: str = ..., framework: str = ..., description: str = ..., eol: google.protobuf.timestamp_pb2.Timestamp | None = ...)
Bases:
google.protobuf.message.MessageAbstract 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.
- key: str
- uri: str
- framework: str
- description: str
- eol() google.protobuf.timestamp_pb2.Timestamp
- HasField(field_name: _HasFieldArgType) 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,
ValueErrorwill 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.