| // 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 { |
| // Output only. 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"` |
| // Output only. 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"` |
| // Output only. 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"` |
| // Output only. 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"` |
| // Output only. 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"` |
| // Output only. 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"` |
| // Output only. Identifies if the client is a manager. Read only. |
| Manager *wrappers.BoolValue `protobuf:"bytes,8,opt,name=manager,proto3" json:"manager,omitempty"` |
| // Output only. Descriptive name for the client. Read only. |
| DescriptiveName *wrappers.StringValue `protobuf:"bytes,9,opt,name=descriptive_name,json=descriptiveName,proto3" json:"descriptive_name,omitempty"` |
| // Output only. 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"` |
| // Output only. 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{ |
| // 557 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdd, 0x6a, 0xd4, 0x4e, |
| 0x18, 0xc6, 0xd9, 0xec, 0xbf, 0xdb, 0x76, 0xfa, 0xf5, 0x27, 0x9e, 0xc4, 0xb5, 0x68, 0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