|
|
|
|
@ -1,256 +1,381 @@ |
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.26.0
|
|
|
|
|
// protoc v3.15.6
|
|
|
|
|
// source: rendererv2.proto
|
|
|
|
|
|
|
|
|
|
package pluginextensionv2 |
|
|
|
|
|
|
|
|
|
import ( |
|
|
|
|
context "context" |
|
|
|
|
fmt "fmt" |
|
|
|
|
math "math" |
|
|
|
|
|
|
|
|
|
proto "github.com/golang/protobuf/proto" |
|
|
|
|
grpc "google.golang.org/grpc" |
|
|
|
|
codes "google.golang.org/grpc/codes" |
|
|
|
|
status "google.golang.org/grpc/status" |
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
|
|
|
|
reflect "reflect" |
|
|
|
|
sync "sync" |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
// 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
|
|
|
|
|
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 StringList struct { |
|
|
|
|
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` |
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
|
|
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
|
|
XXX_sizecache int32 `json:"-"` |
|
|
|
|
} |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
|
|
func (m *StringList) Reset() { *m = StringList{} } |
|
|
|
|
func (m *StringList) String() string { return proto.CompactTextString(m) } |
|
|
|
|
func (*StringList) ProtoMessage() {} |
|
|
|
|
func (*StringList) Descriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_412d7c60977d55a2, []int{0} |
|
|
|
|
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *StringList) XXX_Unmarshal(b []byte) error { |
|
|
|
|
return xxx_messageInfo_StringList.Unmarshal(m, b) |
|
|
|
|
} |
|
|
|
|
func (m *StringList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
|
|
|
|
return xxx_messageInfo_StringList.Marshal(b, m, deterministic) |
|
|
|
|
} |
|
|
|
|
func (m *StringList) XXX_Merge(src proto.Message) { |
|
|
|
|
xxx_messageInfo_StringList.Merge(m, src) |
|
|
|
|
func (x *StringList) Reset() { |
|
|
|
|
*x = StringList{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_rendererv2_proto_msgTypes[0] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
func (m *StringList) XXX_Size() int { |
|
|
|
|
return xxx_messageInfo_StringList.Size(m) |
|
|
|
|
|
|
|
|
|
func (x *StringList) String() string { |
|
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
|
} |
|
|
|
|
func (m *StringList) XXX_DiscardUnknown() { |
|
|
|
|
xxx_messageInfo_StringList.DiscardUnknown(m) |
|
|
|
|
|
|
|
|
|
func (*StringList) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *StringList) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_rendererv2_proto_msgTypes[0] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
return ms |
|
|
|
|
} |
|
|
|
|
return mi.MessageOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_StringList proto.InternalMessageInfo |
|
|
|
|
// Deprecated: Use StringList.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*StringList) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_rendererv2_proto_rawDescGZIP(), []int{0} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *StringList) GetValues() []string { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.Values |
|
|
|
|
func (x *StringList) GetValues() []string { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.Values |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type RenderRequest struct { |
|
|
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` |
|
|
|
|
Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` |
|
|
|
|
Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` |
|
|
|
|
DeviceScaleFactor float32 `protobuf:"fixed32,4,opt,name=deviceScaleFactor,proto3" json:"deviceScaleFactor,omitempty"` |
|
|
|
|
FilePath string `protobuf:"bytes,5,opt,name=filePath,proto3" json:"filePath,omitempty"` |
|
|
|
|
RenderKey string `protobuf:"bytes,6,opt,name=renderKey,proto3" json:"renderKey,omitempty"` |
|
|
|
|
Domain string `protobuf:"bytes,7,opt,name=domain,proto3" json:"domain,omitempty"` |
|
|
|
|
Timeout int32 `protobuf:"varint,8,opt,name=timeout,proto3" json:"timeout,omitempty"` |
|
|
|
|
Timezone string `protobuf:"bytes,9,opt,name=timezone,proto3" json:"timezone,omitempty"` |
|
|
|
|
Headers map[string]*StringList `protobuf:"bytes,10,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
|
|
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
|
|
XXX_sizecache int32 `json:"-"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *RenderRequest) Reset() { *m = RenderRequest{} } |
|
|
|
|
func (m *RenderRequest) String() string { return proto.CompactTextString(m) } |
|
|
|
|
func (*RenderRequest) ProtoMessage() {} |
|
|
|
|
func (*RenderRequest) Descriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_412d7c60977d55a2, []int{1} |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` |
|
|
|
|
Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` |
|
|
|
|
Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` |
|
|
|
|
DeviceScaleFactor float32 `protobuf:"fixed32,4,opt,name=deviceScaleFactor,proto3" json:"deviceScaleFactor,omitempty"` |
|
|
|
|
FilePath string `protobuf:"bytes,5,opt,name=filePath,proto3" json:"filePath,omitempty"` |
|
|
|
|
RenderKey string `protobuf:"bytes,6,opt,name=renderKey,proto3" json:"renderKey,omitempty"` |
|
|
|
|
Domain string `protobuf:"bytes,7,opt,name=domain,proto3" json:"domain,omitempty"` |
|
|
|
|
Timeout int32 `protobuf:"varint,8,opt,name=timeout,proto3" json:"timeout,omitempty"` |
|
|
|
|
Timezone string `protobuf:"bytes,9,opt,name=timezone,proto3" json:"timezone,omitempty"` |
|
|
|
|
Headers map[string]*StringList `protobuf:"bytes,10,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *RenderRequest) Reset() { |
|
|
|
|
*x = RenderRequest{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_rendererv2_proto_msgTypes[1] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *RenderRequest) XXX_Unmarshal(b []byte) error { |
|
|
|
|
return xxx_messageInfo_RenderRequest.Unmarshal(m, b) |
|
|
|
|
} |
|
|
|
|
func (m *RenderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
|
|
|
|
return xxx_messageInfo_RenderRequest.Marshal(b, m, deterministic) |
|
|
|
|
} |
|
|
|
|
func (m *RenderRequest) XXX_Merge(src proto.Message) { |
|
|
|
|
xxx_messageInfo_RenderRequest.Merge(m, src) |
|
|
|
|
} |
|
|
|
|
func (m *RenderRequest) XXX_Size() int { |
|
|
|
|
return xxx_messageInfo_RenderRequest.Size(m) |
|
|
|
|
func (x *RenderRequest) String() string { |
|
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
|
} |
|
|
|
|
func (m *RenderRequest) XXX_DiscardUnknown() { |
|
|
|
|
xxx_messageInfo_RenderRequest.DiscardUnknown(m) |
|
|
|
|
|
|
|
|
|
func (*RenderRequest) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *RenderRequest) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_rendererv2_proto_msgTypes[1] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
return ms |
|
|
|
|
} |
|
|
|
|
return mi.MessageOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_RenderRequest proto.InternalMessageInfo |
|
|
|
|
// Deprecated: Use RenderRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*RenderRequest) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_rendererv2_proto_rawDescGZIP(), []int{1} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *RenderRequest) GetUrl() string { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.Url |
|
|
|
|
func (x *RenderRequest) GetUrl() string { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.Url |
|
|
|
|
} |
|
|
|
|
return "" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *RenderRequest) GetWidth() int32 { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.Width |
|
|
|
|
func (x *RenderRequest) GetWidth() int32 { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.Width |
|
|
|
|
} |
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *RenderRequest) GetHeight() int32 { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.Height |
|
|
|
|
func (x *RenderRequest) GetHeight() int32 { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.Height |
|
|
|
|
} |
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *RenderRequest) GetDeviceScaleFactor() float32 { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.DeviceScaleFactor |
|
|
|
|
func (x *RenderRequest) GetDeviceScaleFactor() float32 { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.DeviceScaleFactor |
|
|
|
|
} |
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *RenderRequest) GetFilePath() string { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.FilePath |
|
|
|
|
func (x *RenderRequest) GetFilePath() string { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.FilePath |
|
|
|
|
} |
|
|
|
|
return "" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *RenderRequest) GetRenderKey() string { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.RenderKey |
|
|
|
|
func (x *RenderRequest) GetRenderKey() string { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.RenderKey |
|
|
|
|
} |
|
|
|
|
return "" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *RenderRequest) GetDomain() string { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.Domain |
|
|
|
|
func (x *RenderRequest) GetDomain() string { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.Domain |
|
|
|
|
} |
|
|
|
|
return "" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *RenderRequest) GetTimeout() int32 { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.Timeout |
|
|
|
|
func (x *RenderRequest) GetTimeout() int32 { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.Timeout |
|
|
|
|
} |
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *RenderRequest) GetTimezone() string { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.Timezone |
|
|
|
|
func (x *RenderRequest) GetTimezone() string { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.Timezone |
|
|
|
|
} |
|
|
|
|
return "" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *RenderRequest) GetHeaders() map[string]*StringList { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.Headers |
|
|
|
|
func (x *RenderRequest) GetHeaders() map[string]*StringList { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.Headers |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type RenderResponse struct { |
|
|
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` |
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
|
|
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
|
|
XXX_sizecache int32 `json:"-"` |
|
|
|
|
} |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
|
|
func (m *RenderResponse) Reset() { *m = RenderResponse{} } |
|
|
|
|
func (m *RenderResponse) String() string { return proto.CompactTextString(m) } |
|
|
|
|
func (*RenderResponse) ProtoMessage() {} |
|
|
|
|
func (*RenderResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return fileDescriptor_412d7c60977d55a2, []int{2} |
|
|
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *RenderResponse) XXX_Unmarshal(b []byte) error { |
|
|
|
|
return xxx_messageInfo_RenderResponse.Unmarshal(m, b) |
|
|
|
|
} |
|
|
|
|
func (m *RenderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
|
|
|
|
return xxx_messageInfo_RenderResponse.Marshal(b, m, deterministic) |
|
|
|
|
} |
|
|
|
|
func (m *RenderResponse) XXX_Merge(src proto.Message) { |
|
|
|
|
xxx_messageInfo_RenderResponse.Merge(m, src) |
|
|
|
|
func (x *RenderResponse) Reset() { |
|
|
|
|
*x = RenderResponse{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_rendererv2_proto_msgTypes[2] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
func (m *RenderResponse) XXX_Size() int { |
|
|
|
|
return xxx_messageInfo_RenderResponse.Size(m) |
|
|
|
|
|
|
|
|
|
func (x *RenderResponse) String() string { |
|
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
|
} |
|
|
|
|
func (m *RenderResponse) XXX_DiscardUnknown() { |
|
|
|
|
xxx_messageInfo_RenderResponse.DiscardUnknown(m) |
|
|
|
|
|
|
|
|
|
func (*RenderResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *RenderResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_rendererv2_proto_msgTypes[2] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
return ms |
|
|
|
|
} |
|
|
|
|
return mi.MessageOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_RenderResponse proto.InternalMessageInfo |
|
|
|
|
// Deprecated: Use RenderResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*RenderResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_rendererv2_proto_rawDescGZIP(), []int{2} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *RenderResponse) GetError() string { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.Error |
|
|
|
|
func (x *RenderResponse) GetError() string { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.Error |
|
|
|
|
} |
|
|
|
|
return "" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func init() { |
|
|
|
|
proto.RegisterType((*StringList)(nil), "pluginextensionv2.StringList") |
|
|
|
|
proto.RegisterType((*RenderRequest)(nil), "pluginextensionv2.RenderRequest") |
|
|
|
|
proto.RegisterMapType((map[string]*StringList)(nil), "pluginextensionv2.RenderRequest.HeadersEntry") |
|
|
|
|
proto.RegisterType((*RenderResponse)(nil), "pluginextensionv2.RenderResponse") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func init() { |
|
|
|
|
proto.RegisterFile("rendererv2.proto", fileDescriptor_412d7c60977d55a2) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var fileDescriptor_412d7c60977d55a2 = []byte{ |
|
|
|
|
// 380 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x5f, 0x6f, 0xd3, 0x30, |
|
|
|
|
0x14, 0xc5, 0x95, 0x86, 0xa4, 0xcd, 0x2d, 0xa0, 0xd6, 0xfc, 0x91, 0x55, 0x81, 0x14, 0x2a, 0x84, |
|
|
|
|
0xf2, 0x00, 0x79, 0x48, 0x5f, 0x10, 0xbc, 0x21, 0xf1, 0x47, 0x02, 0x24, 0xe4, 0x3e, 0x95, 0xb7, |
|
|
|
|
0xac, 0xb9, 0x6b, 0xac, 0xa6, 0x76, 0xe7, 0x38, 0xd9, 0xb2, 0x6f, 0xb4, 0x6f, 0x39, 0xc5, 0x4e, |
|
|
|
|
0xd6, 0x4d, 0x9d, 0xb6, 0xb7, 0xfb, 0xf3, 0x3d, 0xbe, 0xc7, 0x3e, 0x36, 0x4c, 0x14, 0x8a, 0x0c, |
|
|
|
|
0x15, 0xaa, 0x3a, 0x89, 0xf7, 0x4a, 0x6a, 0x49, 0xa6, 0xfb, 0xa2, 0xda, 0x70, 0x81, 0x17, 0x1a, |
|
|
|
|
0x45, 0xc9, 0xa5, 0xa8, 0x93, 0xf9, 0x7b, 0x80, 0xa5, 0x56, 0x5c, 0x6c, 0xfe, 0xf0, 0x52, 0x93, |
|
|
|
|
0xd7, 0xe0, 0xd7, 0x69, 0x51, 0x61, 0x49, 0x9d, 0xd0, 0x8d, 0x02, 0xd6, 0xd1, 0xfc, 0xca, 0x85, |
|
|
|
|
0x67, 0xcc, 0x4c, 0x63, 0x78, 0x56, 0x61, 0xa9, 0xc9, 0x04, 0xdc, 0x4a, 0x15, 0xd4, 0x09, 0x9d, |
|
|
|
|
0x28, 0x60, 0x6d, 0x49, 0x5e, 0x82, 0x77, 0xce, 0x33, 0x9d, 0xd3, 0x41, 0xe8, 0x44, 0x1e, 0xb3, |
|
|
|
|
0xd0, 0x4e, 0xcc, 0x91, 0x6f, 0x72, 0x4d, 0x5d, 0xb3, 0xdc, 0x11, 0xf9, 0x08, 0xd3, 0x0c, 0x6b, |
|
|
|
|
0xbe, 0xc6, 0xe5, 0x3a, 0x2d, 0xf0, 0x47, 0xba, 0xd6, 0x52, 0xd1, 0x27, 0xa1, 0x13, 0x0d, 0xd8, |
|
|
|
|
0x71, 0x83, 0xcc, 0x60, 0x74, 0xca, 0x0b, 0xfc, 0x97, 0xea, 0x9c, 0x7a, 0xc6, 0xf2, 0x86, 0xc9, |
|
|
|
|
0x1b, 0x08, 0xec, 0x45, 0x7f, 0x63, 0x43, 0x7d, 0xd3, 0x3c, 0x2c, 0xb4, 0xfe, 0x99, 0xdc, 0xa5, |
|
|
|
|
0x5c, 0xd0, 0xa1, 0x69, 0x75, 0x44, 0x28, 0x0c, 0x35, 0xdf, 0xa1, 0xac, 0x34, 0x1d, 0x99, 0x83, |
|
|
|
|
0xf5, 0xd8, 0x7a, 0xb5, 0xe5, 0xa5, 0x14, 0x48, 0x03, 0xeb, 0xd5, 0x33, 0xf9, 0x09, 0xc3, 0x1c, |
|
|
|
|
0xd3, 0x0c, 0x55, 0x49, 0x21, 0x74, 0xa3, 0x71, 0xf2, 0x29, 0x3e, 0x8a, 0x34, 0xbe, 0x13, 0x54, |
|
|
|
|
0xfc, 0xcb, 0xea, 0xbf, 0x0b, 0xad, 0x1a, 0xd6, 0xef, 0x9e, 0xad, 0xe0, 0xe9, 0xed, 0x46, 0x1b, |
|
|
|
|
0xe7, 0x16, 0x9b, 0x3e, 0xce, 0x2d, 0x36, 0x64, 0x01, 0x9e, 0x09, 0xdf, 0xc4, 0x39, 0x4e, 0xde, |
|
|
|
|
0xde, 0x63, 0x74, 0x78, 0x38, 0x66, 0xb5, 0x5f, 0x06, 0x9f, 0x9d, 0xf9, 0x07, 0x78, 0xde, 0x9f, |
|
|
|
|
0xa0, 0xdc, 0x4b, 0x51, 0x62, 0xfb, 0x32, 0xa8, 0x94, 0x54, 0xdd, 0x78, 0x0b, 0xc9, 0x0a, 0x46, |
|
|
|
|
0xac, 0xfb, 0x20, 0xe4, 0x2f, 0xf8, 0xb6, 0x26, 0xe1, 0x63, 0x17, 0x9a, 0xbd, 0x7b, 0x40, 0x61, |
|
|
|
|
0x0d, 0xbf, 0xbd, 0xfa, 0xff, 0x22, 0xfe, 0x7a, 0xa4, 0x3a, 0xf1, 0xcd, 0x2f, 0x5c, 0x5c, 0x07, |
|
|
|
|
0x00, 0x00, 0xff, 0xff, 0x36, 0x87, 0xfd, 0x2d, 0x99, 0x02, 0x00, 0x00, |
|
|
|
|
var File_rendererv2_proto protoreflect.FileDescriptor |
|
|
|
|
|
|
|
|
|
var file_rendererv2_proto_rawDesc = []byte{ |
|
|
|
|
0x0a, 0x10, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, 0x76, 0x32, 0x2e, 0x70, 0x72, 0x6f, |
|
|
|
|
0x74, 0x6f, 0x12, 0x11, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, |
|
|
|
|
0x69, 0x6f, 0x6e, 0x76, 0x32, 0x22, 0x24, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4c, |
|
|
|
|
0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, |
|
|
|
|
0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xa9, 0x03, 0x0a, 0x0d, |
|
|
|
|
0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, |
|
|
|
|
0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, |
|
|
|
|
0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, |
|
|
|
|
0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, |
|
|
|
|
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2c, 0x0a, |
|
|
|
|
0x11, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x46, 0x61, 0x63, 0x74, |
|
|
|
|
0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x11, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, |
|
|
|
|
0x53, 0x63, 0x61, 0x6c, 0x65, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x66, |
|
|
|
|
0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, |
|
|
|
|
0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x6e, 0x64, 0x65, |
|
|
|
|
0x72, 0x4b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x6e, 0x64, |
|
|
|
|
0x65, 0x72, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, |
|
|
|
|
0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x18, 0x0a, |
|
|
|
|
0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, |
|
|
|
|
0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, |
|
|
|
|
0x6f, 0x6e, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, |
|
|
|
|
0x6f, 0x6e, 0x65, 0x12, 0x47, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x0a, |
|
|
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x65, 0x78, 0x74, |
|
|
|
|
0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, |
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, |
|
|
|
|
0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x59, 0x0a, 0x0c, |
|
|
|
|
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, |
|
|
|
|
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, |
|
|
|
|
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, |
|
|
|
|
0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x76, |
|
|
|
|
0x32, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, |
|
|
|
|
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x26, 0x0a, 0x0e, 0x52, 0x65, 0x6e, 0x64, 0x65, |
|
|
|
|
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, |
|
|
|
|
0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, |
|
|
|
|
0x59, 0x0a, 0x08, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, 0x12, 0x4d, 0x0a, 0x06, 0x52, |
|
|
|
|
0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x20, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x65, 0x78, |
|
|
|
|
0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, |
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, |
|
|
|
|
0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x6e, 0x64, |
|
|
|
|
0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x16, 0x5a, 0x14, 0x2e, 0x2f, |
|
|
|
|
0x3b, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, |
|
|
|
|
0x76, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var ( |
|
|
|
|
file_rendererv2_proto_rawDescOnce sync.Once |
|
|
|
|
file_rendererv2_proto_rawDescData = file_rendererv2_proto_rawDesc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
func file_rendererv2_proto_rawDescGZIP() []byte { |
|
|
|
|
file_rendererv2_proto_rawDescOnce.Do(func() { |
|
|
|
|
file_rendererv2_proto_rawDescData = protoimpl.X.CompressGZIP(file_rendererv2_proto_rawDescData) |
|
|
|
|
}) |
|
|
|
|
return file_rendererv2_proto_rawDescData |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var file_rendererv2_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
|
|
|
|
var file_rendererv2_proto_goTypes = []interface{}{ |
|
|
|
|
(*StringList)(nil), // 0: pluginextensionv2.StringList
|
|
|
|
|
(*RenderRequest)(nil), // 1: pluginextensionv2.RenderRequest
|
|
|
|
|
(*RenderResponse)(nil), // 2: pluginextensionv2.RenderResponse
|
|
|
|
|
nil, // 3: pluginextensionv2.RenderRequest.HeadersEntry
|
|
|
|
|
} |
|
|
|
|
var file_rendererv2_proto_depIdxs = []int32{ |
|
|
|
|
3, // 0: pluginextensionv2.RenderRequest.headers:type_name -> pluginextensionv2.RenderRequest.HeadersEntry
|
|
|
|
|
0, // 1: pluginextensionv2.RenderRequest.HeadersEntry.value:type_name -> pluginextensionv2.StringList
|
|
|
|
|
1, // 2: pluginextensionv2.Renderer.Render:input_type -> pluginextensionv2.RenderRequest
|
|
|
|
|
2, // 3: pluginextensionv2.Renderer.Render:output_type -> pluginextensionv2.RenderResponse
|
|
|
|
|
3, // [3:4] is the sub-list for method output_type
|
|
|
|
|
2, // [2:3] is the sub-list for method input_type
|
|
|
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
|
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:2] is the sub-list for field type_name
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func init() { file_rendererv2_proto_init() } |
|
|
|
|
func file_rendererv2_proto_init() { |
|
|
|
|
if File_rendererv2_proto != nil { |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
if !protoimpl.UnsafeEnabled { |
|
|
|
|
file_rendererv2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*StringList); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
return &v.sizeCache |
|
|
|
|
case 2: |
|
|
|
|
return &v.unknownFields |
|
|
|
|
default: |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_rendererv2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*RenderRequest); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
return &v.sizeCache |
|
|
|
|
case 2: |
|
|
|
|
return &v.unknownFields |
|
|
|
|
default: |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_rendererv2_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*RenderResponse); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
return &v.sizeCache |
|
|
|
|
case 2: |
|
|
|
|
return &v.unknownFields |
|
|
|
|
default: |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
type x struct{} |
|
|
|
|
out := protoimpl.TypeBuilder{ |
|
|
|
|
File: protoimpl.DescBuilder{ |
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
|
|
|
|
RawDescriptor: file_rendererv2_proto_rawDesc, |
|
|
|
|
NumEnums: 0, |
|
|
|
|
NumMessages: 4, |
|
|
|
|
NumExtensions: 0, |
|
|
|
|
NumServices: 1, |
|
|
|
|
}, |
|
|
|
|
GoTypes: file_rendererv2_proto_goTypes, |
|
|
|
|
DependencyIndexes: file_rendererv2_proto_depIdxs, |
|
|
|
|
MessageInfos: file_rendererv2_proto_msgTypes, |
|
|
|
|
}.Build() |
|
|
|
|
File_rendererv2_proto = out.File |
|
|
|
|
file_rendererv2_proto_rawDesc = nil |
|
|
|
|
file_rendererv2_proto_goTypes = nil |
|
|
|
|
file_rendererv2_proto_depIdxs = nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
|
@ -294,7 +419,7 @@ type RendererServer interface { |
|
|
|
|
type UnimplementedRendererServer struct { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (*UnimplementedRendererServer) Render(ctx context.Context, req *RenderRequest) (*RenderResponse, error) { |
|
|
|
|
func (*UnimplementedRendererServer) Render(context.Context, *RenderRequest) (*RenderResponse, error) { |
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method Render not implemented") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|