Remove gogo/protobuf (#773)

This commit is contained in:
Jesse Peterson
2021-10-16 13:21:24 -07:00
committed by GitHub
parent 6e51f09e5f
commit 5daf4d1c84
59 changed files with 9025 additions and 22291 deletions

View File

@@ -1,71 +1,157 @@
// Code generated by protoc-gen-go.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.18.1
// source: command_queued.proto
// DO NOT EDIT!
/*
Package commandqueued is a generated protocol buffer package.
It is generated from these files:
command_queued.proto
It has these top-level messages:
CommandQueued
*/
package commandqueued
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type CommandQueued struct {
DeviceUdid string `protobuf:"bytes,1,opt,name=device_udid,json=deviceUdid" json:"device_udid,omitempty"`
CommandUuid string `protobuf:"bytes,2,opt,name=command_uuid,json=commandUuid" json:"command_uuid,omitempty"`
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DeviceUdid string `protobuf:"bytes,1,opt,name=device_udid,json=deviceUdid,proto3" json:"device_udid,omitempty"`
CommandUuid string `protobuf:"bytes,2,opt,name=command_uuid,json=commandUuid,proto3" json:"command_uuid,omitempty"`
}
func (m *CommandQueued) Reset() { *m = CommandQueued{} }
func (m *CommandQueued) String() string { return proto.CompactTextString(m) }
func (*CommandQueued) ProtoMessage() {}
func (*CommandQueued) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (x *CommandQueued) Reset() {
*x = CommandQueued{}
if protoimpl.UnsafeEnabled {
mi := &file_command_queued_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (m *CommandQueued) GetDeviceUdid() string {
if m != nil {
return m.DeviceUdid
func (x *CommandQueued) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CommandQueued) ProtoMessage() {}
func (x *CommandQueued) ProtoReflect() protoreflect.Message {
mi := &file_command_queued_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CommandQueued.ProtoReflect.Descriptor instead.
func (*CommandQueued) Descriptor() ([]byte, []int) {
return file_command_queued_proto_rawDescGZIP(), []int{0}
}
func (x *CommandQueued) GetDeviceUdid() string {
if x != nil {
return x.DeviceUdid
}
return ""
}
func (m *CommandQueued) GetCommandUuid() string {
if m != nil {
return m.CommandUuid
func (x *CommandQueued) GetCommandUuid() string {
if x != nil {
return x.CommandUuid
}
return ""
}
func init() {
proto.RegisterType((*CommandQueued)(nil), "commandqueued.CommandQueued")
var File_command_queued_proto protoreflect.FileDescriptor
var file_command_queued_proto_rawDesc = []byte{
0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x64,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x71,
0x75, 0x65, 0x75, 0x65, 0x64, 0x22, 0x53, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
0x51, 0x75, 0x65, 0x75, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
0x5f, 0x75, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76,
0x69, 0x63, 0x65, 0x55, 0x64, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
0x6e, 0x64, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63,
0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x55, 0x75, 0x69, 0x64, 0x42, 0x44, 0x5a, 0x42, 0x67, 0x69,
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x6d, 0x64,
0x6d, 0x2f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x6d, 0x64, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66,
0x6f, 0x72, 0x6d, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
0x61, 0x6c, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x71, 0x75, 0x65, 0x75, 0x65, 0x64,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
func init() { proto.RegisterFile("command_queued.proto", fileDescriptor0) }
var (
file_command_queued_proto_rawDescOnce sync.Once
file_command_queued_proto_rawDescData = file_command_queued_proto_rawDesc
)
var fileDescriptor0 = []byte{
// 117 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x49, 0xce, 0xcf, 0xcd,
0x4d, 0xcc, 0x4b, 0x89, 0x2f, 0x2c, 0x4d, 0x2d, 0x4d, 0x4d, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9,
0x17, 0xe2, 0x85, 0x8a, 0x42, 0x04, 0x95, 0x82, 0xb9, 0x78, 0x9d, 0x21, 0x02, 0x81, 0x60, 0x01,
0x21, 0x79, 0x2e, 0xee, 0x94, 0xd4, 0xb2, 0xcc, 0xe4, 0xd4, 0xf8, 0xd2, 0x94, 0xcc, 0x14, 0x09,
0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x2e, 0x88, 0x50, 0x68, 0x4a, 0x66, 0x8a, 0x90, 0x22, 0x17,
0x0f, 0xcc, 0xe0, 0xd2, 0xd2, 0xcc, 0x14, 0x09, 0x26, 0xb0, 0x0a, 0x6e, 0xa8, 0x58, 0x68, 0x69,
0x66, 0x4a, 0x12, 0x1b, 0xd8, 0x2a, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6e, 0x34, 0x2e,
0x49, 0x82, 0x00, 0x00, 0x00,
func file_command_queued_proto_rawDescGZIP() []byte {
file_command_queued_proto_rawDescOnce.Do(func() {
file_command_queued_proto_rawDescData = protoimpl.X.CompressGZIP(file_command_queued_proto_rawDescData)
})
return file_command_queued_proto_rawDescData
}
var file_command_queued_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_command_queued_proto_goTypes = []interface{}{
(*CommandQueued)(nil), // 0: commandqueued.CommandQueued
}
var file_command_queued_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_command_queued_proto_init() }
func file_command_queued_proto_init() {
if File_command_queued_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_command_queued_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CommandQueued); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_command_queued_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_command_queued_proto_goTypes,
DependencyIndexes: file_command_queued_proto_depIdxs,
MessageInfos: file_command_queued_proto_msgTypes,
}.Build()
File_command_queued_proto = out.File
file_command_queued_proto_rawDesc = nil
file_command_queued_proto_goTypes = nil
file_command_queued_proto_depIdxs = nil
}