OSDN Git Service

new repo
[bytom/vapor.git] / vendor / google.golang.org / genproto / googleapis / api / configchange / config_change.pb.go
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/api/config_change.proto
3
4 /*
5 Package configchange is a generated protocol buffer package.
6
7 It is generated from these files:
8         google/api/config_change.proto
9
10 It has these top-level messages:
11         ConfigChange
12         Advice
13 */
14 package configchange
15
16 import proto "github.com/golang/protobuf/proto"
17 import fmt "fmt"
18 import math "math"
19
20 // Reference imports to suppress errors if they are not otherwise used.
21 var _ = proto.Marshal
22 var _ = fmt.Errorf
23 var _ = math.Inf
24
25 // This is a compile-time assertion to ensure that this generated file
26 // is compatible with the proto package it is being compiled against.
27 // A compilation error at this line likely means your copy of the
28 // proto package needs to be updated.
29 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
30
31 // Classifies set of possible modifications to an object in the service
32 // configuration.
33 type ChangeType int32
34
35 const (
36         // No value was provided.
37         ChangeType_CHANGE_TYPE_UNSPECIFIED ChangeType = 0
38         // The changed object exists in the 'new' service configuration, but not
39         // in the 'old' service configuration.
40         ChangeType_ADDED ChangeType = 1
41         // The changed object exists in the 'old' service configuration, but not
42         // in the 'new' service configuration.
43         ChangeType_REMOVED ChangeType = 2
44         // The changed object exists in both service configurations, but its value
45         // is different.
46         ChangeType_MODIFIED ChangeType = 3
47 )
48
49 var ChangeType_name = map[int32]string{
50         0: "CHANGE_TYPE_UNSPECIFIED",
51         1: "ADDED",
52         2: "REMOVED",
53         3: "MODIFIED",
54 }
55 var ChangeType_value = map[string]int32{
56         "CHANGE_TYPE_UNSPECIFIED": 0,
57         "ADDED":                   1,
58         "REMOVED":                 2,
59         "MODIFIED":                3,
60 }
61
62 func (x ChangeType) String() string {
63         return proto.EnumName(ChangeType_name, int32(x))
64 }
65 func (ChangeType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
66
67 // Output generated from semantically comparing two versions of a service
68 // configuration.
69 //
70 // Includes detailed information about a field that have changed with
71 // applicable advice about potential consequences for the change, such as
72 // backwards-incompatibility.
73 type ConfigChange struct {
74         // Object hierarchy path to the change, with levels separated by a '.'
75         // character. For repeated fields, an applicable unique identifier field is
76         // used for the index (usually selector, name, or id). For maps, the term
77         // 'key' is used. If the field has no unique identifier, the numeric index
78         // is used.
79         // Examples:
80         // - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction
81         // - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
82         // - logging.producer_destinations[0]
83         Element string `protobuf:"bytes,1,opt,name=element" json:"element,omitempty"`
84         // Value of the changed object in the old Service configuration,
85         // in JSON format. This field will not be populated if ChangeType == ADDED.
86         OldValue string `protobuf:"bytes,2,opt,name=old_value,json=oldValue" json:"old_value,omitempty"`
87         // Value of the changed object in the new Service configuration,
88         // in JSON format. This field will not be populated if ChangeType == REMOVED.
89         NewValue string `protobuf:"bytes,3,opt,name=new_value,json=newValue" json:"new_value,omitempty"`
90         // The type for this change, either ADDED, REMOVED, or MODIFIED.
91         ChangeType ChangeType `protobuf:"varint,4,opt,name=change_type,json=changeType,enum=google.api.ChangeType" json:"change_type,omitempty"`
92         // Collection of advice provided for this change, useful for determining the
93         // possible impact of this change.
94         Advices []*Advice `protobuf:"bytes,5,rep,name=advices" json:"advices,omitempty"`
95 }
96
97 func (m *ConfigChange) Reset()                    { *m = ConfigChange{} }
98 func (m *ConfigChange) String() string            { return proto.CompactTextString(m) }
99 func (*ConfigChange) ProtoMessage()               {}
100 func (*ConfigChange) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
101
102 func (m *ConfigChange) GetElement() string {
103         if m != nil {
104                 return m.Element
105         }
106         return ""
107 }
108
109 func (m *ConfigChange) GetOldValue() string {
110         if m != nil {
111                 return m.OldValue
112         }
113         return ""
114 }
115
116 func (m *ConfigChange) GetNewValue() string {
117         if m != nil {
118                 return m.NewValue
119         }
120         return ""
121 }
122
123 func (m *ConfigChange) GetChangeType() ChangeType {
124         if m != nil {
125                 return m.ChangeType
126         }
127         return ChangeType_CHANGE_TYPE_UNSPECIFIED
128 }
129
130 func (m *ConfigChange) GetAdvices() []*Advice {
131         if m != nil {
132                 return m.Advices
133         }
134         return nil
135 }
136
137 // Generated advice about this change, used for providing more
138 // information about how a change will affect the existing service.
139 type Advice struct {
140         // Useful description for why this advice was applied and what actions should
141         // be taken to mitigate any implied risks.
142         Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
143 }
144
145 func (m *Advice) Reset()                    { *m = Advice{} }
146 func (m *Advice) String() string            { return proto.CompactTextString(m) }
147 func (*Advice) ProtoMessage()               {}
148 func (*Advice) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
149
150 func (m *Advice) GetDescription() string {
151         if m != nil {
152                 return m.Description
153         }
154         return ""
155 }
156
157 func init() {
158         proto.RegisterType((*ConfigChange)(nil), "google.api.ConfigChange")
159         proto.RegisterType((*Advice)(nil), "google.api.Advice")
160         proto.RegisterEnum("google.api.ChangeType", ChangeType_name, ChangeType_value)
161 }
162
163 func init() { proto.RegisterFile("google/api/config_change.proto", fileDescriptor0) }
164
165 var fileDescriptor0 = []byte{
166         // 338 bytes of a gzipped FileDescriptorProto
167         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x91, 0xcd, 0x4e, 0xc2, 0x40,
168         0x14, 0x85, 0x2d, 0xff, 0xdc, 0x12, 0x82, 0xb3, 0xd0, 0x26, 0x24, 0xa6, 0x61, 0x45, 0x88, 0x69,
169         0x13, 0x5c, 0xb8, 0x70, 0x55, 0xda, 0x8a, 0x2c, 0x80, 0xa6, 0x22, 0x89, 0x6e, 0x9a, 0xb1, 0x1d,
170         0xc7, 0x49, 0xca, 0xcc, 0x08, 0x15, 0xc2, 0xeb, 0xf8, 0x36, 0xbe, 0x95, 0xa1, 0x03, 0xd2, 0xdd,
171         0x9c, 0xf9, 0xce, 0xcd, 0x3d, 0x39, 0x17, 0x6e, 0xa8, 0x10, 0x34, 0x25, 0x36, 0x96, 0xcc, 0x8e,
172         0x05, 0xff, 0x60, 0x34, 0x8a, 0x3f, 0x31, 0xa7, 0xc4, 0x92, 0x6b, 0x91, 0x09, 0x04, 0x8a, 0x5b,
173         0x58, 0xb2, 0xde, 0xaf, 0x06, 0x2d, 0x37, 0xf7, 0xb8, 0xb9, 0x05, 0x19, 0x50, 0x27, 0x29, 0x59,
174         0x11, 0x9e, 0x19, 0x9a, 0xa9, 0xf5, 0x9b, 0xe1, 0x49, 0xa2, 0x2e, 0x34, 0x45, 0x9a, 0x44, 0x5b,
175         0x9c, 0x7e, 0x13, 0xa3, 0x94, 0xb3, 0x86, 0x48, 0x93, 0xe5, 0x41, 0x1f, 0x20, 0x27, 0xbb, 0x23,
176         0x2c, 0x2b, 0xc8, 0xc9, 0x4e, 0xc1, 0x7b, 0xd0, 0x55, 0x80, 0x28, 0xdb, 0x4b, 0x62, 0x54, 0x4c,
177         0xad, 0xdf, 0x1e, 0x5e, 0x59, 0xe7, 0x18, 0x96, 0x5a, 0xbe, 0xd8, 0x4b, 0x12, 0x42, 0xfc, 0xff,
178         0x46, 0xb7, 0x50, 0xc7, 0xc9, 0x96, 0xc5, 0x64, 0x63, 0x54, 0xcd, 0x72, 0x5f, 0x1f, 0xa2, 0xe2,
179         0x90, 0x93, 0xa3, 0xf0, 0x64, 0xe9, 0x0d, 0xa0, 0xa6, 0xbe, 0x90, 0x09, 0x7a, 0x42, 0x36, 0xf1,
180         0x9a, 0xc9, 0x8c, 0x09, 0x7e, 0x0c, 0x5b, 0xfc, 0x1a, 0xcc, 0x01, 0xce, 0x3b, 0x51, 0x17, 0xae,
181         0xdd, 0x27, 0x67, 0x36, 0xf6, 0xa3, 0xc5, 0x6b, 0xe0, 0x47, 0x2f, 0xb3, 0xe7, 0xc0, 0x77, 0x27,
182         0x8f, 0x13, 0xdf, 0xeb, 0x5c, 0xa0, 0x26, 0x54, 0x1d, 0xcf, 0xf3, 0xbd, 0x8e, 0x86, 0x74, 0xa8,
183         0x87, 0xfe, 0x74, 0xbe, 0xf4, 0xbd, 0x4e, 0x09, 0xb5, 0xa0, 0x31, 0x9d, 0x7b, 0xca, 0x55, 0x1e,
184         0x7d, 0x41, 0x3b, 0x16, 0xab, 0x42, 0xbc, 0xd1, 0x65, 0xb1, 0xd7, 0xe0, 0xd0, 0x7c, 0xa0, 0xbd,
185         0xb9, 0x47, 0x03, 0x15, 0x29, 0xe6, 0xd4, 0x12, 0x6b, 0x6a, 0x53, 0xc2, 0xf3, 0xbb, 0xd8, 0x0a,
186         0x61, 0xc9, 0x36, 0x85, 0xd3, 0xa9, 0x36, 0x1e, 0x8a, 0xe2, 0xa7, 0x54, 0x19, 0x3b, 0xc1, 0xe4,
187         0xbd, 0x96, 0x8f, 0xdd, 0xfd, 0x05, 0x00, 0x00, 0xff, 0xff, 0x46, 0x8b, 0xd3, 0xf5, 0xf0, 0x01,
188         0x00, 0x00,
189 }