|
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: google/ads/googleads/v1/common/text_label.proto
-
- package common // import "google.golang.org/genproto/googleapis/ads/googleads/v1/common"
-
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import wrappers "github.com/golang/protobuf/ptypes/wrappers"
- import _ "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.ProtoPackageIsVersion2 // 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_text_label_8d5c96ee295f1e5f, []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 (dst *TextLabel) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TextLabel.Merge(dst, 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.v1.common.TextLabel")
- }
-
- func init() {
- proto.RegisterFile("google/ads/googleads/v1/common/text_label.proto", fileDescriptor_text_label_8d5c96ee295f1e5f)
- }
-
- var fileDescriptor_text_label_8d5c96ee295f1e5f = []byte{
- // 318 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xc1, 0x4a, 0xfb, 0x30,
- 0x1c, 0xc7, 0x69, 0xff, 0xf0, 0x07, 0x3b, 0x50, 0xd9, 0x69, 0x8c, 0x31, 0x64, 0x27, 0x4f, 0x09,
- 0xd5, 0x5b, 0x04, 0xa1, 0x9b, 0xb0, 0x8b, 0x87, 0xa1, 0xd2, 0x83, 0x14, 0x46, 0xda, 0xc4, 0x50,
- 0xcc, 0xf2, 0x0b, 0x49, 0x36, 0xf7, 0x20, 0x3e, 0x81, 0x47, 0x1f, 0xc5, 0x37, 0xd1, 0xa7, 0x90,
- 0x34, 0x6d, 0xf5, 0xa2, 0x78, 0xea, 0x97, 0xe6, 0xf3, 0xf9, 0x7d, 0x93, 0x5f, 0x82, 0x05, 0x80,
- 0x90, 0x1c, 0x53, 0x66, 0xdb, 0xe8, 0xd3, 0x2e, 0xc5, 0x15, 0x6c, 0x36, 0xa0, 0xb0, 0xe3, 0x7b,
- 0xb7, 0x96, 0xb4, 0xe4, 0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