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.
 
 
 

135 lines
5.5 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/resources/video.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 video.
  18. type Video struct {
  19. // The resource name of the video.
  20. // Video resource names have the form:
  21. //
  22. // `customers/{customer_id}/videos/{video_id}`
  23. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  24. // The ID of the video.
  25. Id *wrappers.StringValue `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  26. // The owner channel id of the video.
  27. ChannelId *wrappers.StringValue `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
  28. // The duration of the video in milliseconds.
  29. DurationMillis *wrappers.Int64Value `protobuf:"bytes,4,opt,name=duration_millis,json=durationMillis,proto3" json:"duration_millis,omitempty"`
  30. // The title of the video.
  31. Title *wrappers.StringValue `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
  32. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  33. XXX_unrecognized []byte `json:"-"`
  34. XXX_sizecache int32 `json:"-"`
  35. }
  36. func (m *Video) Reset() { *m = Video{} }
  37. func (m *Video) String() string { return proto.CompactTextString(m) }
  38. func (*Video) ProtoMessage() {}
  39. func (*Video) Descriptor() ([]byte, []int) {
  40. return fileDescriptor_video_73e5fc43b8d25bfc, []int{0}
  41. }
  42. func (m *Video) XXX_Unmarshal(b []byte) error {
  43. return xxx_messageInfo_Video.Unmarshal(m, b)
  44. }
  45. func (m *Video) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  46. return xxx_messageInfo_Video.Marshal(b, m, deterministic)
  47. }
  48. func (dst *Video) XXX_Merge(src proto.Message) {
  49. xxx_messageInfo_Video.Merge(dst, src)
  50. }
  51. func (m *Video) XXX_Size() int {
  52. return xxx_messageInfo_Video.Size(m)
  53. }
  54. func (m *Video) XXX_DiscardUnknown() {
  55. xxx_messageInfo_Video.DiscardUnknown(m)
  56. }
  57. var xxx_messageInfo_Video proto.InternalMessageInfo
  58. func (m *Video) GetResourceName() string {
  59. if m != nil {
  60. return m.ResourceName
  61. }
  62. return ""
  63. }
  64. func (m *Video) GetId() *wrappers.StringValue {
  65. if m != nil {
  66. return m.Id
  67. }
  68. return nil
  69. }
  70. func (m *Video) GetChannelId() *wrappers.StringValue {
  71. if m != nil {
  72. return m.ChannelId
  73. }
  74. return nil
  75. }
  76. func (m *Video) GetDurationMillis() *wrappers.Int64Value {
  77. if m != nil {
  78. return m.DurationMillis
  79. }
  80. return nil
  81. }
  82. func (m *Video) GetTitle() *wrappers.StringValue {
  83. if m != nil {
  84. return m.Title
  85. }
  86. return nil
  87. }
  88. func init() {
  89. proto.RegisterType((*Video)(nil), "google.ads.googleads.v0.resources.Video")
  90. }
  91. func init() {
  92. proto.RegisterFile("google/ads/googleads/v0/resources/video.proto", fileDescriptor_video_73e5fc43b8d25bfc)
  93. }
  94. var fileDescriptor_video_73e5fc43b8d25bfc = []byte{
  95. // 357 bytes of a gzipped FileDescriptorProto
  96. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xdf, 0x4a, 0xf3, 0x30,
  97. 0x18, 0xc6, 0x69, 0xf7, 0xed, 0x83, 0xe5, 0xfb, 0x23, 0xf4, 0xa8, 0xa8, 0xc8, 0xa6, 0x0c, 0x76,
  98. 0xa0, 0x69, 0x99, 0xe2, 0x41, 0x76, 0xd4, 0x21, 0x8c, 0x09, 0xca, 0x98, 0xd0, 0x03, 0x29, 0x8c,
  99. 0x6c, 0x89, 0x35, 0xd0, 0x26, 0x25, 0x69, 0xe7, 0x75, 0x78, 0x0b, 0x1e, 0x7a, 0x29, 0x5e, 0x8a,
  100. 0x37, 0xe0, 0xa9, 0xb4, 0x69, 0x72, 0x22, 0xe8, 0xce, 0x1e, 0xda, 0xdf, 0xf3, 0x7b, 0xc3, 0xfb,
  101. 0x82, 0xb3, 0x54, 0x88, 0x34, 0xa3, 0x01, 0x26, 0x2a, 0xd0, 0xb1, 0x4e, 0xdb, 0x30, 0x90, 0x54,
  102. 0x89, 0x4a, 0x6e, 0xa8, 0x0a, 0xb6, 0x8c, 0x50, 0x01, 0x0b, 0x29, 0x4a, 0xe1, 0x0d, 0x34, 0x03,
  103. 0x31, 0x51, 0xd0, 0xe2, 0x70, 0x1b, 0x42, 0x8b, 0xef, 0x1f, 0xb5, 0xc6, 0xa6, 0xb0, 0xae, 0x1e,
  104. 0x82, 0x27, 0x89, 0x8b, 0x82, 0x4a, 0xa5, 0x15, 0xc7, 0xcf, 0x2e, 0xe8, 0xc6, 0xb5, 0xd2, 0x3b,
  105. 0x01, 0xff, 0x4c, 0x6d, 0xc5, 0x71, 0x4e, 0x7d, 0xa7, 0xef, 0x8c, 0x7a, 0xcb, 0xbf, 0xe6, 0xe3,
  106. 0x2d, 0xce, 0xa9, 0x77, 0x0a, 0x5c, 0x46, 0x7c, 0xb7, 0xef, 0x8c, 0xfe, 0x8c, 0x0f, 0xdb, 0x99,
  107. 0xd0, 0xb8, 0xe1, 0x5d, 0x29, 0x19, 0x4f, 0x63, 0x9c, 0x55, 0x74, 0xe9, 0x32, 0xe2, 0x4d, 0x00,
  108. 0xd8, 0x3c, 0x62, 0xce, 0x69, 0xb6, 0x62, 0xc4, 0xef, 0xec, 0xd0, 0xea, 0xb5, 0xfc, 0x9c, 0x78,
  109. 0x57, 0x60, 0x8f, 0x54, 0x12, 0x97, 0x4c, 0xf0, 0x55, 0xce, 0xb2, 0x8c, 0x29, 0xff, 0x57, 0x63,
  110. 0x38, 0xf8, 0x62, 0x98, 0xf3, 0xf2, 0xf2, 0x42, 0x0b, 0xfe, 0x9b, 0xce, 0x4d, 0x53, 0xf1, 0xc6,
  111. 0xa0, 0x5b, 0xb2, 0x32, 0xa3, 0x7e, 0x77, 0x87, 0xe9, 0x1a, 0x9d, 0x7e, 0x38, 0x60, 0xb8, 0x11,
  112. 0x39, 0xfc, 0x71, 0xbb, 0x53, 0xd0, 0xac, 0x6e, 0x51, 0xbb, 0x16, 0xce, 0xfd, 0x75, 0x5b, 0x48,
  113. 0x45, 0x86, 0x79, 0x0a, 0x85, 0x4c, 0x83, 0x94, 0xf2, 0x66, 0x92, 0xb9, 0x66, 0xc1, 0xd4, 0x37,
  114. 0xc7, 0x9d, 0xd8, 0xf4, 0xe2, 0x76, 0x66, 0x51, 0xf4, 0xea, 0x0e, 0x66, 0x5a, 0x19, 0x11, 0x05,
  115. 0x75, 0xac, 0x53, 0x1c, 0xc2, 0xa5, 0x21, 0xdf, 0x0c, 0x93, 0x44, 0x44, 0x25, 0x96, 0x49, 0xe2,
  116. 0x30, 0xb1, 0xcc, 0xbb, 0x3b, 0xd4, 0x3f, 0x10, 0x8a, 0x88, 0x42, 0xc8, 0x52, 0x08, 0xc5, 0x21,
  117. 0x42, 0x96, 0x5b, 0xff, 0x6e, 0x1e, 0x7b, 0xfe, 0x19, 0x00, 0x00, 0xff, 0xff, 0x1d, 0x26, 0xd5,
  118. 0xfb, 0x88, 0x02, 0x00, 0x00,
  119. }