@@ -23,6 +23,7 @@ import google.protobuf.descriptor
2323import google .protobuf .internal .containers
2424import google .protobuf .internal .enum_type_wrapper
2525import google .protobuf .message
26+ import google .protobuf .struct_pb2
2627import google .protobuf .timestamp_pb2
2728import sys
2829import typing
@@ -3166,7 +3167,6 @@ class Job(google.protobuf.message.Message):
31663167 DUE_TIME_FIELD_NUMBER : builtins .int
31673168 TTL_FIELD_NUMBER : builtins .int
31683169 DATA_FIELD_NUMBER : builtins .int
3169- OVERWRITE_FIELD_NUMBER : builtins .int
31703170 FAILURE_POLICY_FIELD_NUMBER : builtins .int
31713171 name : builtins .str
31723172 """The unique name for the job."""
@@ -3207,8 +3207,6 @@ class Job(google.protobuf.message.Message):
32073207 "point in time" string in the format of RFC3339, Go duration string
32083208 (calculated from job creation time), or non-repeating ISO8601.
32093209 """
3210- overwrite : builtins .bool
3211- """If true, allows this job to overwrite an existing job with the same name."""
32123210 @property
32133211 def data (self ) -> google .protobuf .any_pb2 .Any :
32143212 """payload is the serialized job payload that will be sent to the recipient
@@ -3228,11 +3226,10 @@ class Job(google.protobuf.message.Message):
32283226 due_time : builtins .str | None = ...,
32293227 ttl : builtins .str | None = ...,
32303228 data : google .protobuf .any_pb2 .Any | None = ...,
3231- overwrite : builtins .bool = ...,
32323229 failure_policy : dapr .proto .common .v1 .common_pb2 .JobFailurePolicy | None = ...,
32333230 ) -> None : ...
32343231 def HasField (self , field_name : typing .Literal ["_due_time" , b"_due_time" , "_failure_policy" , b"_failure_policy" , "_repeats" , b"_repeats" , "_schedule" , b"_schedule" , "_ttl" , b"_ttl" , "data" , b"data" , "due_time" , b"due_time" , "failure_policy" , b"failure_policy" , "repeats" , b"repeats" , "schedule" , b"schedule" , "ttl" , b"ttl" ]) -> builtins .bool : ...
3235- def ClearField (self , field_name : typing .Literal ["_due_time" , b"_due_time" , "_failure_policy" , b"_failure_policy" , "_repeats" , b"_repeats" , "_schedule" , b"_schedule" , "_ttl" , b"_ttl" , "data" , b"data" , "due_time" , b"due_time" , "failure_policy" , b"failure_policy" , "name" , b"name" , "overwrite" , b"overwrite" , " repeats" , b"repeats" , "schedule" , b"schedule" , "ttl" , b"ttl" ]) -> None : ...
3232+ def ClearField (self , field_name : typing .Literal ["_due_time" , b"_due_time" , "_failure_policy" , b"_failure_policy" , "_repeats" , b"_repeats" , "_schedule" , b"_schedule" , "_ttl" , b"_ttl" , "data" , b"data" , "due_time" , b"due_time" , "failure_policy" , b"failure_policy" , "name" , b"name" , "repeats" , b"repeats" , "schedule" , b"schedule" , "ttl" , b"ttl" ]) -> None : ...
32363233 @typing .overload
32373234 def WhichOneof (self , oneof_group : typing .Literal ["_due_time" , b"_due_time" ]) -> typing .Literal ["due_time" ] | None : ...
32383235 @typing .overload
@@ -3253,6 +3250,9 @@ class ScheduleJobRequest(google.protobuf.message.Message):
32533250 DESCRIPTOR : google .protobuf .descriptor .Descriptor
32543251
32553252 JOB_FIELD_NUMBER : builtins .int
3253+ OVERWRITE_FIELD_NUMBER : builtins .int
3254+ overwrite : builtins .bool
3255+ """If true, allows this job to overwrite an existing job with the same name."""
32563256 @property
32573257 def job (self ) -> global___Job :
32583258 """The job details."""
@@ -3261,9 +3261,10 @@ class ScheduleJobRequest(google.protobuf.message.Message):
32613261 self ,
32623262 * ,
32633263 job : global___Job | None = ...,
3264+ overwrite : builtins .bool = ...,
32643265 ) -> None : ...
32653266 def HasField (self , field_name : typing .Literal ["job" , b"job" ]) -> builtins .bool : ...
3266- def ClearField (self , field_name : typing .Literal ["job" , b"job" ]) -> None : ...
3267+ def ClearField (self , field_name : typing .Literal ["job" , b"job" , "overwrite" , b"overwrite" ]) -> None : ...
32673268
32683269global___ScheduleJobRequest = ScheduleJobRequest
32693270
@@ -4103,24 +4104,6 @@ class ConversationToolsFunction(google.protobuf.message.Message):
41034104
41044105 DESCRIPTOR : google .protobuf .descriptor .Descriptor
41054106
4106- @typing .final
4107- class ParametersEntry (google .protobuf .message .Message ):
4108- DESCRIPTOR : google .protobuf .descriptor .Descriptor
4109-
4110- KEY_FIELD_NUMBER : builtins .int
4111- VALUE_FIELD_NUMBER : builtins .int
4112- key : builtins .str
4113- @property
4114- def value (self ) -> google .protobuf .any_pb2 .Any : ...
4115- def __init__ (
4116- self ,
4117- * ,
4118- key : builtins .str = ...,
4119- value : google .protobuf .any_pb2 .Any | None = ...,
4120- ) -> None : ...
4121- def HasField (self , field_name : typing .Literal ["value" , b"value" ]) -> builtins .bool : ...
4122- def ClearField (self , field_name : typing .Literal ["key" , b"key" , "value" , b"value" ]) -> None : ...
4123-
41244107 NAME_FIELD_NUMBER : builtins .int
41254108 DESCRIPTION_FIELD_NUMBER : builtins .int
41264109 PARAMETERS_FIELD_NUMBER : builtins .int
@@ -4131,7 +4114,7 @@ class ConversationToolsFunction(google.protobuf.message.Message):
41314114 used by the model to choose when and how to call the function.
41324115 """
41334116 @property
4134- def parameters (self ) -> google .protobuf .internal . containers . MessageMap [ builtins . str , google . protobuf . any_pb2 . Any ] :
4117+ def parameters (self ) -> google .protobuf .struct_pb2 . Struct :
41354118 """The parameters the functions accepts, described as a JSON Schema object.
41364119 See the [guide](https://platform.openai.com/docs/guides/function-calling) for examples,
41374120 and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
@@ -4143,9 +4126,9 @@ class ConversationToolsFunction(google.protobuf.message.Message):
41434126 * ,
41444127 name : builtins .str = ...,
41454128 description : builtins .str | None = ...,
4146- parameters : collections . abc . Mapping [ builtins . str , google .protobuf .any_pb2 . Any ] | None = ...,
4129+ parameters : google .protobuf .struct_pb2 . Struct | None = ...,
41474130 ) -> None : ...
4148- def HasField (self , field_name : typing .Literal ["_description" , b"_description" , "description" , b"description" ]) -> builtins .bool : ...
4131+ def HasField (self , field_name : typing .Literal ["_description" , b"_description" , "description" , b"description" , "parameters" , b"parameters" ]) -> builtins .bool : ...
41494132 def ClearField (self , field_name : typing .Literal ["_description" , b"_description" , "description" , b"description" , "name" , b"name" , "parameters" , b"parameters" ]) -> None : ...
41504133 def WhichOneof (self , oneof_group : typing .Literal ["_description" , b"_description" ]) -> typing .Literal ["description" ] | None : ...
41514134
0 commit comments