432 lines
13 KiB
Go
432 lines
13 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v3.19.6
|
|
// source: service_httpdns_sandbox.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type TestHTTPDNSResolveRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
|
|
Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
|
|
Qtype string `protobuf:"bytes,4,opt,name=qtype,proto3" json:"qtype,omitempty"`
|
|
ClientIP string `protobuf:"bytes,5,opt,name=clientIP,proto3" json:"clientIP,omitempty"`
|
|
Sid string `protobuf:"bytes,6,opt,name=sid,proto3" json:"sid,omitempty"`
|
|
SdkVersion string `protobuf:"bytes,7,opt,name=sdkVersion,proto3" json:"sdkVersion,omitempty"`
|
|
Os string `protobuf:"bytes,8,opt,name=os,proto3" json:"os,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveRequest) Reset() {
|
|
*x = TestHTTPDNSResolveRequest{}
|
|
mi := &file_service_httpdns_sandbox_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TestHTTPDNSResolveRequest) ProtoMessage() {}
|
|
|
|
func (x *TestHTTPDNSResolveRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_sandbox_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TestHTTPDNSResolveRequest.ProtoReflect.Descriptor instead.
|
|
func (*TestHTTPDNSResolveRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_sandbox_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveRequest) GetClusterId() int64 {
|
|
if x != nil {
|
|
return x.ClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveRequest) GetAppId() string {
|
|
if x != nil {
|
|
return x.AppId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveRequest) GetDomain() string {
|
|
if x != nil {
|
|
return x.Domain
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveRequest) GetQtype() string {
|
|
if x != nil {
|
|
return x.Qtype
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveRequest) GetClientIP() string {
|
|
if x != nil {
|
|
return x.ClientIP
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveRequest) GetSid() string {
|
|
if x != nil {
|
|
return x.Sid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveRequest) GetSdkVersion() string {
|
|
if x != nil {
|
|
return x.SdkVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveRequest) GetOs() string {
|
|
if x != nil {
|
|
return x.Os
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HTTPDNSResolveRecord struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
|
|
Ttl int32 `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
Weight int32 `protobuf:"varint,4,opt,name=weight,proto3" json:"weight,omitempty"`
|
|
Line string `protobuf:"bytes,5,opt,name=line,proto3" json:"line,omitempty"`
|
|
Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HTTPDNSResolveRecord) Reset() {
|
|
*x = HTTPDNSResolveRecord{}
|
|
mi := &file_service_httpdns_sandbox_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HTTPDNSResolveRecord) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HTTPDNSResolveRecord) ProtoMessage() {}
|
|
|
|
func (x *HTTPDNSResolveRecord) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_sandbox_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HTTPDNSResolveRecord.ProtoReflect.Descriptor instead.
|
|
func (*HTTPDNSResolveRecord) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_sandbox_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *HTTPDNSResolveRecord) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPDNSResolveRecord) GetIp() string {
|
|
if x != nil {
|
|
return x.Ip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPDNSResolveRecord) GetTtl() int32 {
|
|
if x != nil {
|
|
return x.Ttl
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPDNSResolveRecord) GetWeight() int32 {
|
|
if x != nil {
|
|
return x.Weight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPDNSResolveRecord) GetLine() string {
|
|
if x != nil {
|
|
return x.Line
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPDNSResolveRecord) GetRegion() string {
|
|
if x != nil {
|
|
return x.Region
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TestHTTPDNSResolveResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
RequestId string `protobuf:"bytes,3,opt,name=requestId,proto3" json:"requestId,omitempty"`
|
|
Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
|
|
Qtype string `protobuf:"bytes,5,opt,name=qtype,proto3" json:"qtype,omitempty"`
|
|
Ttl int32 `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
Records []*HTTPDNSResolveRecord `protobuf:"bytes,7,rep,name=records,proto3" json:"records,omitempty"`
|
|
ClientIP string `protobuf:"bytes,8,opt,name=clientIP,proto3" json:"clientIP,omitempty"`
|
|
ClientRegion string `protobuf:"bytes,9,opt,name=clientRegion,proto3" json:"clientRegion,omitempty"`
|
|
ClientCarrier string `protobuf:"bytes,10,opt,name=clientCarrier,proto3" json:"clientCarrier,omitempty"`
|
|
ClientCountry string `protobuf:"bytes,11,opt,name=clientCountry,proto3" json:"clientCountry,omitempty"`
|
|
Summary string `protobuf:"bytes,12,opt,name=summary,proto3" json:"summary,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) Reset() {
|
|
*x = TestHTTPDNSResolveResponse{}
|
|
mi := &file_service_httpdns_sandbox_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TestHTTPDNSResolveResponse) ProtoMessage() {}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_sandbox_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TestHTTPDNSResolveResponse.ProtoReflect.Descriptor instead.
|
|
func (*TestHTTPDNSResolveResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_sandbox_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) GetRequestId() string {
|
|
if x != nil {
|
|
return x.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) GetDomain() string {
|
|
if x != nil {
|
|
return x.Domain
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) GetQtype() string {
|
|
if x != nil {
|
|
return x.Qtype
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) GetTtl() int32 {
|
|
if x != nil {
|
|
return x.Ttl
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) GetRecords() []*HTTPDNSResolveRecord {
|
|
if x != nil {
|
|
return x.Records
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) GetClientIP() string {
|
|
if x != nil {
|
|
return x.ClientIP
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) GetClientRegion() string {
|
|
if x != nil {
|
|
return x.ClientRegion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) GetClientCarrier() string {
|
|
if x != nil {
|
|
return x.ClientCarrier
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) GetClientCountry() string {
|
|
if x != nil {
|
|
return x.ClientCountry
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TestHTTPDNSResolveResponse) GetSummary() string {
|
|
if x != nil {
|
|
return x.Summary
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_service_httpdns_sandbox_proto protoreflect.FileDescriptor
|
|
|
|
const file_service_httpdns_sandbox_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1dservice_httpdns_sandbox.proto\x12\x02pb\"\xdb\x01\n" +
|
|
"\x19TestHTTPDNSResolveRequest\x12\x1c\n" +
|
|
"\tclusterId\x18\x01 \x01(\x03R\tclusterId\x12\x14\n" +
|
|
"\x05appId\x18\x02 \x01(\tR\x05appId\x12\x16\n" +
|
|
"\x06domain\x18\x03 \x01(\tR\x06domain\x12\x14\n" +
|
|
"\x05qtype\x18\x04 \x01(\tR\x05qtype\x12\x1a\n" +
|
|
"\bclientIP\x18\x05 \x01(\tR\bclientIP\x12\x10\n" +
|
|
"\x03sid\x18\x06 \x01(\tR\x03sid\x12\x1e\n" +
|
|
"\n" +
|
|
"sdkVersion\x18\a \x01(\tR\n" +
|
|
"sdkVersion\x12\x0e\n" +
|
|
"\x02os\x18\b \x01(\tR\x02os\"\x90\x01\n" +
|
|
"\x14HTTPDNSResolveRecord\x12\x12\n" +
|
|
"\x04type\x18\x01 \x01(\tR\x04type\x12\x0e\n" +
|
|
"\x02ip\x18\x02 \x01(\tR\x02ip\x12\x10\n" +
|
|
"\x03ttl\x18\x03 \x01(\x05R\x03ttl\x12\x16\n" +
|
|
"\x06weight\x18\x04 \x01(\x05R\x06weight\x12\x12\n" +
|
|
"\x04line\x18\x05 \x01(\tR\x04line\x12\x16\n" +
|
|
"\x06region\x18\x06 \x01(\tR\x06region\"\x82\x03\n" +
|
|
"\x1aTestHTTPDNSResolveResponse\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\tR\x04code\x12\x18\n" +
|
|
"\amessage\x18\x02 \x01(\tR\amessage\x12\x1c\n" +
|
|
"\trequestId\x18\x03 \x01(\tR\trequestId\x12\x16\n" +
|
|
"\x06domain\x18\x04 \x01(\tR\x06domain\x12\x14\n" +
|
|
"\x05qtype\x18\x05 \x01(\tR\x05qtype\x12\x10\n" +
|
|
"\x03ttl\x18\x06 \x01(\x05R\x03ttl\x122\n" +
|
|
"\arecords\x18\a \x03(\v2\x18.pb.HTTPDNSResolveRecordR\arecords\x12\x1a\n" +
|
|
"\bclientIP\x18\b \x01(\tR\bclientIP\x12\"\n" +
|
|
"\fclientRegion\x18\t \x01(\tR\fclientRegion\x12$\n" +
|
|
"\rclientCarrier\x18\n" +
|
|
" \x01(\tR\rclientCarrier\x12$\n" +
|
|
"\rclientCountry\x18\v \x01(\tR\rclientCountry\x12\x18\n" +
|
|
"\asummary\x18\f \x01(\tR\asummary2l\n" +
|
|
"\x15HTTPDNSSandboxService\x12S\n" +
|
|
"\x12testHTTPDNSResolve\x12\x1d.pb.TestHTTPDNSResolveRequest\x1a\x1e.pb.TestHTTPDNSResolveResponseB\x06Z\x04./pbb\x06proto3"
|
|
|
|
var (
|
|
file_service_httpdns_sandbox_proto_rawDescOnce sync.Once
|
|
file_service_httpdns_sandbox_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_service_httpdns_sandbox_proto_rawDescGZIP() []byte {
|
|
file_service_httpdns_sandbox_proto_rawDescOnce.Do(func() {
|
|
file_service_httpdns_sandbox_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_httpdns_sandbox_proto_rawDesc), len(file_service_httpdns_sandbox_proto_rawDesc)))
|
|
})
|
|
return file_service_httpdns_sandbox_proto_rawDescData
|
|
}
|
|
|
|
var file_service_httpdns_sandbox_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
|
var file_service_httpdns_sandbox_proto_goTypes = []any{
|
|
(*TestHTTPDNSResolveRequest)(nil), // 0: pb.TestHTTPDNSResolveRequest
|
|
(*HTTPDNSResolveRecord)(nil), // 1: pb.HTTPDNSResolveRecord
|
|
(*TestHTTPDNSResolveResponse)(nil), // 2: pb.TestHTTPDNSResolveResponse
|
|
}
|
|
var file_service_httpdns_sandbox_proto_depIdxs = []int32{
|
|
1, // 0: pb.TestHTTPDNSResolveResponse.records:type_name -> pb.HTTPDNSResolveRecord
|
|
0, // 1: pb.HTTPDNSSandboxService.testHTTPDNSResolve:input_type -> pb.TestHTTPDNSResolveRequest
|
|
2, // 2: pb.HTTPDNSSandboxService.testHTTPDNSResolve:output_type -> pb.TestHTTPDNSResolveResponse
|
|
2, // [2:3] is the sub-list for method output_type
|
|
1, // [1:2] is the sub-list for method input_type
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
0, // [0:1] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_service_httpdns_sandbox_proto_init() }
|
|
func file_service_httpdns_sandbox_proto_init() {
|
|
if File_service_httpdns_sandbox_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_httpdns_sandbox_proto_rawDesc), len(file_service_httpdns_sandbox_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 3,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_service_httpdns_sandbox_proto_goTypes,
|
|
DependencyIndexes: file_service_httpdns_sandbox_proto_depIdxs,
|
|
MessageInfos: file_service_httpdns_sandbox_proto_msgTypes,
|
|
}.Build()
|
|
File_service_httpdns_sandbox_proto = out.File
|
|
file_service_httpdns_sandbox_proto_goTypes = nil
|
|
file_service_httpdns_sandbox_proto_depIdxs = nil
|
|
}
|