1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v2/resources/label.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	common "google.golang.org/genproto/googleapis/ads/googleads/v2/common"
13	enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums"
14	_ "google.golang.org/genproto/googleapis/api/annotations"
15)
16
17// Reference imports to suppress errors if they are not otherwise used.
18var _ = proto.Marshal
19var _ = fmt.Errorf
20var _ = math.Inf
21
22// This is a compile-time assertion to ensure that this generated file
23// is compatible with the proto package it is being compiled against.
24// A compilation error at this line likely means your copy of the
25// proto package needs to be updated.
26const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
27
28// A label.
29type Label struct {
30	// Name of the resource.
31	// Label resource names have the form:
32	// `customers/{customer_id}/labels/{label_id}`
33	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
34	// Id of the label. Read only.
35	Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
36	// The name of the label.
37	//
38	// This field is required and should not be empty when creating a new label.
39	//
40	// The length of this string should be between 1 and 80, inclusive.
41	Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
42	// Status of the label. Read only.
43	Status enums.LabelStatusEnum_LabelStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.LabelStatusEnum_LabelStatus" json:"status,omitempty"`
44	// A type of label displaying text on a colored background.
45	TextLabel            *common.TextLabel `protobuf:"bytes,5,opt,name=text_label,json=textLabel,proto3" json:"text_label,omitempty"`
46	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
47	XXX_unrecognized     []byte            `json:"-"`
48	XXX_sizecache        int32             `json:"-"`
49}
50
51func (m *Label) Reset()         { *m = Label{} }
52func (m *Label) String() string { return proto.CompactTextString(m) }
53func (*Label) ProtoMessage()    {}
54func (*Label) Descriptor() ([]byte, []int) {
55	return fileDescriptor_ff08e2c812fe9893, []int{0}
56}
57
58func (m *Label) XXX_Unmarshal(b []byte) error {
59	return xxx_messageInfo_Label.Unmarshal(m, b)
60}
61func (m *Label) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
62	return xxx_messageInfo_Label.Marshal(b, m, deterministic)
63}
64func (m *Label) XXX_Merge(src proto.Message) {
65	xxx_messageInfo_Label.Merge(m, src)
66}
67func (m *Label) XXX_Size() int {
68	return xxx_messageInfo_Label.Size(m)
69}
70func (m *Label) XXX_DiscardUnknown() {
71	xxx_messageInfo_Label.DiscardUnknown(m)
72}
73
74var xxx_messageInfo_Label proto.InternalMessageInfo
75
76func (m *Label) GetResourceName() string {
77	if m != nil {
78		return m.ResourceName
79	}
80	return ""
81}
82
83func (m *Label) GetId() *wrappers.Int64Value {
84	if m != nil {
85		return m.Id
86	}
87	return nil
88}
89
90func (m *Label) GetName() *wrappers.StringValue {
91	if m != nil {
92		return m.Name
93	}
94	return nil
95}
96
97func (m *Label) GetStatus() enums.LabelStatusEnum_LabelStatus {
98	if m != nil {
99		return m.Status
100	}
101	return enums.LabelStatusEnum_UNSPECIFIED
102}
103
104func (m *Label) GetTextLabel() *common.TextLabel {
105	if m != nil {
106		return m.TextLabel
107	}
108	return nil
109}
110
111func init() {
112	proto.RegisterType((*Label)(nil), "google.ads.googleads.v2.resources.Label")
113}
114
115func init() {
116	proto.RegisterFile("google/ads/googleads/v2/resources/label.proto", fileDescriptor_ff08e2c812fe9893)
117}
118
119var fileDescriptor_ff08e2c812fe9893 = []byte{
120	// 411 bytes of a gzipped FileDescriptorProto
121	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4d, 0x6b, 0xdb, 0x30,
122	0x1c, 0xc6, 0xb1, 0xf3, 0x02, 0xd1, 0x5e, 0x0e, 0x3e, 0x99, 0x2c, 0x8c, 0x64, 0x23, 0x90, 0x31,
123	0x26, 0x05, 0x6f, 0xec, 0xa0, 0x9d, 0x1c, 0x18, 0xd9, 0xc6, 0x18, 0xc1, 0x19, 0x3e, 0x0c, 0x43,
124	0x50, 0x62, 0xcd, 0x18, 0x6c, 0xc9, 0x58, 0x72, 0x9a, 0xcf, 0xd3, 0x5b, 0xfb, 0x51, 0xfa, 0x51,
125	0xfa, 0x05, 0x7a, 0x2d, 0x96, 0x2c, 0x37, 0x50, 0xdc, 0xde, 0x1e, 0x59, 0xbf, 0xe7, 0xd1, 0xff,
126	0xc5, 0xe0, 0x53, 0xc2, 0x79, 0x92, 0x51, 0x44, 0x62, 0x81, 0xb4, 0xac, 0xd5, 0xd1, 0x43, 0x25,
127	0x15, 0xbc, 0x2a, 0x0f, 0x54, 0xa0, 0x8c, 0xec, 0x69, 0x06, 0x8b, 0x92, 0x4b, 0xee, 0xcc, 0x34,
128	0x03, 0x49, 0x2c, 0x60, 0x8b, 0xc3, 0xa3, 0x07, 0x5b, 0x7c, 0x8c, 0xba, 0x12, 0x0f, 0x3c, 0xcf,
129	0x39, 0x43, 0x92, 0x9e, 0xe4, 0xee, 0x2c, 0x73, 0xbc, 0xec, 0x32, 0x50, 0x56, 0xe5, 0xcd, 0xf3,
130	0x3b, 0x21, 0x89, 0xac, 0x44, 0xe3, 0x78, 0xdb, 0x38, 0xd4, 0x69, 0x5f, 0xfd, 0x47, 0x17, 0x25,
131	0x29, 0x0a, 0x5a, 0x9a, 0xfb, 0x89, 0x49, 0x2c, 0x52, 0x44, 0x18, 0xe3, 0x92, 0xc8, 0x94, 0xb3,
132	0xe6, 0xf6, 0xdd, 0x95, 0x0d, 0x06, 0xbf, 0xeb, 0x50, 0xe7, 0x3d, 0x78, 0x65, 0xea, 0xde, 0x31,
133	0x92, 0x53, 0xd7, 0x9a, 0x5a, 0x8b, 0x51, 0xf0, 0xd2, 0x7c, 0xfc, 0x43, 0x72, 0xea, 0x7c, 0x04,
134	0x76, 0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87, 0x71, 0xcb, 0xed, 0x87, 0xaa, 0xd8, 0xcf, 0xf7, 0x01, 0x00,
146	0x00, 0xff, 0xff, 0x30, 0xf5, 0xe2, 0x35, 0x21, 0x03, 0x00, 0x00,
147}
148