File: text_label.pb.go

package info (click to toggle)
golang-google-genproto 0.0~git20200413.b5235f6-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, bookworm-proposed-updates, experimental, sid
  • size: 50,812 kB
  • sloc: sh: 49; makefile: 12
file content (109 lines) | stat: -rw-r--r-- 4,904 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/common/text_label.proto

package common

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 type of label displaying text on a colored background.
type TextLabel struct {
	// Background color of the label in RGB format. This string must match the
	// regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'.
	// Note: The background color may not be visible for manager accounts.
	BackgroundColor *wrappers.StringValue `protobuf:"bytes,1,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"`
	// A short description of the label. The length must be no more than 200
	// characters.
	Description          *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *TextLabel) Reset()         { *m = TextLabel{} }
func (m *TextLabel) String() string { return proto.CompactTextString(m) }
func (*TextLabel) ProtoMessage()    {}
func (*TextLabel) Descriptor() ([]byte, []int) {
	return fileDescriptor_9cba9b2419deeefc, []int{0}
}

func (m *TextLabel) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_TextLabel.Unmarshal(m, b)
}
func (m *TextLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_TextLabel.Marshal(b, m, deterministic)
}
func (m *TextLabel) XXX_Merge(src proto.Message) {
	xxx_messageInfo_TextLabel.Merge(m, src)
}
func (m *TextLabel) XXX_Size() int {
	return xxx_messageInfo_TextLabel.Size(m)
}
func (m *TextLabel) XXX_DiscardUnknown() {
	xxx_messageInfo_TextLabel.DiscardUnknown(m)
}

var xxx_messageInfo_TextLabel proto.InternalMessageInfo

func (m *TextLabel) GetBackgroundColor() *wrappers.StringValue {
	if m != nil {
		return m.BackgroundColor
	}
	return nil
}

func (m *TextLabel) GetDescription() *wrappers.StringValue {
	if m != nil {
		return m.Description
	}
	return nil
}

func init() {
	proto.RegisterType((*TextLabel)(nil), "google.ads.googleads.v3.common.TextLabel")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v3/common/text_label.proto", fileDescriptor_9cba9b2419deeefc)
}

var fileDescriptor_9cba9b2419deeefc = []byte{
	// 315 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xc1, 0x4a, 0xc3, 0x30,
	0x18, 0xc7, 0x69, 0x05, 0xc1, 0x0e, 0x54, 0x76, 0x1a, 0x63, 0x0c, 0xd9, 0xc9, 0x53, 0x02, 0xf6,
	0x16, 0x41, 0xe8, 0x26, 0xec, 0xe2, 0x61, 0xa8, 0xf4, 0x20, 0x85, 0x91, 0x36, 0x31, 0x14, 0xb3,
	0x7c, 0x21, 0xc9, 0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