image

package
v0.0.0-...-8b05a81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterImageProcessingServer

func RegisterImageProcessingServer(s *grpc.Server, srv ImageProcessingServer)

Types

type DeskewImageRequest

type DeskewImageRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeskewImageRequest) Descriptor

func (*DeskewImageRequest) Descriptor() ([]byte, []int)

func (*DeskewImageRequest) GetName

func (m *DeskewImageRequest) GetName() string

func (*DeskewImageRequest) ProtoMessage

func (*DeskewImageRequest) ProtoMessage()

func (*DeskewImageRequest) Reset

func (m *DeskewImageRequest) Reset()

func (*DeskewImageRequest) String

func (m *DeskewImageRequest) String() string

func (*DeskewImageRequest) XXX_DiscardUnknown

func (m *DeskewImageRequest) XXX_DiscardUnknown()

func (*DeskewImageRequest) XXX_Marshal

func (m *DeskewImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeskewImageRequest) XXX_Merge

func (m *DeskewImageRequest) XXX_Merge(src proto.Message)

func (*DeskewImageRequest) XXX_Size

func (m *DeskewImageRequest) XXX_Size() int

func (*DeskewImageRequest) XXX_Unmarshal

func (m *DeskewImageRequest) XXX_Unmarshal(b []byte) error

type DeskewImageResponse

type DeskewImageResponse struct {
	// If true, the system was unable to unable to confidently deskew and/or
	// orient the image. In this case, the image only goes through an encoding
	// transform and the deskew and rotation angles are not set.
	DeskewFailed bool `protobuf:"varint,1,opt,name=deskew_failed,json=deskewFailed,proto3" json:"deskew_failed,omitempty"`
	// The number of degrees rotation that were required to bring the bulk of
	// the longest text lines into a horizontal or vertical orientation.
	// Absolute values greater than 10 are strong indicator that something with
	// the original image is in really bad shape.
	DeskewAngle float64 `protobuf:"fixed64,2,opt,name=deskew_angle,json=deskewAngle,proto3" json:"deskew_angle,omitempty"`
	// 0, 90, 180, or 270 -- the number of degrees the image had to be rotated
	// to get most of the printed lines "right side up" once deskewed.
	DegreesRotated int32 `protobuf:"varint,3,opt,name=degrees_rotated,json=degreesRotated,proto3" json:"degrees_rotated,omitempty"`
	// Computed background color (used for edge fill).
	// If multi-color, the color covering the most area generally wins.
	BackgroundColor      *ntypes.RGBA `protobuf:"bytes,4,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*DeskewImageResponse) Descriptor

func (*DeskewImageResponse) Descriptor() ([]byte, []int)

func (*DeskewImageResponse) GetBackgroundColor

func (m *DeskewImageResponse) GetBackgroundColor() *ntypes.RGBA

func (*DeskewImageResponse) GetDegreesRotated

func (m *DeskewImageResponse) GetDegreesRotated() int32

func (*DeskewImageResponse) GetDeskewAngle

func (m *DeskewImageResponse) GetDeskewAngle() float64

func (*DeskewImageResponse) GetDeskewFailed

func (m *DeskewImageResponse) GetDeskewFailed() bool

func (*DeskewImageResponse) ProtoMessage

func (*DeskewImageResponse) ProtoMessage()

func (*DeskewImageResponse) Reset

func (m *DeskewImageResponse) Reset()

func (*DeskewImageResponse) String

func (m *DeskewImageResponse) String() string

func (*DeskewImageResponse) XXX_DiscardUnknown

func (m *DeskewImageResponse) XXX_DiscardUnknown()

func (*DeskewImageResponse) XXX_Marshal

func (m *DeskewImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeskewImageResponse) XXX_Merge

func (m *DeskewImageResponse) XXX_Merge(src proto.Message)

func (*DeskewImageResponse) XXX_Size

func (m *DeskewImageResponse) XXX_Size() int

func (*DeskewImageResponse) XXX_Unmarshal

func (m *DeskewImageResponse) XXX_Unmarshal(b []byte) error

type GetBaseImageRequest

type GetBaseImageRequest struct {
	ImageName            string   `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetBaseImageRequest) Descriptor

func (*GetBaseImageRequest) Descriptor() ([]byte, []int)

func (*GetBaseImageRequest) GetImageName

func (m *GetBaseImageRequest) GetImageName() string

func (*GetBaseImageRequest) ProtoMessage

func (*GetBaseImageRequest) ProtoMessage()

func (*GetBaseImageRequest) Reset

func (m *GetBaseImageRequest) Reset()

func (*GetBaseImageRequest) String

func (m *GetBaseImageRequest) String() string

func (*GetBaseImageRequest) XXX_DiscardUnknown

func (m *GetBaseImageRequest) XXX_DiscardUnknown()

func (*GetBaseImageRequest) XXX_Marshal

func (m *GetBaseImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetBaseImageRequest) XXX_Merge

func (m *GetBaseImageRequest) XXX_Merge(src proto.Message)

func (*GetBaseImageRequest) XXX_Size

func (m *GetBaseImageRequest) XXX_Size() int

func (*GetBaseImageRequest) XXX_Unmarshal

func (m *GetBaseImageRequest) XXX_Unmarshal(b []byte) error

type GetBaseImageResponse

