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.
 
 
 

125 lines
5.4 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/resources/language_constant.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. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // A language.
  18. type LanguageConstant struct {
  19. // The resource name of the language constant.
  20. // Language constant resource names have the form:
  21. //
  22. // `languageConstants/{criterion_id}`
  23. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  24. // The ID of the language constant.
  25. Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  26. // The language code, e.g. "en_US", "en_AU", "es", "fr", etc.
  27. Code *wrappers.StringValue `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
  28. // The full name of the language in English, e.g., "English (US)", "Spanish",
  29. // etc.
  30. Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  31. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  32. XXX_unrecognized []byte `json:"-"`
  33. XXX_sizecache int32 `json:"-"`
  34. }
  35. func (m *LanguageConstant) Reset() { *m = LanguageConstant{} }
  36. func (m *LanguageConstant) String() string { return proto.CompactTextString(m) }
  37. func (*LanguageConstant) ProtoMessage() {}
  38. func (*LanguageConstant) Descriptor() ([]byte, []int) {
  39. return fileDescriptor_language_constant_f99f4e02e7918979, []int{0}
  40. }
  41. func (m *LanguageConstant) XXX_Unmarshal(b []byte) error {
  42. return xxx_messageInfo_LanguageConstant.Unmarshal(m, b)
  43. }
  44. func (m *LanguageConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  45. return xxx_messageInfo_LanguageConstant.Marshal(b, m, deterministic)
  46. }
  47. func (dst *LanguageConstant) XXX_Merge(src proto.Message) {
  48. xxx_messageInfo_LanguageConstant.Merge(dst, src)
  49. }
  50. func (m *LanguageConstant) XXX_Size() int {
  51. return xxx_messageInfo_LanguageConstant.Size(m)
  52. }
  53. func (m *LanguageConstant) XXX_DiscardUnknown() {
  54. xxx_messageInfo_LanguageConstant.DiscardUnknown(m)
  55. }
  56. var xxx_messageInfo_LanguageConstant proto.InternalMessageInfo
  57. func (m *LanguageConstant) GetResourceName() string {
  58. if m != nil {
  59. return m.ResourceName
  60. }
  61. return ""
  62. }
  63. func (m *LanguageConstant) GetId() *wrappers.Int64Value {
  64. if m != nil {
  65. return m.Id
  66. }
  67. return nil
  68. }
  69. func (m *LanguageConstant) GetCode() *wrappers.StringValue {
  70. if m != nil {
  71. return m.Code
  72. }
  73. return nil
  74. }
  75. func (m *LanguageConstant) GetName() *wrappers.StringValue {
  76. if m != nil {
  77. return m.Name
  78. }
  79. return nil
  80. }
  81. func init() {
  82. proto.RegisterType((*LanguageConstant)(nil), "google.ads.googleads.v0.resources.LanguageConstant")
  83. }
  84. func init() {
  85. proto.RegisterFile("google/ads/googleads/v0/resources/language_constant.proto", fileDescriptor_language_constant_f99f4e02e7918979)
  86. }
  87. var fileDescriptor_language_constant_f99f4e02e7918979 = []byte{
  88. // 332 bytes of a gzipped FileDescriptorProto
  89. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xd1, 0x4a, 0xf3, 0x30,
  90. 0x1c, 0xc5, 0x69, 0x36, 0x3e, 0xf8, 0xaa, 0x82, 0x14, 0x84, 0xa1, 0x22, 0x9b, 0x32, 0x18, 0x08,
  91. 0x69, 0x51, 0x11, 0x8c, 0x57, 0x9d, 0x17, 0x43, 0x11, 0x19, 0x13, 0x7a, 0x21, 0x85, 0x91, 0x35,
  92. 0x31, 0x14, 0xb6, 0xa4, 0x24, 0xed, 0xbc, 0xf7, 0x51, 0xbc, 0xf4, 0x49, 0xc4, 0x47, 0xf1, 0x29,
  93. 0x24, 0x49, 0x93, 0x0b, 0x05, 0xf5, 0xee, 0x90, 0xfc, 0xce, 0x39, 0xc9, 0xff, 0x1f, 0x5e, 0x30,
  94. 0x21, 0xd8, 0x92, 0xc6, 0x98, 0xa8, 0xd8, 0x4a, 0xad, 0xd6, 0x49, 0x2c, 0xa9, 0x12, 0x8d, 0x2c,
  95. 0xa8, 0x8a, 0x97, 0x98, 0xb3, 0x06, 0x33, 0x3a, 0x2f, 0x04, 0x57, 0x35, 0xe6, 0x35, 0xac, 0xa4,
  96. 0xa8, 0x45, 0x34, 0xb0, 0x3c, 0xc4, 0x44, 0x41, 0x6f, 0x85, 0xeb, 0x04, 0x7a, 0xeb, 0xee, 0x41,
  97. 0x9b, 0x6e, 0x0c, 0x8b, 0xe6, 0x31, 0x7e, 0x92, 0xb8, 0xaa, 0xa8, 0x54, 0x36, 0xe2, 0xf0, 0x2d,
  98. 0x08, 0xb7, 0x6f, 0xdb, 0xf8, 0xab, 0x36, 0x3d, 0x3a, 0x0a, 0xb7, 0x5c, 0xc2, 0x9c, 0xe3, 0x15,
  99. 0xed, 0x05, 0xfd, 0x60, 0xf4, 0x7f, 0xb6, 0xe9, 0x0e, 0xef, 0xf0, 0x8a, 0x46, 0xc7, 0x21, 0x28,
  100. 0x49, 0x0f, 0xf4, 0x83, 0xd1, 0xc6, 0xc9, 0x5e, 0x5b, 0x0f, 0x5d, 0x0d, 0xbc, 0xe6, 0xf5, 0xf9,
  101. 0x59, 0x86, 0x97, 0x0d, 0x9d, 0x81, 0x92, 0x44, 0x49, 0xd8, 0x2d, 0x04, 0xa1, 0xbd, 0x8e, 0xc1,
  102. 0xf7, 0xbf, 0xe1, 0xf7, 0xb5, 0x2c, 0x39, 0xb3, 0xbc, 0x21, 0xb5, 0xc3, 0x54, 0x77, 0xff, 0xe2,
  103. 0xd0, 0xe4, 0xf8, 0x19, 0x84, 0xc3, 0x42, 0xac, 0xe0, 0xaf, 0x43, 0x19, 0xef, 0x7c, 0xfd, 0xf1,
  104. 0x54, 0xa7, 0x4e, 0x83, 0x87, 0x9b, 0xd6, 0xcb, 0x84, 0x1e, 0x39, 0x14, 0x92, 0xc5, 0x8c, 0x72,
  105. 0xd3, 0xe9, 0x76, 0x53, 0x95, 0xea, 0x87, 0x55, 0x5d, 0x7a, 0xf5, 0x02, 0x3a, 0x93, 0x34, 0x7d,
  106. 0x05, 0x83, 0x89, 0x8d, 0x4c, 0x89, 0x82, 0x56, 0x6a, 0x95, 0x25, 0x70, 0xe6, 0xc8, 0x77, 0xc7,
  107. 0xe4, 0x29, 0x51, 0xb9, 0x67, 0xf2, 0x2c, 0xc9, 0x3d, 0xf3, 0x01, 0x86, 0xf6, 0x02, 0xa1, 0x94,
  108. 0x28, 0x84, 0x3c, 0x85, 0x50, 0x96, 0x20, 0xe4, 0xb9, 0xc5, 0x3f, 0xf3, 0xd8, 0xd3, 0xcf, 0x00,
  109. 0x00, 0x00, 0xff, 0xff, 0x1f, 0x35, 0xd2, 0x7c, 0x56, 0x02, 0x00, 0x00,
  110. }