add detailed jpg quality opts & thumbnail pass
Docker server image / build-and-push (push) Successful in 3m48s
Docker server image / build-and-push (push) Successful in 3m48s
This commit is contained in:
@@ -196,19 +196,144 @@ func (ConversionResolution) EnumDescriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
// Slide contains extracted notes and the rendered image URL for one slide.
|
||||
type Slide struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
|
||||
NotesPlain string `protobuf:"bytes,2,opt,name=notes_plain,json=notesPlain,proto3" json:"notes_plain,omitempty"`
|
||||
ImageUrl string `protobuf:"bytes,3,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
|
||||
// JpegOutputOptions configures JPEG-specific encoding controls.
|
||||
type JpegOutputOptions struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// JPEG quality from 1..100. 0 means server default.
|
||||
Quality int32 `protobuf:"varint,1,opt,name=quality,proto3" json:"quality,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *JpegOutputOptions) Reset() {
|
||||
*x = JpegOutputOptions{}
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *JpegOutputOptions) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*JpegOutputOptions) ProtoMessage() {}
|
||||
|
||||
func (x *JpegOutputOptions) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_officeconvertapi_v1_conversion_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 JpegOutputOptions.ProtoReflect.Descriptor instead.
|
||||
func (*JpegOutputOptions) Descriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *JpegOutputOptions) GetQuality() int32 {
|
||||
if x != nil {
|
||||
return x.Quality
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// SlideRasterOptions defines rendering settings for a raster output tier.
|
||||
type SlideRasterOptions struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Output resolution preset. UNSPECIFIED means server default for the tier.
|
||||
Resolution ConversionResolution `protobuf:"varint,1,opt,name=resolution,proto3,enum=officeconvertapi.v1.ConversionResolution" json:"resolution,omitempty"`
|
||||
// Types that are valid to be assigned to Format:
|
||||
//
|
||||
// *SlideRasterOptions_Jpeg
|
||||
Format isSlideRasterOptions_Format `protobuf_oneof:"format"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SlideRasterOptions) Reset() {
|
||||
*x = SlideRasterOptions{}
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SlideRasterOptions) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SlideRasterOptions) ProtoMessage() {}
|
||||
|
||||
func (x *SlideRasterOptions) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_officeconvertapi_v1_conversion_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 SlideRasterOptions.ProtoReflect.Descriptor instead.
|
||||
func (*SlideRasterOptions) Descriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *SlideRasterOptions) GetResolution() ConversionResolution {
|
||||
if x != nil {
|
||||
return x.Resolution
|
||||
}
|
||||
return ConversionResolution_CONVERSION_RESOLUTION_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (x *SlideRasterOptions) GetFormat() isSlideRasterOptions_Format {
|
||||
if x != nil {
|
||||
return x.Format
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SlideRasterOptions) GetJpeg() *JpegOutputOptions {
|
||||
if x != nil {
|
||||
if x, ok := x.Format.(*SlideRasterOptions_Jpeg); ok {
|
||||
return x.Jpeg
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isSlideRasterOptions_Format interface {
|
||||
isSlideRasterOptions_Format()
|
||||
}
|
||||
|
||||
type SlideRasterOptions_Jpeg struct {
|
||||
Jpeg *JpegOutputOptions `protobuf:"bytes,2,opt,name=jpeg,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*SlideRasterOptions_Jpeg) isSlideRasterOptions_Format() {}
|
||||
|
||||
// Slide contains extracted notes and the rendered image URL for one slide.
|
||||
type Slide struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
|
||||
NotesPlain string `protobuf:"bytes,2,opt,name=notes_plain,json=notesPlain,proto3" json:"notes_plain,omitempty"`
|
||||
// Full-size rendered image URL.
|
||||
ImageUrl string `protobuf:"bytes,3,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
|
||||
// Thumbnail rendered image URL.
|
||||
ThumbnailImageUrl string `protobuf:"bytes,4,opt,name=thumbnail_image_url,json=thumbnailImageUrl,proto3" json:"thumbnail_image_url,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *Slide) Reset() {
|
||||
*x = Slide{}
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[0]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -220,7 +345,7 @@ func (x *Slide) String() string {
|
||||
func (*Slide) ProtoMessage() {}
|
||||
|
||||
func (x *Slide) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[0]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[2]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -233,7 +358,7 @@ func (x *Slide) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use Slide.ProtoReflect.Descriptor instead.
|
||||
func (*Slide) Descriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{0}
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *Slide) GetIndex() int32 {
|
||||
@@ -257,6 +382,13 @@ func (x *Slide) GetImageUrl() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *Slide) GetThumbnailImageUrl() string {
|
||||
if x != nil {
|
||||
return x.ThumbnailImageUrl
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// SlideDeck is the final structured conversion artifact.
|
||||
type SlideDeck struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
@@ -265,15 +397,21 @@ type SlideDeck struct {
|
||||
SourceFilename string `protobuf:"bytes,2,opt,name=source_filename,json=sourceFilename,proto3" json:"source_filename,omitempty"`
|
||||
Slides []*Slide `protobuf:"bytes,3,rep,name=slides,proto3" json:"slides,omitempty"`
|
||||
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
||||
Width int32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"`
|
||||
Height int32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
// Full-size raster width in pixels.
|
||||
Width int32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"`
|
||||
// Full-size raster height in pixels.
|
||||
Height int32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
|
||||
// Thumbnail raster width in pixels.
|
||||
ThumbnailWidth int32 `protobuf:"varint,7,opt,name=thumbnail_width,json=thumbnailWidth,proto3" json:"thumbnail_width,omitempty"`
|
||||
// Thumbnail raster height in pixels.
|
||||
ThumbnailHeight int32 `protobuf:"varint,8,opt,name=thumbnail_height,json=thumbnailHeight,proto3" json:"thumbnail_height,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SlideDeck) Reset() {
|
||||
*x = SlideDeck{}
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[1]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -285,7 +423,7 @@ func (x *SlideDeck) String() string {
|
||||
func (*SlideDeck) ProtoMessage() {}
|
||||
|
||||
func (x *SlideDeck) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[1]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -298,7 +436,7 @@ func (x *SlideDeck) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SlideDeck.ProtoReflect.Descriptor instead.
|
||||
func (*SlideDeck) Descriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{1}
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *SlideDeck) GetConversionId() string {
|
||||
@@ -343,18 +481,33 @@ func (x *SlideDeck) GetHeight() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SlideDeck) GetThumbnailWidth() int32 {
|
||||
if x != nil {
|
||||
return x.ThumbnailWidth
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SlideDeck) GetThumbnailHeight() int32 {
|
||||
if x != nil {
|
||||
return x.ThumbnailHeight
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// CreateConversionRequest starts a conversion session.
|
||||
type CreateConversionRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
SourceFilename string `protobuf:"bytes,1,opt,name=source_filename,json=sourceFilename,proto3" json:"source_filename,omitempty"`
|
||||
Resolution ConversionResolution `protobuf:"varint,2,opt,name=resolution,proto3,enum=officeconvertapi.v1.ConversionResolution" json:"resolution,omitempty"`
|
||||
Full *SlideRasterOptions `protobuf:"bytes,2,opt,name=full,proto3" json:"full,omitempty"`
|
||||
Thumbnail *SlideRasterOptions `protobuf:"bytes,3,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CreateConversionRequest) Reset() {
|
||||
*x = CreateConversionRequest{}
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[2]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -366,7 +519,7 @@ func (x *CreateConversionRequest) String() string {
|
||||
func (*CreateConversionRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CreateConversionRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[2]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -379,7 +532,7 @@ func (x *CreateConversionRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CreateConversionRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CreateConversionRequest) Descriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{2}
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *CreateConversionRequest) GetSourceFilename() string {
|
||||
@@ -389,11 +542,18 @@ func (x *CreateConversionRequest) GetSourceFilename() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *CreateConversionRequest) GetResolution() ConversionResolution {
|
||||
func (x *CreateConversionRequest) GetFull() *SlideRasterOptions {
|
||||
if x != nil {
|
||||
return x.Resolution
|
||||
return x.Full
|
||||
}
|
||||
return ConversionResolution_CONVERSION_RESOLUTION_UNSPECIFIED
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CreateConversionRequest) GetThumbnail() *SlideRasterOptions {
|
||||
if x != nil {
|
||||
return x.Thumbnail
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// CreateConversionResponse returns upload details for the session.
|
||||
@@ -411,7 +571,7 @@ type CreateConversionResponse struct {
|
||||
|
||||
func (x *CreateConversionResponse) Reset() {
|
||||
*x = CreateConversionResponse{}
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[3]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -423,7 +583,7 @@ func (x *CreateConversionResponse) String() string {
|
||||
func (*CreateConversionResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CreateConversionResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[3]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -436,7 +596,7 @@ func (x *CreateConversionResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CreateConversionResponse.ProtoReflect.Descriptor instead.
|
||||
func (*CreateConversionResponse) Descriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{3}
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *CreateConversionResponse) GetConversionId() string {
|
||||
@@ -485,7 +645,7 @@ type StartConversionRequest struct {
|
||||
|
||||
func (x *StartConversionRequest) Reset() {
|
||||
*x = StartConversionRequest{}
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[4]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -497,7 +657,7 @@ func (x *StartConversionRequest) String() string {
|
||||
func (*StartConversionRequest) ProtoMessage() {}
|
||||
|
||||
func (x *StartConversionRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[4]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -510,7 +670,7 @@ func (x *StartConversionRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use StartConversionRequest.ProtoReflect.Descriptor instead.
|
||||
func (*StartConversionRequest) Descriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{4}
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *StartConversionRequest) GetConversionId() string {
|
||||
@@ -532,7 +692,7 @@ type StartConversionResponse struct {
|
||||
|
||||
func (x *StartConversionResponse) Reset() {
|
||||
*x = StartConversionResponse{}
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[5]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -544,7 +704,7 @@ func (x *StartConversionResponse) String() string {
|
||||
func (*StartConversionResponse) ProtoMessage() {}
|
||||
|
||||
func (x *StartConversionResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[5]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -557,7 +717,7 @@ func (x *StartConversionResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use StartConversionResponse.ProtoReflect.Descriptor instead.
|
||||
func (*StartConversionResponse) Descriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{5}
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *StartConversionResponse) GetConversionId() string {
|
||||
@@ -585,7 +745,7 @@ type GetConversionStatusRequest struct {
|
||||
|
||||
func (x *GetConversionStatusRequest) Reset() {
|
||||
*x = GetConversionStatusRequest{}
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[6]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -597,7 +757,7 @@ func (x *GetConversionStatusRequest) String() string {
|
||||
func (*GetConversionStatusRequest) ProtoMessage() {}
|
||||
|
||||
func (x *GetConversionStatusRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[6]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[8]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -610,7 +770,7 @@ func (x *GetConversionStatusRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GetConversionStatusRequest.ProtoReflect.Descriptor instead.
|
||||
func (*GetConversionStatusRequest) Descriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{6}
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *GetConversionStatusRequest) GetConversionId() string {
|
||||
@@ -637,7 +797,7 @@ type GetConversionStatusResponse struct {
|
||||
|
||||
func (x *GetConversionStatusResponse) Reset() {
|
||||
*x = GetConversionStatusResponse{}
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[7]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -649,7 +809,7 @@ func (x *GetConversionStatusResponse) String() string {
|
||||
func (*GetConversionStatusResponse) ProtoMessage() {}
|
||||
|
||||
func (x *GetConversionStatusResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[7]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[9]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -662,7 +822,7 @@ func (x *GetConversionStatusResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GetConversionStatusResponse.ProtoReflect.Descriptor instead.
|
||||
func (*GetConversionStatusResponse) Descriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{7}
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *GetConversionStatusResponse) GetConversionId() string {
|
||||
@@ -725,7 +885,7 @@ type GetSlideDeckRequest struct {
|
||||
|
||||
func (x *GetSlideDeckRequest) Reset() {
|
||||
*x = GetSlideDeckRequest{}
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[8]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -737,7 +897,7 @@ func (x *GetSlideDeckRequest) String() string {
|
||||
func (*GetSlideDeckRequest) ProtoMessage() {}
|
||||
|
||||
func (x *GetSlideDeckRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[8]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[10]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -750,7 +910,7 @@ func (x *GetSlideDeckRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GetSlideDeckRequest.ProtoReflect.Descriptor instead.
|
||||
func (*GetSlideDeckRequest) Descriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{8}
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *GetSlideDeckRequest) GetConversionId() string {
|
||||
@@ -770,7 +930,7 @@ type GetSlideDeckResponse struct {
|
||||
|
||||
func (x *GetSlideDeckResponse) Reset() {
|
||||
*x = GetSlideDeckResponse{}
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[9]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -782,7 +942,7 @@ func (x *GetSlideDeckResponse) String() string {
|
||||
func (*GetSlideDeckResponse) ProtoMessage() {}
|
||||
|
||||
func (x *GetSlideDeckResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[9]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[11]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -795,7 +955,7 @@ func (x *GetSlideDeckResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GetSlideDeckResponse.ProtoReflect.Descriptor instead.
|
||||
func (*GetSlideDeckResponse) Descriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{9}
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *GetSlideDeckResponse) GetSlideDeck() *SlideDeck {
|
||||
@@ -816,7 +976,7 @@ type DeleteConversionRequest struct {
|
||||
|
||||
func (x *DeleteConversionRequest) Reset() {
|
||||
*x = DeleteConversionRequest{}
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[10]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -828,7 +988,7 @@ func (x *DeleteConversionRequest) String() string {
|
||||
func (*DeleteConversionRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteConversionRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[10]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[12]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -841,7 +1001,7 @@ func (x *DeleteConversionRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeleteConversionRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteConversionRequest) Descriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{10}
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *DeleteConversionRequest) GetConversionId() string {
|
||||
@@ -863,7 +1023,7 @@ type DeleteConversionResponse struct {
|
||||
|
||||
func (x *DeleteConversionResponse) Reset() {
|
||||
*x = DeleteConversionResponse{}
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[11]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -875,7 +1035,7 @@ func (x *DeleteConversionResponse) String() string {
|
||||
func (*DeleteConversionResponse) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteConversionResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[11]
|
||||
mi := &file_officeconvertapi_v1_conversion_proto_msgTypes[13]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -888,7 +1048,7 @@ func (x *DeleteConversionResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeleteConversionResponse.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteConversionResponse) Descriptor() ([]byte, []int) {
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{11}
|
||||
return file_officeconvertapi_v1_conversion_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *DeleteConversionResponse) GetConversionId() string {
|
||||
@@ -909,12 +1069,21 @@ var File_officeconvertapi_v1_conversion_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_officeconvertapi_v1_conversion_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"$officeconvertapi/v1/conversion.proto\x12\x13officeconvertapi.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"[\n" +
|
||||
"$officeconvertapi/v1/conversion.proto\x12\x13officeconvertapi.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"-\n" +
|
||||
"\x11JpegOutputOptions\x12\x18\n" +
|
||||
"\aquality\x18\x01 \x01(\x05R\aquality\"\xa7\x01\n" +
|
||||
"\x12SlideRasterOptions\x12I\n" +
|
||||
"\n" +
|
||||
"resolution\x18\x01 \x01(\x0e2).officeconvertapi.v1.ConversionResolutionR\n" +
|
||||
"resolution\x12<\n" +
|
||||
"\x04jpeg\x18\x02 \x01(\v2&.officeconvertapi.v1.JpegOutputOptionsH\x00R\x04jpegB\b\n" +
|
||||
"\x06format\"\x8b\x01\n" +
|
||||
"\x05Slide\x12\x14\n" +
|
||||
"\x05index\x18\x01 \x01(\x05R\x05index\x12\x1f\n" +
|
||||
"\vnotes_plain\x18\x02 \x01(\tR\n" +
|
||||
"notesPlain\x12\x1b\n" +
|
||||
"\timage_url\x18\x03 \x01(\tR\bimageUrl\"\xf6\x01\n" +
|
||||
"\timage_url\x18\x03 \x01(\tR\bimageUrl\x12.\n" +
|
||||
"\x13thumbnail_image_url\x18\x04 \x01(\tR\x11thumbnailImageUrl\"\xca\x02\n" +
|
||||
"\tSlideDeck\x12#\n" +
|
||||
"\rconversion_id\x18\x01 \x01(\tR\fconversionId\x12'\n" +
|
||||
"\x0fsource_filename\x18\x02 \x01(\tR\x0esourceFilename\x122\n" +
|
||||
@@ -922,12 +1091,13 @@ const file_officeconvertapi_v1_conversion_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"created_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x14\n" +
|
||||
"\x05width\x18\x05 \x01(\x05R\x05width\x12\x16\n" +
|
||||
"\x06height\x18\x06 \x01(\x05R\x06height\"\x8d\x01\n" +
|
||||
"\x06height\x18\x06 \x01(\x05R\x06height\x12'\n" +
|
||||
"\x0fthumbnail_width\x18\a \x01(\x05R\x0ethumbnailWidth\x12)\n" +
|
||||
"\x10thumbnail_height\x18\b \x01(\x05R\x0fthumbnailHeight\"\xc6\x01\n" +
|
||||
"\x17CreateConversionRequest\x12'\n" +
|
||||
"\x0fsource_filename\x18\x01 \x01(\tR\x0esourceFilename\x12I\n" +
|
||||
"\n" +
|
||||
"resolution\x18\x02 \x01(\x0e2).officeconvertapi.v1.ConversionResolutionR\n" +
|
||||
"resolution\"\xea\x01\n" +
|
||||
"\x0fsource_filename\x18\x01 \x01(\tR\x0esourceFilename\x12;\n" +
|
||||
"\x04full\x18\x02 \x01(\v2'.officeconvertapi.v1.SlideRasterOptionsR\x04full\x12E\n" +
|
||||
"\tthumbnail\x18\x03 \x01(\v2'.officeconvertapi.v1.SlideRasterOptionsR\tthumbnail\"\xea\x01\n" +
|
||||
"\x18CreateConversionResponse\x12#\n" +
|
||||
"\rconversion_id\x18\x01 \x01(\tR\fconversionId\x12#\n" +
|
||||
"\rupload_bucket\x18\x02 \x01(\tR\fuploadBucket\x12*\n" +
|
||||
@@ -1002,50 +1172,55 @@ func file_officeconvertapi_v1_conversion_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_officeconvertapi_v1_conversion_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
||||
var file_officeconvertapi_v1_conversion_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||||
var file_officeconvertapi_v1_conversion_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||||
var file_officeconvertapi_v1_conversion_proto_goTypes = []any{
|
||||
(ConversionStatus)(0), // 0: officeconvertapi.v1.ConversionStatus
|
||||
(ConversionPhase)(0), // 1: officeconvertapi.v1.ConversionPhase
|
||||
(ConversionResolution)(0), // 2: officeconvertapi.v1.ConversionResolution
|
||||
(*Slide)(nil), // 3: officeconvertapi.v1.Slide
|
||||
(*SlideDeck)(nil), // 4: officeconvertapi.v1.SlideDeck
|
||||
(*CreateConversionRequest)(nil), // 5: officeconvertapi.v1.CreateConversionRequest
|
||||
(*CreateConversionResponse)(nil), // 6: officeconvertapi.v1.CreateConversionResponse
|
||||
(*StartConversionRequest)(nil), // 7: officeconvertapi.v1.StartConversionRequest
|
||||
(*StartConversionResponse)(nil), // 8: officeconvertapi.v1.StartConversionResponse
|
||||
(*GetConversionStatusRequest)(nil), // 9: officeconvertapi.v1.GetConversionStatusRequest
|
||||
(*GetConversionStatusResponse)(nil), // 10: officeconvertapi.v1.GetConversionStatusResponse
|
||||
(*GetSlideDeckRequest)(nil), // 11: officeconvertapi.v1.GetSlideDeckRequest
|
||||
(*GetSlideDeckResponse)(nil), // 12: officeconvertapi.v1.GetSlideDeckResponse
|
||||
(*DeleteConversionRequest)(nil), // 13: officeconvertapi.v1.DeleteConversionRequest
|
||||
(*DeleteConversionResponse)(nil), // 14: officeconvertapi.v1.DeleteConversionResponse
|
||||
(*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp
|
||||
(*JpegOutputOptions)(nil), // 3: officeconvertapi.v1.JpegOutputOptions
|
||||
(*SlideRasterOptions)(nil), // 4: officeconvertapi.v1.SlideRasterOptions
|
||||
(*Slide)(nil), // 5: officeconvertapi.v1.Slide
|
||||
(*SlideDeck)(nil), // 6: officeconvertapi.v1.SlideDeck
|
||||
(*CreateConversionRequest)(nil), // 7: officeconvertapi.v1.CreateConversionRequest
|
||||
(*CreateConversionResponse)(nil), // 8: officeconvertapi.v1.CreateConversionResponse
|
||||
(*StartConversionRequest)(nil), // 9: officeconvertapi.v1.StartConversionRequest
|
||||
(*StartConversionResponse)(nil), // 10: officeconvertapi.v1.StartConversionResponse
|
||||
(*GetConversionStatusRequest)(nil), // 11: officeconvertapi.v1.GetConversionStatusRequest
|
||||
(*GetConversionStatusResponse)(nil), // 12: officeconvertapi.v1.GetConversionStatusResponse
|
||||
(*GetSlideDeckRequest)(nil), // 13: officeconvertapi.v1.GetSlideDeckRequest
|
||||
(*GetSlideDeckResponse)(nil), // 14: officeconvertapi.v1.GetSlideDeckResponse
|
||||
(*DeleteConversionRequest)(nil), // 15: officeconvertapi.v1.DeleteConversionRequest
|
||||
(*DeleteConversionResponse)(nil), // 16: officeconvertapi.v1.DeleteConversionResponse
|
||||
(*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp
|
||||
}
|
||||
var file_officeconvertapi_v1_conversion_proto_depIdxs = []int32{
|
||||
3, // 0: officeconvertapi.v1.SlideDeck.slides:type_name -> officeconvertapi.v1.Slide
|
||||
15, // 1: officeconvertapi.v1.SlideDeck.created_at:type_name -> google.protobuf.Timestamp
|
||||
2, // 2: officeconvertapi.v1.CreateConversionRequest.resolution:type_name -> officeconvertapi.v1.ConversionResolution
|
||||
15, // 3: officeconvertapi.v1.CreateConversionResponse.expires_at:type_name -> google.protobuf.Timestamp
|
||||
0, // 4: officeconvertapi.v1.StartConversionResponse.status:type_name -> officeconvertapi.v1.ConversionStatus
|
||||
0, // 5: officeconvertapi.v1.GetConversionStatusResponse.status:type_name -> officeconvertapi.v1.ConversionStatus
|
||||
15, // 6: officeconvertapi.v1.GetConversionStatusResponse.updated_at:type_name -> google.protobuf.Timestamp
|
||||
1, // 7: officeconvertapi.v1.GetConversionStatusResponse.phase:type_name -> officeconvertapi.v1.ConversionPhase
|
||||
4, // 8: officeconvertapi.v1.GetSlideDeckResponse.slide_deck:type_name -> officeconvertapi.v1.SlideDeck
|
||||
5, // 9: officeconvertapi.v1.ConversionService.CreateConversion:input_type -> officeconvertapi.v1.CreateConversionRequest
|
||||
7, // 10: officeconvertapi.v1.ConversionService.StartConversion:input_type -> officeconvertapi.v1.StartConversionRequest
|
||||
9, // 11: officeconvertapi.v1.ConversionService.GetConversionStatus:input_type -> officeconvertapi.v1.GetConversionStatusRequest
|
||||
11, // 12: officeconvertapi.v1.ConversionService.GetSlideDeck:input_type -> officeconvertapi.v1.GetSlideDeckRequest
|
||||
13, // 13: officeconvertapi.v1.ConversionService.DeleteConversion:input_type -> officeconvertapi.v1.DeleteConversionRequest
|
||||
6, // 14: officeconvertapi.v1.ConversionService.CreateConversion:output_type -> officeconvertapi.v1.CreateConversionResponse
|
||||
8, // 15: officeconvertapi.v1.ConversionService.StartConversion:output_type -> officeconvertapi.v1.StartConversionResponse
|
||||
10, // 16: officeconvertapi.v1.ConversionService.GetConversionStatus:output_type -> officeconvertapi.v1.GetConversionStatusResponse
|
||||
12, // 17: officeconvertapi.v1.ConversionService.GetSlideDeck:output_type -> officeconvertapi.v1.GetSlideDeckResponse
|
||||
14, // 18: officeconvertapi.v1.ConversionService.DeleteConversion:output_type -> officeconvertapi.v1.DeleteConversionResponse
|
||||
14, // [14:19] is the sub-list for method output_type
|
||||
9, // [9:14] is the sub-list for method input_type
|
||||
9, // [9:9] is the sub-list for extension type_name
|
||||
9, // [9:9] is the sub-list for extension extendee
|
||||
0, // [0:9] is the sub-list for field type_name
|
||||
2, // 0: officeconvertapi.v1.SlideRasterOptions.resolution:type_name -> officeconvertapi.v1.ConversionResolution
|
||||
3, // 1: officeconvertapi.v1.SlideRasterOptions.jpeg:type_name -> officeconvertapi.v1.JpegOutputOptions
|
||||
5, // 2: officeconvertapi.v1.SlideDeck.slides:type_name -> officeconvertapi.v1.Slide
|
||||
17, // 3: officeconvertapi.v1.SlideDeck.created_at:type_name -> google.protobuf.Timestamp
|
||||
4, // 4: officeconvertapi.v1.CreateConversionRequest.full:type_name -> officeconvertapi.v1.SlideRasterOptions
|
||||
4, // 5: officeconvertapi.v1.CreateConversionRequest.thumbnail:type_name -> officeconvertapi.v1.SlideRasterOptions
|
||||
17, // 6: officeconvertapi.v1.CreateConversionResponse.expires_at:type_name -> google.protobuf.Timestamp
|
||||
0, // 7: officeconvertapi.v1.StartConversionResponse.status:type_name -> officeconvertapi.v1.ConversionStatus
|
||||
0, // 8: officeconvertapi.v1.GetConversionStatusResponse.status:type_name -> officeconvertapi.v1.ConversionStatus
|
||||
17, // 9: officeconvertapi.v1.GetConversionStatusResponse.updated_at:type_name -> google.protobuf.Timestamp
|
||||
1, // 10: officeconvertapi.v1.GetConversionStatusResponse.phase:type_name -> officeconvertapi.v1.ConversionPhase
|
||||
6, // 11: officeconvertapi.v1.GetSlideDeckResponse.slide_deck:type_name -> officeconvertapi.v1.SlideDeck
|
||||
7, // 12: officeconvertapi.v1.ConversionService.CreateConversion:input_type -> officeconvertapi.v1.CreateConversionRequest
|
||||
9, // 13: officeconvertapi.v1.ConversionService.StartConversion:input_type -> officeconvertapi.v1.StartConversionRequest
|
||||
11, // 14: officeconvertapi.v1.ConversionService.GetConversionStatus:input_type -> officeconvertapi.v1.GetConversionStatusRequest
|
||||
13, // 15: officeconvertapi.v1.ConversionService.GetSlideDeck:input_type -> officeconvertapi.v1.GetSlideDeckRequest
|
||||
15, // 16: officeconvertapi.v1.ConversionService.DeleteConversion:input_type -> officeconvertapi.v1.DeleteConversionRequest
|
||||
8, // 17: officeconvertapi.v1.ConversionService.CreateConversion:output_type -> officeconvertapi.v1.CreateConversionResponse
|
||||
10, // 18: officeconvertapi.v1.ConversionService.StartConversion:output_type -> officeconvertapi.v1.StartConversionResponse
|
||||
12, // 19: officeconvertapi.v1.ConversionService.GetConversionStatus:output_type -> officeconvertapi.v1.GetConversionStatusResponse
|
||||
14, // 20: officeconvertapi.v1.ConversionService.GetSlideDeck:output_type -> officeconvertapi.v1.GetSlideDeckResponse
|
||||
16, // 21: officeconvertapi.v1.ConversionService.DeleteConversion:output_type -> officeconvertapi.v1.DeleteConversionResponse
|
||||
17, // [17:22] is the sub-list for method output_type
|
||||
12, // [12:17] is the sub-list for method input_type
|
||||
12, // [12:12] is the sub-list for extension type_name
|
||||
12, // [12:12] is the sub-list for extension extendee
|
||||
0, // [0:12] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_officeconvertapi_v1_conversion_proto_init() }
|
||||
@@ -1053,13 +1228,16 @@ func file_officeconvertapi_v1_conversion_proto_init() {
|
||||
if File_officeconvertapi_v1_conversion_proto != nil {
|
||||
return
|
||||
}
|
||||
file_officeconvertapi_v1_conversion_proto_msgTypes[1].OneofWrappers = []any{
|
||||
(*SlideRasterOptions_Jpeg)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_officeconvertapi_v1_conversion_proto_rawDesc), len(file_officeconvertapi_v1_conversion_proto_rawDesc)),
|
||||
NumEnums: 3,
|
||||
NumMessages: 12,
|
||||
NumMessages: 14,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -53,39 +53,61 @@ CONVERSION_RESOLUTION_FHD: ConversionResolution
|
||||
CONVERSION_RESOLUTION_QHD: ConversionResolution
|
||||
CONVERSION_RESOLUTION_UHD: ConversionResolution
|
||||
|
||||
class JpegOutputOptions(_message.Message):
|
||||
__slots__ = ("quality",)
|
||||
QUALITY_FIELD_NUMBER: _ClassVar[int]
|
||||
quality: int
|
||||
def __init__(self, quality: _Optional[int] = ...) -> None: ...
|
||||
|
||||
class SlideRasterOptions(_message.Message):
|
||||
__slots__ = ("resolution", "jpeg")
|
||||
RESOLUTION_FIELD_NUMBER: _ClassVar[int]
|
||||
JPEG_FIELD_NUMBER: _ClassVar[int]
|
||||
resolution: ConversionResolution
|
||||
jpeg: JpegOutputOptions
|
||||
def __init__(self, resolution: _Optional[_Union[ConversionResolution, str]] = ..., jpeg: _Optional[_Union[JpegOutputOptions, _Mapping]] = ...) -> None: ...
|
||||
|
||||
class Slide(_message.Message):
|
||||
__slots__ = ("index", "notes_plain", "image_url")
|
||||
__slots__ = ("index", "notes_plain", "image_url", "thumbnail_image_url")
|
||||
INDEX_FIELD_NUMBER: _ClassVar[int]
|
||||
NOTES_PLAIN_FIELD_NUMBER: _ClassVar[int]
|
||||
IMAGE_URL_FIELD_NUMBER: _ClassVar[int]
|
||||
THUMBNAIL_IMAGE_URL_FIELD_NUMBER: _ClassVar[int]
|
||||
index: int
|
||||
notes_plain: str
|
||||
image_url: str
|
||||
def __init__(self, index: _Optional[int] = ..., notes_plain: _Optional[str] = ..., image_url: _Optional[str] = ...) -> None: ...
|
||||
thumbnail_image_url: str
|
||||
def __init__(self, index: _Optional[int] = ..., notes_plain: _Optional[str] = ..., image_url: _Optional[str] = ..., thumbnail_image_url: _Optional[str] = ...) -> None: ...
|
||||
|
||||
class SlideDeck(_message.Message):
|
||||
__slots__ = ("conversion_id", "source_filename", "slides", "created_at", "width", "height")
|
||||
__slots__ = ("conversion_id", "source_filename", "slides", "created_at", "width", "height", "thumbnail_width", "thumbnail_height")
|
||||
CONVERSION_ID_FIELD_NUMBER: _ClassVar[int]
|
||||
SOURCE_FILENAME_FIELD_NUMBER: _ClassVar[int]
|
||||
SLIDES_FIELD_NUMBER: _ClassVar[int]
|
||||
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
||||
WIDTH_FIELD_NUMBER: _ClassVar[int]
|
||||
HEIGHT_FIELD_NUMBER: _ClassVar[int]
|
||||
THUMBNAIL_WIDTH_FIELD_NUMBER: _ClassVar[int]
|
||||
THUMBNAIL_HEIGHT_FIELD_NUMBER: _ClassVar[int]
|
||||
conversion_id: str
|
||||
source_filename: str
|
||||
slides: _containers.RepeatedCompositeFieldContainer[Slide]
|
||||
created_at: _timestamp_pb2.Timestamp
|
||||
width: int
|
||||
height: int
|
||||
def __init__(self, conversion_id: _Optional[str] = ..., source_filename: _Optional[str] = ..., slides: _Optional[_Iterable[_Union[Slide, _Mapping]]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., width: _Optional[int] = ..., height: _Optional[int] = ...) -> None: ...
|
||||
thumbnail_width: int
|
||||
thumbnail_height: int
|
||||
def __init__(self, conversion_id: _Optional[str] = ..., source_filename: _Optional[str] = ..., slides: _Optional[_Iterable[_Union[Slide, _Mapping]]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., width: _Optional[int] = ..., height: _Optional[int] = ..., thumbnail_width: _Optional[int] = ..., thumbnail_height: _Optional[int] = ...) -> None: ...
|
||||
|
||||
class CreateConversionRequest(_message.Message):
|
||||
__slots__ = ("source_filename", "resolution")
|
||||
__slots__ = ("source_filename", "full", "thumbnail")
|
||||
SOURCE_FILENAME_FIELD_NUMBER: _ClassVar[int]
|
||||
RESOLUTION_FIELD_NUMBER: _ClassVar[int]
|
||||
FULL_FIELD_NUMBER: _ClassVar[int]
|
||||
THUMBNAIL_FIELD_NUMBER: _ClassVar[int]
|
||||
source_filename: str
|
||||
resolution: ConversionResolution
|
||||
def __init__(self, source_filename: _Optional[str] = ..., resolution: _Optional[_Union[ConversionResolution, str]] = ...) -> None: ...
|
||||
full: SlideRasterOptions
|
||||
thumbnail: SlideRasterOptions
|
||||
def __init__(self, source_filename: _Optional[str] = ..., full: _Optional[_Union[SlideRasterOptions, _Mapping]] = ..., thumbnail: _Optional[_Union[SlideRasterOptions, _Mapping]] = ...) -> None: ...
|
||||
|
||||
class CreateConversionResponse(_message.Message):
|
||||
__slots__ = ("conversion_id", "upload_bucket", "upload_object_key", "upload_url", "expires_at")
|
||||
|
||||
Reference in New Issue
Block a user