blob: 3a2933f71d924535e99762f7787c939f5b13771d [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/errors/youtube_video_registration_error.proto
package errors
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "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
// Enum describing YouTube video registration errors.
type YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError int32
const (
// Enum unspecified.
YoutubeVideoRegistrationErrorEnum_UNSPECIFIED YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError = 0
// The received error code is not known in this version.
YoutubeVideoRegistrationErrorEnum_UNKNOWN YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError = 1
// Video to be registered wasn't found.
YoutubeVideoRegistrationErrorEnum_VIDEO_NOT_FOUND YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError = 2
// Video to be registered is not accessible (e.g. private).
YoutubeVideoRegistrationErrorEnum_VIDEO_NOT_ACCESSIBLE YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError = 3
// Video to be registered is not eligible (e.g. mature content).
YoutubeVideoRegistrationErrorEnum_VIDEO_NOT_ELIGIBLE YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError = 4
)
var YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_name = map[int32]string{
0: "UNSPECIFIED",
1: "UNKNOWN",
2: "VIDEO_NOT_FOUND",
3: "VIDEO_NOT_ACCESSIBLE",
4: "VIDEO_NOT_ELIGIBLE",
}
var YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_value = map[string]int32{
"UNSPECIFIED": 0,
"UNKNOWN": 1,
"VIDEO_NOT_FOUND": 2,
"VIDEO_NOT_ACCESSIBLE": 3,
"VIDEO_NOT_ELIGIBLE": 4,
}
func (x YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError) String() string {
return proto.EnumName(YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_name, int32(x))
}
func (YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_37f72673454cf2d4, []int{0, 0}
}
// Container for enum describing YouTube video registration errors.
type YoutubeVideoRegistrationErrorEnum struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *YoutubeVideoRegistrationErrorEnum) Reset() { *m = YoutubeVideoRegistrationErrorEnum{} }
func (m *YoutubeVideoRegistrationErrorEnum) String() string { return proto.CompactTextString(m) }
func (*YoutubeVideoRegistrationErrorEnum) ProtoMessage() {}
func (*YoutubeVideoRegistrationErrorEnum) Descriptor() ([]byte, []int) {
return fileDescriptor_37f72673454cf2d4, []int{0}
}
func (m *YoutubeVideoRegistrationErrorEnum) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.Unmarshal(m, b)
}
func (m *YoutubeVideoRegistrationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.Marshal(b, m, deterministic)
}
func (m *YoutubeVideoRegistrationErrorEnum) XXX_Merge(src proto.Message) {
xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.Merge(m, src)
}
func (m *YoutubeVideoRegistrationErrorEnum) XXX_Size() int {
return xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.Size(m)
}
func (m *YoutubeVideoRegistrationErrorEnum) XXX_DiscardUnknown() {
xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.DiscardUnknown(m)
}
var xxx_messageInfo_YoutubeVideoRegistrationErrorEnum proto.InternalMessageInfo
func init() {
proto.RegisterEnum("google.ads.googleads.v3.errors.YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError", YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_name, YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_value)
proto.RegisterType((*YoutubeVideoRegistrationErrorEnum)(nil), "google.ads.googleads.v3.errors.YoutubeVideoRegistrationErrorEnum")
}
func init() {
proto.RegisterFile("google/ads/googleads/v3/errors/youtube_video_registration_error.proto", fileDescriptor_37f72673454cf2d4)
}
var fileDescriptor_37f72673454cf2d4 = []byte{
// 344 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x4a, 0xc3, 0x40,
0x10, 0x86, 0x4d, 0x2a, 0x0a, 0xdb, 0x43, 0xc3, 0x2a, 0x22, 0xa2, 0x05, 0xf3, 0x00, 0x9b, 0x43,
0x6e, 0xeb, 0x29, 0x6d, 0xb6, 0x25, 0x58, 0x92, 0x62, 0x6d, 0x44, 0x09, 0x84, 0xd4, 0x84, 0x25,
0xd0, 0x66, 0xca, 0x6e, 0x5a, 0xf0, 0xee, 0x93, 0x78, 0xec, 0xa3, 0xf8, 0x28, 0xbe, 0x83, 0x20,
0xd9, 0xb5, 0xad, 0x17, 0x7b, 0xca, 0xcf, 0xe4, 0x9b, 0xff, 0x9f, 0xd9, 0x41, 0x8c, 0x03, 0xf0,
0x79, 0xe1, 0x64, 0xb9, 0x74, 0xb4, 0x6c, 0xd4, 0xda, 0x75, 0x0a, 0x21, 0x40, 0x48, 0xe7, 0x0d,
0x56, 0xf5, 0x6a, 0x56, 0xa4, 0xeb, 0x32, 0x2f, 0x20, 0x15, 0x05, 0x2f, 0x65, 0x2d, 0xb2, 0xba,
0x84, 0x2a, 0x55, 0x04, 0x59, 0x0a, 0xa8, 0x01, 0x77, 0x75, 0x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