Documentation ¶
Index ¶
- Variables
- type RtaRequest
- func (*RtaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RtaRequest) GetDevice() *RtaRequest_Device
- func (x *RtaRequest) GetId() string
- func (x *RtaRequest) GetIsPing() bool
- func (x *RtaRequest) GetIsTest() bool
- func (x *RtaRequest) GetSiteId() string
- func (*RtaRequest) ProtoMessage()
- func (x *RtaRequest) ProtoReflect() protoreflect.Message
- func (x *RtaRequest) Reset()
- func (x *RtaRequest) String() string
- type RtaRequest_Device
- func (*RtaRequest_Device) Descriptor() ([]byte, []int)deprecated
- func (x *RtaRequest_Device) GetAndroidIdMd5Sum() string
- func (x *RtaRequest_Device) GetIdfaMd5Sum() string
- func (x *RtaRequest_Device) GetImeiMd5Sum() string
- func (x *RtaRequest_Device) GetIp() string
- func (x *RtaRequest_Device) GetIpv6() string
- func (x *RtaRequest_Device) GetMacMd5Sum() string
- func (x *RtaRequest_Device) GetOaid() string
- func (x *RtaRequest_Device) GetOaidMd5Sum() string
- func (x *RtaRequest_Device) GetOs() RtaRequest_OperatingSystem
- func (*RtaRequest_Device) ProtoMessage()
- func (x *RtaRequest_Device) ProtoReflect() protoreflect.Message
- func (x *RtaRequest_Device) Reset()
- func (x *RtaRequest_Device) String() string
- type RtaRequest_OperatingSystem
- func (RtaRequest_OperatingSystem) Descriptor() protoreflect.EnumDescriptor
- func (x RtaRequest_OperatingSystem) Enum() *RtaRequest_OperatingSystem
- func (RtaRequest_OperatingSystem) EnumDescriptor() ([]byte, []int)deprecated
- func (x RtaRequest_OperatingSystem) Number() protoreflect.EnumNumber
- func (x RtaRequest_OperatingSystem) String() string
- func (RtaRequest_OperatingSystem) Type() protoreflect.EnumType
- func (x *RtaRequest_OperatingSystem) UnmarshalJSON(b []byte) errordeprecated
- type RtaResponse
- func (*RtaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RtaResponse) GetCode() uint32
- func (x *RtaResponse) GetProcessingTimeMs() int32
- func (x *RtaResponse) GetPromotionTargetId() []int64
- func (x *RtaResponse) GetRequestId() string
- func (*RtaResponse) ProtoMessage()
- func (x *RtaResponse) ProtoReflect() protoreflect.Message
- func (x *RtaResponse) Reset()
- func (x *RtaResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RtaRequest_OperatingSystem_name = map[int32]string{ 0: "OS_UNKNOWN", 1: "OS_IOS", 2: "OS_ANDROID", 3: "OS_WINDOWS", 4: "OS_SYMBIAN", 5: "OS_JAVA", } RtaRequest_OperatingSystem_value = map[string]int32{ "OS_UNKNOWN": 0, "OS_IOS": 1, "OS_ANDROID": 2, "OS_WINDOWS": 3, "OS_SYMBIAN": 4, "OS_JAVA": 5, } )
Enum value maps for RtaRequest_OperatingSystem.
View Source
var File_MeituanRTA_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RtaRequest ¶
type RtaRequest struct { // 请求唯一标识 Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // true表示探测网络延迟 IsPing *bool `protobuf:"varint,2,opt,name=is_ping,json=isPing" json:"is_ping,omitempty"` // true表示测试请求,广告不会被展示和计费 IsTest *bool `protobuf:"varint,3,opt,name=is_test,json=isTest" json:"is_test,omitempty"` Device *RtaRequest_Device `protobuf:"bytes,4,opt,name=device" json:"device,omitempty"` // 渠道标识 SiteId *string `protobuf:"bytes,5,opt,name=site_id,json=siteId" json:"site_id,omitempty"` // contains filtered or unexported fields }
func (*RtaRequest) Descriptor
deprecated
func (*RtaRequest) Descriptor() ([]byte, []int)
Deprecated: Use RtaRequest.ProtoReflect.Descriptor instead.
func (*RtaRequest) GetDevice ¶
func (x *RtaRequest) GetDevice() *RtaRequest_Device
func (*RtaRequest) GetId ¶
func (x *RtaRequest) GetId() string
func (*RtaRequest) GetIsPing ¶
func (x *RtaRequest) GetIsPing() bool
func (*RtaRequest) GetIsTest ¶
func (x *RtaRequest) GetIsTest() bool
func (*RtaRequest) GetSiteId ¶
func (x *RtaRequest) GetSiteId() string
func (*RtaRequest) ProtoMessage ¶
func (*RtaRequest) ProtoMessage()
func (*RtaRequest) ProtoReflect ¶
func (x *RtaRequest) ProtoReflect() protoreflect.Message
func (*RtaRequest) Reset ¶
func (x *RtaRequest) Reset()
func (*RtaRequest) String ¶
func (x *RtaRequest) String() string
type RtaRequest_Device ¶
type RtaRequest_Device struct { Os *RtaRequest_OperatingSystem `protobuf:"varint,1,opt,name=os,enum=meituanAdRta.RtaRequest_OperatingSystem" json:"os,omitempty"` // iOS设备的IDFA md5sum IdfaMd5Sum *string `protobuf:"bytes,2,opt,name=idfa_md5sum,json=idfaMd5sum" json:"idfa_md5sum,omitempty"` // Android设备的IMEI md5sum ImeiMd5Sum *string `protobuf:"bytes,3,opt,name=imei_md5sum,json=imeiMd5sum" json:"imei_md5sum,omitempty"` // Android设备的Android ID AndroidIdMd5Sum *string `protobuf:"bytes,4,opt,name=android_id_md5sum,json=androidIdMd5sum" json:"android_id_md5sum,omitempty"` // ott设备的mac地址 MacMd5Sum *string `protobuf:"bytes,5,opt,name=mac_md5sum,json=macMd5sum" json:"mac_md5sum,omitempty"` // Android设备的oaid md5sum OaidMd5Sum *string `protobuf:"bytes,6,opt,name=oaid_md5sum,json=oaidMd5sum" json:"oaid_md5sum,omitempty"` // 用户IPv4 Ip *string `protobuf:"bytes,7,opt,name=ip" json:"ip,omitempty"` // oaid原值 Oaid *string `protobuf:"bytes,8,opt,name=oaid" json:"oaid,omitempty"` // IPv6 Ipv6 *string `protobuf:"bytes,9,opt,name=ipv6" json:"ipv6,omitempty"` // contains filtered or unexported fields }
func (*RtaRequest_Device) Descriptor
deprecated
func (*RtaRequest_Device) Descriptor() ([]byte, []int)
Deprecated: Use RtaRequest_Device.ProtoReflect.Descriptor instead.
func (*RtaRequest_Device) GetAndroidIdMd5Sum ¶
func (x *RtaRequest_Device) GetAndroidIdMd5Sum() string
func (*RtaRequest_Device) GetIdfaMd5Sum ¶
func (x *RtaRequest_Device) GetIdfaMd5Sum() string
func (*RtaRequest_Device) GetImeiMd5Sum ¶
func (x *RtaRequest_Device) GetImeiMd5Sum() string
func (*RtaRequest_Device) GetIp ¶
func (x *RtaRequest_Device) GetIp() string
func (*RtaRequest_Device) GetIpv6 ¶
func (x *RtaRequest_Device) GetIpv6() string
func (*RtaRequest_Device) GetMacMd5Sum ¶
func (x *RtaRequest_Device) GetMacMd5Sum() string
func (*RtaRequest_Device) GetOaid ¶
func (x *RtaRequest_Device) GetOaid() string
func (*RtaRequest_Device) GetOaidMd5Sum ¶
func (x *RtaRequest_Device) GetOaidMd5Sum() string
func (*RtaRequest_Device) GetOs ¶
func (x *RtaRequest_Device) GetOs() RtaRequest_OperatingSystem
func (*RtaRequest_Device) ProtoMessage ¶
func (*RtaRequest_Device) ProtoMessage()
func (*RtaRequest_Device) ProtoReflect ¶
func (x *RtaRequest_Device) ProtoReflect() protoreflect.Message
func (*RtaRequest_Device) Reset ¶
func (x *RtaRequest_Device) Reset()
func (*RtaRequest_Device) String ¶
func (x *RtaRequest_Device) String() string
type RtaRequest_OperatingSystem ¶
type RtaRequest_OperatingSystem int32
const ( RtaRequest_OS_UNKNOWN RtaRequest_OperatingSystem = 0 RtaRequest_OS_IOS RtaRequest_OperatingSystem = 1 RtaRequest_OS_ANDROID RtaRequest_OperatingSystem = 2 RtaRequest_OS_WINDOWS RtaRequest_OperatingSystem = 3 RtaRequest_OS_SYMBIAN RtaRequest_OperatingSystem = 4 RtaRequest_OS_JAVA RtaRequest_OperatingSystem = 5 )
func (RtaRequest_OperatingSystem) Descriptor ¶
func (RtaRequest_OperatingSystem) Descriptor() protoreflect.EnumDescriptor
func (RtaRequest_OperatingSystem) Enum ¶
func (x RtaRequest_OperatingSystem) Enum() *RtaRequest_OperatingSystem
func (RtaRequest_OperatingSystem) EnumDescriptor
deprecated
func (RtaRequest_OperatingSystem) EnumDescriptor() ([]byte, []int)
Deprecated: Use RtaRequest_OperatingSystem.Descriptor instead.
func (RtaRequest_OperatingSystem) Number ¶
func (x RtaRequest_OperatingSystem) Number() protoreflect.EnumNumber
func (RtaRequest_OperatingSystem) String ¶
func (x RtaRequest_OperatingSystem) String() string
func (RtaRequest_OperatingSystem) Type ¶
func (RtaRequest_OperatingSystem) Type() protoreflect.EnumType
func (*RtaRequest_OperatingSystem) UnmarshalJSON
deprecated
func (x *RtaRequest_OperatingSystem) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type RtaResponse ¶
type RtaResponse struct { // 来自RtaRequest.id RequestId *string `protobuf:"bytes,1,opt,name=request_id,json=requestId" json:"request_id,omitempty"` // 返回的状态码,0为选择该流量,非0为过滤,该状态码落地日志,方便定位问题 Code *uint32 `protobuf:"varint,2,opt,name=code" json:"code,omitempty"` // 收到RtaRequest至发送完RtaResponse的用时,单位:毫秒 ProcessingTimeMs *int32 `protobuf:"varint,3,opt,name=processing_time_ms,json=processingTimeMs" json:"processing_time_ms,omitempty"` // 指定策略id的广告主,当code为0选择该流量时,只选择包含该策略id的所有广告主 PromotionTargetId []int64 `protobuf:"varint,4,rep,packed,name=promotion_target_id,json=promotionTargetId" json:"promotion_target_id,omitempty"` // contains filtered or unexported fields }
func (*RtaResponse) Descriptor
deprecated
func (*RtaResponse) Descriptor() ([]byte, []int)
Deprecated: Use RtaResponse.ProtoReflect.Descriptor instead.
func (*RtaResponse) GetCode ¶
func (x *RtaResponse) GetCode() uint32
func (*RtaResponse) GetProcessingTimeMs ¶
func (x *RtaResponse) GetProcessingTimeMs() int32
func (*RtaResponse) GetPromotionTargetId ¶
func (x *RtaResponse) GetPromotionTargetId() []int64
func (*RtaResponse) GetRequestId ¶
func (x *RtaResponse) GetRequestId() string
func (*RtaResponse) ProtoMessage ¶
func (*RtaResponse) ProtoMessage()
func (*RtaResponse) ProtoReflect ¶
func (x *RtaResponse) ProtoReflect() protoreflect.Message
func (*RtaResponse) Reset ¶
func (x *RtaResponse) Reset()
func (*RtaResponse) String ¶
func (x *RtaResponse) String() string
Click to show internal directories.
Click to hide internal directories.