You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

106 lines
4.9 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/common/text_label.proto
  3. package common // import "google.golang.org/genproto/googleapis/ads/googleads/v1/common"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import wrappers "github.com/golang/protobuf/ptypes/wrappers"
  8. import _ "google.golang.org/genproto/googleapis/api/annotations"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  18. // A type of label displaying text on a colored background.
  19. type TextLabel struct {
  20. // Background color of the label in RGB format. This string must match the
  21. // regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'.
  22. // Note: The background color may not be visible for manager accounts.
  23. BackgroundColor *wrappers.StringValue `protobuf:"bytes,1,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"`
  24. // A short description of the label. The length must be no more than 200
  25. // characters.
  26. Description *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  27. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  28. XXX_unrecognized []byte `json:"-"`
  29. XXX_sizecache int32 `json:"-"`
  30. }
  31. func (m *TextLabel) Reset() { *m = TextLabel{} }
  32. func (m *TextLabel) String() string { return proto.CompactTextString(m) }
  33. func (*TextLabel) ProtoMessage() {}
  34. func (*TextLabel) Descriptor() ([]byte, []int) {
  35. return fileDescriptor_text_label_8d5c96ee295f1e5f, []int{0}
  36. }
  37. func (m *TextLabel) XXX_Unmarshal(b []byte) error {
  38. return xxx_messageInfo_TextLabel.Unmarshal(m, b)
  39. }
  40. func (m *TextLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  41. return xxx_messageInfo_TextLabel.Marshal(b, m, deterministic)
  42. }
  43. func (dst *TextLabel) XXX_Merge(src proto.Message) {
  44. xxx_messageInfo_TextLabel.Merge(dst, src)
  45. }
  46. func (m *TextLabel) XXX_Size() int {
  47. return xxx_messageInfo_TextLabel.Size(m)
  48. }
  49. func (m *TextLabel) XXX_DiscardUnknown() {
  50. xxx_messageInfo_TextLabel.DiscardUnknown(m)
  51. }
  52. var xxx_messageInfo_TextLabel proto.InternalMessageInfo
  53. func (m *TextLabel) GetBackgroundColor() *wrappers.StringValue {
  54. if m != nil {
  55. return m.BackgroundColor
  56. }
  57. return nil
  58. }
  59. func (m *TextLabel) GetDescription() *wrappers.StringValue {
  60. if m != nil {
  61. return m.Description
  62. }
  63. return nil
  64. }
  65. func init() {
  66. proto.RegisterType((*TextLabel)(nil), "google.ads.googleads.v1.common.TextLabel")
  67. }
  68. func init() {
  69. proto.RegisterFile("google/ads/googleads/v1/common/text_label.proto", fileDescriptor_text_label_8d5c96ee295f1e5f)
  70. }
  71. var fileDescriptor_text_label_8d5c96ee295f1e5f = []byte{
  72. // 318 bytes of a gzipped FileDescriptorProto
  73. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xc1, 0x4a, 0xfb, 0x30,
  74. 0x1c, 0xc7, 0x69, 0xff, 0xf0, 0x07, 0x3b, 0x50, 0xd9, 0x69, 0x8c, 0x31, 0x64, 0x27, 0x4f, 0x09,
  75. 0xd5, 0x5b, 0x04, 0xa1, 0x9b, 0xb0, 0x8b, 0x87, 0xa1, 0xd2, 0x83, 0x14, 0x46, 0xda, 0xc4, 0x50,
  76. 0xcc, 0xf2, 0x0b, 0x49, 0x36, 0xf7, 0x20, 0x3e, 0x81, 0x47, 0x1f, 0xc5, 0x37, 0xd1, 0xa7, 0x90,
  77. 0x34, 0x6d, 0xf5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6e, 0x5d, 0xdb, 0x9f, 0xb6, 0x7f, 0x11, 0x3e, 0x2f, 0xf1, 0xbf, 0x65, 0x96,
  89. 0xbd, 0xc6, 0xd3, 0x65, 0x18, 0x96, 0x31, 0x8b, 0x42, 0xf4, 0x29, 0x4f, 0xd1, 0xa2, 0xc1, 0xde,
  90. 0x3a, 0xa0, 0xc8, 0x98, 0x2d, 0x7a, 0xa0, 0xc8, 0xd3, 0x22, 0x00, 0x1f, 0xf1, 0x2c, 0xfc, 0x25,
  91. 0x24, 0x63, 0x96, 0x90, 0x1e, 0x21, 0x24, 0x4f, 0x09, 0x09, 0x50, 0xf9, 0xbf, 0xb9, 0xdd, 0xf9,
  92. 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0xae, 0x01, 0x9e, 0x77, 0x1a, 0x02, 0x00, 0x00,
  93. }