1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v2/resources/video.proto 3 4package resources 5 6import ( 7 fmt "fmt" 8 math "math" 9 10 proto "github.com/golang/protobuf/proto" 11 wrappers "github.com/golang/protobuf/ptypes/wrappers" 12 _ "google.golang.org/genproto/googleapis/api/annotations" 13) 14 15// Reference imports to suppress errors if they are not otherwise used. 16var _ = proto.Marshal 17var _ = fmt.Errorf 18var _ = math.Inf 19 20// This is a compile-time assertion to ensure that this generated file 21// is compatible with the proto package it is being compiled against. 22// A compilation error at this line likely means your copy of the 23// proto package needs to be updated. 24const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 25 26// A video. 27type Video struct { 28 // Output only. The resource name of the video. 29 // Video resource names have the form: 30 // 31 // `customers/{customer_id}/videos/{video_id}` 32 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 33 // Output only. The ID of the video. 34 Id *wrappers.StringValue `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 35 // Output only. The owner channel id of the video. 36 ChannelId *wrappers.StringValue `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` 37 // Output only. The duration of the video in milliseconds. 38 DurationMillis *wrappers.Int64Value `protobuf:"bytes,4,opt,name=duration_millis,json=durationMillis,proto3" json:"duration_millis,omitempty"` 39 // Output only. The title of the video. 40 Title *wrappers.StringValue `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` 41 XXX_NoUnkeyedLiteral struct{} `json:"-"` 42 XXX_unrecognized []byte `json:"-"` 43 XXX_sizecache int32 `json:"-"` 44} 45 46func (m *Video) Reset() { *m = Video{} } 47func (m *Video) String() string { return proto.CompactTextString(m) } 48func (*Video) ProtoMessage() {} 49func (*Video) Descriptor() ([]byte, []int) { 50 return fileDescriptor_6ce7c184e83c587c, []int{0} 51} 52 53func (m *Video) XXX_Unmarshal(b []byte) error { 54 return xxx_messageInfo_Video.Unmarshal(m, b) 55} 56func (m *Video) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 57 return xxx_messageInfo_Video.Marshal(b, m, deterministic) 58} 59func (m *Video) XXX_Merge(src proto.Message) { 60 xxx_messageInfo_Video.Merge(m, src) 61} 62func (m *Video) XXX_Size() int { 63 return xxx_messageInfo_Video.Size(m) 64} 65func (m *Video) XXX_DiscardUnknown() { 66 xxx_messageInfo_Video.DiscardUnknown(m) 67} 68 69var xxx_messageInfo_Video proto.InternalMessageInfo 70 71func (m *Video) GetResourceName() string { 72 if m != nil { 73 return m.ResourceName 74 } 75 return "" 76} 77 78func (m *Video) GetId() *wrappers.StringValue { 79 if m != nil { 80 return m.Id 81 } 82 return nil 83} 84 85func (m *Video) GetChannelId() *wrappers.StringValue { 86 if m != nil { 87 return m.ChannelId 88 } 89 return nil 90} 91 92func (m *Video) GetDurationMillis() *wrappers.Int64Value { 93 if m != nil { 94 return m.DurationMillis 95 } 96 return nil 97} 98 99func (m *Video) GetTitle() *wrappers.StringValue { 100 if m != nil { 101 return m.Title 102 } 103 return nil 104} 105 106func init() { 107 proto.RegisterType((*Video)(nil), "google.ads.googleads.v2.resources.Video") 108} 109 110func init() { 111 proto.RegisterFile("google/ads/googleads/v2/resources/video.proto", fileDescriptor_6ce7c184e83c587c) 112} 113 114var fileDescriptor_6ce7c184e83c587c = []byte{ 115 // 448 bytes of a gzipped FileDescriptorProto 116 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4d, 0x6b, 0xd4, 0x40, 117 0x1c, 0xc6, 0x49, 0xe2, 0x0a, 0x1d, 0xdf, 0x20, 0xa7, 0x58, 0x4b, 0xdd, 0x2a, 0x95, 0x5e, 0x9c, 118 0xc1, 0x28, 0x0a, 0xe3, 0xc5, 0x59, 0x90, 0xba, 0x8a, 0x52, 0x56, 0xc8, 0x41, 0x16, 0x96, 0xd9, 119 0xcc, 0x34, 0x1d, 0x48, 0x66, 0xc2, 0x4c, 0xb2, 0x1e, 0x4a, 0x3f, 0x87, 0x77, 0x8f, 0x7e, 0x14, 120 0x3f, 0x45, 0xcf, 0xfd, 0x02, 0x82, 0x27, 0xd9, 0x79, 0x49, 0x17, 0x84, 0xb6, 0xa7, 0x3c, 0xe1, 121 0xf9, 0x3d, 0x0f, 0x4f, 0xc2, 0x1f, 0x3c, 0xaf, 0x94, 0xaa, 0x6a, 0x8e, 0x28, 0x33, 0xc8, 0xc9, 122 0xb5, 0x5a, 0xe5, 0x48, 0x73, 0xa3, 0x7a, 0x5d, 0x72, 0x83, 0x56, 0x82, 0x71, 0x05, 0x5b, 0xad, 123 0x3a, 0x95, 0xee, 0x39, 0x06, 0x52, 0x66, 0xe0, 0x80, 0xc3, 0x55, 0x0e, 0x07, 0x7c, 0xfb, 0x71, 124 0x68, 0x6c, 0x05, 0x3a, 0x16, 0xbc, 0x66, 0x8b, 0x25, 0x3f, 0xa1, 0x2b, 0xa1, 0xb4, 0xeb, 0xd8, 125 0x7e, 0xb8, 0x01, 0x84, 0x98, 0xb7, 0x76, 0xbd, 0x65, 0xdf, 0x96, 0xfd, 0x31, 0xfa, 0xae, 0x69, 126 0xdb, 0x72, 0x6d, 0xbc, 0xbf, 0xb3, 0x11, 0xa5, 0x52, 0xaa, 0x8e, 0x76, 0x42, 0x49, 0xef, 0x3e, 127 0xf9, 0x91, 0x80, 0x51, 0xb1, 0x1e, 0x9b, 0x7e, 0x02, 0xf7, 0x42, 0xf3, 0x42, 0xd2, 0x86, 0x67, 128 0xd1, 0x38, 0x3a, 0xd8, 0x9a, 0x3c, 0x3b, 0x27, 0xc9, 0x5f, 0x32, 0x06, 0xbb, 0x97, 0xd3, 0xbd, 129 0x6a, 0x85, 0x81, 0xa5, 0x6a, 0x90, 0x8d, 0xcf, 0xee, 0x86, 0xf0, 0x17, 0xda, 0xf0, 0xf4, 0x05, 130 0x88, 0x05, 0xcb, 0xe2, 0x71, 0x74, 0x70, 0x27, 0xdf, 0x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