tensorflow_serving

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tensorflow_serving_util_status_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type StatusProto

type StatusProto struct {

	// Error code.
	ErrorCode protobuf.Code `protobuf:"varint,1,opt,name=error_code,proto3,enum=tensorflow.error.Code" json:"error_code,omitempty"`
	// Error message. Will only be set if an error was encountered.
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

Status that corresponds to Status in third_party/tensorflow/core/lib/core/status.h.

func (*StatusProto) Descriptor deprecated

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

Deprecated: Use StatusProto.ProtoReflect.Descriptor instead.

func (*StatusProto) GetErrorCode

func (x *StatusProto) GetErrorCode() protobuf.Code

func (*StatusProto) GetErrorMessage

func (x *StatusProto) GetErrorMessage() string

func (*StatusProto) ProtoMessage

func (*StatusProto) ProtoMessage()

func (*StatusProto) ProtoReflect added in v2.4.1

func (x *StatusProto) ProtoReflect() protoreflect.Message

func (*StatusProto) Reset

func (x *StatusProto) Reset()

func (*StatusProto) String

func (x *StatusProto) String() string

Jump to

Keyboard shortcuts

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