| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
package typesv1 |
| 8 |
|
| 9 |
import ( |
| 10 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 11 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 12 |
reflect "reflect" |
| 13 |
sync "sync" |
| 14 |
unsafe "unsafe" |
| 15 |
) |
| 16 |
|
| 17 |
const ( |
| 18 |
|
| 19 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 20 |
|
| 21 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 22 |
) |
| 23 |
|
| 24 |
type ReleaseChannel struct { |
| 25 |
state protoimpl.MessageState `protogen:"open.v1"` |
| 26 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 27 |
Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` |
| 28 |
unknownFields protoimpl.UnknownFields |
| 29 |
sizeCache protoimpl.SizeCache |
| 30 |
} |
| 31 |
|
| 32 |
func (x *ReleaseChannel) Reset() { |
| 33 |
*x = ReleaseChannel{} |
| 34 |
mi := &file_types_v1_release_channel_proto_msgTypes[0] |
| 35 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 36 |
ms.StoreMessageInfo(mi) |
| 37 |
} |
| 38 |
|
| 39 |
func (x *ReleaseChannel) String() string { |
| 40 |
return protoimpl.X.MessageStringOf(x) |
| 41 |
} |
| 42 |
|
| 43 |
func (*ReleaseChannel) ProtoMessage() {} |
| 44 |
|
| 45 |
func (x *ReleaseChannel) ProtoReflect() protoreflect.Message { |
| 46 |
mi := &file_types_v1_release_channel_proto_msgTypes[0] |
| 47 |
if x != nil { |
| 48 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 49 |
if ms.LoadMessageInfo() == nil { |
| 50 |
ms.StoreMessageInfo(mi) |
| 51 |
} |
| 52 |
return ms |
| 53 |
} |
| 54 |
return mi.MessageOf(x) |
| 55 |
} |
| 56 |
|
| 57 |
|
| 58 |
func (*ReleaseChannel) Descriptor() ([]byte, []int) { |
| 59 |
return file_types_v1_release_channel_proto_rawDescGZIP(), []int{0} |
| 60 |
} |
| 61 |
|
| 62 |
func (x *ReleaseChannel) GetName() string { |
| 63 |
if x != nil { |
| 64 |
return x.Name |
| 65 |
} |
| 66 |
return "" |
| 67 |
} |
| 68 |
|
| 69 |
func (x *ReleaseChannel) GetPriority() int32 { |
| 70 |
if x != nil { |
| 71 |
return x.Priority |
| 72 |
} |
| 73 |
return 0 |
| 74 |
} |
| 75 |
|
| 76 |
var File_types_v1_release_channel_proto protoreflect.FileDescriptor |
| 77 |
|
| 78 |
var file_types_v1_release_channel_proto_rawDesc = string([]byte{ |
| 79 |
0x0a, 0x1e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, |
| 80 |
0x73, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 81 |
0x12, 0x08, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x40, 0x0a, 0x0e, 0x52, 0x65, |
| 82 |
0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, |
| 83 |
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 84 |
0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, |
| 85 |
0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x93, 0x01, 0x0a, |
| 86 |
0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x52, |
| 87 |
0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x72, 0x6f, |
| 88 |
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, |
| 89 |
0x2f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x6c, 0x6f, 0x67, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 90 |
0x67, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, |
| 91 |
0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x08, 0x54, 0x79, 0x70, 0x65, |
| 92 |
0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x08, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2, |
| 93 |
0x02, 0x14, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, |
| 94 |
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x09, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, |
| 95 |
0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 96 |
}) |
| 97 |
|
| 98 |
var ( |
| 99 |
file_types_v1_release_channel_proto_rawDescOnce sync.Once |
| 100 |
file_types_v1_release_channel_proto_rawDescData []byte |
| 101 |
) |
| 102 |
|
| 103 |
func file_types_v1_release_channel_proto_rawDescGZIP() []byte { |
| 104 |
file_types_v1_release_channel_proto_rawDescOnce.Do(func() { |
| 105 |
file_types_v1_release_channel_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_types_v1_release_channel_proto_rawDesc), len(file_types_v1_release_channel_proto_rawDesc))) |
| 106 |
}) |
| 107 |
return file_types_v1_release_channel_proto_rawDescData |
| 108 |
} |
| 109 |
|
| 110 |
var file_types_v1_release_channel_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 111 |
var file_types_v1_release_channel_proto_goTypes = []any{ |
| 112 |
(*ReleaseChannel)(nil), |
| 113 |
} |
| 114 |
var file_types_v1_release_channel_proto_depIdxs = []int32{ |
| 115 |
0, |
| 116 |
0, |
| 117 |
0, |
| 118 |
0, |
| 119 |
0, |
| 120 |
} |
| 121 |
|
| 122 |
func init() { file_types_v1_release_channel_proto_init() } |
| 123 |
func file_types_v1_release_channel_proto_init() { |
| 124 |
if File_types_v1_release_channel_proto != nil { |
| 125 |
return |
| 126 |
} |
| 127 |
type x struct{} |
| 128 |
out := protoimpl.TypeBuilder{ |
| 129 |
File: protoimpl.DescBuilder{ |
| 130 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 131 |
RawDescriptor: unsafe.Slice(unsafe.StringData(file_types_v1_release_channel_proto_rawDesc), len(file_types_v1_release_channel_proto_rawDesc)), |
| 132 |
NumEnums: 0, |
| 133 |
NumMessages: 1, |
| 134 |
NumExtensions: 0, |
| 135 |
NumServices: 0, |
| 136 |
}, |
| 137 |
GoTypes: file_types_v1_release_channel_proto_goTypes, |
| 138 |
DependencyIndexes: file_types_v1_release_channel_proto_depIdxs, |
| 139 |
MessageInfos: file_types_v1_release_channel_proto_msgTypes, |
| 140 |
}.Build() |
| 141 |
File_types_v1_release_channel_proto = out.File |
| 142 |
file_types_v1_release_channel_proto_goTypes = nil |
| 143 |
file_types_v1_release_channel_proto_depIdxs = nil |
| 144 |
} |