| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/resources/label.proto |
| |
| package resources |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| common "google.golang.org/genproto/googleapis/ads/googleads/v3/common" |
| enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums" |
| _ "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 label. |
| type Label struct { |
| // Name of the resource. |
| // Label resource names have the form: |
| // `customers/{customer_id}/labels/{label_id}` |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| // Id of the label. Read only. |
| Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` |
| // The name of the label. |
| // |
| // This field is required and should not be empty when creating a new label. |
| // |
| // The length of this string should be between 1 and 80, inclusive. |
| Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` |
| // Status of the label. Read only. |
| Status enums.LabelStatusEnum_LabelStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.ads.googleads.v3.enums.LabelStatusEnum_LabelStatus" json:"status,omitempty"` |
| // A type of label displaying text on a colored background. |
| TextLabel *common.TextLabel `protobuf:"bytes,5,opt,name=text_label,json=textLabel,proto3" json:"text_label,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Label) Reset() { *m = Label{} } |
| func (m *Label) String() string { return proto.CompactTextString(m) } |
| func (*Label) ProtoMessage() {} |
| func (*Label) Descriptor() ([]byte, []int) { |
| return fileDescriptor_218eb3ad030af589, []int{0} |
| } |
| |
| func (m *Label) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Label.Unmarshal(m, b) |
| } |
| func (m *Label) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Label.Marshal(b, m, deterministic) |
| } |
| func (m *Label) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Label.Merge(m, src) |
| } |
| func (m *Label) XXX_Size() int { |
| return xxx_messageInfo_Label.Size(m) |
| } |
| func (m *Label) XXX_DiscardUnknown() { |
| xxx_messageInfo_Label.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Label proto.InternalMessageInfo |
| |
| func (m *Label) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func (m *Label) GetId() *wrappers.Int64Value { |
| if m != nil { |
| return m.Id |
| } |
| return nil |
| } |
| |
| func (m *Label) GetName() *wrappers.StringValue { |
| if m != nil { |
| return m.Name |
| } |
| return nil |
| } |
| |
| func (m *Label) GetStatus() enums.LabelStatusEnum_LabelStatus { |
| if m != nil { |
| return m.Status |
| } |
| return enums.LabelStatusEnum_UNSPECIFIED |
| } |
| |
| func (m *Label) GetTextLabel() *common.TextLabel { |
| if m != nil { |
| return m.TextLabel |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*Label)(nil), "google.ads.googleads.v3.resources.Label") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/resources/label.proto", fileDescriptor_218eb3ad030af589) |
| } |
| |
| var fileDescriptor_218eb3ad030af589 = []byte{ |
| // 452 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcb, 0x6a, 0xdc, 0x30, |
| 0x14, 0x86,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