Documentation
¶
Index ¶
- type StatusProto
- func (*StatusProto) Descriptor() ([]byte, []int)
- func (m *StatusProto) GetErrorCode() protobuf.Code
- func (m *StatusProto) GetErrorMessage() string
- func (*StatusProto) ProtoMessage()
- func (m *StatusProto) Reset()
- func (m *StatusProto) String() string
- func (m *StatusProto) XXX_DiscardUnknown()
- func (m *StatusProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusProto) XXX_Merge(src proto.Message)
- func (m *StatusProto) XXX_Size() int
- func (m *StatusProto) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Status that corresponds to Status in third_party/tensorflow/core/lib/core/status.h.
func (*StatusProto) Descriptor ¶
func (*StatusProto) Descriptor() ([]byte, []int)
func (*StatusProto) GetErrorCode ¶
func (m *StatusProto) GetErrorCode() protobuf.Code
func (*StatusProto) GetErrorMessage ¶
func (m *StatusProto) GetErrorMessage() string
func (*StatusProto) ProtoMessage ¶
func (*StatusProto) ProtoMessage()
func (*StatusProto) Reset ¶
func (m *StatusProto) Reset()
func (*StatusProto) String ¶
func (m *StatusProto) String() string
func (*StatusProto) XXX_DiscardUnknown ¶
func (m *StatusProto) XXX_DiscardUnknown()
func (*StatusProto) XXX_Marshal ¶
func (m *StatusProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusProto) XXX_Merge ¶
func (m *StatusProto) XXX_Merge(src proto.Message)
func (*StatusProto) XXX_Size ¶
func (m *StatusProto) XXX_Size() int
func (*StatusProto) XXX_Unmarshal ¶
func (m *StatusProto) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.