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.
 
 
 

165 lines
7.4 KiB

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