Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

134 linhas
7.6 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/errors/geo_target_constant_suggestion_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 geo target constant suggestion errors.
  18. type GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError int32
  19. const (
  20. // Enum unspecified.
  21. GeoTargetConstantSuggestionErrorEnum_UNSPECIFIED GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 0
  22. // The received error code is not known in this version.
  23. GeoTargetConstantSuggestionErrorEnum_UNKNOWN GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 1
  24. // A location name cannot be greater than 300 characters.
  25. GeoTargetConstantSuggestionErrorEnum_LOCATION_NAME_SIZE_LIMIT GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 2
  26. // At most 25 location names can be specified in a SuggestGeoTargetConstants
  27. // method.
  28. GeoTargetConstantSuggestionErrorEnum_LOCATION_NAME_LIMIT GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 3
  29. // The country code is invalid.
  30. GeoTargetConstantSuggestionErrorEnum_INVALID_COUNTRY_CODE GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 4
  31. // Geo target constant resource names or location names must be provided in
  32. // the request.
  33. GeoTargetConstantSuggestionErrorEnum_REQUEST_PARAMETERS_UNSET GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError = 5
  34. )
  35. var GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_name = map[int32]string{
  36. 0: "UNSPECIFIED",
  37. 1: "UNKNOWN",
  38. 2: "LOCATION_NAME_SIZE_LIMIT",
  39. 3: "LOCATION_NAME_LIMIT",
  40. 4: "INVALID_COUNTRY_CODE",
  41. 5: "REQUEST_PARAMETERS_UNSET",
  42. }
  43. var GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_value = map[string]int32{
  44. "UNSPECIFIED": 0,
  45. "UNKNOWN": 1,
  46. "LOCATION_NAME_SIZE_LIMIT": 2,
  47. "LOCATION_NAME_LIMIT": 3,
  48. "INVALID_COUNTRY_CODE": 4,
  49. "REQUEST_PARAMETERS_UNSET": 5,
  50. }
  51. func (x GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError) String() string {
  52. return proto.EnumName(GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_name, int32(x))
  53. }
  54. func (GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError) EnumDescriptor() ([]byte, []int) {
  55. return fileDescriptor_geo_target_constant_suggestion_error_4e9bece694505fa8, []int{0, 0}
  56. }
  57. // Container for enum describing possible geo target constant suggestion errors.
  58. type GeoTargetConstantSuggestionErrorEnum struct {
  59. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  60. XXX_unrecognized []byte `json:"-"`
  61. XXX_sizecache int32 `json:"-"`
  62. }
  63. func (m *GeoTargetConstantSuggestionErrorEnum) Reset() { *m = GeoTargetConstantSuggestionErrorEnum{} }
  64. func (m *GeoTargetConstantSuggestionErrorEnum) String() string { return proto.CompactTextString(m) }
  65. func (*GeoTargetConstantSuggestionErrorEnum) ProtoMessage() {}
  66. func (*GeoTargetConstantSuggestionErrorEnum) Descriptor() ([]byte, []int) {
  67. return fileDescriptor_geo_target_constant_suggestion_error_4e9bece694505fa8, []int{0}
  68. }
  69. func (m *GeoTargetConstantSuggestionErrorEnum) XXX_Unmarshal(b []byte) error {
  70. return xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.Unmarshal(m, b)
  71. }
  72. func (m *GeoTargetConstantSuggestionErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  73. return xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.Marshal(b, m, deterministic)
  74. }
  75. func (dst *GeoTargetConstantSuggestionErrorEnum) XXX_Merge(src proto.Message) {
  76. xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.Merge(dst, src)
  77. }
  78. func (m *GeoTargetConstantSuggestionErrorEnum) XXX_Size() int {
  79. return xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.Size(m)
  80. }
  81. func (m *GeoTargetConstantSuggestionErrorEnum) XXX_DiscardUnknown() {
  82. xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.DiscardUnknown(m)
  83. }
  84. var xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum proto.InternalMessageInfo
  85. func init() {
  86. proto.RegisterType((*GeoTargetConstantSuggestionErrorEnum)(nil), "google.ads.googleads.v1.errors.GeoTargetConstantSuggestionErrorEnum")
  87. proto.RegisterEnum("google.ads.googleads.v1.errors.GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError", GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_name, GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_value)
  88. }
  89. func init() {
  90. proto.RegisterFile("google/ads/googleads/v1/errors/geo_target_constant_suggestion_error.proto", fileDescriptor_geo_target_constant_suggestion_error_4e9bece694505fa8)
  91. }
  92. var fileDescriptor_geo_target_constant_suggestion_error_4e9bece694505fa8 = []byte{
  93. // 386 bytes of a gzipped FileDescriptorProto
  94. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcf, 0xaa, 0xd4, 0x30,
  95. 0x14, 0xc6, 0x6d, 0xaf, 0x7f, 0x20, 0x77, 0x61, 0xa9, 0x82, 0x17, 0xb9, 0x0c, 0x52, 0x74, 0x9b,
  96. 0x52, 0xdc, 0xc5, 0x55, 0xa6, 0x8d, 0x43, 0x70, 0x26, 0xad, 0xfd, 0x27, 0x0e, 0x85, 0x50, 0xa7,
  97. 0x25, 0x0c, 0xcc, 0x24, 0x43, 0xd3, 0x99, 0xb5, 0xcf, 0xe2, 0xd2, 0x8d, 0xef, 0xe1, 0x13, 0xf8,
  98. 0x0c, 0x3e, 0x85, 0xb4, 0x99, 0x29, 0xb8, 0xd0, 0x59, 0xe5, 0x23, 0xe7, 0x3b, 0xbf, 0x2f, 0x39,
  99. 0x07, 0x50, 0xa1, 0x94, 0xd8, 0xb5, 0x7e, 0xdd, 0x68, 0xdf, 0xc8, 0x41, 0x9d, 0x02, 0xbf, 0xed,
  100. 0x3a, 0xd5, 0x69, 0x5f, 0xb4, 0x8a, 0xf7, 0x75, 0x27, 0xda, 0x9e, 0x6f, 0x94, 0xd4, 0x7d, 0x2d,
  101. 0x7b, 0xae, 0x8f, 0x42, 0xb4, 0xba, 0xdf, 0x2a, 0xc9, 0x47, 0x17, 0x3c, 0x74, 0xaa, 0x57, 0xee,
  102. 0xcc, 0xf4, 0xc3, 0xba, 0xd1, 0x70, 0x42, 0xc1, 0x53, 0x00, 0x0d, 0xea, 0xe5, 0xfd, 0x25, 0xea,
  103. 0xb0, 0xf5, 0x6b, 0x29, 0x55, 0x5f, 0x0f, 0x08, 0x6d, 0xba, 0xbd, 0x5f, 0x16, 0x78, 0xbd, 0x68,
  104. 0x55, 0x3e, 0x66, 0x85, 0xe7, 0xa8, 0x6c, 0x4a, 0x22, 0x03, 0x83, 0xc8, 0xe3, 0xde, 0xfb, 0x61,
  105. 0x81, 0x57, 0xd7, 0x8c, 0xee, 0x53, 0x70, 0x5b, 0xb0, 0x2c, 0x21, 0x21, 0x7d, 0x4f, 0x49, 0xe4,
  106. 0x3c, 0x70, 0x6f, 0xc1, 0x93, 0x82, 0x7d, 0x60, 0xf1, 0x27, 0xe6, 0x58, 0xee, 0x3d, 0xb8, 0x5b,
  107. 0xc6, 0x21, 0xce, 0x69, 0xcc, 0x38, 0xc3, 0x2b, 0xc2, 0x33, 0xba, 0x26, 0x7c, 0x49, 0x57, 0x34,
  108. 0x77, 0x6c, 0xf7, 0x05, 0x78, 0xf6, 0x77, 0xd5, 0x14, 0x6e, 0xdc, 0x3b, 0xf0, 0x9c, 0xb2, 0x12,
  109. 0x2f, 0x69, 0xc4, 0xc3, 0xb8, 0x60, 0x79, 0xfa, 0x99, 0x87, 0x71, 0x44, 0x9c, 0x87, 0x03, 0x30,
  110. 0x25, 0x1f, 0x0b, 0x92, 0xe5, 0x3c, 0xc1, 0x29, 0x5e, 0x91, 0x9c, 0xa4, 0x19, 0x2f, 0x58, 0x46,
  111. 0x72, 0xe7, 0xd1, 0xfc, 0xab, 0x0d, 0xbc, 0x8d, 0xda, 0xc3, 0xff, 0xcf, 0x67, 0xfe, 0xe6, 0xda,
  112. 0xaf, 0x92, 0x61, 0x50, 0x89, 0xb5, 0x8e, 0xce, 0x20, 0xa1, 0x76, 0xb5, 0x14, 0x50, 0x75, 0xc2,
  113. 0x17, 0xad, 0x1c, 0xc7, 0x78, 0xd9, 0xe1, 0x61, 0xab, 0xff, 0xb5, 0xd2, 0x77, 0xe6, 0xf8, 0x66,
  114. 0xdf, 0x2c, 0x30, 0xfe, 0x6e, 0xcf, 0x16, 0x06, 0x86, 0x1b, 0x0d, 0x8d, 0x1c, 0x54, 0x19, 0xc0,
  115. 0x31, 0x52, 0xff, 0xbc, 0x18, 0x2a, 0xdc, 0xe8, 0x6a, 0x32, 0x54, 0x65, 0x50, 0x19, 0xc3, 0x6f,
  116. 0xdb, 0x33, 0xb7, 0x08, 0xe1, 0x46, 0x23, 0x34, 0x59, 0x10, 0x2a, 0x03, 0x84, 0x8c, 0xe9, 0xcb,
  117. 0xe3, 0xf1, 0x75, 0x6f, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x82, 0x5e, 0xcb, 0x80, 0x6f, 0x02,
  118. 0x00, 0x00,
  119. }