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.
 
 
 

160 lines
7.3 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/resources/geo_target_constant.proto
  3. package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import wrappers "github.com/golang/protobuf/ptypes/wrappers"
  8. import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  18. // A geo target constant.
  19. type GeoTargetConstant struct {
  20. // The resource name of the geo target constant.
  21. // Geo target constant resource names have the form:
  22. //
  23. // `geoTargetConstants/{geo_target_constant_id}`
  24. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  25. // The ID of the geo target constant.
  26. Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
  27. // Geo target constant English name.
  28. Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  29. // The ISO-3166-1 alpha-2 country code that is associated with the target.
  30. CountryCode *wrappers.StringValue `protobuf:"bytes,5,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
  31. // Geo target constant target type.
  32. TargetType *wrappers.StringValue `protobuf:"bytes,6,opt,name=target_type,json=targetType,proto3" json:"target_type,omitempty"`
  33. // Geo target constant status.
  34. Status enums.GeoTargetConstantStatusEnum_GeoTargetConstantStatus `protobuf:"varint,7,opt,name=status,proto3,enum=google.ads.googleads.v0.enums.GeoTargetConstantStatusEnum_GeoTargetConstantStatus" json:"status,omitempty"`
  35. // The fully qualified English name, consisting of the target's name and that
  36. // of its parent and country.
  37. CanonicalName *wrappers.StringValue `protobuf:"bytes,8,opt,name=canonical_name,json=canonicalName,proto3" json:"canonical_name,omitempty"`
  38. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  39. XXX_unrecognized []byte `json:"-"`
  40. XXX_sizecache int32 `json:"-"`
  41. }
  42. func (m *GeoTargetConstant) Reset() { *m = GeoTargetConstant{} }
  43. func (m *GeoTargetConstant) String() string { return proto.CompactTextString(m) }
  44. func (*GeoTargetConstant) ProtoMessage() {}
  45. func (*GeoTargetConstant) Descriptor() ([]byte, []int) {
  46. return fileDescriptor_geo_target_constant_7cb5572383d64c07, []int{0}
  47. }
  48. func (m *GeoTargetConstant) XXX_Unmarshal(b []byte) error {
  49. return xxx_messageInfo_GeoTargetConstant.Unmarshal(m, b)
  50. }
  51. func (m *GeoTargetConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  52. return xxx_messageInfo_GeoTargetConstant.Marshal(b, m, deterministic)
  53. }
  54. func (dst *GeoTargetConstant) XXX_Merge(src proto.Message) {
  55. xxx_messageInfo_GeoTargetConstant.Merge(dst, src)
  56. }
  57. func (m *GeoTargetConstant) XXX_Size() int {
  58. return xxx_messageInfo_GeoTargetConstant.Size(m)
  59. }
  60. func (m *GeoTargetConstant) XXX_DiscardUnknown() {
  61. xxx_messageInfo_GeoTargetConstant.DiscardUnknown(m)
  62. }
  63. var xxx_messageInfo_GeoTargetConstant proto.InternalMessageInfo
  64. func (m *GeoTargetConstant) GetResourceName() string {
  65. if m != nil {
  66. return m.ResourceName
  67. }
  68. return ""
  69. }
  70. func (m *GeoTargetConstant) GetId() *wrappers.Int64Value {
  71. if m != nil {
  72. return m.Id
  73. }
  74. return nil
  75. }
  76. func (m *GeoTargetConstant) GetName() *wrappers.StringValue {
  77. if m != nil {
  78. return m.Name
  79. }
  80. return nil
  81. }
  82. func (m *GeoTargetConstant) GetCountryCode() *wrappers.StringValue {
  83. if m != nil {
  84. return m.CountryCode
  85. }
  86. return nil
  87. }
  88. func (m *GeoTargetConstant) GetTargetType() *wrappers.StringValue {
  89. if m != nil {
  90. return m.TargetType
  91. }
  92. return nil
  93. }
  94. func (m *GeoTargetConstant) GetStatus() enums.GeoTargetConstantStatusEnum_GeoTargetConstantStatus {
  95. if m != nil {
  96. return m.Status
  97. }
  98. return enums.GeoTargetConstantStatusEnum_UNSPECIFIED
  99. }
  100. func (m *GeoTargetConstant) GetCanonicalName() *wrappers.StringValue {
  101. if m != nil {
  102. return m.CanonicalName
  103. }
  104. return nil
  105. }
  106. func init() {
  107. proto.RegisterType((*GeoTargetConstant)(nil), "google.ads.googleads.v0.resources.GeoTargetConstant")
  108. }
  109. func init() {
  110. proto.RegisterFile("google/ads/googleads/v0/resources/geo_target_constant.proto", fileDescriptor_geo_target_constant_7cb5572383d64c07)
  111. }
  112. var fileDescriptor_geo_target_constant_7cb5572383d64c07 = []byte{
  113. // 441 bytes of a gzipped FileDescriptorProto
  114. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x41, 0x8b, 0xd3, 0x40,
  115. 0x14, 0xc7, 0x49, 0xba, 0x56, 0x9d, 0xee, 0x2e, 0x98, 0x83, 0x84, 0x55, 0xa4, 0xab, 0x2c, 0x14,
  116. 0x84, 0x49, 0x58, 0xc5, 0x43, 0x16, 0x95, 0x6c, 0x91, 0xa2, 0x07, 0x59, 0xb2, 0x4b, 0x0f, 0x52,
  117. 0x08, 0xb3, 0x99, 0xe7, 0x10, 0x69, 0x66, 0xc2, 0xcc, 0xa4, 0xd2, 0xb3, 0xdf, 0xc4, 0xa3, 0x9f,
  118. 0x44, 0xfc, 0x28, 0x7e, 0x0a, 0xe9, 0xcc, 0x64, 0x2e, 0xb5, 0xda, 0xdb, 0x4b, 0xe6, 0xff, 0xfb,
  119. 0xbf, 0x3f, 0xef, 0x3d, 0x74, 0xc1, 0x84, 0x60, 0x4b, 0x48, 0x08, 0x55, 0x89, 0x2d, 0x37, 0xd5,
  120. 0x2a, 0x4d, 0x24, 0x28, 0xd1, 0xc9, 0x0a, 0x54, 0xc2, 0x40, 0x94, 0x9a, 0x48, 0x06, 0xba, 0xac,
  121. 0x04, 0x57, 0x9a, 0x70, 0x8d, 0x5b, 0x29, 0xb4, 0x88, 0x4e, 0x2d, 0x81, 0x09, 0x55, 0xd8, 0xc3,
  122. 0x78, 0x95, 0x62, 0x0f, 0x9f, 0xbc, 0xd9, 0xe5, 0x0f, 0xbc, 0x6b, 0xfe, 0xea, 0x5d, 0x2a, 0x4d,
  123. 0x74, 0xa7, 0x6c, 0x8b, 0x93, 0x27, 0x8e, 0x37, 0x5f, 0xb7, 0xdd, 0xe7, 0xe4, 0xab, 0x24, 0x6d,
  124. 0x0b, 0xd2, 0xbd, 0x3f, 0xfd, 0x39, 0x40, 0x0f, 0x66, 0x20, 0x6e, 0x8c, 0xc7, 0xd4, 0x59, 0x44,
  125. 0xcf, 0xd0, 0x51, 0x1f, 0xa1, 0xe4, 0xa4, 0x81, 0x38, 0x18, 0x07, 0x93, 0xfb, 0xc5, 0x61, 0xff,
  126. 0xf3, 0x23, 0x69, 0x20, 0x7a, 0x8e, 0xc2, 0x9a, 0xc6, 0x83, 0x71, 0x30, 0x19, 0x9d, 0x3f, 0x72,
  127. 0xf9, 0x71, 0xdf, 0x07, 0xbf, 0xe7, 0xfa, 0xd5, 0xcb, 0x39, 0x59, 0x76, 0x50, 0x84, 0x35, 0x8d,
  128. 0x52, 0x74, 0x60, 0x8c, 0x0e, 0x8c, 0xfc, 0xf1, 0x96, 0xfc, 0x5a, 0xcb, 0x9a, 0x33, 0xab, 0x37,
  129. 0xca, 0xe8, 0x2d, 0x3a, 0xac, 0x44, 0xc7, 0xb5, 0x5c, 0x97, 0x95, 0xa0, 0x10, 0xdf, 0xd9, 0x83,
  130. 0x1c, 0x39, 0x62, 0x2a, 0x28, 0x44, 0xaf, 0xd1, 0xc8, 0x8d, 0x46, 0xaf, 0x5b, 0x88, 0x87, 0x7b,
  131. 0xf0, 0xc8, 0x02, 0x37, 0xeb, 0x16, 0xa2, 0x2f, 0x68, 0x68, 0x27, 0x19, 0xdf, 0x1d, 0x07, 0x93,
  132. 0xe3, 0xf3, 0x02, 0xef, 0xda, 0x96, 0x59, 0x05, 0xde, 0x9a, 0xe2, 0xb5, 0xa1, 0xdf, 0xf1, 0xae,
  133. 0xd9, 0xf5, 0x56, 0xb8, 0x0e, 0xd1, 0x14, 0x1d, 0x57, 0x84, 0x0b, 0x5e, 0x57, 0x64, 0x69, 0x07,
  134. 0x7e, 0x6f, 0x8f, 0xb4, 0x47, 0x9e, 0xd9, 0xec, 0xe3, 0xf2, 0x5b, 0x88, 0xce, 0x2a, 0xd1, 0xe0,
  135. 0xff, 0x1e, 0xd5, 0xe5, 0xc3, 0xad, 0x3c, 0x57, 0x1b, 0xff, 0xab, 0xe0, 0xd3, 0x07, 0x07, 0x33,
  136. 0xb1, 0x24, 0x9c, 0x61, 0x21, 0x59, 0xc2, 0x80, 0x9b, 0xee, 0xfd, 0xf9, 0xb5, 0xb5, 0xfa, 0xc7,
  137. 0xb5, 0x5f, 0xf8, 0xea, 0x7b, 0x38, 0x98, 0xe5, 0xf9, 0x8f, 0xf0, 0x74, 0x66, 0x2d, 0x73, 0xaa,
  138. 0xb0, 0x2d, 0x37, 0xd5, 0x3c, 0xc5, 0x45, 0xaf, 0xfc, 0xd5, 0x6b, 0x16, 0x39, 0x55, 0x0b, 0xaf,
  139. 0x59, 0xcc, 0xd3, 0x85, 0xd7, 0xfc, 0x0e, 0xcf, 0xec, 0x43, 0x96, 0xe5, 0x54, 0x65, 0x99, 0x57,
  140. 0x65, 0xd9, 0x3c, 0xcd, 0x32, 0xaf, 0xbb, 0x1d, 0x9a, 0xb0, 0x2f, 0xfe, 0x04, 0x00, 0x00, 0xff,
  141. 0xff, 0xf2, 0xaa, 0x39, 0x12, 0x99, 0x03, 0x00, 0x00,
  142. }