1
2
3
4
5
6
7 package proto
8
9 import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 emptypb "google.golang.org/protobuf/types/known/emptypb"
13 reflect "reflect"
14 sync "sync"
15 )
16
17 const (
18
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22 )
23
24 type PurgeRequest struct {
25 state protoimpl.MessageState
26 sizeCache protoimpl.SizeCache
27 unknownFields protoimpl.UnknownFields
28
29 Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"`
30 }
31
32 func (x *PurgeRequest) Reset() {
33 *x = PurgeRequest{}
34 if protoimpl.UnsafeEnabled {
35 mi := &file_akamai_proto_msgTypes[0]
36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
37 ms.StoreMessageInfo(mi)
38 }
39 }
40
41 func (x *PurgeRequest) String() string {
42 return protoimpl.X.MessageStringOf(x)
43 }
44
45 func (*PurgeRequest) ProtoMessage() {}
46
47 func (x *PurgeRequest) ProtoReflect() protoreflect.Message {
48 mi := &file_akamai_proto_msgTypes[0]
49 if protoimpl.UnsafeEnabled && x != nil {
50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51 if ms.LoadMessageInfo() == nil {
52 ms.StoreMessageInfo(mi)
53 }
54 return ms
55 }
56 return mi.MessageOf(x)
57 }
58
59
60 func (*PurgeRequest) Descriptor() ([]byte, []int) {
61 return file_akamai_proto_rawDescGZIP(), []int{0}
62 }
63
64 func (x *PurgeRequest) GetUrls() []string {
65 if x != nil {
66 return x.Urls
67 }
68 return nil
69 }
70
71 var File_akamai_proto protoreflect.FileDescriptor
72
73 var file_akamai_proto_rawDesc = []byte{
74 0x0a, 0x0c, 0x61, 0x6b, 0x61, 0x6d, 0x61, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
75 0x61, 0x6b, 0x61, 0x6d, 0x61, 0x69, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
76 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72,
77 0x6f, 0x74, 0x6f, 0x22, 0x22, 0x0a, 0x0c, 0x50, 0x75, 0x72, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75,
78 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
79 0x09, 0x52, 0x04, 0x75, 0x72, 0x6c, 0x73, 0x32, 0x47, 0x0a, 0x0c, 0x41, 0x6b, 0x61, 0x6d, 0x61,
80 0x69, 0x50, 0x75, 0x72, 0x67, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x05, 0x50, 0x75, 0x72, 0x67, 0x65,
81 0x12, 0x14, 0x2e, 0x61, 0x6b, 0x61, 0x6d, 0x61, 0x69, 0x2e, 0x50, 0x75, 0x72, 0x67, 0x65, 0x52,
82 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
83 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00,
84 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c,
85 0x65, 0x74, 0x73, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x2f, 0x62, 0x6f, 0x75, 0x6c, 0x64,
86 0x65, 0x72, 0x2f, 0x61, 0x6b, 0x61, 0x6d, 0x61, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
87 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
88 }
89
90 var (
91 file_akamai_proto_rawDescOnce sync.Once
92 file_akamai_proto_rawDescData = file_akamai_proto_rawDesc
93 )
94
95 func file_akamai_proto_rawDescGZIP() []byte {
96 file_akamai_proto_rawDescOnce.Do(func() {
97 file_akamai_proto_rawDescData = protoimpl.X.CompressGZIP(file_akamai_proto_rawDescData)
98 })
99 return file_akamai_proto_rawDescData
100 }
101
102 var file_akamai_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
103 var file_akamai_proto_goTypes = []interface{}{
104 (*PurgeRequest)(nil),
105 (*emptypb.Empty)(nil),
106 }
107 var file_akamai_proto_depIdxs = []int32{
108 0,
109 1,
110 1,
111 0,
112 0,
113 0,
114 0,
115 }
116
117 func init() { file_akamai_proto_init() }
118 func file_akamai_proto_init() {
119 if File_akamai_proto != nil {
120 return
121 }
122 if !protoimpl.UnsafeEnabled {
123 file_akamai_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
124 switch v := v.(*PurgeRequest); i {
125 case 0:
126 return &v.state
127 case 1:
128 return &v.sizeCache
129 case 2:
130 return &v.unknownFields
131 default:
132 return nil
133 }
134 }
135 }
136 type x struct{}
137 out := protoimpl.TypeBuilder{
138 File: protoimpl.DescBuilder{
139 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
140 RawDescriptor: file_akamai_proto_rawDesc,
141 NumEnums: 0,
142 NumMessages: 1,
143 NumExtensions: 0,
144 NumServices: 1,
145 },
146 GoTypes: file_akamai_proto_goTypes,
147 DependencyIndexes: file_akamai_proto_depIdxs,
148 MessageInfos: file_akamai_proto_msgTypes,
149 }.Build()
150 File_akamai_proto = out.File
151 file_akamai_proto_rawDesc = nil
152 file_akamai_proto_goTypes = nil
153 file_akamai_proto_depIdxs = nil
154 }
155
View as plain text