| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/enums/extension_type.proto |
| |
| package enums |
| |
| 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 |
| |
| // Possible data types for an extension in an extension setting. |
| type ExtensionTypeEnum_ExtensionType int32 |
| |
| const ( |
| // Not specified. |
| ExtensionTypeEnum_UNSPECIFIED ExtensionTypeEnum_ExtensionType = 0 |
| // Used for return value only. Represents value unknown in this version. |
| ExtensionTypeEnum_UNKNOWN ExtensionTypeEnum_ExtensionType = 1 |
| // None. |
| ExtensionTypeEnum_NONE ExtensionTypeEnum_ExtensionType = 2 |
| // App. |
| ExtensionTypeEnum_APP ExtensionTypeEnum_ExtensionType = 3 |
| // Call. |
| ExtensionTypeEnum_CALL ExtensionTypeEnum_ExtensionType = 4 |
| // Callout. |
| ExtensionTypeEnum_CALLOUT ExtensionTypeEnum_ExtensionType = 5 |
| // Message. |
| ExtensionTypeEnum_MESSAGE ExtensionTypeEnum_ExtensionType = 6 |
| // Price. |
| ExtensionTypeEnum_PRICE ExtensionTypeEnum_ExtensionType = 7 |
| // Promotion. |
| ExtensionTypeEnum_PROMOTION ExtensionTypeEnum_ExtensionType = 8 |
| // Sitelink. |
| ExtensionTypeEnum_SITELINK ExtensionTypeEnum_ExtensionType = 10 |
| // Structured snippet. |
| ExtensionTypeEnum_STRUCTURED_SNIPPET ExtensionTypeEnum_ExtensionType = 11 |
| // Location. |
| ExtensionTypeEnum_LOCATION ExtensionTypeEnum_ExtensionType = 12 |
| // Affiliate location. |
| ExtensionTypeEnum_AFFILIATE_LOCATION ExtensionTypeEnum_ExtensionType = 13 |
| // Hotel callout |
| ExtensionTypeEnum_HOTEL_CALLOUT ExtensionTypeEnum_ExtensionType = 15 |
| ) |
| |
| var ExtensionTypeEnum_ExtensionType_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "NONE", |
| 3: "APP", |
| 4: "CALL", |
| 5: "CALLOUT", |
| 6: "MESSAGE", |
| 7: "PRICE", |
| 8: "PROMOTION", |
| 10: "SITELINK", |
| 11: "STRUCTURED_SNIPPET", |
| 12: "LOCATION", |
| 13: "AFFILIATE_LOCATION", |
| 15: "HOTEL_CALLOUT", |
| } |
| |
| var ExtensionTypeEnum_ExtensionType_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "NONE": 2, |
| "APP": 3, |
| "CALL": 4, |
| "CALLOUT": 5, |
| "MESSAGE": 6, |
| "PRICE": 7, |
| "PROMOTION": 8, |
| "SITELINK": 10, |
| "STRUCTURED_SNIPPET": 11, |
| "LOCATION": 12, |
| "AFFILIATE_LOCATION": 13, |
| "HOTEL_CALLOUT": 15, |
| } |
| |
| func (x ExtensionTypeEnum_ExtensionType) String() string { |
| return proto.EnumName(ExtensionTypeEnum_ExtensionType_name, int32(x)) |
| } |
| |
| func (ExtensionTypeEnum_ExtensionType) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_db17f887bbab658a, []int{0, 0} |
| } |
| |
| // Container for enum describing possible data types for an extension in an |
| // extension setting. |
| type ExtensionTypeEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ExtensionTypeEnum) Reset() { *m = ExtensionTypeEnum{} } |
| func (m *ExtensionTypeEnum) String() string { return proto.CompactTextString(m) } |
| func (*ExtensionTypeEnum) ProtoMessage() {} |
| func (*ExtensionTypeEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_db17f887bbab658a, []int{0} |
| } |
| |
| func (m *ExtensionTypeEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ExtensionTypeEnum.Unmarshal(m, b) |
| } |
| func (m *ExtensionTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ExtensionTypeEnum.Marshal(b, m, deterministic) |
| } |
| func (m *ExtensionTypeEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ExtensionTypeEnum.Merge(m, src) |
| } |
| func (m *ExtensionTypeEnum) XXX_Size() int { |
| return xxx_messageInfo_ExtensionTypeEnum.Size(m) |
| } |
| func (m *ExtensionTypeEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_ExtensionTypeEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ExtensionTypeEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterEnum("google.ads.googleads.v3.enums.ExtensionTypeEnum_ExtensionType", ExtensionTypeEnum_ExtensionType_name, ExtensionTypeEnum_ExtensionType_value) |
| proto.RegisterType((*ExtensionTypeEnum)(nil), "google.ads.googleads.v3.enums.ExtensionTypeEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/enums/extension_type.proto", fileDescriptor_db17f887bbab658a) |
| } |
| |
| var fileDescriptor_db17f887bbab658a = []byte{ |
| // 409 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x41, 0x6b, 0xdb, 0x30, |
| 0x18, 0x9d, 0x93, 0xb6, 0x49, 0x95, 0x86, 0xaa, 0x3a, 0xec, 0x30, 0xd6, 0x43, 0xfb, 0x03, 0x64, |
| 0x98, 0x6f, 0xda, 0x49, 0x71, 0x95, 0x4c, 0xd4, 0x95, 0x44, 0x2c, 0x67, 0x30, 0x02, 0xc1, 0x9b, |
| 0x8d, 0x09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