type GetBaseImageResponse struct {
	BaseImage            *ntypes.Image `protobuf:"bytes,1,opt,name=base_image,json=baseImage,proto3" json:"base_image,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*GetBaseImageResponse) Descriptor

func (*GetBaseImageResponse) Descriptor() ([]byte, []int)

func (*GetBaseImageResponse) GetBaseImage

func (m *GetBaseImageResponse) GetBaseImage() *ntypes.Image

func (*GetBaseImageResponse) ProtoMessage

func (*GetBaseImageResponse) ProtoMessage()

func (*GetBaseImageResponse) Reset

func (m *GetBaseImageResponse) Reset()

func (*GetBaseImageResponse) String

func (m *GetBaseImageResponse) String() string

func (*GetBaseImageResponse) XXX_DiscardUnknown

func (m *GetBaseImageResponse) XXX_DiscardUnknown()

func (*GetBaseImageResponse) XXX_Marshal

func (m *GetBaseImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetBaseImageResponse) XXX_Merge

func (m *GetBaseImageResponse) XXX_Merge(src proto.Message)

func (*GetBaseImageResponse) XXX_Size

func (m *GetBaseImageResponse) XXX_Size() int

func (*GetBaseImageResponse) XXX_Unmarshal

func (m *GetBaseImageResponse) XXX_Unmarshal(b []byte) error

type GetDeskewedImageRequest

type GetDeskewedImageRequest struct {
	ImageName            string   `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetDeskewedImageRequest) Descriptor

func (*GetDeskewedImageRequest) Descriptor() ([]byte, []int)

func (*GetDeskewedImageRequest) GetImageName

func (m *GetDeskewedImageRequest) GetImageName() string

func (*GetDeskewedImageRequest) ProtoMessage

func (*GetDeskewedImageRequest) ProtoMessage()

func (*GetDeskewedImageRequest) Reset

func (m *GetDeskewedImageRequest) Reset()

func (*GetDeskewedImageRequest) String

func (m *GetDeskewedImageRequest) String() string

func (*GetDeskewedImageRequest) XXX_DiscardUnknown

func (m *GetDeskewedImageRequest) XXX_DiscardUnknown()

func (*GetDeskewedImageRequest) XXX_Marshal

func (m *GetDeskewedImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDeskewedImageRequest) XXX_Merge

func (m *GetDeskewedImageRequest) XXX_Merge(src proto.Message)

func (*GetDeskewedImageRequest) XXX_Size

func (m *GetDeskewedImageRequest) XXX_Size() int

func (*GetDeskewedImageRequest) XXX_Unmarshal

func (m *GetDeskewedImageRequest) XXX_Unmarshal(b []byte) error

type GetDeskewedImageResponse

