| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v1/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_7e0961a18b03751e, []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.v1.resources.TopicConstant") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v1/resources/topic_constant.proto", fileDescriptor_7e0961a18b03751e) |
| } |
| |
| var fileDescriptor_7e0961a18b03751e = []byte{ |
| // 434 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0xcd, 0x6a, 0xd4, 0x40, |
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