diff --git a/arista/changecontrol/v1/changecontrol_pb2.py b/arista/changecontrol/v1/changecontrol_pb2.py index c5edac75..05f19845 100644 --- a/arista/changecontrol/v1/changecontrol_pb2.py +++ b/arista/changecontrol/v1/changecontrol_pb2.py @@ -18,7 +18,7 @@ from fmp import wrappers_pb2 as fmp_dot_wrappers__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+arista/changecontrol.v1/changecontrol.proto\x12\x17\x61rista.changecontrol.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x14\x66mp/extensions.proto\x1a\x12\x66mp/wrappers.proto\"=\n\x16RepeatedRepeatedString\x12#\n\x06values\x18\x01 \x03(\x0b\x32\x13.fmp.RepeatedString\"B\n\x10\x43hangeControlKey\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue:\x04\x80\x8e\x19\x01\"\x87\x01\n\x06\x41\x63tion\x12*\n\x04name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12-\n\x07timeout\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\"\n\x04\x61rgs\x18\x03 \x01(\x0b\x32\x14.fmp.MapStringString\"\xa9\x01\n\x0bStageConfig\x12*\n\x04name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32\x1f.arista.changecontrol.v1.Action\x12=\n\x04rows\x18\x03 \x01(\x0b\x32/.arista.changecontrol.v1.RepeatedRepeatedString\"\xaa\x01\n\x0eStageConfigMap\x12\x43\n\x06values\x18\x01 \x03(\x0b\x32\x33.arista.changecontrol.v1.StageConfigMap.ValuesEntry\x1aS\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.arista.changecontrol.v1.StageConfig:\x02\x38\x01\"\xd5\x01\n\x0c\x43hangeConfig\x12*\n\x04name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rroot_stage_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x06stages\x18\x03 \x01(\x0b\x32\'.arista.changecontrol.v1.StageConfigMap\x12+\n\x05notes\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"d\n\nFlagConfig\x12)\n\x05value\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12+\n\x05notes\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"m\n\x13TimestampFlagConfig\x12)\n\x05value\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x05notes\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x80\x02\n\x13\x43hangeControlConfig\x12\x36\n\x03key\x18\x01 \x01(\x0b\x32).arista.changecontrol.v1.ChangeControlKey\x12\x35\n\x06\x63hange\x18\x02 \x01(\x0b\x32%.arista.changecontrol.v1.ChangeConfig\x12\x32\n\x05start\x18\x03 \x01(\x0b\x32#.arista.changecontrol.v1.FlagConfig\x12>\n\x08schedule\x18\x04 \x01(\x0b\x32,.arista.changecontrol.v1.TimestampFlagConfig:\x06\xfa\x8d\x19\x02rw\"\xe4\x02\n\x05Stage\x12*\n\x04name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32\x1f.arista.changecontrol.v1.Action\x12=\n\x04rows\x18\x03 \x01(\x0b\x32/.arista.changecontrol.v1.RepeatedRepeatedString\x12\x34\n\x06status\x18\x04 \x01(\x0e\x32$.arista.changecontrol.v1.StageStatus\x12+\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\nstart_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x98\x01\n\x08StageMap\x12=\n\x06values\x18\x01 \x03(\x0b\x32-.arista.changecontrol.v1.StageMap.ValuesEntry\x1aM\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.arista.changecontrol.v1.Stage:\x02\x38\x01\"\x9f\x02\n\x06\x43hange\x12*\n\x04name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rroot_stage_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x06stages\x18\x03 \x01(\x0b\x32!.arista.changecontrol.v1.StageMap\x12+\n\x05notes\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12(\n\x04time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04user\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xb4\x01\n\x04\x46lag\x12)\n\x05value\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12+\n\x05notes\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12(\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04user\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xbd\x01\n\rTimestampFlag\x12)\n\x05value\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x05notes\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12(\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04user\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"1\n\x06\x46ilter\x12\'\n\ndevice_ids\x18\x01 \x01(\x0b\x32\x13.fmp.RepeatedString\"\xb6\x03\n\rChangeControl\x12\x36\n\x03key\x18\x01 \x01(\x0b\x32).arista.changecontrol.v1.ChangeControlKey\x12/\n\x06\x63hange\x18\x02 \x01(\x0b\x32\x1f.arista.changecontrol.v1.Change\x12.\n\x07\x61pprove\x18\x03 \x01(\x0b\x32\x1d.arista.changecontrol.v1.Flag\x12,\n\x05start\x18\x04 \x01(\x0b\x32\x1d.arista.changecontrol.v1.Flag\x12<\n\x06status\x18\x05 \x01(\x0e\x32,.arista.changecontrol.v1.ChangeControlStatus\x12+\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x08schedule\x18\x07 \x01(\x0b\x32&.arista.changecontrol.v1.TimestampFlag\x12\'\n\ndevice_ids\x18\x08 \x01(\x0b\x32\x13.fmp.RepeatedString:\x10\xfa\x8d\x19\x02ro\x8a\x8e\x19\x06\x46ilter\"\xb2\x01\n\rApproveConfig\x12\x36\n\x03key\x18\x01 \x01(\x0b\x32).arista.changecontrol.v1.ChangeControlKey\x12\x34\n\x07\x61pprove\x18\x02 \x01(\x0b\x32#.arista.changecontrol.v1.FlagConfig\x12+\n\x07version\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x06\xfa\x8d\x19\x02rw*\x7f\n\x0bStageStatus\x12\x1c\n\x18STAGE_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14STAGE_STATUS_RUNNING\x10\x01\x12\x1a\n\x16STAGE_STATUS_COMPLETED\x10\x02\x12\x1c\n\x18STAGE_STATUS_NOT_STARTED\x10\x03*\xd0\x01\n\x13\x43hangeControlStatus\x12%\n!CHANGE_CONTROL_STATUS_UNSPECIFIED\x10\x00\x12!\n\x1d\x43HANGE_CONTROL_STATUS_RUNNING\x10\x01\x12#\n\x1f\x43HANGE_CONTROL_STATUS_COMPLETED\x10\x02\x12#\n\x1f\x43HANGE_CONTROL_STATUS_SCHEDULED\x10\x03\x12%\n!CHANGE_CONTROL_STATUS_NOT_STARTED\x10\x04\x42TZRgithub.com/aristanetworks/cloudvision-go/api/arista/changecontrol.v1;changecontrolb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+arista/changecontrol.v1/changecontrol.proto\x12\x17\x61rista.changecontrol.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x14\x66mp/extensions.proto\x1a\x12\x66mp/wrappers.proto\"=\n\x16RepeatedRepeatedString\x12#\n\x06values\x18\x01 \x03(\x0b\x32\x13.fmp.RepeatedString\"B\n\x10\x43hangeControlKey\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue:\x04\x80\x8e\x19\x01\"\x87\x01\n\x06\x41\x63tion\x12*\n\x04name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12-\n\x07timeout\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\"\n\x04\x61rgs\x18\x03 \x01(\x0b\x32\x14.fmp.MapStringString\"\xa9\x01\n\x0bStageConfig\x12*\n\x04name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32\x1f.arista.changecontrol.v1.Action\x12=\n\x04rows\x18\x03 \x01(\x0b\x32/.arista.changecontrol.v1.RepeatedRepeatedString\"\xaa\x01\n\x0eStageConfigMap\x12\x43\n\x06values\x18\x01 \x03(\x0b\x32\x33.arista.changecontrol.v1.StageConfigMap.ValuesEntry\x1aS\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.arista.changecontrol.v1.StageConfig:\x02\x38\x01\"\xd5\x01\n\x0c\x43hangeConfig\x12*\n\x04name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rroot_stage_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x06stages\x18\x03 \x01(\x0b\x32\'.arista.changecontrol.v1.StageConfigMap\x12+\n\x05notes\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"d\n\nFlagConfig\x12)\n\x05value\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12+\n\x05notes\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"m\n\x13TimestampFlagConfig\x12)\n\x05value\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x05notes\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x80\x02\n\x13\x43hangeControlConfig\x12\x36\n\x03key\x18\x01 \x01(\x0b\x32).arista.changecontrol.v1.ChangeControlKey\x12\x35\n\x06\x63hange\x18\x02 \x01(\x0b\x32%.arista.changecontrol.v1.ChangeConfig\x12\x32\n\x05start\x18\x03 \x01(\x0b\x32#.arista.changecontrol.v1.FlagConfig\x12>\n\x08schedule\x18\x04 \x01(\x0b\x32,.arista.changecontrol.v1.TimestampFlagConfig:\x06\xfa\x8d\x19\x02rw\"\xe4\x02\n\x05Stage\x12*\n\x04name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32\x1f.arista.changecontrol.v1.Action\x12=\n\x04rows\x18\x03 \x01(\x0b\x32/.arista.changecontrol.v1.RepeatedRepeatedString\x12\x34\n\x06status\x18\x04 \x01(\x0e\x32$.arista.changecontrol.v1.StageStatus\x12+\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\nstart_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x98\x01\n\x08StageMap\x12=\n\x06values\x18\x01 \x03(\x0b\x32-.arista.changecontrol.v1.StageMap.ValuesEntry\x1aM\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.arista.changecontrol.v1.Stage:\x02\x38\x01\"\x9f\x02\n\x06\x43hange\x12*\n\x04name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rroot_stage_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x06stages\x18\x03 \x01(\x0b\x32!.arista.changecontrol.v1.StageMap\x12+\n\x05notes\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12(\n\x04time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04user\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xb4\x01\n\x04\x46lag\x12)\n\x05value\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12+\n\x05notes\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12(\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04user\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xbd\x01\n\rTimestampFlag\x12)\n\x05value\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x05notes\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12(\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04user\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"1\n\x06\x46ilter\x12\'\n\ndevice_ids\x18\x01 \x01(\x0b\x32\x13.fmp.RepeatedString\"\x9d\x01\n\x10\x44\x65viceToStageMap\x12\x45\n\x06values\x18\x01 \x03(\x0b\x32\x35.arista.changecontrol.v1.DeviceToStageMap.ValuesEntry\x1a\x42\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.fmp.RepeatedString:\x02\x38\x01\"\x81\x04\n\rChangeControl\x12\x36\n\x03key\x18\x01 \x01(\x0b\x32).arista.changecontrol.v1.ChangeControlKey\x12/\n\x06\x63hange\x18\x02 \x01(\x0b\x32\x1f.arista.changecontrol.v1.Change\x12.\n\x07\x61pprove\x18\x03 \x01(\x0b\x32\x1d.arista.changecontrol.v1.Flag\x12,\n\x05start\x18\x04 \x01(\x0b\x32\x1d.arista.changecontrol.v1.Flag\x12<\n\x06status\x18\x05 \x01(\x0e\x32,.arista.changecontrol.v1.ChangeControlStatus\x12+\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x08schedule\x18\x07 \x01(\x0b\x32&.arista.changecontrol.v1.TimestampFlag\x12\'\n\ndevice_ids\x18\x08 \x01(\x0b\x32\x13.fmp.RepeatedString\x12I\n\x16\x64\x65vice_id_to_stage_ids\x18\t \x01(\x0b\x32).arista.changecontrol.v1.DeviceToStageMap:\x10\xfa\x8d\x19\x02ro\x8a\x8e\x19\x06\x46ilter\"\xb2\x01\n\rApproveConfig\x12\x36\n\x03key\x18\x01 \x01(\x0b\x32).arista.changecontrol.v1.ChangeControlKey\x12\x34\n\x07\x61pprove\x18\x02 \x01(\x0b\x32#.arista.changecontrol.v1.FlagConfig\x12+\n\x07version\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x06\xfa\x8d\x19\x02rw*\x7f\n\x0bStageStatus\x12\x1c\n\x18STAGE_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14STAGE_STATUS_RUNNING\x10\x01\x12\x1a\n\x16STAGE_STATUS_COMPLETED\x10\x02\x12\x1c\n\x18STAGE_STATUS_NOT_STARTED\x10\x03*\xd0\x01\n\x13\x43hangeControlStatus\x12%\n!CHANGE_CONTROL_STATUS_UNSPECIFIED\x10\x00\x12!\n\x1d\x43HANGE_CONTROL_STATUS_RUNNING\x10\x01\x12#\n\x1f\x43HANGE_CONTROL_STATUS_COMPLETED\x10\x02\x12#\n\x1f\x43HANGE_CONTROL_STATUS_SCHEDULED\x10\x03\x12%\n!CHANGE_CONTROL_STATUS_NOT_STARTED\x10\x04\x42TZRgithub.com/aristanetworks/cloudvision-go/api/arista/changecontrol.v1;changecontrolb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -34,14 +34,16 @@ _globals['_CHANGECONTROLCONFIG']._serialized_options = b'\372\215\031\002rw' _globals['_STAGEMAP_VALUESENTRY']._options = None _globals['_STAGEMAP_VALUESENTRY']._serialized_options = b'8\001' + _globals['_DEVICETOSTAGEMAP_VALUESENTRY']._options = None + _globals['_DEVICETOSTAGEMAP_VALUESENTRY']._serialized_options = b'8\001' _globals['_CHANGECONTROL']._options = None _globals['_CHANGECONTROL']._serialized_options = b'\372\215\031\002ro\212\216\031\006Filter' _globals['_APPROVECONFIG']._options = None _globals['_APPROVECONFIG']._serialized_options = b'\372\215\031\002rw' - _globals['_STAGESTATUS']._serialized_start=3333 - _globals['_STAGESTATUS']._serialized_end=3460 - _globals['_CHANGECONTROLSTATUS']._serialized_start=3463 - _globals['_CHANGECONTROLSTATUS']._serialized_end=3671 + _globals['_STAGESTATUS']._serialized_start=3568 + _globals['_STAGESTATUS']._serialized_end=3695 + _globals['_CHANGECONTROLSTATUS']._serialized_start=3698 + _globals['_CHANGECONTROLSTATUS']._serialized_end=3906 _globals['_REPEATEDREPEATEDSTRING']._serialized_start=179 _globals['_REPEATEDREPEATEDSTRING']._serialized_end=240 _globals['_CHANGECONTROLKEY']._serialized_start=242 @@ -76,8 +78,12 @@ _globals['_TIMESTAMPFLAG']._serialized_end=2658 _globals['_FILTER']._serialized_start=2660 _globals['_FILTER']._serialized_end=2709 - _globals['_CHANGECONTROL']._serialized_start=2712 - _globals['_CHANGECONTROL']._serialized_end=3150 - _globals['_APPROVECONFIG']._serialized_start=3153 - _globals['_APPROVECONFIG']._serialized_end=3331 + _globals['_DEVICETOSTAGEMAP']._serialized_start=2712 + _globals['_DEVICETOSTAGEMAP']._serialized_end=2869 + _globals['_DEVICETOSTAGEMAP_VALUESENTRY']._serialized_start=2803 + _globals['_DEVICETOSTAGEMAP_VALUESENTRY']._serialized_end=2869 + _globals['_CHANGECONTROL']._serialized_start=2872 + _globals['_CHANGECONTROL']._serialized_end=3385 + _globals['_APPROVECONFIG']._serialized_start=3388 + _globals['_APPROVECONFIG']._serialized_end=3566 # @@protoc_insertion_point(module_scope) diff --git a/arista/changecontrol/v1/changecontrol_pb2.pyi b/arista/changecontrol/v1/changecontrol_pb2.pyi index d1055a29..037f5665 100644 --- a/arista/changecontrol/v1/changecontrol_pb2.pyi +++ b/arista/changecontrol/v1/changecontrol_pb2.pyi @@ -21,6 +21,8 @@ class _StageStatus: class _StageStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_StageStatus.ValueType], builtins.type): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor STAGE_STATUS_UNSPECIFIED: _StageStatus.ValueType # 0 + """STAGE_STATUS_UNSPECIFIED means unknown stage status.""" + STAGE_STATUS_RUNNING: _StageStatus.ValueType # 1 """STAGE_STATUS_RUNNING means the stage has begun execution.""" @@ -39,6 +41,8 @@ class StageStatus(_StageStatus, metaclass=_StageStatusEnumTypeWrapper): pass STAGE_STATUS_UNSPECIFIED: StageStatus.ValueType # 0 +"""STAGE_STATUS_UNSPECIFIED means unknown stage status.""" + STAGE_STATUS_RUNNING: StageStatus.ValueType # 1 """STAGE_STATUS_RUNNING means the stage has begun execution.""" @@ -61,6 +65,8 @@ class _ChangeControlStatus: class _ChangeControlStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ChangeControlStatus.ValueType], builtins.type): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor CHANGE_CONTROL_STATUS_UNSPECIFIED: _ChangeControlStatus.ValueType # 0 + """CHANGE_CONTROL_STATUS_UNSPECIFIED means the change control status is unknown.""" + CHANGE_CONTROL_STATUS_RUNNING: _ChangeControlStatus.ValueType # 1 """CHANGE_CONTROL_STATUS_RUNNING means the change control has begun execution. @@ -93,6 +99,8 @@ class ChangeControlStatus(_ChangeControlStatus, metaclass=_ChangeControlStatusEn pass CHANGE_CONTROL_STATUS_UNSPECIFIED: ChangeControlStatus.ValueType # 0 +"""CHANGE_CONTROL_STATUS_UNSPECIFIED means the change control status is unknown.""" + CHANGE_CONTROL_STATUS_RUNNING: ChangeControlStatus.ValueType # 1 """CHANGE_CONTROL_STATUS_RUNNING means the change control has begun execution. @@ -652,6 +660,38 @@ class Filter(google.protobuf.message.Message): def ClearField(self, field_name: typing_extensions.Literal["device_ids",b"device_ids"]) -> None: ... global___Filter = Filter +class DeviceToStageMap(google.protobuf.message.Message): + """DeviceToStageMap is a map of a device ID and its list of corresponding stages.""" + DESCRIPTOR: google.protobuf.descriptor.Descriptor + class ValuesEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: typing.Text + @property + def value(self) -> fmp.wrappers_pb2.RepeatedString: ... + def __init__(self, + *, + key: typing.Text = ..., + value: typing.Optional[fmp.wrappers_pb2.RepeatedString] = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value",b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key",b"key","value",b"value"]) -> None: ... + + VALUES_FIELD_NUMBER: builtins.int + @property + def values(self) -> google.protobuf.internal.containers.MessageMap[typing.Text, fmp.wrappers_pb2.RepeatedString]: + """values maps the device ID with the stages which are associated with a device + in a changecontrol state model. + """ + pass + def __init__(self, + *, + values: typing.Optional[typing.Mapping[typing.Text, fmp.wrappers_pb2.RepeatedString]] = ..., + ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["values",b"values"]) -> None: ... +global___DeviceToStageMap = DeviceToStageMap + class ChangeControl(google.protobuf.message.Message): """ChangeControl holds the configuration and status of a change control.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -663,6 +703,7 @@ class ChangeControl(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int SCHEDULE_FIELD_NUMBER: builtins.int DEVICE_IDS_FIELD_NUMBER: builtins.int + DEVICE_ID_TO_STAGE_IDS_FIELD_NUMBER: builtins.int @property def key(self) -> global___ChangeControlKey: """key uniquely identifies the change control.""" @@ -707,6 +748,14 @@ class ChangeControl(google.protobuf.message.Message): def device_ids(self) -> fmp.wrappers_pb2.RepeatedString: """device_ids is a list of device IDs on which the change control will operate.""" pass + @property + def device_id_to_stage_ids(self) -> global___DeviceToStageMap: + """device_id_to_stage_ids is a map of device IDs to the stages present in the + specified Change state. + This is not affected by the device ID based custom filtering and will contain + info about all the devices associated with a CC ID. + """ + pass def __init__(self, *, key: typing.Optional[global___ChangeControlKey] = ..., @@ -717,9 +766,10 @@ class ChangeControl(google.protobuf.message.Message): error: typing.Optional[google.protobuf.wrappers_pb2.StringValue] = ..., schedule: typing.Optional[global___TimestampFlag] = ..., device_ids: typing.Optional[fmp.wrappers_pb2.RepeatedString] = ..., + device_id_to_stage_ids: typing.Optional[global___DeviceToStageMap] = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["approve",b"approve","change",b"change","device_ids",b"device_ids","error",b"error","key",b"key","schedule",b"schedule","start",b"start"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["approve",b"approve","change",b"change","device_ids",b"device_ids","error",b"error","key",b"key","schedule",b"schedule","start",b"start","status",b"status"]) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["approve",b"approve","change",b"change","device_id_to_stage_ids",b"device_id_to_stage_ids","device_ids",b"device_ids","error",b"error","key",b"key","schedule",b"schedule","start",b"start"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["approve",b"approve","change",b"change","device_id_to_stage_ids",b"device_id_to_stage_ids","device_ids",b"device_ids","error",b"error","key",b"key","schedule",b"schedule","start",b"start","status",b"status"]) -> None: ... global___ChangeControl = ChangeControl class ApproveConfig(google.protobuf.message.Message):