1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v3/resources/geo_target_constant.proto
3
4package resources
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11	wrappers "github.com/golang/protobuf/ptypes/wrappers"
12	enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14)
15
16// Reference imports to suppress errors if they are not otherwise used.
17var _ = proto.Marshal
18var _ = fmt.Errorf
19var _ = math.Inf
20
21// This is a compile-time assertion to ensure that this generated file
22// is compatible with the proto package it is being compiled against.
23// A compilation error at this line likely means your copy of the
24// proto package needs to be updated.
25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
26
27// A geo target constant.
28type GeoTargetConstant struct {
29	// Output only. The resource name of the geo target constant.
30	// Geo target constant resource names have the form:
31	//
32	// `geoTargetConstants/{geo_target_constant_id}`
33	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
34	// Output only. The ID of the geo target constant.
35	Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
36	// Output only. Geo target constant English name.
37	Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
38	// Output only. The ISO-3166-1 alpha-2 country code that is associated with the target.
39	CountryCode *wrappers.StringValue `protobuf:"bytes,5,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
40	// Output only. Geo target constant target type.
41	TargetType *wrappers.StringValue `protobuf:"bytes,6,opt,name=target_type,json=targetType,proto3" json:"target_type,omitempty"`
42	// Output only. Geo target constant status.
43	Status enums.GeoTargetConstantStatusEnum_GeoTargetConstantStatus `protobuf:"varint,7,opt,name=status,proto3,enum=google.ads.googleads.v3.enums.GeoTargetConstantStatusEnum_GeoTargetConstantStatus" json:"status,omitempty"`
44	// Output only. The fully qualified English name, consisting of the target's name and that
45	// of its parent and country.
46	CanonicalName        *wrappers.StringValue `protobuf:"bytes,8,opt,name=canonical_name,json=canonicalName,proto3" json:"canonical_name,omitempty"`
47	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
48	XXX_unrecognized     []byte                `json:"-"`
49	XXX_sizecache        int32                 `json:"-"`
50}
51
52func (m *GeoTargetConstant) Reset()         { *m = GeoTargetConstant{} }
53func (m *GeoTargetConstant) String() string { return proto.CompactTextString(m) }
54func (*GeoTargetConstant) ProtoMessage()    {}
55func (*GeoTargetConstant) Descriptor() ([]byte, []int) {
56	return fileDescriptor_28e0880fcfd2987c, []int{0}
57}
58
59func (m *GeoTargetConstant) XXX_Unmarshal(b []byte) error {
60	return xxx_messageInfo_GeoTargetConstant.Unmarshal(m, b)
61}
62func (m *GeoTargetConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
63	return xxx_messageInfo_GeoTargetConstant.Marshal(b, m, deterministic)
64}
65func (m *GeoTargetConstant) XXX_Merge(src proto.Message) {
66	xxx_messageInfo_GeoTargetConstant.Merge(m, src)
67}
68func (m *GeoTargetConstant) XXX_Size() int {
69	return xxx_messageInfo_GeoTargetConstant.Size(m)
70}
71func (m *GeoTargetConstant) XXX_DiscardUnknown() {
72	xxx_messageInfo_GeoTargetConstant.DiscardUnknown(m)
73}
74
75var xxx_messageInfo_GeoTargetConstant proto.InternalMessageInfo
76
77func (m *GeoTargetConstant) GetResourceName() string {
78	if m != nil {
79		return m.ResourceName
80	}
81	return ""
82}
83
84func (m *GeoTargetConstant) GetId() *wrappers.Int64Value {
85	if m != nil {
86		return m.Id
87	}
88	return nil
89}
90
91func (m *GeoTargetConstant) GetName() *wrappers.StringValue {
92	if m != nil {
93		return m.Name
94	}
95	return nil
96}
97
98func (m *GeoTargetConstant) GetCountryCode() *wrappers.StringValue {
99	if m != nil {
100		return m.CountryCode
101	}
102	return nil
103}
104
105func (m *GeoTargetConstant) GetTargetType() *wrappers.StringValue {
106	if m != nil {
107		return m.TargetType
108	}
109	return nil
110}
111
112func (m *GeoTargetConstant) GetStatus() enums.GeoTargetConstantStatusEnum_GeoTargetConstantStatus {
113	if m != nil {
114		return m.Status
115	}
116	return enums.GeoTargetConstantStatusEnum_UNSPECIFIED
117}
118
119func (m *GeoTargetConstant) GetCanonicalName() *wrappers.StringValue {
120	if m != nil {
121		return m.CanonicalName
122	}
123	return nil
124}
125
126func init() {
127	proto.RegisterType((*GeoTargetConstant)(nil), "google.ads.googleads.v3.resources.GeoTargetConstant")
128}
129
130func init() {
131	proto.RegisterFile("google/ads/googleads/v3/resources/geo_target_constant.proto", fileDescriptor_28e0880fcfd2987c)
132}
133
134var fileDescriptor_28e0880fcfd2987c = []byte{
135	// 526 bytes of a gzipped FileDescriptorProto
136	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x41, 0x6b, 0x13, 0x41,
137	0x14, 0xc7, 0xc9, 0x26, 0x46, 0x9d, 0xb4, 0x05, 0xf7, 0x20, 0xb1, 0x16, 0x4d, 0x85, 0x42, 0x10,
138	0x99, 0x95, 0xac, 0x7a, 0xd8, 0x82, 0xb0, 0xa9, 0x12, 0xf5, 0x20, 0x25, 0x2d, 0x11, 0x25, 0xb0,
139	0x4c, 0x76, 0xa6, 0xe3, 0x42, 0x76, 0xde, 0x32, 0x33, 0x1b, 0x09, 0xe2, 0xc9, 0x6f, 0xe2, 0xd1,
140	0x8f, 0xe2, 0xa7, 0xe8, 0xb9, 0x77, 0x2f, 0x9e, 0x24, 0x3b, 0xb3, 0xdb, 0x60, 0x1a, 0x8d, 0xb7,
141	0x97, 0xbc, 0xff, 0xef, 0xff, 0xfe, 0x3b, 0x6f, 0x06, 0x1d, 0x72, 0x00, 0x3e, 0x65, 0x1e, 0xa1,
142	0xca, 0x33, 0xe5, 0xa2, 0x9a, 0xf9, 0x9e, 0x64, 0x0a, 0x72, 0x19, 0x33, 0xe5, 0x71, 0x06, 0x91,
143	0x26, 0x92, 0x33, 0x1d, 0xc5, 0x20, 0x94, 0x26, 0x42, 0xe3, 0x4c, 0x82, 0x06, 0x77, 0xdf, 0x10,
144	0x98, 0x50, 0x85, 0x2b, 0x18, 0xcf, 0x7c, 0x5c, 0xc1, 0xbb, 0xcf, 0xd7, 0xf9, 0x33, 0x91, 0xa7,
145	0x57, 0x7a, 0x47, 0x4a, 0x13, 0x9d, 0x2b, 0x33, 0x62, 0xf7, 0x7e, 0xc9, 0x67, 0x89, 0x77, 0x96,
146	0xb0, 0x29, 0x8d, 0x26, 0xec, 0x23, 0x99, 0x25, 0x20, 0xad, 0xe0, 0xce, 0x92, 0xa0, 0x1c, 0x6b,
147	0x5b, 0xf7, 0x6c, 0xab, 0xf8, 0x35, 0xc9, 0xcf, 0xbc, 0x4f, 0x92, 0x64, 0x19, 0x93, 0xa5, 0xf7,
148	0xde, 0x12, 0x4a, 0x84, 0x00, 0x4d, 0x74, 0x02, 0xc2, 0x76, 0x1f, 0xfc, 0x6c, 0xa0, 0x5b, 0x03,
149	0x06, 0xa7, 0x45, 0xba, 0x23, 0x1b, 0xce, 0x7d, 0x87, 0xb6, 0xcb, 0x29, 0x91, 0x20, 0x29, 0x6b,
150	0xd7, 0x3a, 0xb5, 0xee, 0xcd, 0x7e, 0xef, 0x3c, 0xac, 0xff, 0x0a, 0x1f, 0xa1, 0x87, 0x97, 0xc7,
151	0x60, 0xab, 0x2c, 0x51, 0x38, 0x86, 0xd4, 0x5b, 0xb1, 0x1a, 0x6e, 0x95, 0x46, 0x6f, 0x49, 0xca,
152	0xdc, 0xc7, 0xc8, 0x49, 0x68, 0xbb, 0xde, 0xa9, 0x75, 0x5b, 0xbd, 0xbb, 0x16, 0xc6, 0x65, 0x72,
153	0xfc, 0x5a, 0xe8, 0x67, 0x4f, 0x46, 0x64, 0x9a, 0xb3, 0x7e, 0xfd, 0x3c, 0xac, 0x0f, 0x9d, 0x84,
154	0xba, 0x4f, 0x51, 0xa3, 0x48, 0xd0, 0x28, 0x98, 0xbd, 0x15, 0xe6, 0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f, 0x52,
166	0x33, 0x0e, 0xa9, 0x1a, 0x57, 0x9a, 0xf1, 0xc8, 0x1f, 0x57, 0x9a, 0x0b, 0xe7, 0xc0, 0x34, 0x82,
167	0x20, 0xa4, 0x2a, 0x08, 0x2a, 0x55, 0x10, 0x8c, 0xfc, 0x20, 0xa8, 0x74, 0x93, 0x66, 0x11, 0xd6,
168	0xff, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x91, 0x9c, 0xbf, 0xbb, 0xa0, 0x04, 0x00, 0x00,
169}
170