| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: lab/license.proto |
| |
| package lab |
| |
| 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 |
| |
| // Next Tag: 3 |
| type LicenseType int32 |
| |
| const ( |
| LicenseType_LICENSE_TYPE_UNSPECIFIED LicenseType = 0 |
| // Microsoft Windows 10 Professional Desktop Operating System. |
| // Contact the Chrome OS Parallels team for license specifics. |
| LicenseType_LICENSE_TYPE_WINDOWS_10_PRO LicenseType = 1 |
| // Microsoft Office Standard. |
| // Contact the Chrome OS Parallels team for license specifics. |
| LicenseType_LICENSE_TYPE_MS_OFFICE_STANDARD LicenseType = 2 |
| ) |
| |
| var LicenseType_name = map[int32]string{ |
| 0: "LICENSE_TYPE_UNSPECIFIED", |
| 1: "LICENSE_TYPE_WINDOWS_10_PRO", |
| 2: "LICENSE_TYPE_MS_OFFICE_STANDARD", |
| } |
| |
| var LicenseType_value = map[string]int32{ |
| "LICENSE_TYPE_UNSPECIFIED": 0, |
| "LICENSE_TYPE_WINDOWS_10_PRO": 1, |
| "LICENSE_TYPE_MS_OFFICE_STANDARD": 2, |
| } |
| |
| func (x LicenseType) String() string { |
| return proto.EnumName(LicenseType_name, int32(x)) |
| } |
| |
| func (LicenseType) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_1f03ce9038f3d539, []int{0} |
| } |
| |
| // Represents a Software License assigned to a device. |
| // Next Tag: 3 |
| type License struct { |
| Type LicenseType `protobuf:"varint,1,opt,name=type,proto3,enum=lab.LicenseType" json:"type,omitempty"` |
| // An optional string to uniquely identify the license that was assigned, |
| // for tracking purposes. |
| Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *License) Reset() { *m = License{} } |
| func (m *License) String() string { return proto.CompactTextString(m) } |
| func (*License) ProtoMessage() {} |
| func (*License) Descriptor() ([]byte, []int) { |
| return fileDescriptor_1f03ce9038f3d539, []int{0} |
| } |
| |
| func (m *License) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_License.Unmarshal(m, b) |
| } |
| func (m *License) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_License.Marshal(b, m, deterministic) |
| } |
| func (m *License) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_License.Merge(m, src) |
| } |
| func (m *License) XXX_Size() int { |
| return xxx_messageInfo_License.Size(m) |
| } |
| func (m *License) XXX_DiscardUnknown() { |
| xxx_messageInfo_License.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_License proto.InternalMessageInfo |
| |
| func (m *License) GetType() LicenseType { |
| if m != nil { |
| return m.Type |
| } |
| return LicenseType_LICENSE_TYPE_UNSPECIFIED |
| } |
| |
| func (m *License) GetIdentifier() string { |
| if m != nil { |
| return m.Identifier |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterEnum("lab.LicenseType", LicenseType_name, LicenseType_value) |
| proto.RegisterType((*License)(nil), "lab.License") |
| } |
| |
| func init() { proto.RegisterFile("lab/license.proto", fileDescriptor_1f03ce9038f3d539) } |
| |
| var fileDescriptor_1f03ce9038f3d539 = []byte{ |
| // 237 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcc, 0x49, 0x4c, 0xd2, |
| 0xcf, 0xc9, 0x4c, 0x4e, 0xcd, 0x2b, 0x4e, 0xd5, 0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