@@ -53,6 +53,283 @@ class MetaResponse(google.protobuf.message.Message):
5353
5454global___MetaResponse = MetaResponse
5555
56+ @typing .final
57+ class AssignmentsRequest (google .protobuf .message .Message ):
58+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
59+
60+ KEY_FIELD_NUMBER : builtins .int
61+ TIME_FIELD_NUMBER : builtins .int
62+ @property
63+ def key (self ) -> arista .softwaremanagement .v1 .softwaremanagement_pb2 .RepositoryKey :
64+ """Key uniquely identifies a Assignments instance to retrieve.
65+ This value must be populated.
66+ """
67+
68+ @property
69+ def time (self ) -> google .protobuf .timestamp_pb2 .Timestamp :
70+ """Time indicates the time for which you are interested in the data.
71+ If no time is given, the server will use the time at which it makes the request.
72+ """
73+
74+ def __init__ (
75+ self ,
76+ * ,
77+ key : arista .softwaremanagement .v1 .softwaremanagement_pb2 .RepositoryKey | None = ...,
78+ time : google .protobuf .timestamp_pb2 .Timestamp | None = ...,
79+ ) -> None : ...
80+ def HasField (self , field_name : typing .Literal ["key" , b"key" , "time" , b"time" ]) -> builtins .bool : ...
81+ def ClearField (self , field_name : typing .Literal ["key" , b"key" , "time" , b"time" ]) -> None : ...
82+
83+ global___AssignmentsRequest = AssignmentsRequest
84+
85+ @typing .final
86+ class AssignmentsResponse (google .protobuf .message .Message ):
87+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
88+
89+ VALUE_FIELD_NUMBER : builtins .int
90+ TIME_FIELD_NUMBER : builtins .int
91+ @property
92+ def value (self ) -> arista .softwaremanagement .v1 .softwaremanagement_pb2 .Assignments :
93+ """Value is the value requested.
94+ This structure will be fully-populated as it exists in the datastore. If
95+ optional fields were not given at creation, these fields will be empty or
96+ set to default values.
97+ """
98+
99+ @property
100+ def time (self ) -> google .protobuf .timestamp_pb2 .Timestamp :
101+ """Time carries the (UTC) timestamp of the last-modification of the
102+ Assignments instance in this response.
103+ """
104+
105+ def __init__ (
106+ self ,
107+ * ,
108+ value : arista .softwaremanagement .v1 .softwaremanagement_pb2 .Assignments | None = ...,
109+ time : google .protobuf .timestamp_pb2 .Timestamp | None = ...,
110+ ) -> None : ...
111+ def HasField (self , field_name : typing .Literal ["time" , b"time" , "value" , b"value" ]) -> builtins .bool : ...
112+ def ClearField (self , field_name : typing .Literal ["time" , b"time" , "value" , b"value" ]) -> None : ...
113+
114+ global___AssignmentsResponse = AssignmentsResponse
115+
116+ @typing .final
117+ class AssignmentsSomeRequest (google .protobuf .message .Message ):
118+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
119+
120+ KEYS_FIELD_NUMBER : builtins .int
121+ TIME_FIELD_NUMBER : builtins .int
122+ @property
123+ def keys (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [arista .softwaremanagement .v1 .softwaremanagement_pb2 .RepositoryKey ]: ...
124+ @property
125+ def time (self ) -> google .protobuf .timestamp_pb2 .Timestamp :
126+ """Time indicates the time for which you are interested in the data.
127+ If no time is given, the server will use the time at which it makes the request.
128+ """
129+
130+ def __init__ (
131+ self ,
132+ * ,
133+ keys : collections .abc .Iterable [arista .softwaremanagement .v1 .softwaremanagement_pb2 .RepositoryKey ] | None = ...,
134+ time : google .protobuf .timestamp_pb2 .Timestamp | None = ...,
135+ ) -> None : ...
136+ def HasField (self , field_name : typing .Literal ["time" , b"time" ]) -> builtins .bool : ...
137+ def ClearField (self , field_name : typing .Literal ["keys" , b"keys" , "time" , b"time" ]) -> None : ...
138+
139+ global___AssignmentsSomeRequest = AssignmentsSomeRequest
140+
141+ @typing .final
142+ class AssignmentsSomeResponse (google .protobuf .message .Message ):
143+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
144+
145+ VALUE_FIELD_NUMBER : builtins .int
146+ ERROR_FIELD_NUMBER : builtins .int
147+ TIME_FIELD_NUMBER : builtins .int
148+ @property
149+ def value (self ) -> arista .softwaremanagement .v1 .softwaremanagement_pb2 .Assignments :
150+ """Value is the value requested.
151+ This structure will be fully-populated as it exists in the datastore. If
152+ optional fields were not given at creation, these fields will be empty or
153+ set to default values.
154+ """
155+
156+ @property
157+ def error (self ) -> google .protobuf .wrappers_pb2 .StringValue :
158+ """Error is an optional field.
159+ It should be filled when there is an error in the GetSome process.
160+ """
161+
162+ @property
163+ def time (self ) -> google .protobuf .timestamp_pb2 .Timestamp :
164+ """Time carries the (UTC) timestamp of the last-modification of the
165+ Assignments instance in this response.
166+ """
167+
168+ def __init__ (
169+ self ,
170+ * ,
171+ value : arista .softwaremanagement .v1 .softwaremanagement_pb2 .Assignments | None = ...,
172+ error : google .protobuf .wrappers_pb2 .StringValue | None = ...,
173+ time : google .protobuf .timestamp_pb2 .Timestamp | None = ...,
174+ ) -> None : ...
175+ def HasField (self , field_name : typing .Literal ["error" , b"error" , "time" , b"time" , "value" , b"value" ]) -> builtins .bool : ...
176+ def ClearField (self , field_name : typing .Literal ["error" , b"error" , "time" , b"time" , "value" , b"value" ]) -> None : ...
177+
178+ global___AssignmentsSomeResponse = AssignmentsSomeResponse
179+
180+ @typing .final
181+ class AssignmentsStreamRequest (google .protobuf .message .Message ):
182+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
183+
184+ PARTIAL_EQ_FILTER_FIELD_NUMBER : builtins .int
185+ TIME_FIELD_NUMBER : builtins .int
186+ @property
187+ def partial_eq_filter (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [arista .softwaremanagement .v1 .softwaremanagement_pb2 .Assignments ]:
188+ """PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
189+ This requires all provided fields to be equal to the response.
190+
191+ While transparent to users, this field also allows services to optimize internal
192+ subscriptions if filter(s) are sufficiently specific.
193+ """
194+
195+ @property
196+ def time (self ) -> arista .time .time_pb2 .TimeBounds :
197+ """TimeRange allows limiting response data to within a specified time window.
198+ If this field is populated, at least one of the two time fields are required.
199+
200+ For GetAll, the fields start and end can be used as follows:
201+
202+ * end: Returns the state of each Assignments at end.
203+ * Each Assignments response is fully-specified (all fields set).
204+ * start: Returns the state of each Assignments at start, followed by updates until now.
205+ * Each Assignments response at start is fully-specified, but updates may be partial.
206+ * start and end: Returns the state of each Assignments at start, followed by updates
207+ until end.
208+ * Each Assignments response at start is fully-specified, but updates until end may
209+ be partial.
210+ """
211+
212+ def __init__ (
213+ self ,
214+ * ,
215+ partial_eq_filter : collections .abc .Iterable [arista .softwaremanagement .v1 .softwaremanagement_pb2 .Assignments ] | None = ...,
216+ time : arista .time .time_pb2 .TimeBounds | None = ...,
217+ ) -> None : ...
218+ def HasField (self , field_name : typing .Literal ["time" , b"time" ]) -> builtins .bool : ...
219+ def ClearField (self , field_name : typing .Literal ["partial_eq_filter" , b"partial_eq_filter" , "time" , b"time" ]) -> None : ...
220+
221+ global___AssignmentsStreamRequest = AssignmentsStreamRequest
222+
223+ @typing .final
224+ class AssignmentsStreamResponse (google .protobuf .message .Message ):
225+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
226+
227+ VALUE_FIELD_NUMBER : builtins .int
228+ TIME_FIELD_NUMBER : builtins .int
229+ TYPE_FIELD_NUMBER : builtins .int
230+ type : arista .subscriptions .subscriptions_pb2 .Operation .ValueType
231+ """Operation indicates how the Assignments value in this response should be considered.
232+ Under non-subscribe requests, this value should always be INITIAL. In a subscription,
233+ once all initial data is streamed and the client begins to receive modification updates,
234+ you should not see INITIAL again.
235+ """
236+ @property
237+ def value (self ) -> arista .softwaremanagement .v1 .softwaremanagement_pb2 .Assignments :
238+ """Value is a value deemed relevant to the initiating request.
239+ This structure will always have its key-field populated. Which other fields are
240+ populated, and why, depends on the value of Operation and what triggered this notification.
241+ """
242+
243+ @property
244+ def time (self ) -> google .protobuf .timestamp_pb2 .Timestamp :
245+ """Time holds the timestamp of this Assignments's last modification."""
246+
247+ def __init__ (
248+ self ,
249+ * ,
250+ value : arista .softwaremanagement .v1 .softwaremanagement_pb2 .Assignments | None = ...,
251+ time : google .protobuf .timestamp_pb2 .Timestamp | None = ...,
252+ type : arista .subscriptions .subscriptions_pb2 .Operation .ValueType = ...,
253+ ) -> None : ...
254+ def HasField (self , field_name : typing .Literal ["time" , b"time" , "value" , b"value" ]) -> builtins .bool : ...
255+ def ClearField (self , field_name : typing .Literal ["time" , b"time" , "type" , b"type" , "value" , b"value" ]) -> None : ...
256+
257+ global___AssignmentsStreamResponse = AssignmentsStreamResponse
258+
259+ @typing .final
260+ class AssignmentsBatchedStreamRequest (google .protobuf .message .Message ):
261+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
262+
263+ PARTIAL_EQ_FILTER_FIELD_NUMBER : builtins .int
264+ TIME_FIELD_NUMBER : builtins .int
265+ MAX_MESSAGES_FIELD_NUMBER : builtins .int
266+ @property
267+ def partial_eq_filter (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [arista .softwaremanagement .v1 .softwaremanagement_pb2 .Assignments ]:
268+ """PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
269+ This requires all provided fields to be equal to the response.
270+
271+ While transparent to users, this field also allows services to optimize internal
272+ subscriptions if filter(s) are sufficiently specific.
273+ """
274+
275+ @property
276+ def time (self ) -> arista .time .time_pb2 .TimeBounds :
277+ """TimeRange allows limiting response data to within a specified time window.
278+ If this field is populated, at least one of the two time fields are required.
279+
280+ For GetAll, the fields start and end can be used as follows:
281+
282+ * end: Returns the state of each Assignments at end.
283+ * Each Assignments response is fully-specified (all fields set).
284+ * start: Returns the state of each Assignments at start, followed by updates until now.
285+ * Each Assignments response at start is fully-specified, but updates may be partial.
286+ * start and end: Returns the state of each Assignments at start, followed by updates
287+ until end.
288+ * Each Assignments response at start is fully-specified, but updates until end may
289+ be partial.
290+ """
291+
292+ @property
293+ def max_messages (self ) -> google .protobuf .wrappers_pb2 .UInt32Value :
294+ """MaxMessages limits the maximum number of messages that can be contained in one batch.
295+ MaxMessages is required to be at least 1.
296+ The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT)
297+ INTERNAL_BATCH_LIMIT is set based on the maximum message size.
298+ """
299+
300+ def __init__ (
301+ self ,
302+ * ,
303+ partial_eq_filter : collections .abc .Iterable [arista .softwaremanagement .v1 .softwaremanagement_pb2 .Assignments ] | None = ...,
304+ time : arista .time .time_pb2 .TimeBounds | None = ...,
305+ max_messages : google .protobuf .wrappers_pb2 .UInt32Value | None = ...,
306+ ) -> None : ...
307+ def HasField (self , field_name : typing .Literal ["max_messages" , b"max_messages" , "time" , b"time" ]) -> builtins .bool : ...
308+ def ClearField (self , field_name : typing .Literal ["max_messages" , b"max_messages" , "partial_eq_filter" , b"partial_eq_filter" , "time" , b"time" ]) -> None : ...
309+
310+ global___AssignmentsBatchedStreamRequest = AssignmentsBatchedStreamRequest
311+
312+ @typing .final
313+ class AssignmentsBatchedStreamResponse (google .protobuf .message .Message ):
314+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
315+
316+ RESPONSES_FIELD_NUMBER : builtins .int
317+ @property
318+ def responses (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [global___AssignmentsStreamResponse ]:
319+ """Values are the values deemed relevant to the initiating request.
320+ The length of this structure is guaranteed to be between (inclusive) 1 and
321+ min(req.max_messages, INTERNAL_BATCH_LIMIT).
322+ """
323+
324+ def __init__ (
325+ self ,
326+ * ,
327+ responses : collections .abc .Iterable [global___AssignmentsStreamResponse ] | None = ...,
328+ ) -> None : ...
329+ def ClearField (self , field_name : typing .Literal ["responses" , b"responses" ]) -> None : ...
330+
331+ global___AssignmentsBatchedStreamResponse = AssignmentsBatchedStreamResponse
332+
56333@typing .final
57334class ReleasesRequest (google .protobuf .message .Message ):
58335 DESCRIPTOR : google .protobuf .descriptor .Descriptor
@@ -135,8 +412,6 @@ class ReleasesStreamRequest(google.protobuf.message.Message):
135412 until end.
136413 * Each Releases response at start is fully-specified, but updates until end may
137414 be partial.
138-
139- This field is not allowed in the Subscribe RPC.
140415 """
141416
142417 def __init__ (
@@ -293,7 +568,11 @@ class RepositorySomeResponse(google.protobuf.message.Message):
293568 """
294569
295570 @property
296- def time (self ) -> google .protobuf .timestamp_pb2 .Timestamp : ...
571+ def time (self ) -> google .protobuf .timestamp_pb2 .Timestamp :
572+ """Time carries the (UTC) timestamp of the last-modification of the
573+ Repository instance in this response.
574+ """
575+
297576 def __init__ (
298577 self ,
299578 * ,
@@ -336,8 +615,6 @@ class RepositoryStreamRequest(google.protobuf.message.Message):
336615 until end.
337616 * Each Repository response at start is fully-specified, but updates until end may
338617 be partial.
339-
340- This field is not allowed in the Subscribe RPC.
341618 """
342619
343620 def __init__ (
@@ -418,8 +695,6 @@ class RepositoryBatchedStreamRequest(google.protobuf.message.Message):
418695 until end.
419696 * Each Repository response at start is fully-specified, but updates until end may
420697 be partial.
421-
422- This field is not allowed in the Subscribe RPC.
423698 """
424699
425700 @property
@@ -450,7 +725,7 @@ class RepositoryBatchedStreamResponse(google.protobuf.message.Message):
450725 @property
451726 def responses (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [global___RepositoryStreamResponse ]:
452727 """Values are the values deemed relevant to the initiating request.
453- The length of this structure is guaranteed to be between (inclusive) 1 and
728+ The length of this structure is guaranteed to be between (inclusive) 1 and
454729 min(req.max_messages, INTERNAL_BATCH_LIMIT).
455730 """
456731
@@ -570,7 +845,11 @@ class RepositoryConfigSomeResponse(google.protobuf.message.Message):
570845 """
571846
572847 @property
573- def time (self ) -> google .protobuf .timestamp_pb2 .Timestamp : ...
848+ def time (self ) -> google .protobuf .timestamp_pb2 .Timestamp :
849+ """Time carries the (UTC) timestamp of the last-modification of the
850+ RepositoryConfig instance in this response.
851+ """
852+
574853 def __init__ (
575854 self ,
576855 * ,
@@ -613,8 +892,6 @@ class RepositoryConfigStreamRequest(google.protobuf.message.Message):
613892 until end.
614893 * Each RepositoryConfig response at start is fully-specified, but updates until end may
615894 be partial.
616-
617- This field is not allowed in the Subscribe RPC.
618895 """
619896
620897 def __init__ (
@@ -695,8 +972,6 @@ class RepositoryConfigBatchedStreamRequest(google.protobuf.message.Message):
695972 until end.
696973 * Each RepositoryConfig response at start is fully-specified, but updates until end may
697974 be partial.
698-
699- This field is not allowed in the Subscribe RPC.
700975 """
701976
702977 @property
@@ -727,7 +1002,7 @@ class RepositoryConfigBatchedStreamResponse(google.protobuf.message.Message):
7271002 @property
7281003 def responses (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [global___RepositoryConfigStreamResponse ]:
7291004 """Values are the values deemed relevant to the initiating request.
730- The length of this structure is guaranteed to be between (inclusive) 1 and
1005+ The length of this structure is guaranteed to be between (inclusive) 1 and
7311006 min(req.max_messages, INTERNAL_BATCH_LIMIT).
7321007 """
7331008
0 commit comments