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.
 
 
 

167 lines
7.5 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/resources/shared_set.proto
  3. package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v1/resources"
  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 enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
  9. import _ "google.golang.org/genproto/googleapis/api/annotations"
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  19. // SharedSets are used for sharing criterion exclusions across multiple
  20. // campaigns.
  21. type SharedSet struct {
  22. // The resource name of the shared set.
  23. // Shared set resource names have the form:
  24. //
  25. // `customers/{customer_id}/sharedSets/{shared_set_id}`
  26. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  27. // The ID of this shared set. Read only.
  28. Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  29. // The type of this shared set: each shared set holds only a single kind
  30. // of resource. Required. Immutable.
  31. Type enums.SharedSetTypeEnum_SharedSetType `protobuf:"varint,3,opt,name=type,proto3,enum=google.ads.googleads.v1.enums.SharedSetTypeEnum_SharedSetType" json:"type,omitempty"`
  32. // The name of this shared set. Required.
  33. // Shared Sets must have names that are unique among active shared sets of
  34. // the same type.
  35. // The length of this string should be between 1 and 255 UTF-8 bytes,
  36. // inclusive.
  37. Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  38. // The status of this shared set. Read only.
  39. Status enums.SharedSetStatusEnum_SharedSetStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.SharedSetStatusEnum_SharedSetStatus" json:"status,omitempty"`
  40. // The number of shared criteria within this shared set. Read only.
  41. MemberCount *wrappers.Int64Value `protobuf:"bytes,6,opt,name=member_count,json=memberCount,proto3" json:"member_count,omitempty"`
  42. // The number of campaigns associated with this shared set. Read only.
  43. ReferenceCount *wrappers.Int64Value `protobuf:"bytes,7,opt,name=reference_count,json=referenceCount,proto3" json:"reference_count,omitempty"`
  44. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  45. XXX_unrecognized []byte `json:"-"`
  46. XXX_sizecache int32 `json:"-"`
  47. }
  48. func (m *SharedSet) Reset() { *m = SharedSet{} }
  49. func (m *SharedSet) String() string { return proto.CompactTextString(m) }
  50. func (*SharedSet) ProtoMessage() {}
  51. func (*SharedSet) Descriptor() ([]byte, []int) {
  52. return fileDescriptor_shared_set_21a549ff451f2aa5, []int{0}
  53. }
  54. func (m *SharedSet) XXX_Unmarshal(b []byte) error {
  55. return xxx_messageInfo_SharedSet.Unmarshal(m, b)
  56. }
  57. func (m *SharedSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  58. return xxx_messageInfo_SharedSet.Marshal(b, m, deterministic)
  59. }
  60. func (dst *SharedSet) XXX_Merge(src proto.Message) {
  61. xxx_messageInfo_SharedSet.Merge(dst, src)
  62. }
  63. func (m *SharedSet) XXX_Size() int {
  64. return xxx_messageInfo_SharedSet.Size(m)
  65. }
  66. func (m *SharedSet) XXX_DiscardUnknown() {
  67. xxx_messageInfo_SharedSet.DiscardUnknown(m)
  68. }
  69. var xxx_messageInfo_SharedSet proto.InternalMessageInfo
  70. func (m *SharedSet) GetResourceName() string {
  71. if m != nil {
  72. return m.ResourceName
  73. }
  74. return ""
  75. }
  76. func (m *SharedSet) GetId() *wrappers.Int64Value {
  77. if m != nil {
  78. return m.Id
  79. }
  80. return nil
  81. }
  82. func (m *SharedSet) GetType() enums.SharedSetTypeEnum_SharedSetType {
  83. if m != nil {
  84. return m.Type
  85. }
  86. return enums.SharedSetTypeEnum_UNSPECIFIED
  87. }
  88. func (m *SharedSet) GetName() *wrappers.StringValue {
  89. if m != nil {
  90. return m.Name
  91. }
  92. return nil
  93. }
  94. func (m *SharedSet) GetStatus() enums.SharedSetStatusEnum_SharedSetStatus {
  95. if m != nil {
  96. return m.Status
  97. }
  98. return enums.SharedSetStatusEnum_UNSPECIFIED
  99. }
  100. func (m *SharedSet) GetMemberCount() *wrappers.Int64Value {
  101. if m != nil {
  102. return m.MemberCount
  103. }
  104. return nil
  105. }
  106. func (m *SharedSet) GetReferenceCount() *wrappers.Int64Value {
  107. if m != nil {
  108. return m.ReferenceCount
  109. }
  110. return nil
  111. }
  112. func init() {
  113. proto.RegisterType((*SharedSet)(nil), "google.ads.googleads.v1.resources.SharedSet")
  114. }
  115. func init() {
  116. proto.RegisterFile("google/ads/googleads/v1/resources/shared_set.proto", fileDescriptor_shared_set_21a549ff451f2aa5)
  117. }
  118. var fileDescriptor_shared_set_21a549ff451f2aa5 = []byte{
  119. // 457 bytes of a gzipped FileDescriptorProto
  120. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x41, 0x6b, 0xdb, 0x30,
  121. 0x14, 0xc7, 0xb1, 0x93, 0x65, 0x54, 0xed, 0x32, 0xf0, 0xc9, 0x74, 0x65, 0xa4, 0x1b, 0x85, 0xc0,
  122. 0x40, 0x9e, 0xd3, 0x6d, 0x07, 0x0d, 0x0a, 0xce, 0x36, 0xca, 0x76, 0x18, 0xc5, 0x19, 0x39, 0x94,
  123. 0x40, 0x50, 0xa2, 0x57, 0xcf, 0x10, 0x4b, 0x46, 0x92, 0x3b, 0xfa, 0x75, 0x76, 0xdc, 0xf7, 0xd8,
  124. 0x65, 0x1f, 0x65, 0x5f, 0x61, 0x97, 0x61, 0xc9, 0x12, 0x2b, 0xa3, 0x4d, 0x6e, 0xcf, 0x4f, 0xff,
  125. 0xff, 0x4f, 0xff, 0xf7, 0x90, 0xd1, 0xa4, 0x10, 0xa2, 0xd8, 0x40, 0x42, 0x99, 0x4a, 0x6c, 0xd9,
  126. 0x56, 0xd7, 0x69, 0x22, 0x41, 0x89, 0x46, 0xae, 0x41, 0x25, 0xea, 0x2b, 0x95, 0xc0, 0x96, 0x0a,
  127. 0x34, 0xae, 0xa5, 0xd0, 0x22, 0x3a, 0xb6, 0x42, 0x4c, 0x99, 0xc2, 0xde, 0x83, 0xaf, 0x53, 0xec,
  128. 0x3d, 0x87, 0xaf, 0xef, 0xc2, 0x02, 0x6f, 0xaa, 0x7f, 0x91, 0x4b, 0xa5, 0xa9, 0x6e, 0x94, 0x25,
  129. 0x1f, 0x9e, 0xee, 0x6c, 0xd3, 0x37, 0x35, 0x74, 0xa6, 0xa7, 0x9d, 0xc9, 0x7c, 0xad, 0x9a, 0xab,
  130. 0xe4, 0x9b, 0xa4, 0x75, 0x0d, 0xd2, 0x41, 0x8f, 0x1c, 0xb4, 0x2e, 0x13, 0xca, 0xb9, 0xd0, 0x54,
  131. 0x97, 0x82, 0x77, 0xa7, 0xcf, 0x7e, 0xf6, 0xd0, 0xde, 0xcc, 0x70, 0x67, 0xa0, 0xa3, 0xe7, 0xe8,
  132. 0x91, 0x1b, 0x62, 0xc9, 0x69, 0x05, 0x71, 0x30, 0x0a, 0xc6, 0x7b, 0xf9, 0x81, 0x6b, 0x7e, 0xa6,
  133. 0x15, 0x44, 0x2f, 0x50, 0x58, 0xb2, 0x38, 0x1c, 0x05, 0xe3, 0xfd, 0xc9, 0x93, 0x6e, 0x03, 0xd8,
  134. 0xdd, 0x8e, 0x3f, 0x72, 0xfd, 0xe6, 0xd5, 0x9c, 0x6e, 0x1a, 0xc8, 0xc3, 0x92, 0x45, 0x39, 0xea,
  135. 0xb7, 0x59, 0xe3, 0xde, 0x28, 0x18, 0x0f, 0x27, 0x67, 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e, 0x87, 0x27, 0xf6, 0x80, 0x90, 0x8c, 0x29, 0x42, 0xbc,
  147. 0x8a, 0x90, 0x79, 0x4a, 0x88, 0xd7, 0xad, 0x06, 0x26, 0xec, 0xe9, 0xdf, 0x00, 0x00, 0x00, 0xff,
  148. 0xff, 0xe0, 0xe4, 0x1a, 0x66, 0xcf, 0x03, 0x00, 0x00,
  149. }