| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v1/resources/campaign_label.proto |
| |
| package resources |
| |
| 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 |
| |
| // Represents a relationship between a campaign and a label. |
| type CampaignLabel struct { |
| // Name of the resource. |
| // Campaign label resource names have the form: |
| // `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| // The campaign to which the label is attached. |
| Campaign *wrappers.StringValue `protobuf:"bytes,2,opt,name=campaign,proto3" json:"campaign,omitempty"` |
| // The label assigned to the campaign. |
| Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CampaignLabel) Reset() { *m = CampaignLabel{} } |
| func (m *CampaignLabel) String() string { return proto.CompactTextString(m) } |
| func (*CampaignLabel) ProtoMessage() {} |
| func (*CampaignLabel) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a1b047812890bf04, []int{0} |
| } |
| |
| func (m *CampaignLabel) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CampaignLabel.Unmarshal(m, b) |
| } |
| func (m *CampaignLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CampaignLabel.Marshal(b, m, deterministic) |
| } |
| func (m *CampaignLabel) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CampaignLabel.Merge(m, src) |
| } |
| func (m *CampaignLabel) XXX_Size() int { |
| return xxx_messageInfo_CampaignLabel.Size(m) |
| } |
| func (m *CampaignLabel) XXX_DiscardUnknown() { |
| xxx_messageInfo_CampaignLabel.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CampaignLabel proto.InternalMessageInfo |
| |
| func (m *CampaignLabel) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func (m *CampaignLabel) GetCampaign() *wrappers.StringValue { |
| if m != nil { |
| return m.Campaign |
| } |
| return nil |
| } |
| |
| func (m *CampaignLabel) GetLabel() *wrappers.StringValue { |
| if m != nil { |
| return m.Label |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*CampaignLabel)(nil), "google.ads.googleads.v1.resources.CampaignLabel") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v1/resources/campaign_label.proto", fileDescriptor_a1b047812890bf04) |
| } |
| |
| var fileDescriptor_a1b047812890bf04 = []byte{ |
| // 323 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xcf, 0x4a, 0xc3, 0x30, |
| 0x1c, 0xc7, 0x69, 0x87, 0xa2, 0xd5, 0x5d, 0x7a, 0x1a, 0x63, 0xc8, 0xa6, 0x0c, 0x76, 0x4a, 0xe8, |
| 0x04, 0x91, 0x78, 0xea, 0x3c, 0x0c, 0x44, 0x64, 0x4c, 0xe8, 0x41, 0x0a, 0xe3, 0xb7, 0x35, 0x86, |
| 0x42, 0x9b, 0x84, 0xa4, 0x9d, 0xef, 0xb3, 0xa3, 0x8f, 0xe2, 0xa3, 0xf8, 0x12, 0x4a, 0x9b, 0x26, |
| 0xe0, 0x45, 0xbd, 0x7d, 0x69,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