clarifai-grpc 11.11.0__py3-none-any.whl → 11.11.2__py3-none-any.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.
- clarifai_grpc/__init__.py +1 -1
- clarifai_grpc/grpc/api/resources_pb2.py +491 -489
- clarifai_grpc/grpc/api/resources_pb2.pyi +72 -1
- clarifai_grpc/grpc/api/service_pb2.py +206 -204
- clarifai_grpc/grpc/api/service_pb2.pyi +15 -1
- {clarifai_grpc-11.11.0.dist-info → clarifai_grpc-11.11.2.dist-info}/METADATA +1 -1
- {clarifai_grpc-11.11.0.dist-info → clarifai_grpc-11.11.2.dist-info}/RECORD +10 -10
- {clarifai_grpc-11.11.0.dist-info → clarifai_grpc-11.11.2.dist-info}/WHEEL +0 -0
- {clarifai_grpc-11.11.0.dist-info → clarifai_grpc-11.11.2.dist-info}/licenses/LICENSE +0 -0
- {clarifai_grpc-11.11.0.dist-info → clarifai_grpc-11.11.2.dist-info}/top_level.txt +0 -0
|
@@ -5273,10 +5273,12 @@ class SpecialHandling(google.protobuf.message.Message):
|
|
|
5273
5273
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
5274
5274
|
REASON_NOT_SET: SpecialHandling._Reason.ValueType # 0
|
|
5275
5275
|
CONTACT_SALES: SpecialHandling._Reason.ValueType # 1
|
|
5276
|
+
INTERNAL_ONLY: SpecialHandling._Reason.ValueType # 2
|
|
5276
5277
|
|
|
5277
5278
|
class Reason(_Reason, metaclass=_ReasonEnumTypeWrapper): ...
|
|
5278
5279
|
REASON_NOT_SET: SpecialHandling.Reason.ValueType # 0
|
|
5279
5280
|
CONTACT_SALES: SpecialHandling.Reason.ValueType # 1
|
|
5281
|
+
INTERNAL_ONLY: SpecialHandling.Reason.ValueType # 2
|
|
5280
5282
|
|
|
5281
5283
|
ID_FIELD_NUMBER: builtins.int
|
|
5282
5284
|
REASON_FIELD_NUMBER: builtins.int
|
|
@@ -9009,6 +9011,7 @@ class UserDetail(google.protobuf.message.Message):
|
|
|
9009
9011
|
COUNTRY_FIELD_NUMBER: builtins.int
|
|
9010
9012
|
STATE_FIELD_NUMBER: builtins.int
|
|
9011
9013
|
COMMITMENT_VALUE_FIELD_NUMBER: builtins.int
|
|
9014
|
+
PHONE_VERIFIED_FIELD_NUMBER: builtins.int
|
|
9012
9015
|
primary_email: builtins.str
|
|
9013
9016
|
bill_type: builtins.str
|
|
9014
9017
|
@property
|
|
@@ -9036,6 +9039,8 @@ class UserDetail(google.protobuf.message.Message):
|
|
|
9036
9039
|
state: builtins.str
|
|
9037
9040
|
@property
|
|
9038
9041
|
def commitment_value(self) -> global___CommitmentValue: ...
|
|
9042
|
+
phone_verified: builtins.bool
|
|
9043
|
+
"""For phone number verification, true if the phone number has been verified"""
|
|
9039
9044
|
def __init__(
|
|
9040
9045
|
self,
|
|
9041
9046
|
*,
|
|
@@ -9052,6 +9057,7 @@ class UserDetail(google.protobuf.message.Message):
|
|
|
9052
9057
|
country: builtins.str = ...,
|
|
9053
9058
|
state: builtins.str = ...,
|
|
9054
9059
|
commitment_value: global___CommitmentValue | None = ...,
|
|
9060
|
+
phone_verified: builtins.bool = ...,
|
|
9055
9061
|
) -> None: ...
|
|
9056
9062
|
def HasField(
|
|
9057
9063
|
self,
|
|
@@ -9091,6 +9097,8 @@ class UserDetail(google.protobuf.message.Message):
|
|
|
9091
9097
|
b"email_addresses",
|
|
9092
9098
|
"metadata",
|
|
9093
9099
|
b"metadata",
|
|
9100
|
+
"phone_verified",
|
|
9101
|
+
b"phone_verified",
|
|
9094
9102
|
"primary_email",
|
|
9095
9103
|
b"primary_email",
|
|
9096
9104
|
"state",
|
|
@@ -14480,6 +14488,7 @@ class InstanceType(google.protobuf.message.Message):
|
|
|
14480
14488
|
FEATURE_FLAG_GROUP_FIELD_NUMBER: builtins.int
|
|
14481
14489
|
SPECIAL_HANDLING_FIELD_NUMBER: builtins.int
|
|
14482
14490
|
ARCHITECTURE_FIELD_NUMBER: builtins.int
|
|
14491
|
+
AVAILABLE_COMPUTE_INFO_FIELD_NUMBER: builtins.int
|
|
14483
14492
|
id: builtins.str
|
|
14484
14493
|
description: builtins.str
|
|
14485
14494
|
"""Short description of instance type."""
|
|
@@ -14505,6 +14514,11 @@ class InstanceType(google.protobuf.message.Message):
|
|
|
14505
14514
|
"""List of special handling instructions for this instance type."""
|
|
14506
14515
|
architecture: builtins.str
|
|
14507
14516
|
"""Hardware architecture of the instance type (e.g., "linux/amd64", "linux/arm64")."""
|
|
14517
|
+
@property
|
|
14518
|
+
def available_compute_info(self) -> global___ComputeInfo:
|
|
14519
|
+
"""Available compute info after accounting for system overhead (daemonsets, kubelet, etc.).
|
|
14520
|
+
This represents the actual resources available for user workloads.
|
|
14521
|
+
"""
|
|
14508
14522
|
def __init__(
|
|
14509
14523
|
self,
|
|
14510
14524
|
*,
|
|
@@ -14518,12 +14532,15 @@ class InstanceType(google.protobuf.message.Message):
|
|
|
14518
14532
|
feature_flag_group: builtins.str = ...,
|
|
14519
14533
|
special_handling: collections.abc.Iterable[global___SpecialHandling] | None = ...,
|
|
14520
14534
|
architecture: builtins.str = ...,
|
|
14535
|
+
available_compute_info: global___ComputeInfo | None = ...,
|
|
14521
14536
|
) -> None: ...
|
|
14522
14537
|
def HasField(
|
|
14523
14538
|
self,
|
|
14524
14539
|
field_name: typing_extensions.Literal[
|
|
14525
14540
|
"allowed_capacity_types",
|
|
14526
14541
|
b"allowed_capacity_types",
|
|
14542
|
+
"available_compute_info",
|
|
14543
|
+
b"available_compute_info",
|
|
14527
14544
|
"cloud_provider",
|
|
14528
14545
|
b"cloud_provider",
|
|
14529
14546
|
"compute_info",
|
|
@@ -14537,6 +14554,8 @@ class InstanceType(google.protobuf.message.Message):
|
|
|
14537
14554
|
b"allowed_capacity_types",
|
|
14538
14555
|
"architecture",
|
|
14539
14556
|
b"architecture",
|
|
14557
|
+
"available_compute_info",
|
|
14558
|
+
b"available_compute_info",
|
|
14540
14559
|
"cloud_provider",
|
|
14541
14560
|
b"cloud_provider",
|
|
14542
14561
|
"compute_info",
|
|
@@ -14568,22 +14587,66 @@ class CloudProvider(google.protobuf.message.Message):
|
|
|
14568
14587
|
|
|
14569
14588
|
ID_FIELD_NUMBER: builtins.int
|
|
14570
14589
|
NAME_FIELD_NUMBER: builtins.int
|
|
14590
|
+
SPECIAL_HANDLING_FIELD_NUMBER: builtins.int
|
|
14571
14591
|
id: builtins.str
|
|
14572
14592
|
"""Unique identifier of the cloud provider."""
|
|
14573
14593
|
name: builtins.str
|
|
14574
14594
|
"""Name of the cloud provider."""
|
|
14595
|
+
@property
|
|
14596
|
+
def special_handling(
|
|
14597
|
+
self,
|
|
14598
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
14599
|
+
global___SpecialHandling
|
|
14600
|
+
]:
|
|
14601
|
+
"""List of special handling instructions for this cloud provider."""
|
|
14575
14602
|
def __init__(
|
|
14576
14603
|
self,
|
|
14577
14604
|
*,
|
|
14578
14605
|
id: builtins.str = ...,
|
|
14579
14606
|
name: builtins.str = ...,
|
|
14607
|
+
special_handling: collections.abc.Iterable[global___SpecialHandling] | None = ...,
|
|
14580
14608
|
) -> None: ...
|
|
14581
14609
|
def ClearField(
|
|
14582
|
-
self,
|
|
14610
|
+
self,
|
|
14611
|
+
field_name: typing_extensions.Literal[
|
|
14612
|
+
"id", b"id", "name", b"name", "special_handling", b"special_handling"
|
|
14613
|
+
],
|
|
14583
14614
|
) -> None: ...
|
|
14584
14615
|
|
|
14585
14616
|
global___CloudProvider = CloudProvider
|
|
14586
14617
|
|
|
14618
|
+
@typing_extensions.final
|
|
14619
|
+
class CloudRegion(google.protobuf.message.Message):
|
|
14620
|
+
"""CloudRegion represents a region where compute resources can be deployed."""
|
|
14621
|
+
|
|
14622
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
14623
|
+
|
|
14624
|
+
ID_FIELD_NUMBER: builtins.int
|
|
14625
|
+
SPECIAL_HANDLING_FIELD_NUMBER: builtins.int
|
|
14626
|
+
id: builtins.str
|
|
14627
|
+
"""Unique identifier of the region."""
|
|
14628
|
+
@property
|
|
14629
|
+
def special_handling(
|
|
14630
|
+
self,
|
|
14631
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
14632
|
+
global___SpecialHandling
|
|
14633
|
+
]:
|
|
14634
|
+
"""List of special handling instructions for this region."""
|
|
14635
|
+
def __init__(
|
|
14636
|
+
self,
|
|
14637
|
+
*,
|
|
14638
|
+
id: builtins.str = ...,
|
|
14639
|
+
special_handling: collections.abc.Iterable[global___SpecialHandling] | None = ...,
|
|
14640
|
+
) -> None: ...
|
|
14641
|
+
def ClearField(
|
|
14642
|
+
self,
|
|
14643
|
+
field_name: typing_extensions.Literal[
|
|
14644
|
+
"id", b"id", "special_handling", b"special_handling"
|
|
14645
|
+
],
|
|
14646
|
+
) -> None: ...
|
|
14647
|
+
|
|
14648
|
+
global___CloudRegion = CloudRegion
|
|
14649
|
+
|
|
14587
14650
|
@typing_extensions.final
|
|
14588
14651
|
class ComputeCluster(google.protobuf.message.Message):
|
|
14589
14652
|
"""We define a cluster here to be used in Nodepools and by the cloud provider.
|
|
@@ -14973,6 +15036,7 @@ class Deployment(google.protobuf.message.Message):
|
|
|
14973
15036
|
METADATA_FIELD_NUMBER: builtins.int
|
|
14974
15037
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
14975
15038
|
WORKER_FIELD_NUMBER: builtins.int
|
|
15039
|
+
DESIRED_WORKER_FIELD_NUMBER: builtins.int
|
|
14976
15040
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
14977
15041
|
MODIFIED_AT_FIELD_NUMBER: builtins.int
|
|
14978
15042
|
DEPLOY_LATEST_VERSION_FIELD_NUMBER: builtins.int
|
|
@@ -15016,6 +15080,8 @@ class Deployment(google.protobuf.message.Message):
|
|
|
15016
15080
|
For a given user_id, nodepool_id, and object ID we can only have one deployment as it defines
|
|
15017
15081
|
"""
|
|
15018
15082
|
@property
|
|
15083
|
+
def desired_worker(self) -> global___Worker: ...
|
|
15084
|
+
@property
|
|
15019
15085
|
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
15020
15086
|
"""When the deployment was created."""
|
|
15021
15087
|
@property
|
|
@@ -15042,6 +15108,7 @@ class Deployment(google.protobuf.message.Message):
|
|
|
15042
15108
|
metadata: google.protobuf.struct_pb2.Struct | None = ...,
|
|
15043
15109
|
description: builtins.str = ...,
|
|
15044
15110
|
worker: global___Worker | None = ...,
|
|
15111
|
+
desired_worker: global___Worker | None = ...,
|
|
15045
15112
|
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
15046
15113
|
modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
15047
15114
|
deploy_latest_version: builtins.bool = ...,
|
|
@@ -15054,6 +15121,8 @@ class Deployment(google.protobuf.message.Message):
|
|
|
15054
15121
|
b"autoscale_config",
|
|
15055
15122
|
"created_at",
|
|
15056
15123
|
b"created_at",
|
|
15124
|
+
"desired_worker",
|
|
15125
|
+
b"desired_worker",
|
|
15057
15126
|
"metadata",
|
|
15058
15127
|
b"metadata",
|
|
15059
15128
|
"modified_at",
|
|
@@ -15075,6 +15144,8 @@ class Deployment(google.protobuf.message.Message):
|
|
|
15075
15144
|
b"deploy_latest_version",
|
|
15076
15145
|
"description",
|
|
15077
15146
|
b"description",
|
|
15147
|
+
"desired_worker",
|
|
15148
|
+
b"desired_worker",
|
|
15078
15149
|
"id",
|
|
15079
15150
|
b"id",
|
|
15080
15151
|
"metadata",
|