Documentation ¶
Overview ¶
Package internal is a generated protocol buffer package.
It is generated from these files:
runtime/internal/stream_chunk.proto
It has these top-level messages:
StreamError
Index ¶
- type StreamError
- func (*StreamError) Descriptor() ([]byte, []int)
- func (m *StreamError) GetGrpcCode() int32
- func (m *StreamError) GetHttpCode() int32
- func (m *StreamError) GetHttpStatus() string
- func (m *StreamError) GetMessage() string
- func (*StreamError) ProtoMessage()
- func (m *StreamError) Reset()
- func (m *StreamError) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StreamError ¶
type StreamError struct { GrpcCode int32 `protobuf:"varint,1,opt,name=grpc_code,json=grpcCode" json:"grpc_code,omitempty"` HttpCode int32 `protobuf:"varint,2,opt,name=http_code,json=httpCode" json:"http_code,omitempty"` Message string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"` HttpStatus string `protobuf:"bytes,4,opt,name=http_status,json=httpStatus" json:"http_status,omitempty"` }
StreamError is a response type which is returned when streaming rpc returns an error.
func (*StreamError) Descriptor ¶
func (*StreamError) Descriptor() ([]byte, []int)
func (*StreamError) GetGrpcCode ¶ added in v1.2.0
func (m *StreamError) GetGrpcCode() int32
func (*StreamError) GetHttpCode ¶ added in v1.2.0
func (m *StreamError) GetHttpCode() int32
func (*StreamError) GetHttpStatus ¶ added in v1.2.0
func (m *StreamError) GetHttpStatus() string
func (*StreamError) GetMessage ¶ added in v1.2.0
func (m *StreamError) GetMessage() string
func (*StreamError) ProtoMessage ¶
func (*StreamError) ProtoMessage()
func (*StreamError) Reset ¶
func (m *StreamError) Reset()
func (*StreamError) String ¶
func (m *StreamError) String() string
Click to show internal directories.
Click to hide internal directories.