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.
 
 
 

121 lines
5.5 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/resources/customer_label.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 _ "google.golang.org/genproto/googleapis/api/annotations"
  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. // Represents a relationship between a customer and a label. This customer may
  19. // not have access to all the labels attached to it. Additional CustomerLabels
  20. // may be returned by increasing permissions with login-customer-id.
  21. type CustomerLabel struct {
  22. // Name of the resource.
  23. // Customer label resource names have the form:
  24. // `customers/{customer_id}/customerLabels/{label_id}`
  25. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  26. // The resource name of the customer to which the label is attached.
  27. // Read only.
  28. Customer *wrappers.StringValue `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"`
  29. // The resource name of the label assigned to the customer.
  30. //
  31. // Note: the Customer ID portion of the label resource name is not
  32. // validated when creating a new CustomerLabel.
  33. Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
  34. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  35. XXX_unrecognized []byte `json:"-"`
  36. XXX_sizecache int32 `json:"-"`
  37. }
  38. func (m *CustomerLabel) Reset() { *m = CustomerLabel{} }
  39. func (m *CustomerLabel) String() string { return proto.CompactTextString(m) }
  40. func (*CustomerLabel) ProtoMessage() {}
  41. func (*CustomerLabel) Descriptor() ([]byte, []int) {
  42. return fileDescriptor_customer_label_7ce4f5a277d32dfa, []int{0}
  43. }
  44. func (m *CustomerLabel) XXX_Unmarshal(b []byte) error {
  45. return xxx_messageInfo_CustomerLabel.Unmarshal(m, b)
  46. }
  47. func (m *CustomerLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  48. return xxx_messageInfo_CustomerLabel.Marshal(b, m, deterministic)
  49. }
  50. func (dst *CustomerLabel) XXX_Merge(src proto.Message) {
  51. xxx_messageInfo_CustomerLabel.Merge(dst, src)
  52. }
  53. func (m *CustomerLabel) XXX_Size() int {
  54. return xxx_messageInfo_CustomerLabel.Size(m)
  55. }
  56. func (m *CustomerLabel) XXX_DiscardUnknown() {
  57. xxx_messageInfo_CustomerLabel.DiscardUnknown(m)
  58. }
  59. var xxx_messageInfo_CustomerLabel proto.InternalMessageInfo
  60. func (m *CustomerLabel) GetResourceName() string {
  61. if m != nil {
  62. return m.ResourceName
  63. }
  64. return ""
  65. }
  66. func (m *CustomerLabel) GetCustomer() *wrappers.StringValue {
  67. if m != nil {
  68. return m.Customer
  69. }
  70. return nil
  71. }
  72. func (m *CustomerLabel) GetLabel() *wrappers.StringValue {
  73. if m != nil {
  74. return m.Label
  75. }
  76. return nil
  77. }
  78. func init() {
  79. proto.RegisterType((*CustomerLabel)(nil), "google.ads.googleads.v1.resources.CustomerLabel")
  80. }
  81. func init() {
  82. proto.RegisterFile("google/ads/googleads/v1/resources/customer_label.proto", fileDescriptor_customer_label_7ce4f5a277d32dfa)
  83. }
  84. var fileDescriptor_customer_label_7ce4f5a277d32dfa = []byte{
  85. // 322 bytes of a gzipped FileDescriptorProto
  86. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xcf, 0x4a, 0xc3, 0x30,
  87. 0x00, 0xc6, 0x49, 0x87, 0xa2, 0xd1, 0x5d, 0x7a, 0x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1, 0xa2, 0x61, 0x5b, 0x47, 0xfb, 0x4b, 0x78, 0xd4,
  99. 0x5d, 0x70, 0x34, 0xf8, 0x87, 0xcd, 0xa0, 0xab, 0x2f, 0x00, 0xe7, 0xa9, 0x2c, 0xd1, 0x9f, 0x3f,
  100. 0x63, 0xe5, 0xff, 0xb8, 0xcb, 0xa6, 0xcd, 0xdc, 0x80, 0x97, 0x87, 0xde, 0xc8, 0x65, 0x41, 0x05,
  101. 0x47, 0x52, 0x71, 0xcc, 0x99, 0xe8, 0x1a, 0xed, 0x6b, 0x54, 0xb9, 0xfe, 0xe5, 0x71, 0xee, 0x9c,
  102. 0x3a, 0x78, 0x83, 0x75, 0x18, 0xbe, 0x7b, 0xb3, 0xb5, 0x89, 0x0c, 0x33, 0x8d, 0x8c, 0x6c, 0x55,
  103. 0x14, 0xa0, 0xad, 0x25, 0x3f, 0x2c, 0x13, 0x87, 0x99, 0x8e, 0x1d, 0x13, 0x47, 0x41, 0xec, 0x98,
  104. 0x4f, 0x6f, 0x6e, 0x0e, 0x08, 0x09, 0x33, 0x4d, 0x88, 0xa3, 0x08, 0x89, 0x02, 0x42, 0x1c, 0x97,
  105. 0x1c, 0x77, 0x63, 0xaf, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x55, 0x24, 0xa1, 0x48, 0x02,
  106. 0x00, 0x00,
  107. }