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.
 
 
 

135 lines
7.2 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/resources/customer_extension_setting.proto
  3. package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v1/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/v1/enums"
  9. import _ "google.golang.org/genproto/googleapis/api/annotations"
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  19. // A customer extension setting.
  20. type CustomerExtensionSetting struct {
  21. // The resource name of the customer extension setting.
  22. // CustomerExtensionSetting resource names have the form:
  23. //
  24. // `customers/{customer_id}/customerExtensionSettings/{extension_type}`
  25. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  26. // The extension type of the customer extension setting.
  27. ExtensionType enums.ExtensionTypeEnum_ExtensionType `protobuf:"varint,2,opt,name=extension_type,json=extensionType,proto3,enum=google.ads.googleads.v1.enums.ExtensionTypeEnum_ExtensionType" json:"extension_type,omitempty"`
  28. // The resource names of the extension feed items to serve under the customer.
  29. // ExtensionFeedItem resource names have the form:
  30. //
  31. // `customers/{customer_id}/extensionFeedItems/{feed_item_id}`
  32. ExtensionFeedItems []*wrappers.StringValue `protobuf:"bytes,3,rep,name=extension_feed_items,json=extensionFeedItems,proto3" json:"extension_feed_items,omitempty"`
  33. // The device for which the extensions will serve. Optional.
  34. Device enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice `protobuf:"varint,4,opt,name=device,proto3,enum=google.ads.googleads.v1.enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice" json:"device,omitempty"`
  35. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  36. XXX_unrecognized []byte `json:"-"`
  37. XXX_sizecache int32 `json:"-"`
  38. }
  39. func (m *CustomerExtensionSetting) Reset() { *m = CustomerExtensionSetting{} }
  40. func (m *CustomerExtensionSetting) String() string { return proto.CompactTextString(m) }
  41. func (*CustomerExtensionSetting) ProtoMessage() {}
  42. func (*CustomerExtensionSetting) Descriptor() ([]byte, []int) {
  43. return fileDescriptor_customer_extension_setting_15e5ce62612aa71d, []int{0}
  44. }
  45. func (m *CustomerExtensionSetting) XXX_Unmarshal(b []byte) error {
  46. return xxx_messageInfo_CustomerExtensionSetting.Unmarshal(m, b)
  47. }
  48. func (m *CustomerExtensionSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  49. return xxx_messageInfo_CustomerExtensionSetting.Marshal(b, m, deterministic)
  50. }
  51. func (dst *CustomerExtensionSetting) XXX_Merge(src proto.Message) {
  52. xxx_messageInfo_CustomerExtensionSetting.Merge(dst, src)
  53. }
  54. func (m *CustomerExtensionSetting) XXX_Size() int {
  55. return xxx_messageInfo_CustomerExtensionSetting.Size(m)
  56. }
  57. func (m *CustomerExtensionSetting) XXX_DiscardUnknown() {
  58. xxx_messageInfo_CustomerExtensionSetting.DiscardUnknown(m)
  59. }
  60. var xxx_messageInfo_CustomerExtensionSetting proto.InternalMessageInfo
  61. func (m *CustomerExtensionSetting) GetResourceName() string {
  62. if m != nil {
  63. return m.ResourceName
  64. }
  65. return ""
  66. }
  67. func (m *CustomerExtensionSetting) GetExtensionType() enums.ExtensionTypeEnum_ExtensionType {
  68. if m != nil {
  69. return m.ExtensionType
  70. }
  71. return enums.ExtensionTypeEnum_UNSPECIFIED
  72. }
  73. func (m *CustomerExtensionSetting) GetExtensionFeedItems() []*wrappers.StringValue {
  74. if m != nil {
  75. return m.ExtensionFeedItems
  76. }
  77. return nil
  78. }
  79. func (m *CustomerExtensionSetting) GetDevice() enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice {
  80. if m != nil {
  81. return m.Device
  82. }
  83. return enums.ExtensionSettingDeviceEnum_UNSPECIFIED
  84. }
  85. func init() {
  86. proto.RegisterType((*CustomerExtensionSetting)(nil), "google.ads.googleads.v1.resources.CustomerExtensionSetting")
  87. }
  88. func init() {
  89. proto.RegisterFile("google/ads/googleads/v1/resources/customer_extension_setting.proto", fileDescriptor_customer_extension_setting_15e5ce62612aa71d)
  90. }
  91. var fileDescriptor_customer_extension_setting_15e5ce62612aa71d = []byte{
  92. // 431 bytes of a gzipped FileDescriptorProto
  93. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xc1, 0x6e, 0xd4, 0x30,
  94. 0x10, 0xd5, 0x66, 0x51, 0x25, 0x02, 0xed, 0x21, 0xe2, 0x10, 0x55, 0x05, 0x6d, 0x41, 0x95, 0xf6,
  95. 0x64, 0x2b, 0xcb, 0xcd, 0x20, 0xa4, 0x2c, 0x94, 0x0a, 0x0e, 0xd5, 0x2a, 0x45, 0x7b, 0x40, 0x2b,
  96. 0x45, 0xee, 0x7a, 0x6a, 0x2c, 0x6d, 0xec, 0xc8, 0x76, 0x16, 0xfa, 0x0b, 0x7c, 0x06, 0x47, 0x3e,
  97. 0x85, 0xaf, 0xe0, 0xcc, 0x57, 0xa0, 0xc4, 0xb1, 0x21, 0x42, 0x4b, 0xf7, 0x36, 0xf1, 0xbc, 0xf7,
  98. 0xe6, 0xbd, 0xc9, 0xc4, 0x73, 0xae, 0x14, 0xdf, 0x00, 0xa6, 0xcc, 0x60, 0x57, 0xb6, 0xd5, 0x36,
  99. 0xc3, 0x1a, 0x8c, 0x6a, 0xf4, 0x1a, 0x0c, 0x5e, 0x37, 0xc6, 0xaa, 0x0a, 0x74, 0x09, 0x5f, 0x2c,
  100. 0x48, 0x23, 0x94, 0x2c, 0x0d, 0x58, 0x2b, 0x24, 0x47, 0xb5, 0x56, 0x56, 0x25, 0xa7, 0x8e, 0x88,
  101. 0x28, 0x33, 0x28, 0x68, 0xa0, 0x6d, 0x86, 0x82, 0xc6, 0xf1, 0xcb, 0x5d, 0x63, 0x40, 0x36, 0x95,
  102. 0xc1, 0xff, 0x28, 0x97, 0x0c, 0xb6, 0x62, 0x0d, 0x6e, 0xc0, 0xf1, 0x6c, 0x5f, 0xb6, 0xbd, 0xad,
  103. 0x3d, 0xe7, 0x49, 0xcf, 0xe9, 0xbe, 0xae, 0x9b, 0x1b, 0xfc, 0x59, 0xd3, 0xba, 0x06, 0x6d, 0xfa,
  104. 0xfe, 0x89, 0xd7, 0xac, 0x05, 0xa6, 0x52, 0x2a, 0x4b, 0xad, 0x50, 0xb2, 0xef, 0x3e, 0xfd, 0x19,
  105. 0xc5, 0xe9, 0xeb, 0x3e, 0xf7, 0xb9, 0x97, 0xbf, 0x72, 0xde, 0x92, 0x67, 0xf1, 0xa1, 0x4f, 0x56,
  106. 0x4a, 0x5a, 0x41, 0x3a, 0x9a, 0x8c, 0xa6, 0xf7, 0x8b, 0x87, 0xfe, 0xf1, 0x92, 0x56, 0x90, 0x40,
  107. 0x7c, 0x34, 0xf4, 0x95, 0x46, 0x93, 0xd1, 0xf4, 0x68, 0xf6, 0x0a, 0xed, 0xda, 0x56, 0x17, 0x06,
  108. 0x85, 0x69, 0x1f, 0x6e, 0x6b, 0x38, 0x97, 0x4d, 0x35, 0x7c, 0x29, 0x0e, 0xe1, 0xef, 0xcf, 0xe4,
  109. 0x32, 0x7e, 0xf4, 0x67, 0xcc, 0x0d, 0x00, 0x2b, 0x85, 0x85, 0xca, 0xa4, 0xe3, 0xc9, 0x78, 0xfa,
  110. 0x60, 0x76, 0xe2, 0x87, 0xf9, 0x2d, 0xa0, 0x2b, 0xab, 0x85, 0xe4, 0x4b, 0xba, 0x69, 0xa0, 0x48,
  111. 0x02, 0xf3, 0x2d, 0x00, 0x7b, 0xd7, 0xf2, 0x92, 0x4f, 0xf1, 0x81, 0x5b, 0x7d, 0x7a, 0xaf, 0xb3,
  112. 0xbb, 0xd8, 0xd7, 0x6e, 0xbf, 0x9c, 0x37, 0x1d, 0x79, 0xe8, 0x7b, 0xd0, 0x2a, 0x7a, 0xfd, 0xf9,
  113. 0xd7, 0x28, 0x3e, 0x5b, 0xab, 0x0a, 0xdd, 0x79, 0x3c, 0xf3, 0xc7, 0xbb, 0xfe, 0xc4, 0xa2, 0x4d,
  114. 0xb5, 0x18, 0x7d, 0x7c, 0xdf, 0x6b, 0x70, 0xb5, 0xa1, 0x92, 0x23, 0xa5, 0x39, 0xe6, 0x20, 0xbb,
  115. 0xcc, 0xfe, 0x5e, 0x6a, 0x61, 0xfe, 0x73, 0xe3, 0x2f, 0x42, 0xf5, 0x2d, 0x1a, 0x5f, 0xe4, 0xf9,
  116. 0xf7, 0xe8, 0xf4, 0xc2, 0x49, 0xe6, 0xcc, 0x20, 0x57, 0xb6, 0xd5, 0x32, 0x43, 0x85, 0x47, 0xfe,
  117. 0xf0, 0x98, 0x55, 0xce, 0xcc, 0x2a, 0x60, 0x56, 0xcb, 0x6c, 0x15, 0x30, 0xbf, 0xa2, 0x33, 0xd7,
  118. 0x20, 0x24, 0x67, 0x86, 0x90, 0x80, 0x22, 0x64, 0x99, 0x11, 0x12, 0x70, 0xd7, 0x07, 0x9d, 0xd9,
  119. 0xe7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x13, 0xdf, 0xd9, 0x40, 0x8f, 0x03, 0x00, 0x00,
  120. }