| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v2/resources/topic_constant.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 |
| |
| // Use topics to target or exclude placements in the Google Display Network |
| // based on the category into which the placement falls (for example, |
| // "Pets & Animals/Pets/Dogs"). |
| type TopicConstant struct { |
| // Output only. The resource name of the topic constant. |
| // topic constant resource names have the form: |
| // |
| // `topicConstants/{topic_id}` |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| // Output only. The ID of the topic. |
| Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` |
| // Output only. Resource name of parent of the topic constant. |
| TopicConstantParent *wrappers.StringValue `protobuf:"bytes,3,opt,name=topic_constant_parent,json=topicConstantParent,proto3" json:"topic_constant_parent,omitempty"` |
| // Output only. The category to target or exclude. Each subsequent element in the array |
| // describes a more specific sub-category. For example, |
| // {"Pets & Animals", "Pets", "Dogs"} represents the |
| // "Pets & Animals/Pets/Dogs" category. List of available topic categories at |
| // https://developers.google.com/adwords/api/docs/appendix/verticals |
| Path []*wrappers.StringValue `protobuf:"bytes,4,rep,name=path,proto3" json:"path,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *TopicConstant) Reset() { *m = TopicConstant{} } |
| func (m *TopicConstant) String() string { return proto.CompactTextString(m) } |
| func (*TopicConstant) ProtoMessage() {} |
| func (*TopicConstant) Descriptor() ([]byte, []int) { |
| return fileDescriptor_bc8e2bc7b19f8427, []int{0} |
| } |
| |
| func (m *TopicConstant) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_TopicConstant.Unmarshal(m, b) |
| } |
| func (m *TopicConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_TopicConstant.Marshal(b, m, deterministic) |
| } |
| func (m *TopicConstant) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_TopicConstant.Merge(m, src) |
| } |
| func (m *TopicConstant) XXX_Size() int { |
| return xxx_messageInfo_TopicConstant.Size(m) |
| } |
| func (m *TopicConstant) XXX_DiscardUnknown() { |
| xxx_messageInfo_TopicConstant.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_TopicConstant proto.InternalMessageInfo |
| |
| func (m *TopicConstant) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func (m *TopicConstant) GetId() *wrappers.Int64Value { |
| if m != nil { |
| return m.Id |
| } |
| return nil |
| } |
| |
| func (m *TopicConstant) GetTopicConstantParent() *wrappers.StringValue { |
| if m != nil { |
| return m.TopicConstantParent |
| } |
| return nil |
| } |
| |
| func (m *TopicConstant) GetPath() []*wrappers.StringValue { |
| if m != nil { |
| return m.Path |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*TopicConstant)(nil), "google.ads.googleads.v2.resources.TopicConstant") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v2/resources/topic_constant.proto", fileDescriptor_bc8e2bc7b19f8427) |
| } |
| |
| var fileDescriptor_bc8e2bc7b19f8427 = []byte{ |
| // 433 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0xcf, 0x6a, 0x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