| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/resources/customer_client.proto |
| |
| package resources |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // A link between the given customer and a client customer. CustomerClients only |
| // exist for manager customers. All direct and indirect client customers are |
| // included, as well as the manager itself. |
| type CustomerClient struct { |
| // The resource name of the customer client. |
| // CustomerClient resource names have the form: |
| // `customers/{customer_id}/customerClients/{client_customer_id}` |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| // The resource name of the client-customer which is linked to |
| // the given customer. Read only. |
| ClientCustomer *wrappers.StringValue `protobuf:"bytes,3,opt,name=client_customer,json=clientCustomer,proto3" json:"client_customer,omitempty"` |
| // Specifies whether this is a |
| // [hidden account](https://support.google.com/google-ads/answer/7519830). |
| // Read only. |
| Hidden *wrappers.BoolValue `protobuf:"bytes,4,opt,name=hidden,proto3" json:"hidden,omitempty"` |
| // Distance between given customer and client. For self link, the level value |
| // will be 0. Read only. |
| Level *wrappers.Int64Value `protobuf:"bytes,5,opt,name=level,proto3" json:"level,omitempty"` |
| // Common Locale Data Repository (CLDR) string representation of the |
| // time zone of the client, e.g. America/Los_Angeles. Read only. |
| TimeZone *wrappers.StringValue `protobuf:"bytes,6,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` |
| // Identifies if the client is a test account. Read only. |
| TestAccount *wrappers.BoolValue `protobuf:"bytes,7,opt,name=test_account,json=testAccount,proto3" json:"test_account,omitempty"` |
| // Identifies if the client is a manager. Read only. |
| Manager *wrappers.BoolValue `protobuf:"bytes,8,opt,name=manager,proto3" json:"manager,omitempty"` |
| // Descriptive name for the client. Read only. |
| DescriptiveName *wrappers.StringValue `protobuf:"bytes,9,opt,name=descriptive_name,json=descriptiveName,proto3" json:"descriptive_name,omitempty"` |
| // Currency code (e.g. 'USD', 'EUR') for the client. Read only. |
| CurrencyCode *wrappers.StringValue `protobuf:"bytes,10,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` |
| // The ID of the client customer. Read only. |
| Id *wrappers.Int64Value `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CustomerClient) Reset() { *m = CustomerClient{} } |
| func (m *CustomerClient) String() string { return proto.CompactTextString(m) } |
| func (*CustomerClient) ProtoMessage() {} |
| func (*CustomerClient) Descriptor() ([]byte, []int) { |
| return fileDescriptor_01c696c42eabfec5, []int{0} |
| } |
| |
| func (m *CustomerClient) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CustomerClient.Unmarshal(m, b) |
| } |
| func (m *CustomerClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CustomerClient.Marshal(b, m, deterministic) |
| } |
| func (m *CustomerClient) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CustomerClient.Merge(m, src) |
| } |
| func (m *CustomerClient) XXX_Size() int { |
| return xxx_messageInfo_CustomerClient.Size(m) |
| } |
| func (m *CustomerClient) XXX_DiscardUnknown() { |
| xxx_messageInfo_CustomerClient.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CustomerClient proto.InternalMessageInfo |
| |
| func (m *CustomerClient) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func (m *CustomerClient) GetClientCustomer() *wrappers.StringValue { |
| if m != nil { |
| return m.ClientCustomer |
| } |
| return nil |
| } |
| |
| func (m *CustomerClient) GetHidden() *wrappers.BoolValue { |
| if m != nil { |
| return m.Hidden |
| } |
| return nil |
| } |
| |
| func (m *CustomerClient) GetLevel() *wrappers.Int64Value { |
| if m != nil { |
| return m.Level |
| } |
| return nil |
| } |
| |
| func (m *CustomerClient) GetTimeZone() *wrappers.StringValue { |
| if m != nil { |
| return m.TimeZone |
| } |
| return nil |
| } |
| |
| func (m *CustomerClient) GetTestAccount() *wrappers.BoolValue { |
| if m != nil { |
| return m.TestAccount |
| } |
| return nil |
| } |
| |
| func (m *CustomerClient) GetManager() *wrappers.BoolValue { |
| if m != nil { |
| return m.Manager |
| } |
| return nil |
| } |
| |
| func (m *CustomerClient) GetDescriptiveName() *wrappers.StringValue { |
| if m != nil { |
| return m.DescriptiveName |
| } |
| return nil |
| } |
| |
| func (m *CustomerClient) GetCurrencyCode() *wrappers.StringValue { |
| if m != nil { |
| return m.CurrencyCode |
| } |
| return nil |
| } |
| |
| func (m *CustomerClient) GetId() *wrappers.Int64Value { |
| if m != nil { |
| return m.Id |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*CustomerClient)(nil), "google.ads.googleads.v3.resources.CustomerClient") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/resources/customer_client.proto", fileDescriptor_01c696c42eabfec5) |
| } |
| |
| var fileDescriptor_01c696c42eabfec5 = []byte{ |
| // 524 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x5f, 0x6b, 0x13, 0x4d, |
| 0x14, 0xc6, 0xc9, 0xf6, 0xed, 0x9f, 0x4c, 0xd2, 0xf6, 0x65, 0xbd, 0x59, 0x63, 0x91, 0x56, 0x29, |
| 0x16, 0x84, 0x59, 0xec, 0x96, 0x8a,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