Skip to content

Commit

Permalink
gen proto
Browse files Browse the repository at this point in the history
  • Loading branch information
gblewis1 committed Sep 11, 2024
1 parent 2b8a475 commit 0e2a01e
Show file tree
Hide file tree
Showing 3 changed files with 180 additions and 281 deletions.
42 changes: 20 additions & 22 deletions inbm/cloudadapter-agent/cloudadapter/pb/common/v1/common_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 1 addition & 23 deletions inbm/cloudadapter-agent/cloudadapter/pb/common/v1/common_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -180,31 +180,10 @@ global___RepeatedSchedule = RepeatedSchedule
class Operation(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

class _ServiceType:
ValueType = typing.NewType("ValueType", builtins.int)
V: typing_extensions.TypeAlias = ValueType

class _ServiceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Operation._ServiceType.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
SERVICE_TYPE_UNSPECIFIED: Operation._ServiceType.ValueType # 0
SERVICE_TYPE_INBS: Operation._ServiceType.ValueType # 1
SERVICE_TYPE_OOB_AMT: Operation._ServiceType.ValueType # 2
SERVICE_TYPE_OOB_BMC: Operation._ServiceType.ValueType # 3
SERVICE_TYPE_AUTO: Operation._ServiceType.ValueType # 4

class ServiceType(_ServiceType, metaclass=_ServiceTypeEnumTypeWrapper): ...
SERVICE_TYPE_UNSPECIFIED: Operation.ServiceType.ValueType # 0
SERVICE_TYPE_INBS: Operation.ServiceType.ValueType # 1
SERVICE_TYPE_OOB_AMT: Operation.ServiceType.ValueType # 2
SERVICE_TYPE_OOB_BMC: Operation.ServiceType.ValueType # 3
SERVICE_TYPE_AUTO: Operation.ServiceType.ValueType # 4

PRE_OPERATIONS_FIELD_NUMBER: builtins.int
POST_OPERATIONS_FIELD_NUMBER: builtins.int
SERVICE_TYPE_FIELD_NUMBER: builtins.int
UPDATE_SYSTEM_SOFTWARE_OPERATION_FIELD_NUMBER: builtins.int
SET_POWER_STATE_OPERATION_FIELD_NUMBER: builtins.int
service_type: global___Operation.ServiceType.ValueType
@property
def pre_operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PreOperation]: ...
@property
Expand All @@ -220,12 +199,11 @@ class Operation(google.protobuf.message.Message):
*,
pre_operations: collections.abc.Iterable[global___PreOperation] | None = ...,
post_operations: collections.abc.Iterable[global___PostOperation] | None = ...,
service_type: global___Operation.ServiceType.ValueType = ...,
update_system_software_operation: global___UpdateSystemSoftwareOperation | None = ...,
set_power_state_operation: global___SetPowerStateOperation | None = ...,
) -> None: ...
def HasField(self, field_name: typing.Literal["operation", b"operation", "set_power_state_operation", b"set_power_state_operation", "update_system_software_operation", b"update_system_software_operation"]) -> builtins.bool: ...
def ClearField(self, field_name: typing.Literal["operation", b"operation", "post_operations", b"post_operations", "pre_operations", b"pre_operations", "service_type", b"service_type", "set_power_state_operation", b"set_power_state_operation", "update_system_software_operation", b"update_system_software_operation"]) -> None: ...
def ClearField(self, field_name: typing.Literal["operation", b"operation", "post_operations", b"post_operations", "pre_operations", b"pre_operations", "set_power_state_operation", b"set_power_state_operation", "update_system_software_operation", b"update_system_software_operation"]) -> None: ...
def WhichOneof(self, oneof_group: typing.Literal["operation", b"operation"]) -> typing.Literal["update_system_software_operation", "set_power_state_operation"] | None: ...

global___Operation = Operation
Expand Down
Loading

0 comments on commit 0e2a01e

Please sign in to comment.