| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: infra/libs/fleet/protos/state.proto |
| |
| package fleet |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| math "math" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| type State int32 |
| |
| const ( |
| State_STATE_INVALID State = 0 |
| State_STATE_ONBOARDING State = 1 |
| State_STATE_DEPLOYED State = 2 |
| ) |
| |
| var State_name = map[int32]string{ |
| 0: "STATE_INVALID", |
| 1: "STATE_ONBOARDING", |
| 2: "STATE_DEPLOYED", |
| } |
| |
| var State_value = map[string]int32{ |
| "STATE_INVALID": 0, |
| "STATE_ONBOARDING": 1, |
| "STATE_DEPLOYED": 2, |
| } |
| |
| func (x State) String() string { |
| return proto.EnumName(State_name, int32(x)) |
| } |
| |
| func (State) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_adf13d498a2eb2b7, []int{0} |
| } |
| |
| type AssetState struct { |
| Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| State State `protobuf:"varint,2,opt,name=state,proto3,enum=fleet.State" json:"state,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *AssetState) Reset() { *m = AssetState{} } |
| func (m *AssetState) String() string { return proto.CompactTextString(m) } |
| func (*AssetState) ProtoMessage() {} |
| func (*AssetState) Descriptor() ([]byte, []int) { |
| return fileDescriptor_adf13d498a2eb2b7, []int{0} |
| } |
| |
| func (m *AssetState) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_AssetState.Unmarshal(m, b) |
| } |
| func (m *AssetState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_AssetState.Marshal(b, m, deterministic) |
| } |
| func (m *AssetState) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_AssetState.Merge(m, src) |
| } |
| func (m *AssetState) XXX_Size() int { |
| return xxx_messageInfo_AssetState.Size(m) |
| } |
| func (m *AssetState) XXX_DiscardUnknown() { |
| xxx_messageInfo_AssetState.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_AssetState proto.InternalMessageInfo |
| |
| func (m *AssetState) GetId() string { |
| if m != nil { |
| return m.Id |
| } |
| return "" |
| } |
| |
| func (m *AssetState) GetState() State { |
| if m != nil { |
| return m.State |
| } |
| return State_STATE_INVALID |
| } |
| |
| func init() { |
| proto.RegisterEnum("fleet.State", State_name, State_value) |
| proto.RegisterType((*AssetState)(nil), "fleet.AssetState") |
| } |
| |
| func init() { |
| proto.RegisterFile("infra/libs/fleet/protos/state.proto", fileDescriptor_adf13d498a2eb2b7) |
| } |
| |
| var fileDescriptor_adf13d498a2eb2b7 = []byte{ |
| // 175 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xce, 0xcc, 0x4b, 0x2b, |
| 0x4a, 0xd4, 0xcf, 0xc9, 0x4c, 0x2a, 0xd6, 0x4f, 0xcb, 0x49, 0x4d, 0x2d, 0xd1, 0x2f, 0x28, 0xca, |
| 0x2f, 0xc9, 0x2f, 0xd6, 0x2f, 0x2e, 0x49, 0x2c, 0x49, 0xd5, 0x03, 0x73, 0x84, 0x58, 0xc1, 0x32, |
| 0x4a, 0x0e, 0x5c, 0x5c, 0x8e, 0xc5, 0xc5, 0xa9, 0x25, 0xc1, 0x20, 0x29, 0x21, 0x3e, 0x2e, 0xa6, |
| 0xcc, 0x14, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0xa6, 0xcc, 0x14, 0x21, 0x25, 0x2e, 0x56, |
| 0xb0, 0x1e, 0x09, 0x26, 0x05, 0x46, 0x0d, 0x3e, 0x23, 0x1e, 0x3d, 0xb0, 0x26, 0x3d, 0xb0, 0xe2, |
| 0x20, 0x88, 0x94, 0x96, 0x0b, 0x17, 0x2b, 0x44, 0xb3, 0x20, 0x17, 0x6f, 0x70, 0x88, 0x63, 0x88, |
| 0x6b, 0xbc, 0xa7, 0x5f, 0x98, 0xa3, 0x8f, 0xa7, 0x8b, 0x00, 0x83, 0x90, 0x08, 0x97, 0x00, 0x44, |
| 0xc8, 0xdf, 0xcf, 0xc9, 0xdf, 0x31, 0xc8, 0xc5, 0xd3, 0xcf, 0x5d, 0x80, 0x51, 0x48, 0x88, 0x8b, |
| 0x0f, 0x22, 0xea, 0xe2, 0x1a, 0xe0, 0xe3, 0x1f, 0xe9, 0xea, 0x22, 0xc0, 0x94, 0xc4, 0x06, 0x76, |
| 0x95, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xfc, 0x30, 0x77, 0xb3, 0xbc, 0x00, 0x00, 0x00, |
| } |