Skip to content

Commit

Permalink
Update imagestatus proto: add new skip cause
Browse files Browse the repository at this point in the history
[GENERATED_COMMIT]

Change-Id: If46bae47992ef43912e1b2a0047231f75688ccb4
  • Loading branch information
Arista-Jenkins authored and tanayam committed May 14, 2024
1 parent 9d4a837 commit b6e1a53
Show file tree
Hide file tree
Showing 6 changed files with 632 additions and 70 deletions.
146 changes: 81 additions & 65 deletions arista/workspace/v1/services/gen_pb2.py

Large diffs are not rendered by default.

272 changes: 272 additions & 0 deletions arista/workspace/v1/services/gen_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,74 @@ class WorkspaceStreamResponse(google.protobuf.message.Message):
def ClearField(self, field_name: typing_extensions.Literal["time",b"time","type",b"type","value",b"value"]) -> None: ...
global___WorkspaceStreamResponse = WorkspaceStreamResponse

class WorkspaceBatchedStreamRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
PARTIAL_EQ_FILTER_FIELD_NUMBER: builtins.int
TIME_FIELD_NUMBER: builtins.int
MAX_MESSAGES_FIELD_NUMBER: builtins.int
@property
def partial_eq_filter(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[arista.workspace.v1.workspace_pb2.Workspace]:
"""PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal
subscriptions if filter(s) are sufficiently specific.
"""
pass
@property
def time(self) -> arista.time.time_pb2.TimeBounds:
"""TimeRange allows limiting response data to within a specified time window.
If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
* end: Returns the state of each Workspace at end.
* Each Workspace response is fully-specified (all fields set).
* start: Returns the state of each Workspace at start, followed by updates until now.
* Each Workspace response at start is fully-specified, but updates may be partial.
* start and end: Returns the state of each Workspace at start, followed by updates
until end.
* Each Workspace response at start is fully-specified, but updates until end may
be partial.
This field is not allowed in the Subscribe RPC.
"""
pass
@property
def max_messages(self) -> google.protobuf.wrappers_pb2.UInt32Value:
"""MaxMessages limits the maximum number of messages that can be contained in one batch.
MaxMessages is required to be at least 1.
The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT)
INTERNAL_BATCH_LIMIT is set based on the maximum message size.
"""
pass
def __init__(self,
*,
partial_eq_filter: typing.Optional[typing.Iterable[arista.workspace.v1.workspace_pb2.Workspace]] = ...,
time: typing.Optional[arista.time.time_pb2.TimeBounds] = ...,
max_messages: typing.Optional[google.protobuf.wrappers_pb2.UInt32Value] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["max_messages",b"max_messages","time",b"time"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["max_messages",b"max_messages","partial_eq_filter",b"partial_eq_filter","time",b"time"]) -> None: ...
global___WorkspaceBatchedStreamRequest = WorkspaceBatchedStreamRequest

class WorkspaceBatchedStreamResponse(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
RESPONSES_FIELD_NUMBER: builtins.int
@property
def responses(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkspaceStreamResponse]:
"""Values are the values deemed relevant to the initiating request.
The length of this structure is guaranteed to be between (inclusive) 1 and
min(req.max_messages, INTERNAL_BATCH_LIMIT).
"""
pass
def __init__(self,
*,
responses: typing.Optional[typing.Iterable[global___WorkspaceStreamResponse]] = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["responses",b"responses"]) -> None: ...
global___WorkspaceBatchedStreamResponse = WorkspaceBatchedStreamResponse

class WorkspaceBuildRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
KEY_FIELD_NUMBER: builtins.int
Expand Down Expand Up @@ -403,6 +471,74 @@ class WorkspaceBuildStreamResponse(google.protobuf.message.Message):
def ClearField(self, field_name: typing_extensions.Literal["time",b"time","type",b"type","value",b"value"]) -> None: ...
global___WorkspaceBuildStreamResponse = WorkspaceBuildStreamResponse

class WorkspaceBuildBatchedStreamRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
PARTIAL_EQ_FILTER_FIELD_NUMBER: builtins.int
TIME_FIELD_NUMBER: builtins.int
MAX_MESSAGES_FIELD_NUMBER: builtins.int
@property
def partial_eq_filter(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[arista.workspace.v1.workspace_pb2.WorkspaceBuild]:
"""PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal
subscriptions if filter(s) are sufficiently specific.
"""
pass
@property
def time(self) -> arista.time.time_pb2.TimeBounds:
"""TimeRange allows limiting response data to within a specified time window.
If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
* end: Returns the state of each WorkspaceBuild at end.
* Each WorkspaceBuild response is fully-specified (all fields set).
* start: Returns the state of each WorkspaceBuild at start, followed by updates until now.
* Each WorkspaceBuild response at start is fully-specified, but updates may be partial.
* start and end: Returns the state of each WorkspaceBuild at start, followed by updates
until end.
* Each WorkspaceBuild response at start is fully-specified, but updates until end may
be partial.
This field is not allowed in the Subscribe RPC.
"""
pass
@property
def max_messages(self) -> google.protobuf.wrappers_pb2.UInt32Value:
"""MaxMessages limits the maximum number of messages that can be contained in one batch.
MaxMessages is required to be at least 1.
The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT)
INTERNAL_BATCH_LIMIT is set based on the maximum message size.
"""
pass
def __init__(self,
*,
partial_eq_filter: typing.Optional[typing.Iterable[arista.workspace.v1.workspace_pb2.WorkspaceBuild]] = ...,
time: typing.Optional[arista.time.time_pb2.TimeBounds] = ...,
max_messages: typing.Optional[google.protobuf.wrappers_pb2.UInt32Value] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["max_messages",b"max_messages","time",b"time"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["max_messages",b"max_messages","partial_eq_filter",b"partial_eq_filter","time",b"time"]) -> None: ...
global___WorkspaceBuildBatchedStreamRequest = WorkspaceBuildBatchedStreamRequest

class WorkspaceBuildBatchedStreamResponse(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
RESPONSES_FIELD_NUMBER: builtins.int
@property
def responses(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkspaceBuildStreamResponse]:
"""Values are the values deemed relevant to the initiating request.
The length of this structure is guaranteed to be between (inclusive) 1 and
min(req.max_messages, INTERNAL_BATCH_LIMIT).
"""
pass
def __init__(self,
*,
responses: typing.Optional[typing.Iterable[global___WorkspaceBuildStreamResponse]] = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["responses",b"responses"]) -> None: ...
global___WorkspaceBuildBatchedStreamResponse = WorkspaceBuildBatchedStreamResponse

class WorkspaceBuildDetailsRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
KEY_FIELD_NUMBER: builtins.int
Expand Down Expand Up @@ -581,6 +717,74 @@ class WorkspaceBuildDetailsStreamResponse(google.protobuf.message.Message):
def ClearField(self, field_name: typing_extensions.Literal["time",b"time","type",b"type","value",b"value"]) -> None: ...
global___WorkspaceBuildDetailsStreamResponse = WorkspaceBuildDetailsStreamResponse

class WorkspaceBuildDetailsBatchedStreamRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
PARTIAL_EQ_FILTER_FIELD_NUMBER: builtins.int
TIME_FIELD_NUMBER: builtins.int
MAX_MESSAGES_FIELD_NUMBER: builtins.int
@property
def partial_eq_filter(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[arista.workspace.v1.workspace_pb2.WorkspaceBuildDetails]:
"""PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal
subscriptions if filter(s) are sufficiently specific.
"""
pass
@property
def time(self) -> arista.time.time_pb2.TimeBounds:
"""TimeRange allows limiting response data to within a specified time window.
If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
* end: Returns the state of each WorkspaceBuildDetails at end.
* Each WorkspaceBuildDetails response is fully-specified (all fields set).
* start: Returns the state of each WorkspaceBuildDetails at start, followed by updates until now.
* Each WorkspaceBuildDetails response at start is fully-specified, but updates may be partial.
* start and end: Returns the state of each WorkspaceBuildDetails at start, followed by updates
until end.
* Each WorkspaceBuildDetails response at start is fully-specified, but updates until end may
be partial.
This field is not allowed in the Subscribe RPC.
"""
pass
@property
def max_messages(self) -> google.protobuf.wrappers_pb2.UInt32Value:
"""MaxMessages limits the maximum number of messages that can be contained in one batch.
MaxMessages is required to be at least 1.
The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT)
INTERNAL_BATCH_LIMIT is set based on the maximum message size.
"""
pass
def __init__(self,
*,
partial_eq_filter: typing.Optional[typing.Iterable[arista.workspace.v1.workspace_pb2.WorkspaceBuildDetails]] = ...,
time: typing.Optional[arista.time.time_pb2.TimeBounds] = ...,
max_messages: typing.Optional[google.protobuf.wrappers_pb2.UInt32Value] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["max_messages",b"max_messages","time",b"time"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["max_messages",b"max_messages","partial_eq_filter",b"partial_eq_filter","time",b"time"]) -> None: ...
global___WorkspaceBuildDetailsBatchedStreamRequest = WorkspaceBuildDetailsBatchedStreamRequest

class WorkspaceBuildDetailsBatchedStreamResponse(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
RESPONSES_FIELD_NUMBER: builtins.int
@property
def responses(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkspaceBuildDetailsStreamResponse]:
"""Values are the values deemed relevant to the initiating request.
The length of this structure is guaranteed to be between (inclusive) 1 and
min(req.max_messages, INTERNAL_BATCH_LIMIT).
"""
pass
def __init__(self,
*,
responses: typing.Optional[typing.Iterable[global___WorkspaceBuildDetailsStreamResponse]] = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["responses",b"responses"]) -> None: ...
global___WorkspaceBuildDetailsBatchedStreamResponse = WorkspaceBuildDetailsBatchedStreamResponse

class WorkspaceConfigRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
KEY_FIELD_NUMBER: builtins.int
Expand Down Expand Up @@ -759,6 +963,74 @@ class WorkspaceConfigStreamResponse(google.protobuf.message.Message):
def ClearField(self, field_name: typing_extensions.Literal["time",b"time","type",b"type","value",b"value"]) -> None: ...
global___WorkspaceConfigStreamResponse = WorkspaceConfigStreamResponse

class WorkspaceConfigBatchedStreamRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
PARTIAL_EQ_FILTER_FIELD_NUMBER: builtins.int
TIME_FIELD_NUMBER: builtins.int
MAX_MESSAGES_FIELD_NUMBER: builtins.int
@property
def partial_eq_filter(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[arista.workspace.v1.workspace_pb2.WorkspaceConfig]:
"""PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal
subscriptions if filter(s) are sufficiently specific.
"""
pass
@property
def time(self) -> arista.time.time_pb2.TimeBounds:
"""TimeRange allows limiting response data to within a specified time window.
If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
* end: Returns the state of each WorkspaceConfig at end.
* Each WorkspaceConfig response is fully-specified (all fields set).
* start: Returns the state of each WorkspaceConfig at start, followed by updates until now.
* Each WorkspaceConfig response at start is fully-specified, but updates may be partial.
* start and end: Returns the state of each WorkspaceConfig at start, followed by updates
until end.
* Each WorkspaceConfig response at start is fully-specified, but updates until end may
be partial.
This field is not allowed in the Subscribe RPC.
"""
pass
@property
def max_messages(self) -> google.protobuf.wrappers_pb2.UInt32Value:
"""MaxMessages limits the maximum number of messages that can be contained in one batch.
MaxMessages is required to be at least 1.
The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT)
INTERNAL_BATCH_LIMIT is set based on the maximum message size.
"""
pass
def __init__(self,
*,
partial_eq_filter: typing.Optional[typing.Iterable[arista.workspace.v1.workspace_pb2.WorkspaceConfig]] = ...,
time: typing.Optional[arista.time.time_pb2.TimeBounds] = ...,
max_messages: typing.Optional[google.protobuf.wrappers_pb2.UInt32Value] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["max_messages",b"max_messages","time",b"time"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["max_messages",b"max_messages","partial_eq_filter",b"partial_eq_filter","time",b"time"]) -> None: ...
global___WorkspaceConfigBatchedStreamRequest = WorkspaceConfigBatchedStreamRequest

class WorkspaceConfigBatchedStreamResponse(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
RESPONSES_FIELD_NUMBER: builtins.int
@property
def responses(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkspaceConfigStreamResponse]:
"""Values are the values deemed relevant to the initiating request.
The length of this structure is guaranteed to be between (inclusive) 1 and
min(req.max_messages, INTERNAL_BATCH_LIMIT).
"""
pass
def __init__(self,
*,
responses: typing.Optional[typing.Iterable[global___WorkspaceConfigStreamResponse]] = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["responses",b"responses"]) -> None: ...
global___WorkspaceConfigBatchedStreamResponse = WorkspaceConfigBatchedStreamResponse

class WorkspaceConfigSetRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
VALUE_FIELD_NUMBER: builtins.int
Expand Down
Loading

0 comments on commit b6e1a53

Please sign in to comment.