type GetDeskewedImageResponse struct {
	DeskewedImage        *ntypes.DeskewedImage `protobuf:"bytes,1,opt,name=deskewed_image,json=deskewedImage,proto3" json:"deskewed_image,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*GetDeskewedImageResponse) Descriptor

func (*GetDeskewedImageResponse) Descriptor() ([]byte, []int)

func (*GetDeskewedImageResponse) GetDeskewedImage

func (m *GetDeskewedImageResponse) GetDeskewedImage() *ntypes.DeskewedImage

func (*GetDeskewedImageResponse) ProtoMessage

func (*GetDeskewedImageResponse) ProtoMessage()

func (*GetDeskewedImageResponse) Reset

func (m *GetDeskewedImageResponse) Reset()

func (*GetDeskewedImageResponse) String

func (m *GetDeskewedImageResponse) String() string

func (*GetDeskewedImageResponse) XXX_DiscardUnknown

func (m *GetDeskewedImageResponse) XXX_DiscardUnknown()

func (*GetDeskewedImageResponse) XXX_Marshal

func (m *GetDeskewedImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDeskewedImageResponse) XXX_Merge

func (m *GetDeskewedImageResponse) XXX_Merge(src proto.Message)

func (*GetDeskewedImageResponse) XXX_Size

func (m *GetDeskewedImageResponse) XXX_Size() int

func (*GetDeskewedImageResponse) XXX_Unmarshal

func (m *GetDeskewedImageResponse) XXX_Unmarshal(b []byte) error

type GetExemplarSnapshotRequest

type GetExemplarSnapshotRequest struct {
	ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
	// Return the actual exemplar image data too?
	ReturnImageData      bool     `protobuf:"varint,2,opt,name=return_image_data,json=returnImageData,proto3" json:"return_image_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetExemplarSnapshotRequest) Descriptor

func (*GetExemplarSnapshotRequest) Descriptor() ([]byte, []int)

func (*GetExemplarSnapshotRequest) GetImageName

func (m *GetExemplarSnapshotRequest) GetImageName() string

func (*GetExemplarSnapshotRequest) GetReturnImageData

func (m *GetExemplarSnapshotRequest) GetReturnImageData() bool

func (*GetExemplarSnapshotRequest) ProtoMessage

func (*GetExemplarSnapshotRequest) ProtoMessage()

func (*GetExemplarSnapshotRequest) Reset

func (m *GetExemplarSnapshotRequest) Reset()

func (*GetExemplarSnapshotRequest) String

func (m *GetExemplarSnapshotRequest) String() string

func (*GetExemplarSnapshotRequest) XXX_DiscardUnknown

func (m *GetExemplarSnapshotRequest) XXX_DiscardUnknown()

func (*GetExemplarSnapshotRequest) XXX_Marshal

func (m *GetExemplarSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetExemplarSnapshotRequest) XXX_Merge

func (m *GetExemplarSnapshotRequest) XXX_Merge(src proto.Message)

func (*GetExemplarSnapshotRequest) XXX_Size

func (m *GetExemplarSnapshotRequest) XXX_Size() int

func (*GetExemplarSnapshotRequest) XXX_Unmarshal

func (m *GetExemplarSnapshotRequest) XXX_Unmarshal(b []byte) error

type GetExemplarSnapshotResponse

type GetExemplarSnapshotResponse struct {
	ExemplarSnapshot     *ntypes.Exemplar `protobuf:"bytes,1,opt,name=exemplar_snapshot,json=exemplarSnapshot,proto3" json:"exemplar_snapshot,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*GetExemplarSnapshotResponse) Descriptor

func (*GetExemplarSnapshotResponse) Descriptor() ([]byte, []int)

func (*GetExemplarSnapshotResponse) GetExemplarSnapshot

func (m *GetExemplarSnapshotResponse) GetExemplarSnapshot() *ntypes.Exemplar

func (*GetExemplarSnapshotResponse) ProtoMessage

func (*GetExemplarSnapshotResponse) ProtoMessage()

func (*GetExemplarSnapshotResponse) Reset

func (m *GetExemplarSnapshotResponse) Reset()

func (*GetExemplarSnapshotResponse) String

func (m *GetExemplarSnapshotResponse) String() string

func (*GetExemplarSnapshotResponse) XXX_DiscardUnknown

func (m *GetExemplarSnapshotResponse) XXX_DiscardUnknown()

func (*GetExemplarSnapshotResponse) XXX_Marshal

func (m *GetExemplarSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetExemplarSnapshotResponse) XXX_Merge

func (m *GetExemplarSnapshotResponse) XXX_Merge(src proto.Message)

func (*GetExemplarSnapshotResponse) XXX_Size

func (m *GetExemplarSnapshotResponse) XXX_Size() int

func (*GetExemplarSnapshotResponse) XXX_Unmarshal

func (m *GetExemplarSnapshotResponse) XXX_Unmarshal(b []byte) error

type GetFieldCutRequest

type GetFieldCutRequest struct {
	// Identifier for some image which has already been registered to an exemplar.
	ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
	// Identifier of the field we are returning a cut for.
	FieldName            string   `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetFieldCutRequest) Descriptor

func (*GetFieldCutRequest) Descriptor() ([]byte, []int)

func (*GetFieldCutRequest) GetFieldName

func (m *GetFieldCutRequest) GetFieldName() string

func (*GetFieldCutRequest) GetImageName

func (m *GetFieldCutRequest) GetImageName() string

func (*GetFieldCutRequest) ProtoMessage

func (*GetFieldCutRequest) ProtoMessage()

func (*GetFieldCutRequest) Reset

func (m *GetFieldCutRequest) Reset()

func (*GetFieldCutRequest) String

func (m *GetFieldCutRequest) String() string

func (*GetFieldCutRequest) XXX_DiscardUnknown

func (m *GetFieldCutRequest) XXX_DiscardUnknown()

func (*GetFieldCutRequest) XXX_Marshal

func (m *GetFieldCutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetFieldCutRequest) XXX_Merge

func (m *GetFieldCutRequest) XXX_Merge(src proto.Message)

func (*GetFieldCutRequest) XXX_Size

func (m *GetFieldCutRequest) XXX_Size() int

func (*GetFieldCutRequest) XXX_Unmarshal

func (m *GetFieldCutRequest) XXX_Unmarshal(b []byte) error

type GetFieldCutResponse

type GetFieldCutResponse struct {
	FieldCut             *ntypes.FieldCut `protobuf:"bytes,1,opt,name=field_cut,json=fieldCut,proto3" json:"field_cut,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*GetFieldCutResponse) Descriptor

func (*GetFieldCutResponse) Descriptor() ([]byte, []int)

func (*GetFieldCutResponse) GetFieldCut

func (m *GetFieldCutResponse) GetFieldCut() *ntypes.FieldCut

func (*GetFieldCutResponse) ProtoMessage

func (*GetFieldCutResponse) ProtoMessage()

func (*GetFieldCutResponse) Reset

func (m *GetFieldCutResponse) Reset()

func (*GetFieldCutResponse) String

func (m *GetFieldCutResponse) String() string

func (*GetFieldCutResponse) XXX_DiscardUnknown

func (m *GetFieldCutResponse) XXX_DiscardUnknown()

func (*GetFieldCutResponse) XXX_Marshal

func (m *GetFieldCutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetFieldCutResponse) XXX_Merge

func (m *GetFieldCutResponse) XXX_Merge(src proto.Message)

func (*GetFieldCutResponse) XXX_Size

func (m *GetFieldCutResponse) XXX_Size() int

func (*GetFieldCutResponse) XXX_Unmarshal

func (m *GetFieldCutResponse) XXX_Unmarshal(b []byte) error

type GetFieldSolutionsRequest

type GetFieldSolutionsRequest struct {
	// Identifier for an exemplar-registered image which (potentially anyway)
	// has solved fields on it.
	ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
	// List of fields defined on the image's exemplar that we want the
	// solutions for for. Solutions not available at the time of query
	// are not mentioned in the response.
	FieldNames           []string `protobuf:"bytes,2,rep,name=field_names,json=fieldNames,proto3" json:"field_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetFieldSolutionsRequest) Descriptor

func (*GetFieldSolutionsRequest) Descriptor() ([]byte, []int)

func (*GetFieldSolutionsRequest) GetFieldNames

func (m *GetFieldSolutionsRequest) GetFieldNames() []string

func (*GetFieldSolutionsRequest) GetImageName

func (m *GetFieldSolutionsRequest) GetImageName() string

func (*GetFieldSolutionsRequest) ProtoMessage

func (*GetFieldSolutionsRequest) ProtoMessage()

func (*GetFieldSolutionsRequest) Reset

func (m *GetFieldSolutionsRequest) Reset()

func (*GetFieldSolutionsRequest) String

func (m *GetFieldSolutionsRequest) String() string

func (*GetFieldSolutionsRequest) XXX_DiscardUnknown

func (m *GetFieldSolutionsRequest) XXX_DiscardUnknown()

func (*GetFieldSolutionsRequest) XXX_Marshal

func (m *GetFieldSolutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetFieldSolutionsRequest) XXX_Merge

func (m *GetFieldSolutionsRequest) XXX_Merge(src proto.Message)

func (*GetFieldSolutionsRequest) XXX_Size

func (m *GetFieldSolutionsRequest) XXX_Size() int

func (*GetFieldSolutionsRequest) XXX_Unmarshal

func (m *GetFieldSolutionsRequest) XXX_Unmarshal(b []byte) error

type GetFieldSolutionsResponse

type GetFieldSolutionsResponse struct {
	// Keyed on field id. Only fields that have been solved are returned.
	// No mention is made of unsolved ones and it is not an error to query
	// for them.
	FieldSolutions       map[string]*ntypes.FieldSolution `` /* 191-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

func (*GetFieldSolutionsResponse) Descriptor

func (*GetFieldSolutionsResponse) Descriptor() ([]byte, []int)

func (*GetFieldSolutionsResponse) GetFieldSolutions

func (m *GetFieldSolutionsResponse) GetFieldSolutions() map[string]*ntypes.FieldSolution

func (*GetFieldSolutionsResponse) ProtoMessage

func (*GetFieldSolutionsResponse) ProtoMessage()

func (*GetFieldSolutionsResponse) Reset

func (m *GetFieldSolutionsResponse) Reset()

func (*GetFieldSolutionsResponse) String

func (m *GetFieldSolutionsResponse) String() string

func (*GetFieldSolutionsResponse) XXX_DiscardUnknown

func (m *GetFieldSolutionsResponse) XXX_DiscardUnknown()

func (*GetFieldSolutionsResponse) XXX_Marshal

func (m *GetFieldSolutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetFieldSolutionsResponse) XXX_Merge

func (m *GetFieldSolutionsResponse) XXX_Merge(src proto.Message)

func (*GetFieldSolutionsResponse) XXX_Size

func (m *GetFieldSolutionsResponse) XXX_Size() int

func (*GetFieldSolutionsResponse) XXX_Unmarshal

func (m *GetFieldSolutionsResponse) XXX_Unmarshal(b []byte) error

type GetRegisteredImageRequest

type GetRegisteredImageRequest struct {
	ImageName            string   `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRegisteredImageRequest) Descriptor

func (*GetRegisteredImageRequest) Descriptor() ([]byte, []int)

func (*GetRegisteredImageRequest) GetImageName

func (m *GetRegisteredImageRequest) GetImageName() string

func (*GetRegisteredImageRequest) ProtoMessage

func (*GetRegisteredImageRequest) ProtoMessage()

func (*GetRegisteredImageRequest) Reset

func (m *GetRegisteredImageRequest) Reset()

func (*GetRegisteredImageRequest) String

func (m *GetRegisteredImageRequest) String() string

func (*GetRegisteredImageRequest) XXX_DiscardUnknown

func (m *GetRegisteredImageRequest) XXX_DiscardUnknown()

func (*GetRegisteredImageRequest) XXX_Marshal

func (m *GetRegisteredImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRegisteredImageRequest) XXX_Merge

func (m *GetRegisteredImageRequest) XXX_Merge(src proto.Message)

func (*GetRegisteredImageRequest) XXX_Size

func (m *GetRegisteredImageRequest) XXX_Size() int

func (*GetRegisteredImageRequest) XXX_Unmarshal

func (m *GetRegisteredImageRequest) XXX_Unmarshal(b []byte) error

type GetRegisteredImageResponse

type GetRegisteredImageResponse struct {
	Image                *ntypes.DimensionedImage `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*GetRegisteredImageResponse) Descriptor

func (*GetRegisteredImageResponse) Descriptor() ([]byte, []int)

func (*GetRegisteredImageResponse) GetImage

func (*GetRegisteredImageResponse) ProtoMessage

func (*GetRegisteredImageResponse) ProtoMessage()

func (*GetRegisteredImageResponse) Reset

func (m *GetRegisteredImageResponse) Reset()

func (*GetRegisteredImageResponse) String

func (m *GetRegisteredImageResponse) String() string

func (*GetRegisteredImageResponse) XXX_DiscardUnknown

func (m *GetRegisteredImageResponse) XXX_DiscardUnknown()

func (*GetRegisteredImageResponse) XXX_Marshal

func (m *GetRegisteredImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRegisteredImageResponse) XXX_Merge

func (m *GetRegisteredImageResponse) XXX_Merge(src proto.Message)

func (*GetRegisteredImageResponse) XXX_Size

func (m *GetRegisteredImageResponse) XXX_Size() int

func (*GetRegisteredImageResponse) XXX_Unmarshal

func (m *GetRegisteredImageResponse) XXX_Unmarshal(b []byte) error

type ImageProcessingClient

type ImageProcessingClient interface {
	// UploadImage uploads an image.
	UploadImage(ctx context.Context, in *UploadImageRequest, opts ...grpc.CallOption) (*UploadImageResponse, error)
	UploadImageLRO(ctx context.Context, in *UploadImageRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// DeskewImage deskews an uploaded base image.
	DeskewImage(ctx context.Context, in *DeskewImageRequest, opts ...grpc.CallOption) (*DeskewImageResponse, error)
	DeskewImageLRO(ctx context.Context, in *DeskewImageRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// RegisterImage finds the exemplar best matching a deskewed image then
	// register that image against the exemplar, i.e., manipulate the image
	// such that it lays cleanly over the exemplar.
	RegisterImage(ctx context.Context, in *RegisterImageRequest, opts ...grpc.CallOption) (*RegisterImageResponse, error)
	RegisterImageLRO(ctx context.Context, in *RegisterImageRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// GetExemplarSnapshot returns an exemplar snapshot of a registered image.
	GetExemplarSnapshot(ctx context.Context, in *GetExemplarSnapshotRequest, opts ...grpc.CallOption) (*GetExemplarSnapshotResponse, error)
	GetExemplarSnapshotLRO(ctx context.Context, in *GetExemplarSnapshotRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// SolveField solves a field on an image.
	SolveField(ctx context.Context, in *SolveFieldRequest, opts ...grpc.CallOption) (*SolveFieldResponse, error)
	SolveFieldLRO(ctx context.Context, in *SolveFieldRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// GetBaseImage returns a copy of the base uploaded image.
	GetBaseImage(ctx context.Context, in *GetBaseImageRequest, opts ...grpc.CallOption) (*GetBaseImageResponse, error)
	GetBaseImageLRO(ctx context.Context, in *GetBaseImageRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// GetDeskewedImage returns a copy of the deskewed image.
	GetDeskewedImage(ctx context.Context, in *GetDeskewedImageRequest, opts ...grpc.CallOption) (*GetDeskewedImageResponse, error)
	GetDeskewedImageLRO(ctx context.Context, in *GetDeskewedImageRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// GetRegisteredImage returns a copy of the exemplar-registered image.
	GetRegisteredImage(ctx context.Context, in *GetRegisteredImageRequest, opts ...grpc.CallOption) (*GetRegisteredImageResponse, error)
	GetRegisteredImageLRO(ctx context.Context, in *GetRegisteredImageRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// GetFieldCut gets a field cut from the exemplar-registered image.
	GetFieldCut(ctx context.Context, in *GetFieldCutRequest, opts ...grpc.CallOption) (*GetFieldCutResponse, error)
	GetFieldCutLRO(ctx context.Context, in *GetFieldCutRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// ListSolvedFields returns a list of fields which have solutions. It only
	// returns field identifiers.
	ListSolvedFields(ctx context.Context, in *ListSolvedFieldsRequest, opts ...grpc.CallOption) (*ListSolvedFieldsResponse, error)
	ListSolvedFieldsLRO(ctx context.Context, in *ListSolvedFieldsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// GetFieldSolutions queries for previously-solved field solutions. It
	// returns the full solutions.
	GetFieldSolutions(ctx context.Context, in *GetFieldSolutionsRequest, opts ...grpc.CallOption) (*GetFieldSolutionsResponse, error)
	GetFieldSolutionsLRO(ctx context.Context, in *GetFieldSolutionsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

ImageProcessingClient is the client API for ImageProcessing service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewImageProcessingClient

func NewImageProcessingClient(cc *grpc.ClientConn) ImageProcessingClient

type ImageProcessingServer

type ImageProcessingServer interface {
	// UploadImage uploads an image.
	UploadImage(context.Context, *UploadImageRequest) (*UploadImageResponse, error)
	UploadImageLRO(context.Context, *UploadImageRequest) (*longrunning.Operation, error)
	// DeskewImage deskews an uploaded base image.
	DeskewImage(context.Context, *DeskewImageRequest) (*DeskewImageResponse, error)
	DeskewImageLRO(context.Context, *DeskewImageRequest) (*longrunning.Operation, error)
	// RegisterImage finds the exemplar best matching a deskewed image then
	// register that image against the exemplar, i.e., manipulate the image
	// such that it lays cleanly over the exemplar.
	RegisterImage(context.Context, *RegisterImageRequest) (*RegisterImageResponse, error)
	RegisterImageLRO(context.Context, *RegisterImageRequest) (*longrunning.Operation, error)
	// GetExemplarSnapshot returns an exemplar snapshot of a registered image.
	GetExemplarSnapshot(context.Context, *GetExemplarSnapshotRequest) (*GetExemplarSnapshotResponse, error)
	GetExemplarSnapshotLRO(context.Context, *GetExemplarSnapshotRequest) (*longrunning.Operation, error)
	// SolveField solves a field on an image.
	SolveField(context.Context, *SolveFieldRequest) (*SolveFieldResponse, error)
	SolveFieldLRO(context.Context, *SolveFieldRequest) (*longrunning.Operation, error)
	// GetBaseImage returns a copy of the base uploaded image.
	GetBaseImage(context.Context, *GetBaseImageRequest) (*GetBaseImageResponse, error)
	GetBaseImageLRO(context.Context, *GetBaseImageRequest) (*longrunning.Operation, error)
	// GetDeskewedImage returns a copy of the deskewed image.
	GetDeskewedImage(context.Context, *GetDeskewedImageRequest) (*GetDeskewedImageResponse, error)
	GetDeskewedImageLRO(context.Context, *GetDeskewedImageRequest) (*longrunning.Operation, error)
	// GetRegisteredImage returns a copy of the exemplar-registered image.
	GetRegisteredImage(context.Context, *GetRegisteredImageRequest) (*GetRegisteredImageResponse, error)
	GetRegisteredImageLRO(context.Context, *GetRegisteredImageRequest) (*longrunning.Operation, error)
	// GetFieldCut gets a field cut from the exemplar-registered image.
	GetFieldCut(context.Context, *GetFieldCutRequest) (*GetFieldCutResponse, error)
	GetFieldCutLRO(context.Context, *GetFieldCutRequest) (*longrunning.Operation, error)
	// ListSolvedFields returns a list of fields which have solutions. It only
	// returns field identifiers.
	ListSolvedFields(context.Context, *ListSolvedFieldsRequest) (*ListSolvedFieldsResponse, error)
	ListSolvedFieldsLRO(context.Context, *ListSolvedFieldsRequest) (*longrunning.Operation, error)
	// GetFieldSolutions queries for previously-solved field solutions. It
	// returns the full solutions.
	GetFieldSolutions(context.Context, *GetFieldSolutionsRequest) (*GetFieldSolutionsResponse, error)
	GetFieldSolutionsLRO(context.Context, *GetFieldSolutionsRequest) (*longrunning.Operation, error)
}

ImageProcessingServer is the server API for ImageProcessing service.

type ListSolvedFieldsRequest

type ListSolvedFieldsRequest struct {
	// Returns a list the identifiers for all fields which have solutions available
	// on the specified image. Meant to provide an efficient polling mechanism but,
	// still, don't go crazy.
	ImageName            string   `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListSolvedFieldsRequest) Descriptor

func (*ListSolvedFieldsRequest) Descriptor() ([]byte, []int)

func (*ListSolvedFieldsRequest) GetImageName

func (m *ListSolvedFieldsRequest) GetImageName() string

func (*ListSolvedFieldsRequest) ProtoMessage

func (*ListSolvedFieldsRequest) ProtoMessage()

func (*ListSolvedFieldsRequest) Reset

func (m *ListSolvedFieldsRequest) Reset()

func (*ListSolvedFieldsRequest) String

func (m *ListSolvedFieldsRequest) String() string

func (*ListSolvedFieldsRequest) XXX_DiscardUnknown

func (m *ListSolvedFieldsRequest) XXX_DiscardUnknown()

func (*ListSolvedFieldsRequest) XXX_Marshal

func (m *ListSolvedFieldsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListSolvedFieldsRequest) XXX_Merge

func (m *ListSolvedFieldsRequest) XXX_Merge(src proto.Message)

func (*ListSolvedFieldsRequest) XXX_Size

func (m *ListSolvedFieldsRequest) XXX_Size() int

func (*ListSolvedFieldsRequest) XXX_Unmarshal

func (m *ListSolvedFieldsRequest) XXX_Unmarshal(b []byte) error

type ListSolvedFieldsResponse

type ListSolvedFieldsResponse struct {
	// Fields which have solutions (solved puzzles).
	FieldNames           []string `protobuf:"bytes,1,rep,name=field_names,json=fieldNames,proto3" json:"field_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListSolvedFieldsResponse) Descriptor

func (*ListSolvedFieldsResponse) Descriptor() ([]byte, []int)

func (*ListSolvedFieldsResponse) GetFieldNames

func (m *ListSolvedFieldsResponse) GetFieldNames() []string

func (*ListSolvedFieldsResponse) ProtoMessage

func (*ListSolvedFieldsResponse) ProtoMessage()

func (*ListSolvedFieldsResponse) Reset

func (m *ListSolvedFieldsResponse) Reset()

func (*ListSolvedFieldsResponse) String

func (m *ListSolvedFieldsResponse) String() string

func (*ListSolvedFieldsResponse) XXX_DiscardUnknown

func (m *ListSolvedFieldsResponse) XXX_DiscardUnknown()

func (*ListSolvedFieldsResponse) XXX_Marshal

func (m *ListSolvedFieldsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListSolvedFieldsResponse) XXX_Merge

func (m *ListSolvedFieldsResponse) XXX_Merge(src proto.Message)

func (*ListSolvedFieldsResponse) XXX_Size

func (m *ListSolvedFieldsResponse) XXX_Size() int

func (*ListSolvedFieldsResponse) XXX_Unmarshal

func (m *ListSolvedFieldsResponse) XXX_Unmarshal(b []byte) error

type RegisterImageRequest

type RegisterImageRequest struct {
	// Identifier for the upload image being registered against an exemplar.
	ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
	// Dominant language of the printed text in the image, if known.
	Language ntypes.Language `protobuf:"varint,2,opt,name=language,proto3,enum=nsys.api.ntypes.Language" json:"language,omitempty"`
	// List of candidate exemplars to consider for matching.  If the list
	// empty,  all existing exemplars are considered for possible match.
	// If a match is found, the image registration occurs.
	CandidateExemplars   []string `protobuf:"bytes,3,rep,name=candidate_exemplars,json=candidateExemplars,proto3" json:"candidate_exemplars,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RegisterImageRequest) Descriptor

func (*RegisterImageRequest) Descriptor() ([]byte, []int)

func (*RegisterImageRequest) GetCandidateExemplars

func (m *RegisterImageRequest) GetCandidateExemplars() []string

func (*RegisterImageRequest) GetImageName

func (m *RegisterImageRequest) GetImageName() string

func (*RegisterImageRequest) GetLanguage

func (m *RegisterImageRequest) GetLanguage() ntypes.Language

func (*RegisterImageRequest) ProtoMessage

func (*RegisterImageRequest) ProtoMessage()

func (*RegisterImageRequest) Reset

func (m *RegisterImageRequest) Reset()

func (*RegisterImageRequest) String

func (m *RegisterImageRequest) String() string

func (*RegisterImageRequest) XXX_DiscardUnknown

func (m *RegisterImageRequest) XXX_DiscardUnknown()

func (*RegisterImageRequest) XXX_Marshal

func (m *RegisterImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterImageRequest) XXX_Merge

func (m *RegisterImageRequest) XXX_Merge(src proto.Message)

func (*RegisterImageRequest) XXX_Size

func (m *RegisterImageRequest) XXX_Size() int

func (*RegisterImageRequest) XXX_Unmarshal

func (m *RegisterImageRequest) XXX_Unmarshal(b []byte) error

type RegisterImageResponse

type RegisterImageResponse struct {
	// If present, the name of the exemplar the image was registered against.
	SelectedExemplar string `protobuf:"bytes,1,opt,name=selected_exemplar,json=selectedExemplar,proto3" json:"selected_exemplar,omitempty"`
	// Set if no exemplar matched closely enough. No error occurred in the
	// processing. Failures in the physical registration phase will be reflected
	// in error returns.
	NoMatch              bool     `protobuf:"varint,2,opt,name=no_match,json=noMatch,proto3" json:"no_match,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RegisterImageResponse) Descriptor

func (*RegisterImageResponse) Descriptor() ([]byte, []int)

func (*RegisterImageResponse) GetNoMatch

func (m *RegisterImageResponse) GetNoMatch() bool

func (*RegisterImageResponse) GetSelectedExemplar

func (m *RegisterImageResponse) GetSelectedExemplar() string

func (*RegisterImageResponse) ProtoMessage

func (*RegisterImageResponse) ProtoMessage()

func (*RegisterImageResponse) Reset

func (m *RegisterImageResponse) Reset()

func (*RegisterImageResponse) String

func (m *RegisterImageResponse) String() string

func (*RegisterImageResponse) XXX_DiscardUnknown

func (m *RegisterImageResponse) XXX_DiscardUnknown()

func (*RegisterImageResponse) XXX_Marshal

func (m *RegisterImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterImageResponse) XXX_Merge

func (m *RegisterImageResponse) XXX_Merge(src proto.Message)

func (*RegisterImageResponse) XXX_Size

func (m *RegisterImageResponse) XXX_Size() int

func (*RegisterImageResponse) XXX_Unmarshal

func (m *RegisterImageResponse) XXX_Unmarshal(b []byte) error

type SolveFieldRequest

type SolveFieldRequest struct {
	// Identifier for some image which has already been registered to an exemplar.
	ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
	// Identifier of the field to solve.
	FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	// Field-specific hints and parameters for solution.
	SolutionParameters   *ntypes.SolutionParameters `protobuf:"bytes,3,opt,name=solution_parameters,json=solutionParameters,proto3" json:"solution_parameters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*SolveFieldRequest) Descriptor

func (*SolveFieldRequest) Descriptor() ([]byte, []int)

func (*SolveFieldRequest) GetFieldName

func (m *SolveFieldRequest) GetFieldName() string

func (*SolveFieldRequest) GetImageName

func (m *SolveFieldRequest) GetImageName() string

func (*SolveFieldRequest) GetSolutionParameters

func (m *SolveFieldRequest) GetSolutionParameters() *ntypes.SolutionParameters

func (*SolveFieldRequest) ProtoMessage

func (*SolveFieldRequest) ProtoMessage()

func (*SolveFieldRequest) Reset

func (m *SolveFieldRequest) Reset()

func (*SolveFieldRequest) String

func (m *SolveFieldRequest) String() string

func (*SolveFieldRequest) XXX_DiscardUnknown

func (m *SolveFieldRequest) XXX_DiscardUnknown()

func (*SolveFieldRequest) XXX_Marshal

func (m *SolveFieldRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SolveFieldRequest) XXX_Merge

func (m *SolveFieldRequest) XXX_Merge(src proto.Message)

func (*SolveFieldRequest) XXX_Size

func (m *SolveFieldRequest) XXX_Size() int

func (*SolveFieldRequest) XXX_Unmarshal

func (m *SolveFieldRequest) XXX_Unmarshal(b []byte) error

type SolveFieldResponse

type SolveFieldResponse struct {
	FieldSolution        *ntypes.FieldSolution `protobuf:"bytes,1,opt,name=field_solution,json=fieldSolution,proto3" json:"field_solution,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*SolveFieldResponse) Descriptor

func (*SolveFieldResponse) Descriptor() ([]byte, []int)

func (*SolveFieldResponse) GetFieldSolution

func (m *SolveFieldResponse) GetFieldSolution() *ntypes.FieldSolution

func (*SolveFieldResponse) ProtoMessage

func (*SolveFieldResponse) ProtoMessage()

func (*SolveFieldResponse) Reset

func (m *SolveFieldResponse) Reset()

func (*SolveFieldResponse) String

func (m *SolveFieldResponse) String() string

func (*SolveFieldResponse) XXX_DiscardUnknown

func (m *SolveFieldResponse) XXX_DiscardUnknown()

func (*SolveFieldResponse) XXX_Marshal

func (m *SolveFieldResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SolveFieldResponse) XXX_Merge

func (m *SolveFieldResponse) XXX_Merge(src proto.Message)

func (*SolveFieldResponse) XXX_Size

func (m *SolveFieldResponse) XXX_Size() int

func (*SolveFieldResponse) XXX_Unmarshal

func (m *SolveFieldResponse) XXX_Unmarshal(b []byte) error

type UnimplementedImageProcessingServer

type UnimplementedImageProcessingServer struct {
}

UnimplementedImageProcessingServer can be embedded to have forward compatible implementations.

func (*UnimplementedImageProcessingServer) DeskewImage

func (*UnimplementedImageProcessingServer) DeskewImageLRO

func (*UnimplementedImageProcessingServer) GetBaseImage

func (*UnimplementedImageProcessingServer) GetBaseImageLRO

func (*UnimplementedImageProcessingServer) GetDeskewedImage

func (*UnimplementedImageProcessingServer) GetDeskewedImageLRO

func (*UnimplementedImageProcessingServer) GetExemplarSnapshot

func (*UnimplementedImageProcessingServer) GetExemplarSnapshotLRO

func (*UnimplementedImageProcessingServer) GetFieldCut

func (*UnimplementedImageProcessingServer) GetFieldCutLRO

func (*UnimplementedImageProcessingServer) GetFieldSolutions

func (*UnimplementedImageProcessingServer) GetFieldSolutionsLRO

func (*UnimplementedImageProcessingServer) GetRegisteredImage

func (*UnimplementedImageProcessingServer) GetRegisteredImageLRO

func (*UnimplementedImageProcessingServer) ListSolvedFields

func (*UnimplementedImageProcessingServer) ListSolvedFieldsLRO

func (*UnimplementedImageProcessingServer) RegisterImage

func (*UnimplementedImageProcessingServer) RegisterImageLRO

func (*UnimplementedImageProcessingServer) SolveField

func (*UnimplementedImageProcessingServer) SolveFieldLRO

func (*UnimplementedImageProcessingServer) UploadImage

func (*UnimplementedImageProcessingServer) UploadImageLRO

type UploadImageRequest

type UploadImageRequest struct {
	// An identifier for the uploaded image that is unique within the account.
	// If none is supplied, one will be generated and returned in the response.
	// Must match regex '^[0-9A-Za-z.-]{1,48}$'.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The image to upload.
	Image *ntypes.Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	// The source of the image, if known.
	ImageSource          ntypes.ImageSource `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*UploadImageRequest) Descriptor

func (*UploadImageRequest) Descriptor() ([]byte, []int)

func (*UploadImageRequest) GetImage

func (m *UploadImageRequest) GetImage() *ntypes.Image

func (*UploadImageRequest) GetImageSource

func (m *UploadImageRequest) GetImageSource() ntypes.ImageSource

func (*UploadImageRequest) GetName

func (m *UploadImageRequest) GetName() string

func (*UploadImageRequest) ProtoMessage

func (*UploadImageRequest) ProtoMessage()

func (*UploadImageRequest) Reset

func (m *UploadImageRequest) Reset()

func (*UploadImageRequest) String

func (m *UploadImageRequest) String() string

func (*UploadImageRequest) XXX_DiscardUnknown

func (m *UploadImageRequest) XXX_DiscardUnknown()

func (*UploadImageRequest) XXX_Marshal

func (m *UploadImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UploadImageRequest) XXX_Merge

func (m *UploadImageRequest) XXX_Merge(src proto.Message)

func (*UploadImageRequest) XXX_Size

func (m *UploadImageRequest) XXX_Size() int

func (*UploadImageRequest) XXX_Unmarshal

func (m *UploadImageRequest) XXX_Unmarshal(b []byte) error

type UploadImageResponse

type UploadImageResponse struct {
	// The image identifier supplied by the client or assigned by the system.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// When the image and any derived products will be dropped by the system.
	ExpireTime           *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*UploadImageResponse) Descriptor

func (*UploadImageResponse) Descriptor() ([]byte, []int)

func (*UploadImageResponse) GetExpireTime

func (m *UploadImageResponse) GetExpireTime() *timestamp.Timestamp

func (*UploadImageResponse) GetName

func (m *UploadImageResponse) GetName() string

func (*UploadImageResponse) ProtoMessage

func (*UploadImageResponse) ProtoMessage()

func (*UploadImageResponse) Reset

func (m *UploadImageResponse) Reset()

func (*UploadImageResponse) String

func (m *UploadImageResponse) String() string

func (*UploadImageResponse) XXX_DiscardUnknown

func (m *UploadImageResponse) XXX_DiscardUnknown()

func (*UploadImageResponse) XXX_Marshal

func (m *UploadImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UploadImageResponse) XXX_Merge

func (m *UploadImageResponse) XXX_Merge(src proto.Message)

func (*UploadImageResponse) XXX_Size

func (m *UploadImageResponse) XXX_Size() int

func (*UploadImageResponse) XXX_Unmarshal

func (m *UploadImageResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL