viam-sdk 0.51.0__py3-none-win_amd64.whl → 0.53.0__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of viam-sdk might be problematic. Click here for more details.
- viam/app/app_client.py +3 -2
- viam/app/billing_client.py +25 -0
- viam/app/data_client.py +36 -4
- viam/app/viam_client.py +1 -1
- viam/gen/app/data/v1/data_pb2.py +78 -78
- viam/gen/app/data/v1/data_pb2.pyi +4 -2
- viam/gen/app/datapipelines/v1/data_pipelines_grpc.py +4 -4
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.py +27 -27
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.pyi +13 -29
- viam/gen/app/dataset/v1/dataset_grpc.py +10 -2
- viam/gen/app/dataset/v1/dataset_pb2.py +7 -3
- viam/gen/app/dataset/v1/dataset_pb2.pyi +36 -1
- viam/gen/app/datasync/v1/data_sync_pb2.py +18 -18
- viam/gen/app/datasync/v1/data_sync_pb2.pyi +7 -2
- viam/gen/app/v1/app_pb2.py +266 -264
- viam/gen/app/v1/app_pb2.pyi +33 -5
- viam/gen/app/v1/billing_grpc.py +10 -2
- viam/gen/app/v1/billing_pb2.py +13 -9
- viam/gen/app/v1/billing_pb2.pyi +41 -1
- viam/gen/app/v1/robot_pb2.py +34 -34
- viam/gen/app/v1/robot_pb2.pyi +5 -2
- viam/gen/component/camera/v1/camera_pb2.py +31 -31
- viam/gen/component/camera/v1/camera_pb2.pyi +22 -4
- viam/proto/app/__init__.py +2 -0
- viam/proto/app/billing.py +4 -0
- viam/proto/app/datapipelines/__init__.py +4 -4
- viam/proto/app/dataset/__init__.py +4 -0
- viam/version_metadata.py +2 -2
- {viam_sdk-0.51.0.dist-info → viam_sdk-0.53.0.dist-info}/METADATA +1 -1
- {viam_sdk-0.51.0.dist-info → viam_sdk-0.53.0.dist-info}/RECORD +32 -32
- {viam_sdk-0.51.0.dist-info → viam_sdk-0.53.0.dist-info}/WHEEL +0 -0
- {viam_sdk-0.51.0.dist-info → viam_sdk-0.53.0.dist-info}/licenses/LICENSE +0 -0
viam/gen/app/v1/app_pb2.pyi
CHANGED
|
@@ -123,6 +123,23 @@ VISIBILITY_PUBLIC_UNLISTED: Visibility.ValueType
|
|
|
123
123
|
"Public Unlisted registry items are usable in everyone's robot but are hidden from the registry page as if they are private"
|
|
124
124
|
global___Visibility = Visibility
|
|
125
125
|
|
|
126
|
+
class _AppType:
|
|
127
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
128
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
129
|
+
|
|
130
|
+
class _AppTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_AppType.ValueType], builtins.type):
|
|
131
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
132
|
+
APP_TYPE_UNSPECIFIED: _AppType.ValueType
|
|
133
|
+
APP_TYPE_SINGLE_MACHINE: _AppType.ValueType
|
|
134
|
+
APP_TYPE_MULTI_MACHINE: _AppType.ValueType
|
|
135
|
+
|
|
136
|
+
class AppType(_AppType, metaclass=_AppTypeEnumTypeWrapper):
|
|
137
|
+
...
|
|
138
|
+
APP_TYPE_UNSPECIFIED: AppType.ValueType
|
|
139
|
+
APP_TYPE_SINGLE_MACHINE: AppType.ValueType
|
|
140
|
+
APP_TYPE_MULTI_MACHINE: AppType.ValueType
|
|
141
|
+
global___AppType = AppType
|
|
142
|
+
|
|
126
143
|
class _ClientAuthentication:
|
|
127
144
|
ValueType = typing.NewType('ValueType', builtins.int)
|
|
128
145
|
V: typing_extensions.TypeAlias = ValueType
|
|
@@ -3023,6 +3040,7 @@ class ListMachineSummariesRequest(google.protobuf.message.Message):
|
|
|
3023
3040
|
LOCATION_IDS_FIELD_NUMBER: builtins.int
|
|
3024
3041
|
LIMIT_FIELD_NUMBER: builtins.int
|
|
3025
3042
|
organization_id: builtins.str
|
|
3043
|
+
'Optional organization ID. If no value is set it will search among all the organanizations the caller has access to'
|
|
3026
3044
|
limit: builtins.int
|
|
3027
3045
|
'Optional max number of machines to return; default to 100 if unset'
|
|
3028
3046
|
|
|
@@ -3165,18 +3183,22 @@ class PartSummary(google.protobuf.message.Message):
|
|
|
3165
3183
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
3166
3184
|
PART_ID_FIELD_NUMBER: builtins.int
|
|
3167
3185
|
PART_NAME_FIELD_NUMBER: builtins.int
|
|
3186
|
+
IS_MAIN_PART_FIELD_NUMBER: builtins.int
|
|
3168
3187
|
LAST_ONLINE_FIELD_NUMBER: builtins.int
|
|
3169
3188
|
VIAM_SERVER_VERSION_FIELD_NUMBER: builtins.int
|
|
3170
3189
|
VIAM_AGENT_VERSION_FIELD_NUMBER: builtins.int
|
|
3171
3190
|
OS_FIELD_NUMBER: builtins.int
|
|
3172
3191
|
PLATFORM_FIELD_NUMBER: builtins.int
|
|
3173
3192
|
PUBLIC_IP_ADDRESS_FIELD_NUMBER: builtins.int
|
|
3193
|
+
DNS_NAME_FIELD_NUMBER: builtins.int
|
|
3174
3194
|
FRAGMENTS_FIELD_NUMBER: builtins.int
|
|
3175
3195
|
part_id: builtins.str
|
|
3176
3196
|
part_name: builtins.str
|
|
3197
|
+
is_main_part: builtins.bool
|
|
3177
3198
|
os: builtins.str
|
|
3178
3199
|
platform: builtins.str
|
|
3179
3200
|
public_ip_address: builtins.str
|
|
3201
|
+
dns_name: builtins.str
|
|
3180
3202
|
|
|
3181
3203
|
@property
|
|
3182
3204
|
def last_online(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
@@ -3194,13 +3216,17 @@ class PartSummary(google.protobuf.message.Message):
|
|
|
3194
3216
|
def fragments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FragmentSummary]:
|
|
3195
3217
|
...
|
|
3196
3218
|
|
|
3197
|
-
def __init__(self, *, part_id: builtins.str=..., part_name: builtins.str=..., last_online: google.protobuf.timestamp_pb2.Timestamp | None=..., viam_server_version: global___ViamServerVersion | None=..., viam_agent_version: global___ViamAgentVersion | None=..., os: builtins.str | None=..., platform: builtins.str | None=..., public_ip_address: builtins.str | None=..., fragments: collections.abc.Iterable[global___FragmentSummary] | None=...) -> None:
|
|
3219
|
+
def __init__(self, *, part_id: builtins.str=..., part_name: builtins.str=..., is_main_part: builtins.bool=..., last_online: google.protobuf.timestamp_pb2.Timestamp | None=..., viam_server_version: global___ViamServerVersion | None=..., viam_agent_version: global___ViamAgentVersion | None=..., os: builtins.str | None=..., platform: builtins.str | None=..., public_ip_address: builtins.str | None=..., dns_name: builtins.str | None=..., fragments: collections.abc.Iterable[global___FragmentSummary] | None=...) -> None:
|
|
3198
3220
|
...
|
|
3199
3221
|
|
|
3200
|
-
def HasField(self, field_name: typing.Literal['_last_online', b'_last_online', '_os', b'_os', '_platform', b'_platform', '_public_ip_address', b'_public_ip_address', '_viam_agent_version', b'_viam_agent_version', '_viam_server_version', b'_viam_server_version', 'last_online', b'last_online', 'os', b'os', 'platform', b'platform', 'public_ip_address', b'public_ip_address', 'viam_agent_version', b'viam_agent_version', 'viam_server_version', b'viam_server_version']) -> builtins.bool:
|
|
3222
|
+
def HasField(self, field_name: typing.Literal['_dns_name', b'_dns_name', '_last_online', b'_last_online', '_os', b'_os', '_platform', b'_platform', '_public_ip_address', b'_public_ip_address', '_viam_agent_version', b'_viam_agent_version', '_viam_server_version', b'_viam_server_version', 'dns_name', b'dns_name', 'last_online', b'last_online', 'os', b'os', 'platform', b'platform', 'public_ip_address', b'public_ip_address', 'viam_agent_version', b'viam_agent_version', 'viam_server_version', b'viam_server_version']) -> builtins.bool:
|
|
3201
3223
|
...
|
|
3202
3224
|
|
|
3203
|
-
def ClearField(self, field_name: typing.Literal['_last_online', b'_last_online', '_os', b'_os', '_platform', b'_platform', '_public_ip_address', b'_public_ip_address', '_viam_agent_version', b'_viam_agent_version', '_viam_server_version', b'_viam_server_version', 'fragments', b'fragments', 'last_online', b'last_online', 'os', b'os', 'part_id', b'part_id', 'part_name', b'part_name', 'platform', b'platform', 'public_ip_address', b'public_ip_address', 'viam_agent_version', b'viam_agent_version', 'viam_server_version', b'viam_server_version']) -> None:
|
|
3225
|
+
def ClearField(self, field_name: typing.Literal['_dns_name', b'_dns_name', '_last_online', b'_last_online', '_os', b'_os', '_platform', b'_platform', '_public_ip_address', b'_public_ip_address', '_viam_agent_version', b'_viam_agent_version', '_viam_server_version', b'_viam_server_version', 'dns_name', b'dns_name', 'fragments', b'fragments', 'is_main_part', b'is_main_part', 'last_online', b'last_online', 'os', b'os', 'part_id', b'part_id', 'part_name', b'part_name', 'platform', b'platform', 'public_ip_address', b'public_ip_address', 'viam_agent_version', b'viam_agent_version', 'viam_server_version', b'viam_server_version']) -> None:
|
|
3226
|
+
...
|
|
3227
|
+
|
|
3228
|
+
@typing.overload
|
|
3229
|
+
def WhichOneof(self, oneof_group: typing.Literal['_dns_name', b'_dns_name']) -> typing.Literal['dns_name'] | None:
|
|
3204
3230
|
...
|
|
3205
3231
|
|
|
3206
3232
|
@typing.overload
|
|
@@ -5155,13 +5181,15 @@ class GetAppContentResponse(google.protobuf.message.Message):
|
|
|
5155
5181
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
5156
5182
|
BLOB_PATH_FIELD_NUMBER: builtins.int
|
|
5157
5183
|
ENTRYPOINT_FIELD_NUMBER: builtins.int
|
|
5184
|
+
APP_TYPE_FIELD_NUMBER: builtins.int
|
|
5158
5185
|
blob_path: builtins.str
|
|
5159
5186
|
entrypoint: builtins.str
|
|
5187
|
+
app_type: global___AppType.ValueType
|
|
5160
5188
|
|
|
5161
|
-
def __init__(self, *, blob_path: builtins.str=..., entrypoint: builtins.str=...) -> None:
|
|
5189
|
+
def __init__(self, *, blob_path: builtins.str=..., entrypoint: builtins.str=..., app_type: global___AppType.ValueType=...) -> None:
|
|
5162
5190
|
...
|
|
5163
5191
|
|
|
5164
|
-
def ClearField(self, field_name: typing.Literal['blob_path', b'blob_path', 'entrypoint', b'entrypoint']) -> None:
|
|
5192
|
+
def ClearField(self, field_name: typing.Literal['app_type', b'app_type', 'blob_path', b'blob_path', 'entrypoint', b'entrypoint']) -> None:
|
|
5165
5193
|
...
|
|
5166
5194
|
global___GetAppContentResponse = GetAppContentResponse
|
|
5167
5195
|
|
viam/gen/app/v1/billing_grpc.py
CHANGED
|
@@ -38,8 +38,12 @@ class BillingServiceBase(abc.ABC):
|
|
|
38
38
|
async def UpdateOrganizationBillingTier(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.UpdateOrganizationBillingTierRequest, app.v1.billing_pb2.UpdateOrganizationBillingTierResponse]') -> None:
|
|
39
39
|
pass
|
|
40
40
|
|
|
41
|
+
@abc.abstractmethod
|
|
42
|
+
async def CreateInvoiceAndChargeImmediately(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyRequest, app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyResponse]') -> None:
|
|
43
|
+
pass
|
|
44
|
+
|
|
41
45
|
def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
|
|
42
|
-
return {'/viam.app.v1.BillingService/GetCurrentMonthUsage': grpclib.const.Handler(self.GetCurrentMonthUsage, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetCurrentMonthUsageRequest, app.v1.billing_pb2.GetCurrentMonthUsageResponse), '/viam.app.v1.BillingService/GetOrgBillingInformation': grpclib.const.Handler(self.GetOrgBillingInformation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetOrgBillingInformationRequest, app.v1.billing_pb2.GetOrgBillingInformationResponse), '/viam.app.v1.BillingService/GetInvoicesSummary': grpclib.const.Handler(self.GetInvoicesSummary, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetInvoicesSummaryRequest, app.v1.billing_pb2.GetInvoicesSummaryResponse), '/viam.app.v1.BillingService/GetInvoicePdf': grpclib.const.Handler(self.GetInvoicePdf, grpclib.const.Cardinality.UNARY_STREAM, app.v1.billing_pb2.GetInvoicePdfRequest, app.v1.billing_pb2.GetInvoicePdfResponse), '/viam.app.v1.BillingService/SendPaymentRequiredEmail': grpclib.const.Handler(self.SendPaymentRequiredEmail, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.SendPaymentRequiredEmailRequest, app.v1.billing_pb2.SendPaymentRequiredEmailResponse), '/viam.app.v1.BillingService/GetAvailableBillingTiers': grpclib.const.Handler(self.GetAvailableBillingTiers, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetAvailableBillingTiersRequest, app.v1.billing_pb2.GetAvailableBillingTiersResponse), '/viam.app.v1.BillingService/UpdateOrganizationBillingTier': grpclib.const.Handler(self.UpdateOrganizationBillingTier, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.UpdateOrganizationBillingTierRequest, app.v1.billing_pb2.UpdateOrganizationBillingTierResponse)}
|
|
46
|
+
return {'/viam.app.v1.BillingService/GetCurrentMonthUsage': grpclib.const.Handler(self.GetCurrentMonthUsage, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetCurrentMonthUsageRequest, app.v1.billing_pb2.GetCurrentMonthUsageResponse), '/viam.app.v1.BillingService/GetOrgBillingInformation': grpclib.const.Handler(self.GetOrgBillingInformation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetOrgBillingInformationRequest, app.v1.billing_pb2.GetOrgBillingInformationResponse), '/viam.app.v1.BillingService/GetInvoicesSummary': grpclib.const.Handler(self.GetInvoicesSummary, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetInvoicesSummaryRequest, app.v1.billing_pb2.GetInvoicesSummaryResponse), '/viam.app.v1.BillingService/GetInvoicePdf': grpclib.const.Handler(self.GetInvoicePdf, grpclib.const.Cardinality.UNARY_STREAM, app.v1.billing_pb2.GetInvoicePdfRequest, app.v1.billing_pb2.GetInvoicePdfResponse), '/viam.app.v1.BillingService/SendPaymentRequiredEmail': grpclib.const.Handler(self.SendPaymentRequiredEmail, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.SendPaymentRequiredEmailRequest, app.v1.billing_pb2.SendPaymentRequiredEmailResponse), '/viam.app.v1.BillingService/GetAvailableBillingTiers': grpclib.const.Handler(self.GetAvailableBillingTiers, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.GetAvailableBillingTiersRequest, app.v1.billing_pb2.GetAvailableBillingTiersResponse), '/viam.app.v1.BillingService/UpdateOrganizationBillingTier': grpclib.const.Handler(self.UpdateOrganizationBillingTier, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.UpdateOrganizationBillingTierRequest, app.v1.billing_pb2.UpdateOrganizationBillingTierResponse), '/viam.app.v1.BillingService/CreateInvoiceAndChargeImmediately': grpclib.const.Handler(self.CreateInvoiceAndChargeImmediately, grpclib.const.Cardinality.UNARY_UNARY, app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyRequest, app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyResponse)}
|
|
43
47
|
|
|
44
48
|
class UnimplementedBillingServiceBase(BillingServiceBase):
|
|
45
49
|
|
|
@@ -64,6 +68,9 @@ class UnimplementedBillingServiceBase(BillingServiceBase):
|
|
|
64
68
|
async def UpdateOrganizationBillingTier(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.UpdateOrganizationBillingTierRequest, app.v1.billing_pb2.UpdateOrganizationBillingTierResponse]') -> None:
|
|
65
69
|
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
66
70
|
|
|
71
|
+
async def CreateInvoiceAndChargeImmediately(self, stream: 'grpclib.server.Stream[app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyRequest, app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyResponse]') -> None:
|
|
72
|
+
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
73
|
+
|
|
67
74
|
class BillingServiceStub:
|
|
68
75
|
|
|
69
76
|
def __init__(self, channel: grpclib.client.Channel) -> None:
|
|
@@ -73,4 +80,5 @@ class BillingServiceStub:
|
|
|
73
80
|
self.GetInvoicePdf = grpclib.client.UnaryStreamMethod(channel, '/viam.app.v1.BillingService/GetInvoicePdf', app.v1.billing_pb2.GetInvoicePdfRequest, app.v1.billing_pb2.GetInvoicePdfResponse)
|
|
74
81
|
self.SendPaymentRequiredEmail = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/SendPaymentRequiredEmail', app.v1.billing_pb2.SendPaymentRequiredEmailRequest, app.v1.billing_pb2.SendPaymentRequiredEmailResponse)
|
|
75
82
|
self.GetAvailableBillingTiers = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/GetAvailableBillingTiers', app.v1.billing_pb2.GetAvailableBillingTiersRequest, app.v1.billing_pb2.GetAvailableBillingTiersResponse)
|
|
76
|
-
self.UpdateOrganizationBillingTier = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/UpdateOrganizationBillingTier', app.v1.billing_pb2.UpdateOrganizationBillingTierRequest, app.v1.billing_pb2.UpdateOrganizationBillingTierResponse)
|
|
83
|
+
self.UpdateOrganizationBillingTier = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/UpdateOrganizationBillingTier', app.v1.billing_pb2.UpdateOrganizationBillingTierRequest, app.v1.billing_pb2.UpdateOrganizationBillingTierResponse)
|
|
84
|
+
self.CreateInvoiceAndChargeImmediately = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.BillingService/CreateInvoiceAndChargeImmediately', app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyRequest, app.v1.billing_pb2.CreateInvoiceAndChargeImmediatelyResponse)
|
viam/gen/app/v1/billing_pb2.py
CHANGED
|
@@ -7,7 +7,7 @@ from google.protobuf.internal import builder as _builder
|
|
|
7
7
|
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'app/v1/billing.proto')
|
|
8
8
|
_sym_db = _symbol_database.Default()
|
|
9
9
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
10
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14app/v1/billing.proto\x12\x0bviam.app.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\x8e\x02\n\x0eInvoiceSummary\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12=\n\x0cinvoice_date\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0binvoiceDate\x12%\n\x0einvoice_amount\x18\x03 \x01(\x01R\rinvoiceAmount\x12\x16\n\x06status\x18\x04 \x01(\tR\x06status\x125\n\x08due_date\x18\x05 \x01(\x0b2\x1a.google.protobuf.TimestampR\x07dueDate\x127\n\tpaid_date\x18\x06 \x01(\x0b2\x1a.google.protobuf.TimestampR\x08paidDate"S\n\x11PaymentMethodCard\x12\x14\n\x05brand\x18\x01 \x01(\tR\x05brand\x12(\n\x10last_four_digits\x18\x02 \x01(\tR\x0elastFourDigits"4\n\x1bGetCurrentMonthUsageRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"`\n\tUsageCost\x12?\n\rresource_type\x18\x01 \x01(\x0e2\x1a.viam.app.v1.UsageCostTypeR\x0cresourceType\x12\x12\n\x04cost\x18\x02 \x01(\x01R\x04cost"\xc6\x01\n\x1aResourceUsageCostsBySource\x128\n\x0bsource_type\x18\x01 \x01(\x0e2\x17.viam.app.v1.SourceTypeR\nsourceType\x12Q\n\x14resource_usage_costs\x18\x02 \x01(\x0b2\x1f.viam.app.v1.ResourceUsageCostsR\x12resourceUsageCosts\x12\x1b\n\ttier_name\x18\x03 \x01(\tR\x08tierName"\xcf\x01\n\x12ResourceUsageCosts\x127\n\x0busage_costs\x18\x01 \x03(\x0b2\x16.viam.app.v1.UsageCostR\nusageCosts\x12\x1a\n\x08discount\x18\x02 \x01(\x01R\x08discount\x12.\n\x13total_with_discount\x18\x03 \x01(\x01R\x11totalWithDiscount\x124\n\x16total_without_discount\x18\x04 \x01(\x01R\x14totalWithoutDiscount"\xcd\x07\n\x1cGetCurrentMonthUsageResponse\x129\n\nstart_date\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampR\tstartDate\x125\n\x08end_date\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x07endDate\x12k\n\x1eresource_usage_costs_by_source\x18\x0e \x03(\x0b2\'.viam.app.v1.ResourceUsageCostsBySourceR\x1aresourceUsageCostsBySource\x12\x1a\n\x08subtotal\x18\x0f \x01(\x01R\x08subtotal\x12;\n\x18cloud_storage_usage_cost\x18\x03 \x01(\x01B\x02\x18\x01R\x15cloudStorageUsageCost\x127\n\x16data_upload_usage_cost\x18\x04 \x01(\x01B\x02\x18\x01R\x13dataUploadUsageCost\x125\n\x15data_egres_usage_cost\x18\x05 \x01(\x01B\x02\x18\x01R\x12dataEgresUsageCost\x12=\n\x19remote_control_usage_cost\x18\x06 \x01(\x01B\x02\x18\x01R\x16remoteControlUsageCost\x12A\n\x1bstandard_compute_usage_cost\x18\x07 \x01(\x01B\x02\x18\x01R\x18standardComputeUsageCost\x12+\n\x0fdiscount_amount\x18\x08 \x01(\x01B\x02\x18\x01R\x0ediscountAmount\x12=\n\x19total_usage_with_discount\x18\t \x01(\x01B\x02\x18\x01R\x16totalUsageWithDiscount\x12C\n\x1ctotal_usage_without_discount\x18\n \x01(\x01B\x02\x18\x01R\x19totalUsageWithoutDiscount\x127\n\x16per_machine_usage_cost\x18\x0b \x01(\x01B\x02\x18\x01R\x13perMachineUsageCost\x12Q\n$binary_data_cloud_storage_usage_cost\x18\x0c \x01(\x01B\x02\x18\x01R\x1fbinaryDataCloudStorageUsageCost\x12F\n\x1eother_cloud_storage_usage_cost\x18\r \x01(\x01B\x02\x18\x01R\x1aotherCloudStorageUsageCost"8\n\x1fGetOrgBillingInformationRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"\xfc\x01\n GetOrgBillingInformationResponse\x122\n\x04type\x18\x01 \x01(\x0e2\x1e.viam.app.v1.PaymentMethodTypeR\x04type\x12#\n\rbilling_email\x18\x02 \x01(\tR\x0cbillingEmail\x12;\n\x06method\x18\x03 \x01(\x0b2\x1e.viam.app.v1.PaymentMethodCardH\x00R\x06method\x88\x01\x01\x12&\n\x0cbilling_tier\x18\x04 \x01(\tH\x01R\x0bbillingTier\x88\x01\x01B\t\n\x07_methodB\x0f\n\r_billing_tier"2\n\x19GetInvoicesSummaryRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"\x86\x01\n\x1aGetInvoicesSummaryResponse\x12/\n\x13outstanding_balance\x18\x01 \x01(\x01R\x12outstandingBalance\x127\n\x08invoices\x18\x02 \x03(\x0b2\x1b.viam.app.v1.InvoiceSummaryR\x08invoices"=\n\x14GetInvoicePdfRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06org_id\x18\x02 \x01(\tR\x05orgId"-\n\x15GetInvoicePdfResponse\x12\x14\n\x05chunk\x18\x01 \x01(\x0cR\x05chunk"z\n\x1fSendPaymentRequiredEmailRequest\x12&\n\x0fcustomer_org_id\x18\x01 \x01(\tR\rcustomerOrgId\x12/\n\x14billing_owner_org_id\x18\x02 \x01(\tR\x11billingOwnerOrgId""\n SendPaymentRequiredEmailResponse"!\n\x1fGetAvailableBillingTiersRequest"8\n GetAvailableBillingTiersResponse\x12\x14\n\x05tiers\x18\x01 \x03(\tR\x05tiers"r\n$UpdateOrganizationBillingTierRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12!\n\x0cbilling_tier\x18\x02 \x01(\tR\x0bbillingTier"\'\n%UpdateOrganizationBillingTierResponse*V\n\x11PaymentMethodType\x12#\n\x1fPAYMENT_METHOD_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18PAYMENT_METHOD_TYPE_CARD\x10\x01*\
|
|
10
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14app/v1/billing.proto\x12\x0bviam.app.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\x8e\x02\n\x0eInvoiceSummary\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12=\n\x0cinvoice_date\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0binvoiceDate\x12%\n\x0einvoice_amount\x18\x03 \x01(\x01R\rinvoiceAmount\x12\x16\n\x06status\x18\x04 \x01(\tR\x06status\x125\n\x08due_date\x18\x05 \x01(\x0b2\x1a.google.protobuf.TimestampR\x07dueDate\x127\n\tpaid_date\x18\x06 \x01(\x0b2\x1a.google.protobuf.TimestampR\x08paidDate"S\n\x11PaymentMethodCard\x12\x14\n\x05brand\x18\x01 \x01(\tR\x05brand\x12(\n\x10last_four_digits\x18\x02 \x01(\tR\x0elastFourDigits"4\n\x1bGetCurrentMonthUsageRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"`\n\tUsageCost\x12?\n\rresource_type\x18\x01 \x01(\x0e2\x1a.viam.app.v1.UsageCostTypeR\x0cresourceType\x12\x12\n\x04cost\x18\x02 \x01(\x01R\x04cost"\xc6\x01\n\x1aResourceUsageCostsBySource\x128\n\x0bsource_type\x18\x01 \x01(\x0e2\x17.viam.app.v1.SourceTypeR\nsourceType\x12Q\n\x14resource_usage_costs\x18\x02 \x01(\x0b2\x1f.viam.app.v1.ResourceUsageCostsR\x12resourceUsageCosts\x12\x1b\n\ttier_name\x18\x03 \x01(\tR\x08tierName"\xcf\x01\n\x12ResourceUsageCosts\x127\n\x0busage_costs\x18\x01 \x03(\x0b2\x16.viam.app.v1.UsageCostR\nusageCosts\x12\x1a\n\x08discount\x18\x02 \x01(\x01R\x08discount\x12.\n\x13total_with_discount\x18\x03 \x01(\x01R\x11totalWithDiscount\x124\n\x16total_without_discount\x18\x04 \x01(\x01R\x14totalWithoutDiscount"\xcd\x07\n\x1cGetCurrentMonthUsageResponse\x129\n\nstart_date\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampR\tstartDate\x125\n\x08end_date\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x07endDate\x12k\n\x1eresource_usage_costs_by_source\x18\x0e \x03(\x0b2\'.viam.app.v1.ResourceUsageCostsBySourceR\x1aresourceUsageCostsBySource\x12\x1a\n\x08subtotal\x18\x0f \x01(\x01R\x08subtotal\x12;\n\x18cloud_storage_usage_cost\x18\x03 \x01(\x01B\x02\x18\x01R\x15cloudStorageUsageCost\x127\n\x16data_upload_usage_cost\x18\x04 \x01(\x01B\x02\x18\x01R\x13dataUploadUsageCost\x125\n\x15data_egres_usage_cost\x18\x05 \x01(\x01B\x02\x18\x01R\x12dataEgresUsageCost\x12=\n\x19remote_control_usage_cost\x18\x06 \x01(\x01B\x02\x18\x01R\x16remoteControlUsageCost\x12A\n\x1bstandard_compute_usage_cost\x18\x07 \x01(\x01B\x02\x18\x01R\x18standardComputeUsageCost\x12+\n\x0fdiscount_amount\x18\x08 \x01(\x01B\x02\x18\x01R\x0ediscountAmount\x12=\n\x19total_usage_with_discount\x18\t \x01(\x01B\x02\x18\x01R\x16totalUsageWithDiscount\x12C\n\x1ctotal_usage_without_discount\x18\n \x01(\x01B\x02\x18\x01R\x19totalUsageWithoutDiscount\x127\n\x16per_machine_usage_cost\x18\x0b \x01(\x01B\x02\x18\x01R\x13perMachineUsageCost\x12Q\n$binary_data_cloud_storage_usage_cost\x18\x0c \x01(\x01B\x02\x18\x01R\x1fbinaryDataCloudStorageUsageCost\x12F\n\x1eother_cloud_storage_usage_cost\x18\r \x01(\x01B\x02\x18\x01R\x1aotherCloudStorageUsageCost"8\n\x1fGetOrgBillingInformationRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"\xfc\x01\n GetOrgBillingInformationResponse\x122\n\x04type\x18\x01 \x01(\x0e2\x1e.viam.app.v1.PaymentMethodTypeR\x04type\x12#\n\rbilling_email\x18\x02 \x01(\tR\x0cbillingEmail\x12;\n\x06method\x18\x03 \x01(\x0b2\x1e.viam.app.v1.PaymentMethodCardH\x00R\x06method\x88\x01\x01\x12&\n\x0cbilling_tier\x18\x04 \x01(\tH\x01R\x0bbillingTier\x88\x01\x01B\t\n\x07_methodB\x0f\n\r_billing_tier"2\n\x19GetInvoicesSummaryRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"\x86\x01\n\x1aGetInvoicesSummaryResponse\x12/\n\x13outstanding_balance\x18\x01 \x01(\x01R\x12outstandingBalance\x127\n\x08invoices\x18\x02 \x03(\x0b2\x1b.viam.app.v1.InvoiceSummaryR\x08invoices"=\n\x14GetInvoicePdfRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06org_id\x18\x02 \x01(\tR\x05orgId"-\n\x15GetInvoicePdfResponse\x12\x14\n\x05chunk\x18\x01 \x01(\x0cR\x05chunk"z\n\x1fSendPaymentRequiredEmailRequest\x12&\n\x0fcustomer_org_id\x18\x01 \x01(\tR\rcustomerOrgId\x12/\n\x14billing_owner_org_id\x18\x02 \x01(\tR\x11billingOwnerOrgId""\n SendPaymentRequiredEmailResponse"!\n\x1fGetAvailableBillingTiersRequest"8\n GetAvailableBillingTiersResponse\x12\x14\n\x05tiers\x18\x01 \x03(\tR\x05tiers"r\n$UpdateOrganizationBillingTierRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12!\n\x0cbilling_tier\x18\x02 \x01(\tR\x0bbillingTier"\'\n%UpdateOrganizationBillingTierResponse"\xee\x01\n(CreateInvoiceAndChargeImmediatelyRequest\x12\'\n\x10org_id_to_charge\x18\x01 \x01(\tR\rorgIdToCharge\x12\x16\n\x06amount\x18\x02 \x01(\x01R\x06amount\x12%\n\x0bdescription\x18\x03 \x01(\tH\x00R\x0bdescription\x88\x01\x01\x122\n\x13org_id_for_branding\x18\x04 \x01(\tH\x01R\x10orgIdForBranding\x88\x01\x01B\x0e\n\x0c_descriptionB\x16\n\x14_org_id_for_branding"+\n)CreateInvoiceAndChargeImmediatelyResponse*V\n\x11PaymentMethodType\x12#\n\x1fPAYMENT_METHOD_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18PAYMENT_METHOD_TYPE_CARD\x10\x01*\xa8\x08\n\rUsageCostType\x12\x1f\n\x1bUSAGE_COST_TYPE_UNSPECIFIED\x10\x00\x12#\n\x1bUSAGE_COST_TYPE_DATA_UPLOAD\x10\x01\x1a\x02\x08\x01\x12#\n\x1bUSAGE_COST_TYPE_DATA_EGRESS\x10\x02\x1a\x02\x08\x01\x12"\n\x1eUSAGE_COST_TYPE_REMOTE_CONTROL\x10\x03\x12$\n USAGE_COST_TYPE_STANDARD_COMPUTE\x10\x04\x12%\n\x1dUSAGE_COST_TYPE_CLOUD_STORAGE\x10\x05\x1a\x02\x08\x01\x12-\n)USAGE_COST_TYPE_BINARY_DATA_CLOUD_STORAGE\x10\x06\x12+\n#USAGE_COST_TYPE_OTHER_CLOUD_STORAGE\x10\x07\x1a\x02\x08\x01\x12\x1f\n\x1bUSAGE_COST_TYPE_PER_MACHINE\x10\x08\x12(\n$USAGE_COST_TYPE_TRIGGER_NOTIFICATION\x10\t\x12.\n*USAGE_COST_TYPE_TABULAR_DATA_CLOUD_STORAGE\x10\n\x120\n,USAGE_COST_TYPE_CONFIG_HISTORY_CLOUD_STORAGE\x10\x0b\x12&\n"USAGE_COST_TYPE_LOGS_CLOUD_STORAGE\x10\x0c\x12/\n+USAGE_COST_TYPE_TRAINING_LOGS_CLOUD_STORAGE\x10\r\x12*\n&USAGE_COST_TYPE_PACKAGES_CLOUD_STORAGE\x10\x0e\x12&\n"USAGE_COST_TYPE_BINARY_DATA_UPLOAD\x10\x0f\x12\'\n#USAGE_COST_TYPE_TABULAR_DATA_UPLOAD\x10\x10\x12\x1f\n\x1bUSAGE_COST_TYPE_LOGS_UPLOAD\x10\x11\x12&\n"USAGE_COST_TYPE_BINARY_DATA_EGRESS\x10\x12\x12\'\n#USAGE_COST_TYPE_TABULAR_DATA_EGRESS\x10\x13\x12\x1f\n\x1bUSAGE_COST_TYPE_LOGS_EGRESS\x10\x14\x12(\n$USAGE_COST_TYPE_TRAINING_LOGS_EGRESS\x10\x15\x127\n3USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE\x10\x16\x121\n-USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE\x10\x17\x123\n/USAGE_COST_TYPE_BINARY_DATA_CROSS_REGION_EGRESS\x10\x18*X\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSOURCE_TYPE_ORG\x10\x01\x12\x18\n\x14SOURCE_TYPE_FRAGMENT\x10\x022\xc7\x07\n\x0eBillingService\x12k\n\x14GetCurrentMonthUsage\x12(.viam.app.v1.GetCurrentMonthUsageRequest\x1a).viam.app.v1.GetCurrentMonthUsageResponse\x12w\n\x18GetOrgBillingInformation\x12,.viam.app.v1.GetOrgBillingInformationRequest\x1a-.viam.app.v1.GetOrgBillingInformationResponse\x12e\n\x12GetInvoicesSummary\x12&.viam.app.v1.GetInvoicesSummaryRequest\x1a\'.viam.app.v1.GetInvoicesSummaryResponse\x12X\n\rGetInvoicePdf\x12!.viam.app.v1.GetInvoicePdfRequest\x1a".viam.app.v1.GetInvoicePdfResponse0\x01\x12w\n\x18SendPaymentRequiredEmail\x12,.viam.app.v1.SendPaymentRequiredEmailRequest\x1a-.viam.app.v1.SendPaymentRequiredEmailResponse\x12w\n\x18GetAvailableBillingTiers\x12,.viam.app.v1.GetAvailableBillingTiersRequest\x1a-.viam.app.v1.GetAvailableBillingTiersResponse\x12\x86\x01\n\x1dUpdateOrganizationBillingTier\x121.viam.app.v1.UpdateOrganizationBillingTierRequest\x1a2.viam.app.v1.UpdateOrganizationBillingTierResponse\x12\x92\x01\n!CreateInvoiceAndChargeImmediately\x125.viam.app.v1.CreateInvoiceAndChargeImmediatelyRequest\x1a6.viam.app.v1.CreateInvoiceAndChargeImmediatelyResponseB\x18Z\x16go.viam.com/api/app/v1b\x06proto3')
|
|
11
11
|
_globals = globals()
|
|
12
12
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
13
13
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.v1.billing_pb2', _globals)
|
|
@@ -44,12 +44,12 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
44
44
|
_globals['_GETCURRENTMONTHUSAGERESPONSE'].fields_by_name['binary_data_cloud_storage_usage_cost']._serialized_options = b'\x18\x01'
|
|
45
45
|
_globals['_GETCURRENTMONTHUSAGERESPONSE'].fields_by_name['other_cloud_storage_usage_cost']._loaded_options = None
|
|
46
46
|
_globals['_GETCURRENTMONTHUSAGERESPONSE'].fields_by_name['other_cloud_storage_usage_cost']._serialized_options = b'\x18\x01'
|
|
47
|
-
_globals['_PAYMENTMETHODTYPE']._serialized_start =
|
|
48
|
-
_globals['_PAYMENTMETHODTYPE']._serialized_end =
|
|
49
|
-
_globals['_USAGECOSTTYPE']._serialized_start =
|
|
50
|
-
_globals['_USAGECOSTTYPE']._serialized_end =
|
|
51
|
-
_globals['_SOURCETYPE']._serialized_start =
|
|
52
|
-
_globals['_SOURCETYPE']._serialized_end =
|
|
47
|
+
_globals['_PAYMENTMETHODTYPE']._serialized_start = 3275
|
|
48
|
+
_globals['_PAYMENTMETHODTYPE']._serialized_end = 3361
|
|
49
|
+
_globals['_USAGECOSTTYPE']._serialized_start = 3364
|
|
50
|
+
_globals['_USAGECOSTTYPE']._serialized_end = 4428
|
|
51
|
+
_globals['_SOURCETYPE']._serialized_start = 4430
|
|
52
|
+
_globals['_SOURCETYPE']._serialized_end = 4518
|
|
53
53
|
_globals['_INVOICESUMMARY']._serialized_start = 71
|
|
54
54
|
_globals['_INVOICESUMMARY']._serialized_end = 341
|
|
55
55
|
_globals['_PAYMENTMETHODCARD']._serialized_start = 343
|
|
@@ -88,5 +88,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
88
88
|
_globals['_UPDATEORGANIZATIONBILLINGTIERREQUEST']._serialized_end = 2946
|
|
89
89
|
_globals['_UPDATEORGANIZATIONBILLINGTIERRESPONSE']._serialized_start = 2948
|
|
90
90
|
_globals['_UPDATEORGANIZATIONBILLINGTIERRESPONSE']._serialized_end = 2987
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
91
|
+
_globals['_CREATEINVOICEANDCHARGEIMMEDIATELYREQUEST']._serialized_start = 2990
|
|
92
|
+
_globals['_CREATEINVOICEANDCHARGEIMMEDIATELYREQUEST']._serialized_end = 3228
|
|
93
|
+
_globals['_CREATEINVOICEANDCHARGEIMMEDIATELYRESPONSE']._serialized_start = 3230
|
|
94
|
+
_globals['_CREATEINVOICEANDCHARGEIMMEDIATELYRESPONSE']._serialized_end = 3273
|
|
95
|
+
_globals['_BILLINGSERVICE']._serialized_start = 4521
|
|
96
|
+
_globals['_BILLINGSERVICE']._serialized_end = 5488
|
viam/gen/app/v1/billing_pb2.pyi
CHANGED
|
@@ -62,6 +62,7 @@ class _UsageCostTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._
|
|
|
62
62
|
USAGE_COST_TYPE_TRAINING_LOGS_EGRESS: _UsageCostType.ValueType
|
|
63
63
|
USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE: _UsageCostType.ValueType
|
|
64
64
|
USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE: _UsageCostType.ValueType
|
|
65
|
+
USAGE_COST_TYPE_BINARY_DATA_CROSS_REGION_EGRESS: _UsageCostType.ValueType
|
|
65
66
|
|
|
66
67
|
class UsageCostType(_UsageCostType, metaclass=_UsageCostTypeEnumTypeWrapper):
|
|
67
68
|
...
|
|
@@ -89,6 +90,7 @@ USAGE_COST_TYPE_LOGS_EGRESS: UsageCostType.ValueType
|
|
|
89
90
|
USAGE_COST_TYPE_TRAINING_LOGS_EGRESS: UsageCostType.ValueType
|
|
90
91
|
USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE: UsageCostType.ValueType
|
|
91
92
|
USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE: UsageCostType.ValueType
|
|
93
|
+
USAGE_COST_TYPE_BINARY_DATA_CROSS_REGION_EGRESS: UsageCostType.ValueType
|
|
92
94
|
global___UsageCostType = UsageCostType
|
|
93
95
|
|
|
94
96
|
class _SourceType:
|
|
@@ -460,4 +462,42 @@ class UpdateOrganizationBillingTierResponse(google.protobuf.message.Message):
|
|
|
460
462
|
|
|
461
463
|
def __init__(self) -> None:
|
|
462
464
|
...
|
|
463
|
-
global___UpdateOrganizationBillingTierResponse = UpdateOrganizationBillingTierResponse
|
|
465
|
+
global___UpdateOrganizationBillingTierResponse = UpdateOrganizationBillingTierResponse
|
|
466
|
+
|
|
467
|
+
@typing.final
|
|
468
|
+
class CreateInvoiceAndChargeImmediatelyRequest(google.protobuf.message.Message):
|
|
469
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
470
|
+
ORG_ID_TO_CHARGE_FIELD_NUMBER: builtins.int
|
|
471
|
+
AMOUNT_FIELD_NUMBER: builtins.int
|
|
472
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
473
|
+
ORG_ID_FOR_BRANDING_FIELD_NUMBER: builtins.int
|
|
474
|
+
org_id_to_charge: builtins.str
|
|
475
|
+
amount: builtins.float
|
|
476
|
+
description: builtins.str
|
|
477
|
+
org_id_for_branding: builtins.str
|
|
478
|
+
|
|
479
|
+
def __init__(self, *, org_id_to_charge: builtins.str=..., amount: builtins.float=..., description: builtins.str | None=..., org_id_for_branding: builtins.str | None=...) -> None:
|
|
480
|
+
...
|
|
481
|
+
|
|
482
|
+
def HasField(self, field_name: typing.Literal['_description', b'_description', '_org_id_for_branding', b'_org_id_for_branding', 'description', b'description', 'org_id_for_branding', b'org_id_for_branding']) -> builtins.bool:
|
|
483
|
+
...
|
|
484
|
+
|
|
485
|
+
def ClearField(self, field_name: typing.Literal['_description', b'_description', '_org_id_for_branding', b'_org_id_for_branding', 'amount', b'amount', 'description', b'description', 'org_id_for_branding', b'org_id_for_branding', 'org_id_to_charge', b'org_id_to_charge']) -> None:
|
|
486
|
+
...
|
|
487
|
+
|
|
488
|
+
@typing.overload
|
|
489
|
+
def WhichOneof(self, oneof_group: typing.Literal['_description', b'_description']) -> typing.Literal['description'] | None:
|
|
490
|
+
...
|
|
491
|
+
|
|
492
|
+
@typing.overload
|
|
493
|
+
def WhichOneof(self, oneof_group: typing.Literal['_org_id_for_branding', b'_org_id_for_branding']) -> typing.Literal['org_id_for_branding'] | None:
|
|
494
|
+
...
|
|
495
|
+
global___CreateInvoiceAndChargeImmediatelyRequest = CreateInvoiceAndChargeImmediatelyRequest
|
|
496
|
+
|
|
497
|
+
@typing.final
|
|
498
|
+
class CreateInvoiceAndChargeImmediatelyResponse(google.protobuf.message.Message):
|
|
499
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
500
|
+
|
|
501
|
+
def __init__(self) -> None:
|
|
502
|
+
...
|
|
503
|
+
global___CreateInvoiceAndChargeImmediatelyResponse = CreateInvoiceAndChargeImmediatelyResponse
|
viam/gen/app/v1/robot_pb2.py
CHANGED
|
@@ -10,7 +10,7 @@ from ...common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
|
|
|
10
10
|
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
11
11
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
12
12
|
from ...tagger.v1 import tagger_pb2 as tagger_dot_v1_dot_tagger__pb2
|
|
13
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12app/v1/robot.proto\x12\x0bviam.app.v1\x1a\x16common/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x16tagger/v1/tagger.proto"\xa1\x08\n\x0bRobotConfig\x12.\n\x05cloud\x18\x01 \x01(\x0b2\x18.viam.app.v1.CloudConfigR\x05cloud\x123\n\x07remotes\x18\x02 \x03(\x0b2\x19.viam.app.v1.RemoteConfigR\x07remotes\x12<\n\ncomponents\x18\x03 \x03(\x0b2\x1c.viam.app.v1.ComponentConfigR\ncomponents\x128\n\tprocesses\x18\x04 \x03(\x0b2\x1a.viam.app.v1.ProcessConfigR\tprocesses\x126\n\x08services\x18\x05 \x03(\x0b2\x1a.viam.app.v1.ServiceConfigR\x08services\x129\n\x07network\x18\x06 \x01(\x0b2\x1a.viam.app.v1.NetworkConfigH\x00R\x07network\x88\x01\x01\x120\n\x04auth\x18\x07 \x01(\x0b2\x17.viam.app.v1.AuthConfigH\x01R\x04auth\x88\x01\x01\x12\x19\n\x05debug\x18\x08 \x01(\x08H\x02R\x05debug\x88\x01\x01\x123\n\x07modules\x18\t \x03(\x0b2\x19.viam.app.v1.ModuleConfigR\x07modules\x127\n\x15disable_partial_start\x18\n \x01(\x08H\x03R\x13disablePartialStart\x88\x01\x01\x126\n\x08packages\x18\x0b \x03(\x0b2\x1a.viam.app.v1.PackageConfigR\x08packages\x12\\\n\x19overwrite_fragment_status\x18\x0c \x03(\x0b2 .viam.app.v1.AppValidationStatusR\x17overwriteFragmentStatus\x12,\n\x12enable_web_profile\x18\r \x01(\x08R\x10enableWebProfile\x12/\n\x03log\x18\x0e \x03(\x0b2\x1d.viam.app.v1.LogPatternConfigR\x03log\x12\x1a\n\x08revision\x18\x0f \x01(\tR\x08revision\x12E\n\x0bmaintenance\x18\x10 \x01(\x0b2\x1e.viam.app.v1.MaintenanceConfigH\x04R\x0bmaintenance\x88\x01\x01\x12:\n\x19disable_log_deduplication\x18\x11 \x01(\x08R\x17disableLogDeduplication\x12*\n\x04jobs\x18\x12 \x03(\x0b2\x16.viam.app.v1.JobConfigR\x04jobsB\n\n\x08_networkB\x07\n\x05_authB\x08\n\x06_debugB\x18\n\x16_disable_partial_startB\x0e\n\x0c_maintenance"B\n\x10LogPatternConfig\x12\x18\n\x07pattern\x18\x01 \x01(\tR\x07pattern\x12\x14\n\x05level\x18\x02 \x01(\tR\x05level"\xa2\x01\n\tJobConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n\x08schedule\x18\x02 \x01(\tR\x08schedule\x12\x1a\n\x08resource\x18\x03 \x01(\tR\x08resource\x12\x16\n\x06method\x18\x04 \x01(\tR\x06method\x121\n\x07command\x18\x05 \x01(\x0b2\x17.google.protobuf.StructR\x07command"8\n\x0eLocationSecret\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret"+\n\x13AppValidationStatus\x12\x14\n\x05error\x18\x01 \x01(\tR\x05error"\xbe\x03\n\x0bCloudConfig\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04fqdn\x18\x02 \x01(\tR\x04fqdn\x12\x1d\n\nlocal_fqdn\x18\x03 \x01(\tR\tlocalFqdn\x12\x1d\n\nmanaged_by\x18\x04 \x01(\tR\tmanagedBy\x12+\n\x11signaling_address\x18\x05 \x01(\tR\x10signalingAddress\x12-\n\x12signaling_insecure\x18\x06 \x01(\x08R\x11signalingInsecure\x12+\n\x0flocation_secret\x18\x07 \x01(\tB\x02\x18\x01R\x0elocationSecret\x12\x16\n\x06secret\x18\x08 \x01(\tR\x06secret\x12F\n\x10location_secrets\x18\t \x03(\x0b2\x1b.viam.app.v1.LocationSecretR\x0flocationSecrets\x12$\n\x0eprimary_org_id\x18\n \x01(\tR\x0cprimaryOrgId\x12\x1f\n\x0blocation_id\x18\x0b \x01(\tR\nlocationId\x12\x1d\n\nmachine_id\x18\x0c \x01(\tR\tmachineId"\xbb\x03\n\x0fComponentConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x12\x14\n\x05model\x18\x04 \x01(\tR\x05model\x12(\n\x05frame\x18\x05 \x01(\x0b2\x12.viam.app.v1.FrameR\x05frame\x12\x1d\n\ndepends_on\x18\x06 \x03(\tR\tdependsOn\x12l\n\x0fservice_configs\x18\x07 \x03(\x0b2\'.viam.app.v1.ResourceLevelServiceConfigB\x1a\x9a\x84\x9e\x03\x15json:"service_config"R\x0eserviceConfigs\x127\n\nattributes\x18\x08 \x01(\x0b2\x17.google.protobuf.StructR\nattributes\x12\x10\n\x03api\x18\t \x01(\tR\x03api\x12J\n\x11log_configuration\x18\n \x01(\x0b2\x1d.viam.app.v1.LogConfigurationR\x10logConfiguration"i\n\x1aResourceLevelServiceConfig\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x127\n\nattributes\x18\x02 \x01(\x0b2\x17.google.protobuf.StructR\nattributes"\xf0\x02\n\rProcessConfig\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04args\x18\x03 \x03(\tR\x04args\x12\x10\n\x03cwd\x18\x04 \x01(\tR\x03cwd\x12\x19\n\x08one_shot\x18\x05 \x01(\x08R\x07oneShot\x12\x10\n\x03log\x18\x06 \x01(\x08R\x03log\x12\x1f\n\x0bstop_signal\x18\x07 \x01(\x05R\nstopSignal\x12<\n\x0cstop_timeout\x18\x08 \x01(\x0b2\x19.google.protobuf.DurationR\x0bstopTimeout\x125\n\x03env\x18\t \x03(\x0b2#.viam.app.v1.ProcessConfig.EnvEntryR\x03env\x12\x1a\n\x08username\x18\n \x01(\tR\x08username\x1a6\n\x08EnvEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x028\x01"\x8f\x03\n\rServiceConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x127\n\nattributes\x18\x04 \x01(\x0b2\x17.google.protobuf.StructR\nattributes\x12\x1d\n\ndepends_on\x18\x05 \x03(\tR\tdependsOn\x12\x14\n\x05model\x18\x06 \x01(\tR\x05model\x12\x10\n\x03api\x18\t \x01(\tR\x03api\x12l\n\x0fservice_configs\x18\n \x03(\x0b2\'.viam.app.v1.ResourceLevelServiceConfigB\x1a\x9a\x84\x9e\x03\x15json:"service_config"R\x0eserviceConfigs\x12J\n\x11log_configuration\x18\x0b \x01(\x0b2\x1d.viam.app.v1.LogConfigurationR\x10logConfiguration"\xba\x02\n\rNetworkConfig\x12\x12\n\x04fqdn\x18\x01 \x01(\tR\x04fqdn\x12!\n\x0cbind_address\x18\x02 \x01(\tR\x0bbindAddress\x12"\n\rtls_cert_file\x18\x03 \x01(\tR\x0btlsCertFile\x12 \n\x0ctls_key_file\x18\x04 \x01(\tR\ntlsKeyFile\x127\n\x08sessions\x18\x05 \x01(\x0b2\x1b.viam.app.v1.SessionsConfigR\x08sessions\x12\\\n\x18traffic_tunnel_endpoints\x18\x06 \x03(\x0b2".viam.app.v1.TrafficTunnelEndpointR\x16trafficTunnelEndpoints\x12\x15\n\x06no_tls\x18\x07 \x01(\x08R\x05noTls"V\n\x0eSessionsConfig\x12D\n\x10heartbeat_window\x18\x01 \x01(\x0b2\x19.google.protobuf.DurationR\x0fheartbeatWindow"u\n\x15TrafficTunnelEndpoint\x12\x12\n\x04port\x18\x01 \x01(\x05R\x04port\x12H\n\x12connection_timeout\x18\x02 \x01(\x0b2\x19.google.protobuf.DurationR\x11connectionTimeout"\xe5\x01\n\nAuthConfig\x12:\n\x08handlers\x18\x01 \x03(\x0b2\x1e.viam.app.v1.AuthHandlerConfigR\x08handlers\x12*\n\x11tls_auth_entities\x18\x02 \x03(\tR\x0ftlsAuthEntities\x12V\n\x14external_auth_config\x18\x03 \x01(\x0b2\x1f.viam.app.v1.ExternalAuthConfigH\x00R\x12externalAuthConfig\x88\x01\x01B\x17\n\x15_external_auth_config"7\n\x08JWKSFile\x12+\n\x04json\x18\x01 \x01(\x0b2\x17.google.protobuf.StructR\x04json"?\n\x12ExternalAuthConfig\x12)\n\x04jwks\x18\x01 \x01(\x0b2\x15.viam.app.v1.JWKSFileR\x04jwks"v\n\x11AuthHandlerConfig\x120\n\x04type\x18\x01 \x01(\x0e2\x1c.viam.app.v1.CredentialsTypeR\x04type\x12/\n\x06config\x18\x05 \x01(\x0b2\x17.google.protobuf.StructR\x06config"\xcd\x01\n\x05Frame\x12\x16\n\x06parent\x18\x01 \x01(\tR\x06parent\x12:\n\x0btranslation\x18\x02 \x01(\x0b2\x18.viam.app.v1.TranslationR\x0btranslation\x12:\n\x0borientation\x18\x03 \x01(\x0b2\x18.viam.app.v1.OrientationR\x0borientation\x124\n\x08geometry\x18\x04 \x01(\x0b2\x18.viam.common.v1.GeometryR\x08geometry"(\n\x10LogConfiguration\x12\x14\n\x05level\x18\x01 \x01(\tR\x05level"7\n\x0bTranslation\x12\x0c\n\x01x\x18\x01 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x02 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x03 \x01(\x01R\x01z"\xd0\x07\n\x0bOrientation\x12O\n\x0eno_orientation\x18\x01 \x01(\x0b2&.viam.app.v1.Orientation.NoOrientationH\x00R\rnoOrientation\x12Z\n\x0evector_radians\x18\x02 \x01(\x0b21.viam.app.v1.Orientation.OrientationVectorRadiansH\x00R\rvectorRadians\x12Z\n\x0evector_degrees\x18\x03 \x01(\x0b21.viam.app.v1.Orientation.OrientationVectorDegreesH\x00R\rvectorDegrees\x12I\n\x0ceuler_angles\x18\x04 \x01(\x0b2$.viam.app.v1.Orientation.EulerAnglesH\x00R\x0beulerAngles\x12F\n\x0baxis_angles\x18\x05 \x01(\x0b2#.viam.app.v1.Orientation.AxisAnglesH\x00R\naxisAngles\x12E\n\nquaternion\x18\x06 \x01(\x0b2#.viam.app.v1.Orientation.QuaternionH\x00R\nquaternion\x1a\x0f\n\rNoOrientation\x1aj\n\x18OrientationVectorRadians\x12$\n\x05theta\x18\x01 \x01(\x01B\x0e\x9a\x84\x9e\x03\tjson:"th"R\x05theta\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01z\x1aj\n\x18OrientationVectorDegrees\x12$\n\x05theta\x18\x01 \x01(\x01B\x0e\x9a\x84\x9e\x03\tjson:"th"R\x05theta\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01z\x1aI\n\x0bEulerAngles\x12\x12\n\x04roll\x18\x01 \x01(\x01R\x04roll\x12\x14\n\x05pitch\x18\x02 \x01(\x01R\x05pitch\x12\x10\n\x03yaw\x18\x03 \x01(\x01R\x03yaw\x1a\\\n\nAxisAngles\x12$\n\x05theta\x18\x01 \x01(\x01B\x0e\x9a\x84\x9e\x03\tjson:"th"R\x05theta\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01z\x1aD\n\nQuaternion\x12\x0c\n\x01w\x18\x01 \x01(\x01R\x01w\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01zB\x06\n\x04type"\xf5\x03\n\x0cRemoteConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07address\x18\x02 \x01(\tR\x07address\x12(\n\x05frame\x18\x03 \x01(\x0b2\x12.viam.app.v1.FrameR\x05frame\x12+\n\x04auth\x18\x04 \x01(\x0b2\x17.viam.app.v1.RemoteAuthR\x04auth\x12\x1d\n\nmanaged_by\x18\x05 \x01(\tR\tmanagedBy\x12\x1a\n\x08insecure\x18\x06 \x01(\x08R\x08insecure\x12U\n\x19connection_check_interval\x18\x07 \x01(\x0b2\x19.google.protobuf.DurationR\x17connectionCheckInterval\x12H\n\x12reconnect_interval\x18\x08 \x01(\x0b2\x19.google.protobuf.DurationR\x11reconnectInterval\x12l\n\x0fservice_configs\x18\t \x03(\x0b2\'.viam.app.v1.ResourceLevelServiceConfigB\x1a\x9a\x84\x9e\x03\x15json:"service_config"R\x0eserviceConfigs\x12\x16\n\x06secret\x18\n \x01(\tR\x06secret"\xc6\x01\n\nRemoteAuth\x12E\n\x0bcredentials\x18\x01 \x01(\x0b2#.viam.app.v1.RemoteAuth.CredentialsR\x0bcredentials\x12\x16\n\x06entity\x18\x02 \x01(\tR\x06entity\x1aY\n\x0bCredentials\x120\n\x04type\x18\x01 \x01(\x0e2\x1c.viam.app.v1.CredentialsTypeR\x04type\x12\x18\n\x07payload\x18\x02 \x01(\tR\x07payload"\xd1\x01\n\tAgentInfo\x12\x12\n\x04host\x18\x01 \x01(\tR\x04host\x12\x0e\n\x02os\x18\x02 \x01(\tR\x02os\x12\x10\n\x03ips\x18\x03 \x03(\tR\x03ips\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12!\n\x0cgit_revision\x18\x05 \x01(\tR\x0bgitRevision\x12\x1f\n\x08platform\x18\x06 \x01(\tH\x00R\x08platform\x88\x01\x01\x12#\n\rplatform_tags\x18\x07 \x03(\tR\x0cplatformTagsB\x0b\n\t_platform"j\n\rConfigRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\nagent_info\x18\x02 \x01(\x0b2\x16.viam.app.v1.AgentInfoH\x00R\tagentInfo\x88\x01\x01B\r\n\x0b_agent_info"B\n\x0eConfigResponse\x120\n\x06config\x18\x01 \x01(\x0b2\x18.viam.app.v1.RobotConfigR\x06config"$\n\x12CertificateRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"v\n\x13CertificateResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0ftls_certificate\x18\x02 \x01(\tR\x0etlsCertificate\x12&\n\x0ftls_private_key\x18\x03 \x01(\tR\rtlsPrivateKey"J\n\nLogRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12,\n\x04logs\x18\x02 \x03(\x0b2\x18.viam.common.v1.LogEntryR\x04logs"\r\n\x0bLogResponse"%\n\x13NeedsRestartRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x9a\x01\n\x14NeedsRestartResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12!\n\x0cmust_restart\x18\x02 \x01(\x08R\x0bmustRestart\x12O\n\x16restart_check_interval\x18\x03 \x01(\x0b2\x19.google.protobuf.DurationR\x14restartCheckInterval"\x8e\x03\n\x0cModuleConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\x12\x1b\n\tlog_level\x18\x03 \x01(\tR\x08logLevel\x12\x12\n\x04type\x18\x04 \x01(\tR\x04type\x12\x1b\n\tmodule_id\x18\x05 \x01(\tR\x08moduleId\x124\n\x03env\x18\x06 \x03(\x0b2".viam.app.v1.ModuleConfig.EnvEntryR\x03env\x128\n\x06status\x18\x07 \x01(\x0b2 .viam.app.v1.AppValidationStatusR\x06status\x12E\n\x11first_run_timeout\x18\x08 \x01(\x0b2\x19.google.protobuf.DurationR\x0ffirstRunTimeout\x12\x19\n\x08tcp_mode\x18\t \x01(\x08R\x07tcpMode\x1a6\n\x08EnvEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x028\x01"\xa5\x01\n\rPackageConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07package\x18\x02 \x01(\tR\x07package\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x12\n\x04type\x18\x04 \x01(\tR\x04type\x128\n\x06status\x18\x05 \x01(\x0b2 .viam.app.v1.AppValidationStatusR\x06status"\x8a\x01\n\x11MaintenanceConfig\x12=\n\x0bsensor_name\x18\x01 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\nsensorName\x126\n\x17maintenance_allowed_key\x18\x02 \x01(\tR\x15maintenanceAllowedKey*\xbf\x01\n\x0fCredentialsType\x12 \n\x1cCREDENTIALS_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19CREDENTIALS_TYPE_INTERNAL\x10\x01\x12\x1c\n\x18CREDENTIALS_TYPE_API_KEY\x10\x02\x12!\n\x1dCREDENTIALS_TYPE_ROBOT_SECRET\x10\x03\x12*\n&CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET\x10\x042\xb2\x02\n\x0cRobotService\x12A\n\x06Config\x12\x1a.viam.app.v1.ConfigRequest\x1a\x1b.viam.app.v1.ConfigResponse\x12P\n\x0bCertificate\x12\x1f.viam.app.v1.CertificateRequest\x1a .viam.app.v1.CertificateResponse\x128\n\x03Log\x12\x17.viam.app.v1.LogRequest\x1a\x18.viam.app.v1.LogResponse\x12S\n\x0cNeedsRestart\x12 .viam.app.v1.NeedsRestartRequest\x1a!.viam.app.v1.NeedsRestartResponseB\x18Z\x16go.viam.com/api/app/v1b\x06proto3')
|
|
13
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12app/v1/robot.proto\x12\x0bviam.app.v1\x1a\x16common/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x16tagger/v1/tagger.proto"\xa1\x08\n\x0bRobotConfig\x12.\n\x05cloud\x18\x01 \x01(\x0b2\x18.viam.app.v1.CloudConfigR\x05cloud\x123\n\x07remotes\x18\x02 \x03(\x0b2\x19.viam.app.v1.RemoteConfigR\x07remotes\x12<\n\ncomponents\x18\x03 \x03(\x0b2\x1c.viam.app.v1.ComponentConfigR\ncomponents\x128\n\tprocesses\x18\x04 \x03(\x0b2\x1a.viam.app.v1.ProcessConfigR\tprocesses\x126\n\x08services\x18\x05 \x03(\x0b2\x1a.viam.app.v1.ServiceConfigR\x08services\x129\n\x07network\x18\x06 \x01(\x0b2\x1a.viam.app.v1.NetworkConfigH\x00R\x07network\x88\x01\x01\x120\n\x04auth\x18\x07 \x01(\x0b2\x17.viam.app.v1.AuthConfigH\x01R\x04auth\x88\x01\x01\x12\x19\n\x05debug\x18\x08 \x01(\x08H\x02R\x05debug\x88\x01\x01\x123\n\x07modules\x18\t \x03(\x0b2\x19.viam.app.v1.ModuleConfigR\x07modules\x127\n\x15disable_partial_start\x18\n \x01(\x08H\x03R\x13disablePartialStart\x88\x01\x01\x126\n\x08packages\x18\x0b \x03(\x0b2\x1a.viam.app.v1.PackageConfigR\x08packages\x12\\\n\x19overwrite_fragment_status\x18\x0c \x03(\x0b2 .viam.app.v1.AppValidationStatusR\x17overwriteFragmentStatus\x12,\n\x12enable_web_profile\x18\r \x01(\x08R\x10enableWebProfile\x12/\n\x03log\x18\x0e \x03(\x0b2\x1d.viam.app.v1.LogPatternConfigR\x03log\x12\x1a\n\x08revision\x18\x0f \x01(\tR\x08revision\x12E\n\x0bmaintenance\x18\x10 \x01(\x0b2\x1e.viam.app.v1.MaintenanceConfigH\x04R\x0bmaintenance\x88\x01\x01\x12:\n\x19disable_log_deduplication\x18\x11 \x01(\x08R\x17disableLogDeduplication\x12*\n\x04jobs\x18\x12 \x03(\x0b2\x16.viam.app.v1.JobConfigR\x04jobsB\n\n\x08_networkB\x07\n\x05_authB\x08\n\x06_debugB\x18\n\x16_disable_partial_startB\x0e\n\x0c_maintenance"B\n\x10LogPatternConfig\x12\x18\n\x07pattern\x18\x01 \x01(\tR\x07pattern\x12\x14\n\x05level\x18\x02 \x01(\tR\x05level"\xa2\x01\n\tJobConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n\x08schedule\x18\x02 \x01(\tR\x08schedule\x12\x1a\n\x08resource\x18\x03 \x01(\tR\x08resource\x12\x16\n\x06method\x18\x04 \x01(\tR\x06method\x121\n\x07command\x18\x05 \x01(\x0b2\x17.google.protobuf.StructR\x07command"8\n\x0eLocationSecret\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret"+\n\x13AppValidationStatus\x12\x14\n\x05error\x18\x01 \x01(\tR\x05error"\xbe\x03\n\x0bCloudConfig\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04fqdn\x18\x02 \x01(\tR\x04fqdn\x12\x1d\n\nlocal_fqdn\x18\x03 \x01(\tR\tlocalFqdn\x12\x1d\n\nmanaged_by\x18\x04 \x01(\tR\tmanagedBy\x12+\n\x11signaling_address\x18\x05 \x01(\tR\x10signalingAddress\x12-\n\x12signaling_insecure\x18\x06 \x01(\x08R\x11signalingInsecure\x12+\n\x0flocation_secret\x18\x07 \x01(\tB\x02\x18\x01R\x0elocationSecret\x12\x16\n\x06secret\x18\x08 \x01(\tR\x06secret\x12F\n\x10location_secrets\x18\t \x03(\x0b2\x1b.viam.app.v1.LocationSecretR\x0flocationSecrets\x12$\n\x0eprimary_org_id\x18\n \x01(\tR\x0cprimaryOrgId\x12\x1f\n\x0blocation_id\x18\x0b \x01(\tR\nlocationId\x12\x1d\n\nmachine_id\x18\x0c \x01(\tR\tmachineId"\xbb\x03\n\x0fComponentConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x12\x14\n\x05model\x18\x04 \x01(\tR\x05model\x12(\n\x05frame\x18\x05 \x01(\x0b2\x12.viam.app.v1.FrameR\x05frame\x12\x1d\n\ndepends_on\x18\x06 \x03(\tR\tdependsOn\x12l\n\x0fservice_configs\x18\x07 \x03(\x0b2\'.viam.app.v1.ResourceLevelServiceConfigB\x1a\x9a\x84\x9e\x03\x15json:"service_config"R\x0eserviceConfigs\x127\n\nattributes\x18\x08 \x01(\x0b2\x17.google.protobuf.StructR\nattributes\x12\x10\n\x03api\x18\t \x01(\tR\x03api\x12J\n\x11log_configuration\x18\n \x01(\x0b2\x1d.viam.app.v1.LogConfigurationR\x10logConfiguration"i\n\x1aResourceLevelServiceConfig\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x127\n\nattributes\x18\x02 \x01(\x0b2\x17.google.protobuf.StructR\nattributes"\xf0\x02\n\rProcessConfig\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04args\x18\x03 \x03(\tR\x04args\x12\x10\n\x03cwd\x18\x04 \x01(\tR\x03cwd\x12\x19\n\x08one_shot\x18\x05 \x01(\x08R\x07oneShot\x12\x10\n\x03log\x18\x06 \x01(\x08R\x03log\x12\x1f\n\x0bstop_signal\x18\x07 \x01(\x05R\nstopSignal\x12<\n\x0cstop_timeout\x18\x08 \x01(\x0b2\x19.google.protobuf.DurationR\x0bstopTimeout\x125\n\x03env\x18\t \x03(\x0b2#.viam.app.v1.ProcessConfig.EnvEntryR\x03env\x12\x1a\n\x08username\x18\n \x01(\tR\x08username\x1a6\n\x08EnvEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x028\x01"\x8f\x03\n\rServiceConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x127\n\nattributes\x18\x04 \x01(\x0b2\x17.google.protobuf.StructR\nattributes\x12\x1d\n\ndepends_on\x18\x05 \x03(\tR\tdependsOn\x12\x14\n\x05model\x18\x06 \x01(\tR\x05model\x12\x10\n\x03api\x18\t \x01(\tR\x03api\x12l\n\x0fservice_configs\x18\n \x03(\x0b2\'.viam.app.v1.ResourceLevelServiceConfigB\x1a\x9a\x84\x9e\x03\x15json:"service_config"R\x0eserviceConfigs\x12J\n\x11log_configuration\x18\x0b \x01(\x0b2\x1d.viam.app.v1.LogConfigurationR\x10logConfiguration"\xba\x02\n\rNetworkConfig\x12\x12\n\x04fqdn\x18\x01 \x01(\tR\x04fqdn\x12!\n\x0cbind_address\x18\x02 \x01(\tR\x0bbindAddress\x12"\n\rtls_cert_file\x18\x03 \x01(\tR\x0btlsCertFile\x12 \n\x0ctls_key_file\x18\x04 \x01(\tR\ntlsKeyFile\x127\n\x08sessions\x18\x05 \x01(\x0b2\x1b.viam.app.v1.SessionsConfigR\x08sessions\x12\\\n\x18traffic_tunnel_endpoints\x18\x06 \x03(\x0b2".viam.app.v1.TrafficTunnelEndpointR\x16trafficTunnelEndpoints\x12\x15\n\x06no_tls\x18\x07 \x01(\x08R\x05noTls"V\n\x0eSessionsConfig\x12D\n\x10heartbeat_window\x18\x01 \x01(\x0b2\x19.google.protobuf.DurationR\x0fheartbeatWindow"u\n\x15TrafficTunnelEndpoint\x12\x12\n\x04port\x18\x01 \x01(\x05R\x04port\x12H\n\x12connection_timeout\x18\x02 \x01(\x0b2\x19.google.protobuf.DurationR\x11connectionTimeout"\xe5\x01\n\nAuthConfig\x12:\n\x08handlers\x18\x01 \x03(\x0b2\x1e.viam.app.v1.AuthHandlerConfigR\x08handlers\x12*\n\x11tls_auth_entities\x18\x02 \x03(\tR\x0ftlsAuthEntities\x12V\n\x14external_auth_config\x18\x03 \x01(\x0b2\x1f.viam.app.v1.ExternalAuthConfigH\x00R\x12externalAuthConfig\x88\x01\x01B\x17\n\x15_external_auth_config"7\n\x08JWKSFile\x12+\n\x04json\x18\x01 \x01(\x0b2\x17.google.protobuf.StructR\x04json"?\n\x12ExternalAuthConfig\x12)\n\x04jwks\x18\x01 \x01(\x0b2\x15.viam.app.v1.JWKSFileR\x04jwks"v\n\x11AuthHandlerConfig\x120\n\x04type\x18\x01 \x01(\x0e2\x1c.viam.app.v1.CredentialsTypeR\x04type\x12/\n\x06config\x18\x05 \x01(\x0b2\x17.google.protobuf.StructR\x06config"\xcd\x01\n\x05Frame\x12\x16\n\x06parent\x18\x01 \x01(\tR\x06parent\x12:\n\x0btranslation\x18\x02 \x01(\x0b2\x18.viam.app.v1.TranslationR\x0btranslation\x12:\n\x0borientation\x18\x03 \x01(\x0b2\x18.viam.app.v1.OrientationR\x0borientation\x124\n\x08geometry\x18\x04 \x01(\x0b2\x18.viam.common.v1.GeometryR\x08geometry"(\n\x10LogConfiguration\x12\x14\n\x05level\x18\x01 \x01(\tR\x05level"7\n\x0bTranslation\x12\x0c\n\x01x\x18\x01 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x02 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x03 \x01(\x01R\x01z"\xd0\x07\n\x0bOrientation\x12O\n\x0eno_orientation\x18\x01 \x01(\x0b2&.viam.app.v1.Orientation.NoOrientationH\x00R\rnoOrientation\x12Z\n\x0evector_radians\x18\x02 \x01(\x0b21.viam.app.v1.Orientation.OrientationVectorRadiansH\x00R\rvectorRadians\x12Z\n\x0evector_degrees\x18\x03 \x01(\x0b21.viam.app.v1.Orientation.OrientationVectorDegreesH\x00R\rvectorDegrees\x12I\n\x0ceuler_angles\x18\x04 \x01(\x0b2$.viam.app.v1.Orientation.EulerAnglesH\x00R\x0beulerAngles\x12F\n\x0baxis_angles\x18\x05 \x01(\x0b2#.viam.app.v1.Orientation.AxisAnglesH\x00R\naxisAngles\x12E\n\nquaternion\x18\x06 \x01(\x0b2#.viam.app.v1.Orientation.QuaternionH\x00R\nquaternion\x1a\x0f\n\rNoOrientation\x1aj\n\x18OrientationVectorRadians\x12$\n\x05theta\x18\x01 \x01(\x01B\x0e\x9a\x84\x9e\x03\tjson:"th"R\x05theta\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01z\x1aj\n\x18OrientationVectorDegrees\x12$\n\x05theta\x18\x01 \x01(\x01B\x0e\x9a\x84\x9e\x03\tjson:"th"R\x05theta\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01z\x1aI\n\x0bEulerAngles\x12\x12\n\x04roll\x18\x01 \x01(\x01R\x04roll\x12\x14\n\x05pitch\x18\x02 \x01(\x01R\x05pitch\x12\x10\n\x03yaw\x18\x03 \x01(\x01R\x03yaw\x1a\\\n\nAxisAngles\x12$\n\x05theta\x18\x01 \x01(\x01B\x0e\x9a\x84\x9e\x03\tjson:"th"R\x05theta\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01z\x1aD\n\nQuaternion\x12\x0c\n\x01w\x18\x01 \x01(\x01R\x01w\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01zB\x06\n\x04type"\x8d\x04\n\x0cRemoteConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07address\x18\x02 \x01(\tR\x07address\x12(\n\x05frame\x18\x03 \x01(\x0b2\x12.viam.app.v1.FrameR\x05frame\x12+\n\x04auth\x18\x04 \x01(\x0b2\x17.viam.app.v1.RemoteAuthR\x04auth\x12\x1d\n\nmanaged_by\x18\x05 \x01(\tR\tmanagedBy\x12\x1a\n\x08insecure\x18\x06 \x01(\x08R\x08insecure\x12U\n\x19connection_check_interval\x18\x07 \x01(\x0b2\x19.google.protobuf.DurationR\x17connectionCheckInterval\x12H\n\x12reconnect_interval\x18\x08 \x01(\x0b2\x19.google.protobuf.DurationR\x11reconnectInterval\x12l\n\x0fservice_configs\x18\t \x03(\x0b2\'.viam.app.v1.ResourceLevelServiceConfigB\x1a\x9a\x84\x9e\x03\x15json:"service_config"R\x0eserviceConfigs\x12\x16\n\x06secret\x18\n \x01(\tR\x06secret\x12\x16\n\x06prefix\x18\x0b \x01(\tR\x06prefix"\xc6\x01\n\nRemoteAuth\x12E\n\x0bcredentials\x18\x01 \x01(\x0b2#.viam.app.v1.RemoteAuth.CredentialsR\x0bcredentials\x12\x16\n\x06entity\x18\x02 \x01(\tR\x06entity\x1aY\n\x0bCredentials\x120\n\x04type\x18\x01 \x01(\x0e2\x1c.viam.app.v1.CredentialsTypeR\x04type\x12\x18\n\x07payload\x18\x02 \x01(\tR\x07payload"\xd1\x01\n\tAgentInfo\x12\x12\n\x04host\x18\x01 \x01(\tR\x04host\x12\x0e\n\x02os\x18\x02 \x01(\tR\x02os\x12\x10\n\x03ips\x18\x03 \x03(\tR\x03ips\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12!\n\x0cgit_revision\x18\x05 \x01(\tR\x0bgitRevision\x12\x1f\n\x08platform\x18\x06 \x01(\tH\x00R\x08platform\x88\x01\x01\x12#\n\rplatform_tags\x18\x07 \x03(\tR\x0cplatformTagsB\x0b\n\t_platform"j\n\rConfigRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\nagent_info\x18\x02 \x01(\x0b2\x16.viam.app.v1.AgentInfoH\x00R\tagentInfo\x88\x01\x01B\r\n\x0b_agent_info"B\n\x0eConfigResponse\x120\n\x06config\x18\x01 \x01(\x0b2\x18.viam.app.v1.RobotConfigR\x06config"$\n\x12CertificateRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"v\n\x13CertificateResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0ftls_certificate\x18\x02 \x01(\tR\x0etlsCertificate\x12&\n\x0ftls_private_key\x18\x03 \x01(\tR\rtlsPrivateKey"J\n\nLogRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12,\n\x04logs\x18\x02 \x03(\x0b2\x18.viam.common.v1.LogEntryR\x04logs"\r\n\x0bLogResponse"%\n\x13NeedsRestartRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x9a\x01\n\x14NeedsRestartResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12!\n\x0cmust_restart\x18\x02 \x01(\x08R\x0bmustRestart\x12O\n\x16restart_check_interval\x18\x03 \x01(\x0b2\x19.google.protobuf.DurationR\x14restartCheckInterval"\x8e\x03\n\x0cModuleConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\x12\x1b\n\tlog_level\x18\x03 \x01(\tR\x08logLevel\x12\x12\n\x04type\x18\x04 \x01(\tR\x04type\x12\x1b\n\tmodule_id\x18\x05 \x01(\tR\x08moduleId\x124\n\x03env\x18\x06 \x03(\x0b2".viam.app.v1.ModuleConfig.EnvEntryR\x03env\x128\n\x06status\x18\x07 \x01(\x0b2 .viam.app.v1.AppValidationStatusR\x06status\x12E\n\x11first_run_timeout\x18\x08 \x01(\x0b2\x19.google.protobuf.DurationR\x0ffirstRunTimeout\x12\x19\n\x08tcp_mode\x18\t \x01(\x08R\x07tcpMode\x1a6\n\x08EnvEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x028\x01"\xa5\x01\n\rPackageConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07package\x18\x02 \x01(\tR\x07package\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x12\n\x04type\x18\x04 \x01(\tR\x04type\x128\n\x06status\x18\x05 \x01(\x0b2 .viam.app.v1.AppValidationStatusR\x06status"\x8a\x01\n\x11MaintenanceConfig\x12=\n\x0bsensor_name\x18\x01 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\nsensorName\x126\n\x17maintenance_allowed_key\x18\x02 \x01(\tR\x15maintenanceAllowedKey*\xbf\x01\n\x0fCredentialsType\x12 \n\x1cCREDENTIALS_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19CREDENTIALS_TYPE_INTERNAL\x10\x01\x12\x1c\n\x18CREDENTIALS_TYPE_API_KEY\x10\x02\x12!\n\x1dCREDENTIALS_TYPE_ROBOT_SECRET\x10\x03\x12*\n&CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET\x10\x042\xb2\x02\n\x0cRobotService\x12A\n\x06Config\x12\x1a.viam.app.v1.ConfigRequest\x1a\x1b.viam.app.v1.ConfigResponse\x12P\n\x0bCertificate\x12\x1f.viam.app.v1.CertificateRequest\x1a .viam.app.v1.CertificateResponse\x128\n\x03Log\x12\x17.viam.app.v1.LogRequest\x1a\x18.viam.app.v1.LogResponse\x12S\n\x0cNeedsRestart\x12 .viam.app.v1.NeedsRestartRequest\x1a!.viam.app.v1.NeedsRestartResponseB\x18Z\x16go.viam.com/api/app/v1b\x06proto3')
|
|
14
14
|
_globals = globals()
|
|
15
15
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
16
16
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.v1.robot_pb2', _globals)
|
|
@@ -35,8 +35,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
35
35
|
_globals['_REMOTECONFIG'].fields_by_name['service_configs']._serialized_options = b'\x9a\x84\x9e\x03\x15json:"service_config"'
|
|
36
36
|
_globals['_MODULECONFIG_ENVENTRY']._loaded_options = None
|
|
37
37
|
_globals['_MODULECONFIG_ENVENTRY']._serialized_options = b'8\x01'
|
|
38
|
-
_globals['_CREDENTIALSTYPE']._serialized_start =
|
|
39
|
-
_globals['_CREDENTIALSTYPE']._serialized_end =
|
|
38
|
+
_globals['_CREDENTIALSTYPE']._serialized_start = 7873
|
|
39
|
+
_globals['_CREDENTIALSTYPE']._serialized_end = 8064
|
|
40
40
|
_globals['_ROBOTCONFIG']._serialized_start = 146
|
|
41
41
|
_globals['_ROBOTCONFIG']._serialized_end = 1203
|
|
42
42
|
_globals['_LOGPATTERNCONFIG']._serialized_start = 1205
|
|
@@ -94,36 +94,36 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
94
94
|
_globals['_ORIENTATION_QUATERNION']._serialized_start = 5522
|
|
95
95
|
_globals['_ORIENTATION_QUATERNION']._serialized_end = 5590
|
|
96
96
|
_globals['_REMOTECONFIG']._serialized_start = 5601
|
|
97
|
-
_globals['_REMOTECONFIG']._serialized_end =
|
|
98
|
-
_globals['_REMOTEAUTH']._serialized_start =
|
|
99
|
-
_globals['_REMOTEAUTH']._serialized_end =
|
|
100
|
-
_globals['_REMOTEAUTH_CREDENTIALS']._serialized_start =
|
|
101
|
-
_globals['_REMOTEAUTH_CREDENTIALS']._serialized_end =
|
|
102
|
-
_globals['_AGENTINFO']._serialized_start =
|
|
103
|
-
_globals['_AGENTINFO']._serialized_end =
|
|
104
|
-
_globals['_CONFIGREQUEST']._serialized_start =
|
|
105
|
-
_globals['_CONFIGREQUEST']._serialized_end =
|
|
106
|
-
_globals['_CONFIGRESPONSE']._serialized_start =
|
|
107
|
-
_globals['_CONFIGRESPONSE']._serialized_end =
|
|
108
|
-
_globals['_CERTIFICATEREQUEST']._serialized_start =
|
|
109
|
-
_globals['_CERTIFICATEREQUEST']._serialized_end =
|
|
110
|
-
_globals['_CERTIFICATERESPONSE']._serialized_start =
|
|
111
|
-
_globals['_CERTIFICATERESPONSE']._serialized_end =
|
|
112
|
-
_globals['_LOGREQUEST']._serialized_start =
|
|
113
|
-
_globals['_LOGREQUEST']._serialized_end =
|
|
114
|
-
_globals['_LOGRESPONSE']._serialized_start =
|
|
115
|
-
_globals['_LOGRESPONSE']._serialized_end =
|
|
116
|
-
_globals['_NEEDSRESTARTREQUEST']._serialized_start =
|
|
117
|
-
_globals['_NEEDSRESTARTREQUEST']._serialized_end =
|
|
118
|
-
_globals['_NEEDSRESTARTRESPONSE']._serialized_start =
|
|
119
|
-
_globals['_NEEDSRESTARTRESPONSE']._serialized_end =
|
|
120
|
-
_globals['_MODULECONFIG']._serialized_start =
|
|
121
|
-
_globals['_MODULECONFIG']._serialized_end =
|
|
97
|
+
_globals['_REMOTECONFIG']._serialized_end = 6126
|
|
98
|
+
_globals['_REMOTEAUTH']._serialized_start = 6129
|
|
99
|
+
_globals['_REMOTEAUTH']._serialized_end = 6327
|
|
100
|
+
_globals['_REMOTEAUTH_CREDENTIALS']._serialized_start = 6238
|
|
101
|
+
_globals['_REMOTEAUTH_CREDENTIALS']._serialized_end = 6327
|
|
102
|
+
_globals['_AGENTINFO']._serialized_start = 6330
|
|
103
|
+
_globals['_AGENTINFO']._serialized_end = 6539
|
|
104
|
+
_globals['_CONFIGREQUEST']._serialized_start = 6541
|
|
105
|
+
_globals['_CONFIGREQUEST']._serialized_end = 6647
|
|
106
|
+
_globals['_CONFIGRESPONSE']._serialized_start = 6649
|
|
107
|
+
_globals['_CONFIGRESPONSE']._serialized_end = 6715
|
|
108
|
+
_globals['_CERTIFICATEREQUEST']._serialized_start = 6717
|
|
109
|
+
_globals['_CERTIFICATEREQUEST']._serialized_end = 6753
|
|
110
|
+
_globals['_CERTIFICATERESPONSE']._serialized_start = 6755
|
|
111
|
+
_globals['_CERTIFICATERESPONSE']._serialized_end = 6873
|
|
112
|
+
_globals['_LOGREQUEST']._serialized_start = 6875
|
|
113
|
+
_globals['_LOGREQUEST']._serialized_end = 6949
|
|
114
|
+
_globals['_LOGRESPONSE']._serialized_start = 6951
|
|
115
|
+
_globals['_LOGRESPONSE']._serialized_end = 6964
|
|
116
|
+
_globals['_NEEDSRESTARTREQUEST']._serialized_start = 6966
|
|
117
|
+
_globals['_NEEDSRESTARTREQUEST']._serialized_end = 7003
|
|
118
|
+
_globals['_NEEDSRESTARTRESPONSE']._serialized_start = 7006
|
|
119
|
+
_globals['_NEEDSRESTARTRESPONSE']._serialized_end = 7160
|
|
120
|
+
_globals['_MODULECONFIG']._serialized_start = 7163
|
|
121
|
+
_globals['_MODULECONFIG']._serialized_end = 7561
|
|
122
122
|
_globals['_MODULECONFIG_ENVENTRY']._serialized_start = 2858
|
|
123
123
|
_globals['_MODULECONFIG_ENVENTRY']._serialized_end = 2912
|
|
124
|
-
_globals['_PACKAGECONFIG']._serialized_start =
|
|
125
|
-
_globals['_PACKAGECONFIG']._serialized_end =
|
|
126
|
-
_globals['_MAINTENANCECONFIG']._serialized_start =
|
|
127
|
-
_globals['_MAINTENANCECONFIG']._serialized_end =
|
|
128
|
-
_globals['_ROBOTSERVICE']._serialized_start =
|
|
129
|
-
_globals['_ROBOTSERVICE']._serialized_end =
|
|
124
|
+
_globals['_PACKAGECONFIG']._serialized_start = 7564
|
|
125
|
+
_globals['_PACKAGECONFIG']._serialized_end = 7729
|
|
126
|
+
_globals['_MAINTENANCECONFIG']._serialized_start = 7732
|
|
127
|
+
_globals['_MAINTENANCECONFIG']._serialized_end = 7870
|
|
128
|
+
_globals['_ROBOTSERVICE']._serialized_start = 8067
|
|
129
|
+
_globals['_ROBOTSERVICE']._serialized_end = 8373
|
viam/gen/app/v1/robot_pb2.pyi
CHANGED
|
@@ -868,12 +868,15 @@ class RemoteConfig(google.protobuf.message.Message):
|
|
|
868
868
|
RECONNECT_INTERVAL_FIELD_NUMBER: builtins.int
|
|
869
869
|
SERVICE_CONFIGS_FIELD_NUMBER: builtins.int
|
|
870
870
|
SECRET_FIELD_NUMBER: builtins.int
|
|
871
|
+
PREFIX_FIELD_NUMBER: builtins.int
|
|
871
872
|
name: builtins.str
|
|
872
873
|
address: builtins.str
|
|
873
874
|
managed_by: builtins.str
|
|
874
875
|
insecure: builtins.bool
|
|
875
876
|
secret: builtins.str
|
|
876
877
|
'Secret is a helper for a robot location secret.'
|
|
878
|
+
prefix: builtins.str
|
|
879
|
+
'A string with which to prefix all resource names fetched from this remote.'
|
|
877
880
|
|
|
878
881
|
@property
|
|
879
882
|
def frame(self) -> global___Frame:
|
|
@@ -895,13 +898,13 @@ class RemoteConfig(google.protobuf.message.Message):
|
|
|
895
898
|
def service_configs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ResourceLevelServiceConfig]:
|
|
896
899
|
...
|
|
897
900
|
|
|
898
|
-
def __init__(self, *, name: builtins.str=..., address: builtins.str=..., frame: global___Frame | None=..., auth: global___RemoteAuth | None=..., managed_by: builtins.str=..., insecure: builtins.bool=..., connection_check_interval: google.protobuf.duration_pb2.Duration | None=..., reconnect_interval: google.protobuf.duration_pb2.Duration | None=..., service_configs: collections.abc.Iterable[global___ResourceLevelServiceConfig] | None=..., secret: builtins.str=...) -> None:
|
|
901
|
+
def __init__(self, *, name: builtins.str=..., address: builtins.str=..., frame: global___Frame | None=..., auth: global___RemoteAuth | None=..., managed_by: builtins.str=..., insecure: builtins.bool=..., connection_check_interval: google.protobuf.duration_pb2.Duration | None=..., reconnect_interval: google.protobuf.duration_pb2.Duration | None=..., service_configs: collections.abc.Iterable[global___ResourceLevelServiceConfig] | None=..., secret: builtins.str=..., prefix: builtins.str=...) -> None:
|
|
899
902
|
...
|
|
900
903
|
|
|
901
904
|
def HasField(self, field_name: typing.Literal['auth', b'auth', 'connection_check_interval', b'connection_check_interval', 'frame', b'frame', 'reconnect_interval', b'reconnect_interval']) -> builtins.bool:
|
|
902
905
|
...
|
|
903
906
|
|
|
904
|
-
def ClearField(self, field_name: typing.Literal['address', b'address', 'auth', b'auth', 'connection_check_interval', b'connection_check_interval', 'frame', b'frame', 'insecure', b'insecure', 'managed_by', b'managed_by', 'name', b'name', 'reconnect_interval', b'reconnect_interval', 'secret', b'secret', 'service_configs', b'service_configs']) -> None:
|
|
907
|
+
def ClearField(self, field_name: typing.Literal['address', b'address', 'auth', b'auth', 'connection_check_interval', b'connection_check_interval', 'frame', b'frame', 'insecure', b'insecure', 'managed_by', b'managed_by', 'name', b'name', 'prefix', b'prefix', 'reconnect_interval', b'reconnect_interval', 'secret', b'secret', 'service_configs', b'service_configs']) -> None:
|
|
905
908
|
...
|
|
906
909
|
global___RemoteConfig = RemoteConfig
|
|
907
910
|
|
|
@@ -10,7 +10,7 @@ from ....common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
|
|
|
10
10
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
11
11
|
from google.api import httpbody_pb2 as google_dot_api_dot_httpbody__pb2
|
|
12
12
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
13
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n component/camera/v1/camera.proto\x12\x18viam.component.camera.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/httpbody.proto\x1a\x1cgoogle/protobuf/struct.proto"q\n\x0fGetImageRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n\tmime_type\x18\x02 \x01(\tR\x08mimeType\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"E\n\x10GetImageResponse\x12\x1b\n\tmime_type\x18\x01 \x01(\tR\x08mimeType\x12\x14\n\x05image\x18\x02 \x01(\x0cR\x05image"
|
|
13
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n component/camera/v1/camera.proto\x12\x18viam.component.camera.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/httpbody.proto\x1a\x1cgoogle/protobuf/struct.proto"q\n\x0fGetImageRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n\tmime_type\x18\x02 \x01(\tR\x08mimeType\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"E\n\x10GetImageResponse\x12\x1b\n\tmime_type\x18\x01 \x01(\tR\x08mimeType\x12\x14\n\x05image\x18\x02 \x01(\x0cR\x05image"\x85\x01\n\x10GetImagesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12.\n\x13filter_source_names\x18\x02 \x03(\tR\x11filterSourceNames\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x9d\x01\n\x11GetImagesResponse\x127\n\x06images\x18\x01 \x03(\x0b2\x1f.viam.component.camera.v1.ImageR\x06images\x12O\n\x11response_metadata\x18\xa4\x92\x05 \x01(\x0b2 .viam.common.v1.ResponseMetadataR\x10responseMetadata"\x95\x01\n\x05Image\x12\x1f\n\x0bsource_name\x18\x01 \x01(\tR\nsourceName\x128\n\x06format\x18\x02 \x01(\x0e2 .viam.component.camera.v1.FormatR\x06format\x12\x14\n\x05image\x18\x03 \x01(\x0cR\x05image\x12\x1b\n\tmime_type\x18\x04 \x01(\tR\x08mimeType"t\n\x12RenderFrameRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n\tmime_type\x18\x02 \x01(\tR\x08mimeType\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"v\n\x14GetPointCloudRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n\tmime_type\x18\x02 \x01(\tR\x08mimeType\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"U\n\x15GetPointCloudResponse\x12\x1b\n\tmime_type\x18\x01 \x01(\tR\x08mimeType\x12\x1f\n\x0bpoint_cloud\x18\x02 \x01(\x0cR\npointCloud"*\n\x14GetPropertiesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"\xd3\x02\n\x15GetPropertiesResponse\x12!\n\x0csupports_pcd\x18\x01 \x01(\x08R\x0bsupportsPcd\x12`\n\x14intrinsic_parameters\x18\x02 \x01(\x0b2-.viam.component.camera.v1.IntrinsicParametersR\x13intrinsicParameters\x12c\n\x15distortion_parameters\x18\x03 \x01(\x0b2..viam.component.camera.v1.DistortionParametersR\x14distortionParameters\x12\x1d\n\nmime_types\x18\x04 \x03(\tR\tmimeTypes\x12"\n\nframe_rate\x18\x05 \x01(\x02H\x00R\tframeRate\x88\x01\x01B\r\n\x0b_frame_rate"E\n\x07Webcams\x12:\n\x07webcams\x18\x01 \x03(\x0b2 .viam.component.camera.v1.WebcamR\x07webcams"\x9e\x01\n\x06Webcam\x12\x14\n\x05label\x18\x01 \x01(\tR\x05label\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\x12B\n\nproperties\x18\x03 \x03(\x0b2".viam.component.camera.v1.PropertyR\nproperties\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12\x0e\n\x02id\x18\x05 \x01(\tR\x02id"\x84\x01\n\x08Property\x12\x19\n\x08width_px\x18\x01 \x01(\x05R\x07widthPx\x12\x1b\n\theight_px\x18\x02 \x01(\x05R\x08heightPx\x12!\n\x0cframe_format\x18\x03 \x01(\tR\x0bframeFormat\x12\x1d\n\nframe_rate\x18\x04 \x01(\x02R\tframeRate"\xc9\x01\n\x13IntrinsicParameters\x12\x19\n\x08width_px\x18\x01 \x01(\rR\x07widthPx\x12\x1b\n\theight_px\x18\x02 \x01(\rR\x08heightPx\x12\x1c\n\nfocal_x_px\x18\x03 \x01(\x01R\x08focalXPx\x12\x1c\n\nfocal_y_px\x18\x04 \x01(\x01R\x08focalYPx\x12\x1e\n\x0bcenter_x_px\x18\x05 \x01(\x01R\tcenterXPx\x12\x1e\n\x0bcenter_y_px\x18\x06 \x01(\x01R\tcenterYPx"L\n\x14DistortionParameters\x12\x14\n\x05model\x18\x01 \x01(\tR\x05model\x12\x1e\n\nparameters\x18\x02 \x03(\x01R\nparameters*l\n\x06Format\x12\x16\n\x12FORMAT_UNSPECIFIED\x10\x00\x12\x13\n\x0fFORMAT_RAW_RGBA\x10\x01\x12\x14\n\x10FORMAT_RAW_DEPTH\x10\x02\x12\x0f\n\x0bFORMAT_JPEG\x10\x03\x12\x0e\n\nFORMAT_PNG\x10\x042\xcf\x08\n\rCameraService\x12\x95\x01\n\x08GetImage\x12).viam.component.camera.v1.GetImageRequest\x1a*.viam.component.camera.v1.GetImageResponse"2\x82\xd3\xe4\x93\x02,\x12*/viam/api/v1/component/camera/{name}/image\x12\x99\x01\n\tGetImages\x12*.viam.component.camera.v1.GetImagesRequest\x1a+.viam.component.camera.v1.GetImagesResponse"3\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/camera/{name}/images\x12\x8c\x01\n\x0bRenderFrame\x12,.viam.component.camera.v1.RenderFrameRequest\x1a\x14.google.api.HttpBody"9\x82\xd3\xe4\x93\x023\x121/viam/api/v1/component/camera/{name}/render_frame\x12\xaa\x01\n\rGetPointCloud\x12..viam.component.camera.v1.GetPointCloudRequest\x1a/.viam.component.camera.v1.GetPointCloudResponse"8\x82\xd3\xe4\x93\x022\x120/viam/api/v1/component/camera/{name}/point_cloud\x12\xa9\x01\n\rGetProperties\x12..viam.component.camera.v1.GetPropertiesRequest\x1a/.viam.component.camera.v1.GetPropertiesResponse"7\x82\xd3\xe4\x93\x021\x12//viam/api/v1/component/camera/{name}/properties\x12\x89\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"7\x82\xd3\xe4\x93\x021"//viam/api/v1/component/camera/{name}/do_command\x12\x95\x01\n\rGetGeometries\x12$.viam.common.v1.GetGeometriesRequest\x1a%.viam.common.v1.GetGeometriesResponse"7\x82\xd3\xe4\x93\x021\x12//viam/api/v1/component/camera/{name}/geometriesBC\n\x1ccom.viam.component.camera.v1Z#go.viam.com/api/component/camera/v1b\x06proto3')
|
|
14
14
|
_globals = globals()
|
|
15
15
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
16
16
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.camera.v1.camera_pb2', _globals)
|
|
@@ -31,37 +31,37 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
31
31
|
_globals['_CAMERASERVICE'].methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x021"//viam/api/v1/component/camera/{name}/do_command'
|
|
32
32
|
_globals['_CAMERASERVICE'].methods_by_name['GetGeometries']._loaded_options = None
|
|
33
33
|
_globals['_CAMERASERVICE'].methods_by_name['GetGeometries']._serialized_options = b'\x82\xd3\xe4\x93\x021\x12//viam/api/v1/component/camera/{name}/geometries'
|
|
34
|
-
_globals['_FORMAT']._serialized_start =
|
|
35
|
-
_globals['_FORMAT']._serialized_end =
|
|
34
|
+
_globals['_FORMAT']._serialized_start = 2167
|
|
35
|
+
_globals['_FORMAT']._serialized_end = 2275
|
|
36
36
|
_globals['_GETIMAGEREQUEST']._serialized_start = 173
|
|
37
37
|
_globals['_GETIMAGEREQUEST']._serialized_end = 286
|
|
38
38
|
_globals['_GETIMAGERESPONSE']._serialized_start = 288
|
|
39
39
|
_globals['_GETIMAGERESPONSE']._serialized_end = 357
|
|
40
|
-
_globals['_GETIMAGESREQUEST']._serialized_start =
|
|
41
|
-
_globals['_GETIMAGESREQUEST']._serialized_end =
|
|
42
|
-
_globals['_GETIMAGESRESPONSE']._serialized_start =
|
|
43
|
-
_globals['_GETIMAGESRESPONSE']._serialized_end =
|
|
44
|
-
_globals['_IMAGE']._serialized_start =
|
|
45
|
-
_globals['_IMAGE']._serialized_end =
|
|
46
|
-
_globals['_RENDERFRAMEREQUEST']._serialized_start =
|
|
47
|
-
_globals['_RENDERFRAMEREQUEST']._serialized_end =
|
|
48
|
-
_globals['_GETPOINTCLOUDREQUEST']._serialized_start =
|
|
49
|
-
_globals['_GETPOINTCLOUDREQUEST']._serialized_end =
|
|
50
|
-
_globals['_GETPOINTCLOUDRESPONSE']._serialized_start =
|
|
51
|
-
_globals['_GETPOINTCLOUDRESPONSE']._serialized_end =
|
|
52
|
-
_globals['_GETPROPERTIESREQUEST']._serialized_start =
|
|
53
|
-
_globals['_GETPROPERTIESREQUEST']._serialized_end =
|
|
54
|
-
_globals['_GETPROPERTIESRESPONSE']._serialized_start =
|
|
55
|
-
_globals['_GETPROPERTIESRESPONSE']._serialized_end =
|
|
56
|
-
_globals['_WEBCAMS']._serialized_start =
|
|
57
|
-
_globals['_WEBCAMS']._serialized_end =
|
|
58
|
-
_globals['_WEBCAM']._serialized_start =
|
|
59
|
-
_globals['_WEBCAM']._serialized_end =
|
|
60
|
-
_globals['_PROPERTY']._serialized_start =
|
|
61
|
-
_globals['_PROPERTY']._serialized_end =
|
|
62
|
-
_globals['_INTRINSICPARAMETERS']._serialized_start =
|
|
63
|
-
_globals['_INTRINSICPARAMETERS']._serialized_end =
|
|
64
|
-
_globals['_DISTORTIONPARAMETERS']._serialized_start =
|
|
65
|
-
_globals['_DISTORTIONPARAMETERS']._serialized_end =
|
|
66
|
-
_globals['_CAMERASERVICE']._serialized_start =
|
|
67
|
-
_globals['_CAMERASERVICE']._serialized_end =
|
|
40
|
+
_globals['_GETIMAGESREQUEST']._serialized_start = 360
|
|
41
|
+
_globals['_GETIMAGESREQUEST']._serialized_end = 493
|
|
42
|
+
_globals['_GETIMAGESRESPONSE']._serialized_start = 496
|
|
43
|
+
_globals['_GETIMAGESRESPONSE']._serialized_end = 653
|
|
44
|
+
_globals['_IMAGE']._serialized_start = 656
|
|
45
|
+
_globals['_IMAGE']._serialized_end = 805
|
|
46
|
+
_globals['_RENDERFRAMEREQUEST']._serialized_start = 807
|
|
47
|
+
_globals['_RENDERFRAMEREQUEST']._serialized_end = 923
|
|
48
|
+
_globals['_GETPOINTCLOUDREQUEST']._serialized_start = 925
|
|
49
|
+
_globals['_GETPOINTCLOUDREQUEST']._serialized_end = 1043
|
|
50
|
+
_globals['_GETPOINTCLOUDRESPONSE']._serialized_start = 1045
|
|
51
|
+
_globals['_GETPOINTCLOUDRESPONSE']._serialized_end = 1130
|
|
52
|
+
_globals['_GETPROPERTIESREQUEST']._serialized_start = 1132
|
|
53
|
+
_globals['_GETPROPERTIESREQUEST']._serialized_end = 1174
|
|
54
|
+
_globals['_GETPROPERTIESRESPONSE']._serialized_start = 1177
|
|
55
|
+
_globals['_GETPROPERTIESRESPONSE']._serialized_end = 1516
|
|
56
|
+
_globals['_WEBCAMS']._serialized_start = 1518
|
|
57
|
+
_globals['_WEBCAMS']._serialized_end = 1587
|
|
58
|
+
_globals['_WEBCAM']._serialized_start = 1590
|
|
59
|
+
_globals['_WEBCAM']._serialized_end = 1748
|
|
60
|
+
_globals['_PROPERTY']._serialized_start = 1751
|
|
61
|
+
_globals['_PROPERTY']._serialized_end = 1883
|
|
62
|
+
_globals['_INTRINSICPARAMETERS']._serialized_start = 1886
|
|
63
|
+
_globals['_INTRINSICPARAMETERS']._serialized_end = 2087
|
|
64
|
+
_globals['_DISTORTIONPARAMETERS']._serialized_start = 2089
|
|
65
|
+
_globals['_DISTORTIONPARAMETERS']._serialized_end = 2165
|
|
66
|
+
_globals['_CAMERASERVICE']._serialized_start = 2278
|
|
67
|
+
_globals['_CAMERASERVICE']._serialized_end = 3381
|
|
@@ -85,13 +85,28 @@ global___GetImageResponse = GetImageResponse
|
|
|
85
85
|
class GetImagesRequest(google.protobuf.message.Message):
|
|
86
86
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
87
87
|
NAME_FIELD_NUMBER: builtins.int
|
|
88
|
+
FILTER_SOURCE_NAMES_FIELD_NUMBER: builtins.int
|
|
89
|
+
EXTRA_FIELD_NUMBER: builtins.int
|
|
88
90
|
name: builtins.str
|
|
89
91
|
'Name of a camera'
|
|
90
92
|
|
|
91
|
-
|
|
93
|
+
@property
|
|
94
|
+
def filter_source_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
95
|
+
"""The names of the sensors to retrieve images from. If this is not provided,
|
|
96
|
+
all images from all sensors will be returned.
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def extra(self) -> google.protobuf.struct_pb2.Struct:
|
|
101
|
+
"""Additional arguments to the method"""
|
|
102
|
+
|
|
103
|
+
def __init__(self, *, name: builtins.str=..., filter_source_names: collections.abc.Iterable[builtins.str] | None=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None:
|
|
92
104
|
...
|
|
93
105
|
|
|
94
|
-
def
|
|
106
|
+
def HasField(self, field_name: typing.Literal['extra', b'extra']) -> builtins.bool:
|
|
107
|
+
...
|
|
108
|
+
|
|
109
|
+
def ClearField(self, field_name: typing.Literal['extra', b'extra', 'filter_source_names', b'filter_source_names', 'name', b'name']) -> None:
|
|
95
110
|
...
|
|
96
111
|
global___GetImagesRequest = GetImagesRequest
|
|
97
112
|
|
|
@@ -125,17 +140,20 @@ class Image(google.protobuf.message.Message):
|
|
|
125
140
|
SOURCE_NAME_FIELD_NUMBER: builtins.int
|
|
126
141
|
FORMAT_FIELD_NUMBER: builtins.int
|
|
127
142
|
IMAGE_FIELD_NUMBER: builtins.int
|
|
143
|
+
MIME_TYPE_FIELD_NUMBER: builtins.int
|
|
128
144
|
source_name: builtins.str
|
|
129
145
|
'the name of the sensor where the image came from'
|
|
130
146
|
format: global___Format.ValueType
|
|
131
147
|
'format of the response image bytes'
|
|
132
148
|
image: builtins.bytes
|
|
133
149
|
'image in bytes'
|
|
150
|
+
mime_type: builtins.str
|
|
151
|
+
'The mime type of the image'
|
|
134
152
|
|
|
135
|
-
def __init__(self, *, source_name: builtins.str=..., format: global___Format.ValueType=..., image: builtins.bytes=...) -> None:
|
|
153
|
+
def __init__(self, *, source_name: builtins.str=..., format: global___Format.ValueType=..., image: builtins.bytes=..., mime_type: builtins.str=...) -> None:
|
|
136
154
|
...
|
|
137
155
|
|
|
138
|
-
def ClearField(self, field_name: typing.Literal['format', b'format', 'image', b'image', 'source_name', b'source_name']) -> None:
|
|
156
|
+
def ClearField(self, field_name: typing.Literal['format', b'format', 'image', b'image', 'mime_type', b'mime_type', 'source_name', b'source_name']) -> None:
|
|
139
157
|
...
|
|
140
158
|
global___Image = Image
|
|
141
159
|
|