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.
 
 
 

115 lines
5.9 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/errors/resource_access_denied_error.proto
  3. package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v1/errors"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/api/annotations"
  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. // Enum describing possible resource access denied errors.
  18. type ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError int32
  19. const (
  20. // Enum unspecified.
  21. ResourceAccessDeniedErrorEnum_UNSPECIFIED ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError = 0
  22. // The received error code is not known in this version.
  23. ResourceAccessDeniedErrorEnum_UNKNOWN ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError = 1
  24. // User did not have write access.
  25. ResourceAccessDeniedErrorEnum_WRITE_ACCESS_DENIED ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError = 3
  26. )
  27. var ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError_name = map[int32]string{
  28. 0: "UNSPECIFIED",
  29. 1: "UNKNOWN",
  30. 3: "WRITE_ACCESS_DENIED",
  31. }
  32. var ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError_value = map[string]int32{
  33. "UNSPECIFIED": 0,
  34. "UNKNOWN": 1,
  35. "WRITE_ACCESS_DENIED": 3,
  36. }
  37. func (x ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError) String() string {
  38. return proto.EnumName(ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError_name, int32(x))
  39. }
  40. func (ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError) EnumDescriptor() ([]byte, []int) {
  41. return fileDescriptor_resource_access_denied_error_7d6221d5b2a31dfb, []int{0, 0}
  42. }
  43. // Container for enum describing possible resource access denied errors.
  44. type ResourceAccessDeniedErrorEnum struct {
  45. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  46. XXX_unrecognized []byte `json:"-"`
  47. XXX_sizecache int32 `json:"-"`
  48. }
  49. func (m *ResourceAccessDeniedErrorEnum) Reset() { *m = ResourceAccessDeniedErrorEnum{} }
  50. func (m *ResourceAccessDeniedErrorEnum) String() string { return proto.CompactTextString(m) }
  51. func (*ResourceAccessDeniedErrorEnum) ProtoMessage() {}
  52. func (*ResourceAccessDeniedErrorEnum) Descriptor() ([]byte, []int) {
  53. return fileDescriptor_resource_access_denied_error_7d6221d5b2a31dfb, []int{0}
  54. }
  55. func (m *ResourceAccessDeniedErrorEnum) XXX_Unmarshal(b []byte) error {
  56. return xxx_messageInfo_ResourceAccessDeniedErrorEnum.Unmarshal(m, b)
  57. }
  58. func (m *ResourceAccessDeniedErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  59. return xxx_messageInfo_ResourceAccessDeniedErrorEnum.Marshal(b, m, deterministic)
  60. }
  61. func (dst *ResourceAccessDeniedErrorEnum) XXX_Merge(src proto.Message) {
  62. xxx_messageInfo_ResourceAccessDeniedErrorEnum.Merge(dst, src)
  63. }
  64. func (m *ResourceAccessDeniedErrorEnum) XXX_Size() int {
  65. return xxx_messageInfo_ResourceAccessDeniedErrorEnum.Size(m)
  66. }
  67. func (m *ResourceAccessDeniedErrorEnum) XXX_DiscardUnknown() {
  68. xxx_messageInfo_ResourceAccessDeniedErrorEnum.DiscardUnknown(m)
  69. }
  70. var xxx_messageInfo_ResourceAccessDeniedErrorEnum proto.InternalMessageInfo
  71. func init() {
  72. proto.RegisterType((*ResourceAccessDeniedErrorEnum)(nil), "google.ads.googleads.v1.errors.ResourceAccessDeniedErrorEnum")
  73. proto.RegisterEnum("google.ads.googleads.v1.errors.ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError", ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError_name, ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError_value)
  74. }
  75. func init() {
  76. proto.RegisterFile("google/ads/googleads/v1/errors/resource_access_denied_error.proto", fileDescriptor_resource_access_denied_error_7d6221d5b2a31dfb)
  77. }
  78. var fileDescriptor_resource_access_denied_error_7d6221d5b2a31dfb = []byte{
  79. // 312 bytes of a gzipped FileDescriptorProto
  80. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x6a, 0x32, 0x31,
  81. 0x14, 0x85, 0x7f, 0x15, 0xfe, 0x42, 0x5c, 0x54, 0xa6, 0x8b, 0xd2, 0xd2, 0xba, 0x98, 0x07, 0x48,
  82. 0x18, 0xba, 0x4b, 0x57, 0xd1, 0x49, 0x45, 0x0a, 0x53, 0xd1, 0xaa, 0x50, 0x06, 0x86, 0x74, 0x12,
  83. 0xc2, 0x80, 0x26, 0x92, 0xab, 0x3e, 0x50, 0x97, 0x7d, 0x94, 0x3e, 0x4a, 0xdf, 0xa0, 0xbb, 0x32,
  84. 0x89, 0xce, 0x6e, 0xba, 0xca, 0x21, 0xf9, 0xee, 0x39, 0x27, 0x17, 0x31, 0x6d, 0xad, 0xde, 0x28,
  85. 0x22, 0x24, 0x90, 0x20, 0x6b, 0x75, 0x4c, 0x88, 0x72, 0xce, 0x3a, 0x20, 0x4e, 0x81, 0x3d, 0xb8,
  86. 0x52, 0x15, 0xa2, 0x2c, 0x15, 0x40, 0x21, 0x95, 0xa9, 0x94, 0x2c, 0xfc, 0x2b, 0xde, 0x39, 0xbb,
  87. 0xb7, 0xd1, 0x30, 0xcc, 0x61, 0x21, 0x01, 0x37, 0x16, 0xf8, 0x98, 0xe0, 0x60, 0x71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xff, 0xff,
  99. 0x6c, 0xe6, 0xc2, 0x05, 0xfa, 0x01, 0x00, 0x00,
  100. }