You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

113 lines
5.1 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/errors/database_error.proto
  3. package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. // Enum describing possible database errors.
  17. type DatabaseErrorEnum_DatabaseError int32
  18. const (
  19. // Enum unspecified.
  20. DatabaseErrorEnum_UNSPECIFIED DatabaseErrorEnum_DatabaseError = 0
  21. // The received error code is not known in this version.
  22. DatabaseErrorEnum_UNKNOWN DatabaseErrorEnum_DatabaseError = 1
  23. // Multiple requests were attempting to modify the same resource at once.
  24. // Please retry the request.
  25. DatabaseErrorEnum_CONCURRENT_MODIFICATION DatabaseErrorEnum_DatabaseError = 2
  26. )
  27. var DatabaseErrorEnum_DatabaseError_name = map[int32]string{
  28. 0: "UNSPECIFIED",
  29. 1: "UNKNOWN",
  30. 2: "CONCURRENT_MODIFICATION",
  31. }
  32. var DatabaseErrorEnum_DatabaseError_value = map[string]int32{
  33. "UNSPECIFIED": 0,
  34. "UNKNOWN": 1,
  35. "CONCURRENT_MODIFICATION": 2,
  36. }
  37. func (x DatabaseErrorEnum_DatabaseError) String() string {
  38. return proto.EnumName(DatabaseErrorEnum_DatabaseError_name, int32(x))
  39. }
  40. func (DatabaseErrorEnum_DatabaseError) EnumDescriptor() ([]byte, []int) {
  41. return fileDescriptor_database_error_5ee1f2b1a72c664f, []int{0, 0}
  42. }
  43. // Container for enum describing possible database errors.
  44. type DatabaseErrorEnum struct {
  45. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  46. XXX_unrecognized []byte `json:"-"`
  47. XXX_sizecache int32 `json:"-"`
  48. }
  49. func (m *DatabaseErrorEnum) Reset() { *m = DatabaseErrorEnum{} }
  50. func (m *DatabaseErrorEnum) String() string { return proto.CompactTextString(m) }
  51. func (*DatabaseErrorEnum) ProtoMessage() {}
  52. func (*DatabaseErrorEnum) Descriptor() ([]byte, []int) {
  53. return fileDescriptor_database_error_5ee1f2b1a72c664f, []int{0}
  54. }
  55. func (m *DatabaseErrorEnum) XXX_Unmarshal(b []byte) error {
  56. return xxx_messageInfo_DatabaseErrorEnum.Unmarshal(m, b)
  57. }
  58. func (m *DatabaseErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  59. return xxx_messageInfo_DatabaseErrorEnum.Marshal(b, m, deterministic)
  60. }
  61. func (dst *DatabaseErrorEnum) XXX_Merge(src proto.Message) {
  62. xxx_messageInfo_DatabaseErrorEnum.Merge(dst, src)
  63. }
  64. func (m *DatabaseErrorEnum) XXX_Size() int {
  65. return xxx_messageInfo_DatabaseErrorEnum.Size(m)
  66. }
  67. func (m *DatabaseErrorEnum) XXX_DiscardUnknown() {
  68. xxx_messageInfo_DatabaseErrorEnum.DiscardUnknown(m)
  69. }
  70. var xxx_messageInfo_DatabaseErrorEnum proto.InternalMessageInfo
  71. func init() {
  72. proto.RegisterType((*DatabaseErrorEnum)(nil), "google.ads.googleads.v0.errors.DatabaseErrorEnum")
  73. proto.RegisterEnum("google.ads.googleads.v0.errors.DatabaseErrorEnum_DatabaseError", DatabaseErrorEnum_DatabaseError_name, DatabaseErrorEnum_DatabaseError_value)
  74. }
  75. func init() {
  76. proto.RegisterFile("google/ads/googleads/v0/errors/database_error.proto", fileDescriptor_database_error_5ee1f2b1a72c664f)
  77. }
  78. var fileDescriptor_database_error_5ee1f2b1a72c664f = []byte{
  79. // 285 bytes of a gzipped FileDescriptorProto
  80. 0x1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0x27, 0x31, 0x2f, 0x5d, 0x2f, 0xbf, 0x28, 0x5d, 0x3f, 0x3d, 0x35, 0x0f, 0xec, 0x33, 0x58,
  92. 0x10, 0x14, 0x64, 0x16, 0xe3, 0x0a, 0x11, 0x6b, 0x08, 0xb5, 0x88, 0x89, 0xd9, 0xdd, 0xd1, 0x71,
  93. 0x15, 0x93, 0x9c, 0x3b, 0xc4, 0x30, 0xc7, 0x94, 0x62, 0x3d, 0x08, 0x13, 0xc4, 0x0a, 0x33, 0xd0,
  94. 0x03, 0x5b, 0x59, 0x7c, 0x0a, 0xa6, 0x20, 0xc6, 0x31, 0xa5, 0x38, 0x06, 0xae, 0x20, 0x26, 0xcc,
  95. 0x20, 0x06, 0xa2, 0xe0, 0x15, 0x93, 0x12, 0x44, 0xd4, 0xca, 0xca, 0x31, 0xa5, 0xd8, 0xca, 0x0a,
  96. 0xae, 0xc4, 0xca, 0x2a, 0xcc, 0xc0, 0xca, 0x0a, 0xa2, 0x28, 0x89, 0x0d, 0xec, 0x3a, 0x63, 0x40,
  97. 0x00, 0x00, 0x00, 0xff, 0xff, 0xe7, 0x01, 0x1f, 0xac, 0xae, 0x01, 0x00, 0x00,
  98. }