Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

285 rindas
10 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/appengine/v1/audit_data.proto
  3. package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/iam/v1"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // App Engine admin service audit log.
  18. type AuditData struct {
  19. // Detailed information about methods that require it. Does not include
  20. // simple Get, List or Delete methods because all significant information
  21. // (resource name, number of returned elements for List operations) is already
  22. // included in parent audit log message.
  23. //
  24. // Types that are valid to be assigned to Method:
  25. // *AuditData_UpdateService
  26. // *AuditData_CreateVersion
  27. Method isAuditData_Method `protobuf_oneof:"method"`
  28. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  29. XXX_unrecognized []byte `json:"-"`
  30. XXX_sizecache int32 `json:"-"`
  31. }
  32. func (m *AuditData) Reset() { *m = AuditData{} }
  33. func (m *AuditData) String() string { return proto.CompactTextString(m) }
  34. func (*AuditData) ProtoMessage() {}
  35. func (*AuditData) Descriptor() ([]byte, []int) {
  36. return fileDescriptor_audit_data_9496dc755f7c7674, []int{0}
  37. }
  38. func (m *AuditData) XXX_Unmarshal(b []byte) error {
  39. return xxx_messageInfo_AuditData.Unmarshal(m, b)
  40. }
  41. func (m *AuditData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  42. return xxx_messageInfo_AuditData.Marshal(b, m, deterministic)
  43. }
  44. func (dst *AuditData) XXX_Merge(src proto.Message) {
  45. xxx_messageInfo_AuditData.Merge(dst, src)
  46. }
  47. func (m *AuditData) XXX_Size() int {
  48. return xxx_messageInfo_AuditData.Size(m)
  49. }
  50. func (m *AuditData) XXX_DiscardUnknown() {
  51. xxx_messageInfo_AuditData.DiscardUnknown(m)
  52. }
  53. var xxx_messageInfo_AuditData proto.InternalMessageInfo
  54. type isAuditData_Method interface {
  55. isAuditData_Method()
  56. }
  57. type AuditData_UpdateService struct {
  58. UpdateService *UpdateServiceMethod `protobuf:"bytes,1,opt,name=update_service,json=updateService,proto3,oneof"`
  59. }
  60. type AuditData_CreateVersion struct {
  61. CreateVersion *CreateVersionMethod `protobuf:"bytes,2,opt,name=create_version,json=createVersion,proto3,oneof"`
  62. }
  63. func (*AuditData_UpdateService) isAuditData_Method() {}
  64. func (*AuditData_CreateVersion) isAuditData_Method() {}
  65. func (m *AuditData) GetMethod() isAuditData_Method {
  66. if m != nil {
  67. return m.Method
  68. }
  69. return nil
  70. }
  71. func (m *AuditData) GetUpdateService() *UpdateServiceMethod {
  72. if x, ok := m.GetMethod().(*AuditData_UpdateService); ok {
  73. return x.UpdateService
  74. }
  75. return nil
  76. }
  77. func (m *AuditData) GetCreateVersion() *CreateVersionMethod {
  78. if x, ok := m.GetMethod().(*AuditData_CreateVersion); ok {
  79. return x.CreateVersion
  80. }
  81. return nil
  82. }
  83. // XXX_OneofFuncs is for the internal use of the proto package.
  84. func (*AuditData) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  85. return _AuditData_OneofMarshaler, _AuditData_OneofUnmarshaler, _AuditData_OneofSizer, []interface{}{
  86. (*AuditData_UpdateService)(nil),
  87. (*AuditData_CreateVersion)(nil),
  88. }
  89. }
  90. func _AuditData_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  91. m := msg.(*AuditData)
  92. // method
  93. switch x := m.Method.(type) {
  94. case *AuditData_UpdateService:
  95. b.EncodeVarint(1<<3 | proto.WireBytes)
  96. if err := b.EncodeMessage(x.UpdateService); err != nil {
  97. return err
  98. }
  99. case *AuditData_CreateVersion:
  100. b.EncodeVarint(2<<3 | proto.WireBytes)
  101. if err := b.EncodeMessage(x.CreateVersion); err != nil {
  102. return err
  103. }
  104. case nil:
  105. default:
  106. return fmt.Errorf("AuditData.Method has unexpected type %T", x)
  107. }
  108. return nil
  109. }
  110. func _AuditData_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  111. m := msg.(*AuditData)
  112. switch tag {
  113. case 1: // method.update_service
  114. if wire != proto.WireBytes {
  115. return true, proto.ErrInternalBadWireType
  116. }
  117. msg := new(UpdateServiceMethod)
  118. err := b.DecodeMessage(msg)
  119. m.Method = &AuditData_UpdateService{msg}
  120. return true, err
  121. case 2: // method.create_version
  122. if wire != proto.WireBytes {
  123. return true, proto.ErrInternalBadWireType
  124. }
  125. msg := new(CreateVersionMethod)
  126. err := b.DecodeMessage(msg)
  127. m.Method = &AuditData_CreateVersion{msg}
  128. return true, err
  129. default:
  130. return false, nil
  131. }
  132. }
  133. func _AuditData_OneofSizer(msg proto.Message) (n int) {
  134. m := msg.(*AuditData)
  135. // method
  136. switch x := m.Method.(type) {
  137. case *AuditData_UpdateService:
  138. s := proto.Size(x.UpdateService)
  139. n += 1 // tag and wire
  140. n += proto.SizeVarint(uint64(s))
  141. n += s
  142. case *AuditData_CreateVersion:
  143. s := proto.Size(x.CreateVersion)
  144. n += 1 // tag and wire
  145. n += proto.SizeVarint(uint64(s))
  146. n += s
  147. case nil:
  148. default:
  149. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  150. }
  151. return n
  152. }
  153. // Detailed information about UpdateService call.
  154. type UpdateServiceMethod struct {
  155. // Update service request.
  156. Request *UpdateServiceRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
  157. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  158. XXX_unrecognized []byte `json:"-"`
  159. XXX_sizecache int32 `json:"-"`
  160. }
  161. func (m *UpdateServiceMethod) Reset() { *m = UpdateServiceMethod{} }
  162. func (m *UpdateServiceMethod) String() string { return proto.CompactTextString(m) }
  163. func (*UpdateServiceMethod) ProtoMessage() {}
  164. func (*UpdateServiceMethod) Descriptor() ([]byte, []int) {
  165. return fileDescriptor_audit_data_9496dc755f7c7674, []int{1}
  166. }
  167. func (m *UpdateServiceMethod) XXX_Unmarshal(b []byte) error {
  168. return xxx_messageInfo_UpdateServiceMethod.Unmarshal(m, b)
  169. }
  170. func (m *UpdateServiceMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  171. return xxx_messageInfo_UpdateServiceMethod.Marshal(b, m, deterministic)
  172. }
  173. func (dst *UpdateServiceMethod) XXX_Merge(src proto.Message) {
  174. xxx_messageInfo_UpdateServiceMethod.Merge(dst, src)
  175. }
  176. func (m *UpdateServiceMethod) XXX_Size() int {
  177. return xxx_messageInfo_UpdateServiceMethod.Size(m)
  178. }
  179. func (m *UpdateServiceMethod) XXX_DiscardUnknown() {
  180. xxx_messageInfo_UpdateServiceMethod.DiscardUnknown(m)
  181. }
  182. var xxx_messageInfo_UpdateServiceMethod proto.InternalMessageInfo
  183. func (m *UpdateServiceMethod) GetRequest() *UpdateServiceRequest {
  184. if m != nil {
  185. return m.Request
  186. }
  187. return nil
  188. }
  189. // Detailed information about CreateVersion call.
  190. type CreateVersionMethod struct {
  191. // Create version request.
  192. Request *CreateVersionRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
  193. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  194. XXX_unrecognized []byte `json:"-"`
  195. XXX_sizecache int32 `json:"-"`
  196. }
  197. func (m *CreateVersionMethod) Reset() { *m = CreateVersionMethod{} }
  198. func (m *CreateVersionMethod) String() string { return proto.CompactTextString(m) }
  199. func (*CreateVersionMethod) ProtoMessage() {}
  200. func (*CreateVersionMethod) Descriptor() ([]byte, []int) {
  201. return fileDescriptor_audit_data_9496dc755f7c7674, []int{2}
  202. }
  203. func (m *CreateVersionMethod) XXX_Unmarshal(b []byte) error {
  204. return xxx_messageInfo_CreateVersionMethod.Unmarshal(m, b)
  205. }
  206. func (m *CreateVersionMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  207. return xxx_messageInfo_CreateVersionMethod.Marshal(b, m, deterministic)
  208. }
  209. func (dst *CreateVersionMethod) XXX_Merge(src proto.Message) {
  210. xxx_messageInfo_CreateVersionMethod.Merge(dst, src)
  211. }
  212. func (m *CreateVersionMethod) XXX_Size() int {
  213. return xxx_messageInfo_CreateVersionMethod.Size(m)
  214. }
  215. func (m *CreateVersionMethod) XXX_DiscardUnknown() {
  216. xxx_messageInfo_CreateVersionMethod.DiscardUnknown(m)
  217. }
  218. var xxx_messageInfo_CreateVersionMethod proto.InternalMessageInfo
  219. func (m *CreateVersionMethod) GetRequest() *CreateVersionRequest {
  220. if m != nil {
  221. return m.Request
  222. }
  223. return nil
  224. }
  225. func init() {
  226. proto.RegisterType((*AuditData)(nil), "google.appengine.v1.AuditData")
  227. proto.RegisterType((*UpdateServiceMethod)(nil), "google.appengine.v1.UpdateServiceMethod")
  228. proto.RegisterType((*CreateVersionMethod)(nil), "google.appengine.v1.CreateVersionMethod")
  229. }
  230. func init() {
  231. proto.RegisterFile("google/appengine/v1/audit_data.proto", fileDescriptor_audit_data_9496dc755f7c7674)
  232. }
  233. var fileDescriptor_audit_data_9496dc755f7c7674 = []byte{
  234. // 290 bytes of a gzipped FileDescriptorProto
  235. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xb1, 0x4e, 0xc3, 0x30,
  236. 0x10, 0x86, 0x09, 0x43, 0x01, 0x23, 0x3a, 0xa4, 0x03, 0x55, 0x07, 0x84, 0x0a, 0x43, 0x59, 0x1c,
  237. 0x15, 0x46, 0x58, 0x48, 0x19, 0x58, 0x90, 0x4a, 0x10, 0x0c, 0x5d, 0xa2, 0x23, 0x39, 0x19, 0x4b,
  238. 0x49, 0x6c, 0x1c, 0x27, 0x12, 0xcf, 0xc6, 0xcb, 0x21, 0xdb, 0x21, 0xb4, 0xc8, 0x82, 0x8e, 0xb9,
  239. 0xfb, 0xfe, 0x2f, 0xbf, 0x74, 0x26, 0xe7, 0x4c, 0x08, 0x56, 0x60, 0x04, 0x52, 0x62, 0xc5, 0x78,
  240. 0x85, 0x51, 0x3b, 0x8f, 0xa0, 0xc9, 0xb9, 0x4e, 0x73, 0xd0, 0x40, 0xa5, 0x12, 0x5a, 0x84, 0x23,
  241. 0x47, 0xd1, 0x9e, 0xa2, 0xed, 0x7c, 0x72, 0xe6, 0x8d, 0xf6, 0x84, 0x4d, 0x4e, 0x4e, 0x3a, 0x88,
  242. 0x43, 0x69, 0xd6, 0x1c, 0xca, 0x54, 0x8a, 0x82, 0x67, 0x1f, 0x6e, 0x3f, 0xfd, 0x0c, 0xc8, 0xc1,
  243. 0xad, 0xf9, 0xdd, 0x1d, 0x68, 0x08, 0x1f, 0xc9, 0xb0, 0x91, 0x39, 0x68, 0x4c, 0x6b, 0x54, 0x2d,
  244. 0xcf, 0x70, 0x1c, 0x9c, 0x06, 0xb3, 0xc3, 0xcb, 0x19, 0xf5, 0x14, 0xa0, 0xcf, 0x16, 0x7d, 0x72,
  245. 0xe4, 0x03, 0xea, 0x37, 0x91, 0xdf, 0xef, 0x24, 0x47, 0xcd, 0xfa, 0xd8, 0x28, 0x33, 0x85, 0x46,
  246. 0xd9, 0xa2, 0xaa, 0xb9, 0xa8, 0xc6, 0xbb, 0x7f, 0x28, 0x17, 0x16, 0x7d, 0x71, 0xe4, 0x8f, 0x32,
  247. 0x5b, 0x1f, 0xc7, 0xfb, 0x64, 0x50, 0xda, 0xd5, 0x74, 0x45, 0x46, 0x9e, 0x12, 0xe1, 0x82, 0xec,
  248. 0x29, 0x7c, 0x6f, 0xb0, 0xd6, 0x5d, 0xff, 0x8b, 0xff, 0xfb, 0x27, 0x2e, 0x90, 0x7c, 0x27, 0x8d,
  249. 0xdb, 0xd3, 0x66, 0x5b, 0xf7, 0x46, 0xf4, 0xb7, 0x3b, 0xe6, 0xe4, 0x38, 0x13, 0xa5, 0x2f, 0x18,
  250. 0x0f, 0xfb, 0x6b, 0x2c, 0xcd, 0x81, 0x96, 0xc1, 0xea, 0xa6, 0xc3, 0x98, 0x28, 0xa0, 0x62, 0x54,
  251. 0x28, 0x16, 0x31, 0xac, 0xec, 0xf9, 0x22, 0xb7, 0x02, 0xc9, 0xeb, 0x8d, 0x67, 0x70, 0xdd, 0x7f,
  252. 0xbc, 0x0e, 0x2c, 0x78, 0xf5, 0x15, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x56, 0x80, 0x49, 0x69, 0x02,
  253. 0x00, 0x00,
  254. }