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.
 
 
 

138 lines
6.0 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/resources/language_constant.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 _ "google.golang.org/genproto/googleapis/api/annotations"
  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. // A language.
  19. type LanguageConstant struct {
  20. // The resource name of the language constant.
  21. // Language constant resource names have the form:
  22. //
  23. // `languageConstants/{criterion_id}`
  24. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  25. // The ID of the language constant.
  26. Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  27. // The language code, e.g. "en_US", "en_AU", "es", "fr", etc.
  28. Code *wrappers.StringValue `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
  29. // The full name of the language in English, e.g., "English (US)", "Spanish",
  30. // etc.
  31. Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  32. // Whether the language is targetable.
  33. Targetable *wrappers.BoolValue `protobuf:"bytes,5,opt,name=targetable,proto3" json:"targetable,omitempty"`
  34. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  35. XXX_unrecognized []byte `json:"-"`
  36. XXX_sizecache int32 `json:"-"`
  37. }
  38. func (m *LanguageConstant) Reset() { *m = LanguageConstant{} }
  39. func (m *LanguageConstant) String() string { return proto.CompactTextString(m) }
  40. func (*LanguageConstant) ProtoMessage() {}
  41. func (*LanguageConstant) Descriptor() ([]byte, []int) {
  42. return fileDescriptor_language_constant_0449f2c7e221874e, []int{0}
  43. }
  44. func (m *LanguageConstant) XXX_Unmarshal(b []byte) error {
  45. return xxx_messageInfo_LanguageConstant.Unmarshal(m, b)
  46. }
  47. func (m *LanguageConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  48. return xxx_messageInfo_LanguageConstant.Marshal(b, m, deterministic)
  49. }
  50. func (dst *LanguageConstant) XXX_Merge(src proto.Message) {
  51. xxx_messageInfo_LanguageConstant.Merge(dst, src)
  52. }
  53. func (m *LanguageConstant) XXX_Size() int {
  54. return xxx_messageInfo_LanguageConstant.Size(m)
  55. }
  56. func (m *LanguageConstant) XXX_DiscardUnknown() {
  57. xxx_messageInfo_LanguageConstant.DiscardUnknown(m)
  58. }
  59. var xxx_messageInfo_LanguageConstant proto.InternalMessageInfo
  60. func (m *LanguageConstant) GetResourceName() string {
  61. if m != nil {
  62. return m.ResourceName
  63. }
  64. return ""
  65. }
  66. func (m *LanguageConstant) GetId() *wrappers.Int64Value {
  67. if m != nil {
  68. return m.Id
  69. }
  70. return nil
  71. }
  72. func (m *LanguageConstant) GetCode() *wrappers.StringValue {
  73. if m != nil {
  74. return m.Code
  75. }
  76. return nil
  77. }
  78. func (m *LanguageConstant) GetName() *wrappers.StringValue {
  79. if m != nil {
  80. return m.Name
  81. }
  82. return nil
  83. }
  84. func (m *LanguageConstant) GetTargetable() *wrappers.BoolValue {
  85. if m != nil {
  86. return m.Targetable
  87. }
  88. return nil
  89. }
  90. func init() {
  91. proto.RegisterType((*LanguageConstant)(nil), "google.ads.googleads.v1.resources.LanguageConstant")
  92. }
  93. func init() {
  94. proto.RegisterFile("google/ads/googleads/v1/resources/language_constant.proto", fileDescriptor_language_constant_0449f2c7e221874e)
  95. }
  96. var fileDescriptor_language_constant_0449f2c7e221874e = []byte{
  97. // 371 bytes of a gzipped FileDescriptorProto
  98. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xd1, 0x4a, 0xeb, 0x30,
  99. 0x18, 0xc7, 0x69, 0xb6, 0x73, 0xe0, 0xe4, 0x9c, 0x03, 0x52, 0x10, 0xca, 0x1c, 0xb2, 0x29, 0x83,
  100. 0x81, 0x90, 0x5a, 0x15, 0xc1, 0x78, 0xd5, 0x79, 0x31, 0x14, 0x91, 0x31, 0xa1, 0x17, 0x52, 0x18,
  101. 0x59, 0x13, 0x43, 0xa1, 0x4b, 0x4a, 0x92, 0xce, 0x7b, 0xf1, 0x49, 0xbc, 0xf4, 0x51, 0x7c, 0x14,
  102. 0x9f, 0x42, 0xda, 0xb4, 0x45, 0x1c, 0xa8, 0x77, 0x1f, 0xcd, 0xef, 0xf7, 0xff, 0x7f, 0x24, 0x85,
  103. 0x67, 0x5c, 0x4a, 0x9e, 0x31, 0x9f, 0x50, 0xed, 0xdb, 0xb1, 0x9c, 0xd6, 0x81, 0xaf, 0x98, 0x96,
  104. 0x85, 0x4a, 0x98, 0xf6, 0x33, 0x22, 0x78, 0x41, 0x38, 0x5b, 0x24, 0x52, 0x68, 0x43, 0x84, 0x41,
  105. 0xb9, 0x92, 0x46, 0xba, 0x43, 0xcb, 0x23, 0x42, 0x35, 0x6a, 0x55, 0xb4, 0x0e, 0x50, 0xab, 0xf6,
  106. 0x76, 0xeb, 0xf4, 0x4a, 0x58, 0x16, 0xf7, 0xfe, 0x83, 0x22, 0x79, 0xce, 0x94, 0xb6, 0x11, 0xbd,
  107. 0x7e, 0xd3, 0x9e, 0xa7, 0x3e, 0x11, 0x42, 0x1a, 0x62, 0x52, 0x29, 0xea, 0xd3, 0xbd, 0x27, 0x00,
  108. 0xb7, 0xae, 0xeb, 0xf2, 0x8b, 0xba, 0xdb, 0xdd, 0x87, 0xff, 0x9b, 0xfc, 0x85, 0x20, 0x2b, 0xe6,
  109. 0x39, 0x03, 0x67, 0xfc, 0x67, 0xfe, 0xaf, 0xf9, 0x78, 0x43, 0x56, 0xcc, 0x3d, 0x80, 0x20, 0xa5,
  110. 0x1e, 0x18, 0x38, 0xe3, 0xbf, 0x47, 0x3b, 0xf5, 0x72, 0xa8, 0x59, 0x02, 0x5d, 0x0a, 0x73, 0x7a,
  111. 0x12, 0x91, 0xac, 0x60, 0x73, 0x90, 0x52, 0xf7, 0x10, 0x76, 0x13, 0x49, 0x99, 0xd7, 0xa9, 0xf0,
  112. 0xfe, 0x06, 0x7e, 0x6b, 0x54, 0x2a, 0xb8, 0xe5, 0x2b, 0xb2, 0x34, 0xaa, 0xea, 0xee, 0x4f, 0x8c,
  113. 0x92, 0x74, 0x31, 0x84, 0x86, 0x28, 0xce, 0x0c, 0x59, 0x66, 0xcc, 0xfb, 0x55, 0x79, 0xbd, 0x0d,
  114. 0x6f, 0x22, 0x65, 0x66, 0xad, 0x0f, 0xf4, 0xe4, 0x11, 0xc0, 0x51, 0x22, 0x57, 0xe8, 0xdb, 0xeb,
  115. 0x9e, 0x6c, 0x7f, 0xbe, 0xad, 0x59, 0x99, 0x3c, 0x73, 0xee, 0xae, 0x6a, 0x97, 0xcb, 0xf2, 0x31,
  116. 0x91, 0x54, 0xdc, 0xe7, 0x4c, 0x54, 0xbd, 0xcd, 0xab, 0xe7, 0xa9, 0xfe, 0xe2, 0x27, 0x38, 0x6f,
  117. 0xa7, 0x67, 0xd0, 0x99, 0x86, 0xe1, 0x0b, 0x18, 0x4e, 0x6d, 0x64, 0x48, 0x35, 0xb2, 0x63, 0x39,
  118. 0x45, 0x01, 0x9a, 0x37, 0xe4, 0x6b, 0xc3, 0xc4, 0x21, 0xd5, 0x71, 0xcb, 0xc4, 0x51, 0x10, 0xb7,
  119. 0xcc, 0x1b, 0x18, 0xd9, 0x03, 0x8c, 0x43, 0xaa, 0x31, 0x6e, 0x29, 0x8c, 0xa3, 0x00, 0xe3, 0x96,
  120. 0x5b, 0xfe, 0xae, 0x96, 0x3d, 0x7e, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x54, 0x30, 0x09, 0x79, 0xb0,
  121. 0x02, 0x00, 0x00,
  122. }