| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v1/resources/video.proto |
| |
| package resources |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // A video. |
| type Video struct { |
| // Output only. The resource name of the video. |
| // Video resource names have the form: |
| // |
| // `customers/{customer_id}/videos/{video_id}` |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| // Output only. The ID of the video. |
| Id *wrappers.StringValue `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` |
| // Output only. The owner channel id of the video. |
| ChannelId *wrappers.StringValue `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` |
| // Output only. The duration of the video in milliseconds. |
| DurationMillis *wrappers.Int64Value `protobuf:"bytes,4,opt,name=duration_millis,json=durationMillis,proto3" json:"duration_millis,omitempty"` |
| // Output only. The title of the video. |
| Title *wrappers.StringValue `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Video) Reset() { *m = Video{} } |
| func (m *Video) String() string { return proto.CompactTextString(m) } |
| func (*Video) ProtoMessage() {} |
| func (*Video) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a029458d5852873f, []int{0} |
| } |
| |
| func (m *Video) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Video.Unmarshal(m, b) |
| } |
| func (m *Video) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Video.Marshal(b, m, deterministic) |
| } |
| func (m *Video) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Video.Merge(m, src) |
| } |
| func (m *Video) XXX_Size() int { |
| return xxx_messageInfo_Video.Size(m) |
| } |
| func (m *Video) XXX_DiscardUnknown() { |
| xxx_messageInfo_Video.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Video proto.InternalMessageInfo |
| |
| func (m *Video) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func (m *Video) GetId() *wrappers.StringValue { |
| if m != nil { |
| return m.Id |
| } |
| return nil |
| } |
| |
| func (m *Video) GetChannelId() *wrappers.StringValue { |
| if m != nil { |
| return m.ChannelId |
| } |
| return nil |
| } |
| |
| func (m *Video) GetDurationMillis() *wrappers.Int64Value { |
| if m != nil { |
| return m.DurationMillis |
| } |
| return nil |
| } |
| |
| func (m *Video) GetTitle() *wrappers.StringValue { |
| if m != nil { |
| return m.Title |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*Video)(nil), "google.ads.googleads.v1.resources.Video") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v1/resources/video.proto", fileDescriptor_a029458d5852873f) |
| } |
| |
| var fileDescriptor_a029458d5852873f = []byte{ |
| // 448 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4d, 0x6b, 0xd4, 0x40, |
| 0x1c, 0xc6, 0x49, 0xe2, 0x0a, 0x1d, 0xdf, 0x20, 0xa7, 0x58, 0x4b, 0xdd, 0x2a, 0x95, 0x5e, 0x9c, |
| 0x21, 0x2a, 0x0a, 0xe3, 0xc5, 0x59, 0x90, 0xba, 0x8a, 0x52, 0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