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.
 
 
 

131 lines
6.5 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/resources/customer_manager_link.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. // Represents customer-manager link relationship.
  20. type CustomerManagerLink struct {
  21. // Name of the resource.
  22. // CustomerManagerLink resource names have the form:
  23. //
  24. // `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}`
  25. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  26. // The manager customer linked to the customer.
  27. ManagerCustomer *wrappers.StringValue `protobuf:"bytes,3,opt,name=manager_customer,json=managerCustomer,proto3" json:"manager_customer,omitempty"`
  28. // ID of the customer-manager link. This field is read only.
  29. ManagerLinkId *wrappers.Int64Value `protobuf:"bytes,4,opt,name=manager_link_id,json=managerLinkId,proto3" json:"manager_link_id,omitempty"`
  30. // Status of the link between the customer and the manager.
  31. Status enums.ManagerLinkStatusEnum_ManagerLinkStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.ManagerLinkStatusEnum_ManagerLinkStatus" json:"status,omitempty"`
  32. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  33. XXX_unrecognized []byte `json:"-"`
  34. XXX_sizecache int32 `json:"-"`
  35. }
  36. func (m *CustomerManagerLink) Reset() { *m = CustomerManagerLink{} }
  37. func (m *CustomerManagerLink) String() string { return proto.CompactTextString(m) }
  38. func (*CustomerManagerLink) ProtoMessage() {}
  39. func (*CustomerManagerLink) Descriptor() ([]byte, []int) {
  40. return fileDescriptor_customer_manager_link_093f14efc44370a8, []int{0}
  41. }
  42. func (m *CustomerManagerLink) XXX_Unmarshal(b []byte) error {
  43. return xxx_messageInfo_CustomerManagerLink.Unmarshal(m, b)
  44. }
  45. func (m *CustomerManagerLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  46. return xxx_messageInfo_CustomerManagerLink.Marshal(b, m, deterministic)
  47. }
  48. func (dst *CustomerManagerLink) XXX_Merge(src proto.Message) {
  49. xxx_messageInfo_CustomerManagerLink.Merge(dst, src)
  50. }
  51. func (m *CustomerManagerLink) XXX_Size() int {
  52. return xxx_messageInfo_CustomerManagerLink.Size(m)
  53. }
  54. func (m *CustomerManagerLink) XXX_DiscardUnknown() {
  55. xxx_messageInfo_CustomerManagerLink.DiscardUnknown(m)
  56. }
  57. var xxx_messageInfo_CustomerManagerLink proto.InternalMessageInfo
  58. func (m *CustomerManagerLink) GetResourceName() string {
  59. if m != nil {
  60. return m.ResourceName
  61. }
  62. return ""
  63. }
  64. func (m *CustomerManagerLink) GetManagerCustomer() *wrappers.StringValue {
  65. if m != nil {
  66. return m.ManagerCustomer
  67. }
  68. return nil
  69. }
  70. func (m *CustomerManagerLink) GetManagerLinkId() *wrappers.Int64Value {
  71. if m != nil {
  72. return m.ManagerLinkId
  73. }
  74. return nil
  75. }
  76. func (m *CustomerManagerLink) GetStatus() enums.ManagerLinkStatusEnum_ManagerLinkStatus {
  77. if m != nil {
  78. return m.Status
  79. }
  80. return enums.ManagerLinkStatusEnum_UNSPECIFIED
  81. }
  82. func init() {
  83. proto.RegisterType((*CustomerManagerLink)(nil), "google.ads.googleads.v1.resources.CustomerManagerLink")
  84. }
  85. func init() {
  86. proto.RegisterFile("google/ads/googleads/v1/resources/customer_manager_link.proto", fileDescriptor_customer_manager_link_093f14efc44370a8)
  87. }
  88. var fileDescriptor_customer_manager_link_093f14efc44370a8 = []byte{
  89. // 408 bytes of a gzipped FileDescriptorProto
  90. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xd1, 0xca, 0xd3, 0x30,
  91. 0x18, 0xa5, 0xfd, 0xf5, 0x07, 0xab, 0x73, 0x52, 0x6f, 0xca, 0x1c, 0xb2, 0x29, 0x83, 0x5d, 0x25,
  92. 0x74, 0x8a, 0x42, 0xc4, 0x8b, 0x6e, 0xe8, 0x98, 0xa8, 0x8c, 0x0e, 0x7a, 0x21, 0xc5, 0x92, 0xad,
  93. 0x31, 0x94, 0x35, 0x49, 0x49, 0xd2, 0xf9, 0x04, 0xbe, 0x88, 0x57, 0xe2, 0xa3, 0xf8, 0x28, 0x3e,
  94. 0x85, 0xac, 0x69, 0xea, 0x64, 0x4e, 0xef, 0x4e, 0x93, 0x73, 0xce, 0x77, 0xce, 0x97, 0x7a, 0x2f,
  95. 0xa9, 0x10, 0xb4, 0x24, 0x10, 0xe7, 0x0a, 0x1a, 0x78, 0x44, 0x87, 0x10, 0x4a, 0xa2, 0x44, 0x2d,
  96. 0x77, 0x44, 0xc1, 0x5d, 0xad, 0xb4, 0x60, 0x44, 0x66, 0x0c, 0x73, 0x4c, 0x89, 0xcc, 0xca, 0x82,
  97. 0xef, 0x41, 0x25, 0x85, 0x16, 0xfe, 0xd8, 0x68, 0x00, 0xce, 0x15, 0xe8, 0xe4, 0xe0, 0x10, 0x82,
  98. 0x4e, 0x3e, 0x78, 0x7e, 0x69, 0x02, 0xe1, 0x35, 0x53, 0xf0, 0xd4, 0x34, 0x53, 0x1a, 0xeb, 0x5a,
  99. 0x19, 0xef, 0xc1, 0xc3, 0x56, 0xd8, 0x7c, 0x6d, 0xeb, 0x4f, 0xf0, 0xb3, 0xc4, 0x55, 0x45, 0xa4,
  100. 0xbd, 0x1f, 0x5a, 0xe3, 0xaa, 0x80, 0x98, 0x73, 0xa1, 0xb1, 0x2e, 0x04, 0x6f, 0x6f, 0x1f, 0x7d,
  101. 0x73, 0xbd, 0xfb, 0x8b, 0x36, 0xf9, 0x3b, 0x33, 0xe3, 0x6d, 0xc1, 0xf7, 0xfe, 0x63, 0xaf, 0x67,
  102. 0xb3, 0x65, 0x1c, 0x33, 0x12, 0x38, 0x23, 0x67, 0x7a, 0x2b, 0xbe, 0x63, 0x0f, 0xdf, 0x63, 0x46,
  103. 0xfc, 0xa5, 0x77, 0xcf, 0xe6, 0xb2, 0xed, 0x83, 0xab, 0x91, 0x33, 0xbd, 0x3d, 0x1b, 0xb6, 0x35,
  104. 0x81, 0x4d, 0x05, 0x36, 0x5a, 0x16, 0x9c, 0x26, 0xb8, 0xac, 0x49, 0xdc, 0x6f, 0x55, 0x76, 0xb0,
  105. 0xbf, 0xf0, 0xfa, 0x7f, 0x14, 0x2c, 0xf2, 0xe0, 0x46, 0xe3, 0xf3, 0xe0, 0xcc, 0x67, 0xc5, 0xf5,
  106. 0xb3, 0xa7, 0xc6, 0xa6, 0xc7, 0x7e, 0x07, 0x5e, 0xe5, 0xfe, 0x47, 0xef, 0xda, 0x2c, 0x26, 0xb8,
  107. 0x39, 0x72, 0xa6, 0x77, 0x67, 0xaf, 0xc1, 0xa5, 0xad, 0x37, 0x2b, 0x05, 0x27, 0x75, 0x37, 0x8d,
  108. 0xee, 0x15, 0xaf, 0xd9, 0xf9, 0x69, 0xdc, 0xba, 0xce, 0xbf, 0xb8, 0xde, 0x64, 0x27, 0x18, 0xf8,
  109. 0xef, 0x5b, 0xce, 0x83, 0xbf, 0x6c, 0x74, 0x7d, 0x2c, 0xb0, 0x76, 0x3e, 0xbc, 0x69, 0xe5, 0x54,
  110. 0x94, 0x98, 0x53, 0x20, 0x24, 0x85, 0x94, 0xf0, 0xa6, 0x9e, 0x7d, 0xf7, 0xaa, 0x50, 0xff, 0xf8,
  111. 0xd1, 0x5e, 0x74, 0xe8, 0xab, 0x7b, 0xb5, 0x8c, 0xa2, 0xef, 0xee, 0x78, 0x69, 0x2c, 0xa3, 0x5c,
  112. 0x01, 0x03, 0x8f, 0x28, 0x09, 0x41, 0x6c, 0x99, 0x3f, 0x2c, 0x27, 0x8d, 0x72, 0x95, 0x76, 0x9c,
  113. 0x34, 0x09, 0xd3, 0x8e, 0xf3, 0xd3, 0x9d, 0x98, 0x0b, 0x84, 0xa2, 0x5c, 0x21, 0xd4, 0xb1, 0x10,
  114. 0x4a, 0x42, 0x84, 0x3a, 0xde, 0xf6, 0xba, 0x09, 0xfb, 0xe4, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff,
  115. 0x60, 0xab, 0x53, 0xed, 0x14, 0x03, 0x00, 0x00,
  116. }