Documentation
¶
Index ¶
- Variables
- type StatusProto
- func (*StatusProto) Descriptor() ([]byte, []int)deprecated
- func (x *StatusProto) GetErrorCode() protobuf.Code
- func (x *StatusProto) GetErrorMessage() string
- func (*StatusProto) ProtoMessage()
- func (x *StatusProto) ProtoReflect() protoreflect.Message
- func (x *StatusProto) Reset()
- func (x *StatusProto) String() string
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
Click to show internal directories.
Click to hide internal directories.