binarylogv1alpha

package
v1.30.0-20230810202212... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GrpcLogEntry_Type_name = map[int32]string{
		0: "UNKNOWN_TYPE",
		1: "SEND_INITIAL_METADATA",
		2: "SEND_TRAILING_METADATA",
		3: "SEND_MESSAGE",
		4: "RECV_INITIAL_METADATA",
		5: "RECV_TRAILING_METADATA",
		6: "RECV_MESSAGE",
	}
	GrpcLogEntry_Type_value = map[string]int32{
		"UNKNOWN_TYPE":           0,
		"SEND_INITIAL_METADATA":  1,
		"SEND_TRAILING_METADATA": 2,
		"SEND_MESSAGE":           3,
		"RECV_INITIAL_METADATA":  4,
		"RECV_TRAILING_METADATA": 5,
		"RECV_MESSAGE":           6,
	}
)

Enum value maps for GrpcLogEntry_Type.

View Source
var (
	GrpcLogEntry_Logger_name = map[int32]string{
		0: "UNKNOWN_LOGGER",
		1: "CLIENT",
		2: "SERVER",
	}
	GrpcLogEntry_Logger_value = map[string]int32{
		"UNKNOWN_LOGGER": 0,
		"CLIENT":         1,
		"SERVER":         2,
	}
)

Enum value maps for GrpcLogEntry_Logger.

View Source
var (
	Peer_PeerType_name = map[int32]string{
		0: "UNKNOWN_PEERTYPE",
		1: "PEER_IPV4",
		2: "PEER_IPV6",
		3: "PEER_UNIX",
	}
	Peer_PeerType_value = map[string]int32{
		"UNKNOWN_PEERTYPE": 0,
		"PEER_IPV4":        1,
		"PEER_IPV6":        2,
		"PEER_UNIX":        3,
	}
)

Enum value maps for Peer_PeerType.

View Source
var File_grpc_binlog_v1alpha_binarylog_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GrpcLogEntry

type GrpcLogEntry struct {

	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Type GrpcLogEntry_Type `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.binarylog.v1alpha.GrpcLogEntry_Type" json:"type,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Logger GrpcLogEntry_Logger `protobuf:"varint,2,opt,name=logger,proto3,enum=grpc.binarylog.v1alpha.GrpcLogEntry_Logger" json:"logger,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	CallId *Uint128 `protobuf:"bytes,3,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"`
	// Types that are assignable to Payload:
	//
	//	*GrpcLogEntry_Metadata
	//	*GrpcLogEntry_Message
	Payload isGrpcLogEntry_Payload `protobuf_oneof:"payload"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Peer *Peer `protobuf:"bytes,6,opt,name=peer,proto3" json:"peer,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Truncated bool `protobuf:"varint,7,opt,name=truncated,proto3" json:"truncated,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	MethodName string `protobuf:"bytes,8,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	StatusCode uint32 `protobuf:"varint,9,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	StatusMessage string `protobuf:"bytes,10,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	StatusDetails []byte `protobuf:"bytes,11,opt,name=status_details,json=statusDetails,proto3" json:"status_details,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Timeout *durationpb.Duration `protobuf:"bytes,12,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	SequenceIdWithinCall uint32 `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GrpcLogEntry) Descriptor deprecated

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

Deprecated: Use GrpcLogEntry.ProtoReflect.Descriptor instead.

func (*GrpcLogEntry) GetCallId deprecated

func (x *GrpcLogEntry) GetCallId() *Uint128

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*GrpcLogEntry) GetLogger deprecated

func (x *GrpcLogEntry) GetLogger() GrpcLogEntry_Logger

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*GrpcLogEntry) GetMessage deprecated

func (x *GrpcLogEntry) GetMessage() *Message

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*GrpcLogEntry) GetMetadata deprecated

func (x *GrpcLogEntry) GetMetadata() *Metadata

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*GrpcLogEntry) GetMethodName deprecated

func (x *GrpcLogEntry) GetMethodName() string

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*GrpcLogEntry) GetPayload

func (m *GrpcLogEntry) GetPayload() isGrpcLogEntry_Payload

func (*GrpcLogEntry) GetPeer deprecated

func (x *GrpcLogEntry) GetPeer() *Peer

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*GrpcLogEntry) GetSequenceIdWithinCall deprecated

func (x *GrpcLogEntry) GetSequenceIdWithinCall() uint32

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*GrpcLogEntry) GetStatusCode deprecated

func (x *GrpcLogEntry) GetStatusCode() uint32

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*GrpcLogEntry) GetStatusDetails deprecated

func (x *GrpcLogEntry) GetStatusDetails() []byte

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*GrpcLogEntry) GetStatusMessage deprecated

func (x *GrpcLogEntry) GetStatusMessage() string

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*GrpcLogEntry) GetTimeout deprecated

func (x *GrpcLogEntry) GetTimeout() *durationpb.Duration

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*GrpcLogEntry) GetTruncated deprecated

func (x *GrpcLogEntry) GetTruncated() bool

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*GrpcLogEntry) GetType deprecated

func (x *GrpcLogEntry) GetType() GrpcLogEntry_Type

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*GrpcLogEntry) ProtoMessage

func (*GrpcLogEntry) ProtoMessage()

func (*GrpcLogEntry) ProtoReflect

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

func (*GrpcLogEntry) Reset

func (x *GrpcLogEntry) Reset()

func (*GrpcLogEntry) String

func (x *GrpcLogEntry) String() string

type GrpcLogEntry_Logger

type GrpcLogEntry_Logger int32
const (
	GrpcLogEntry_UNKNOWN_LOGGER GrpcLogEntry_Logger = 0
	GrpcLogEntry_CLIENT         GrpcLogEntry_Logger = 1
	GrpcLogEntry_SERVER         GrpcLogEntry_Logger = 2
)

func (GrpcLogEntry_Logger) Descriptor

func (GrpcLogEntry_Logger) Enum

func (GrpcLogEntry_Logger) EnumDescriptor deprecated

func (GrpcLogEntry_Logger) EnumDescriptor() ([]byte, []int)

Deprecated: Use GrpcLogEntry_Logger.Descriptor instead.

func (GrpcLogEntry_Logger) Number

func (GrpcLogEntry_Logger) String

func (x GrpcLogEntry_Logger) String() string

func (GrpcLogEntry_Logger) Type

type GrpcLogEntry_Message

type GrpcLogEntry_Message struct {
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Message *Message `protobuf:"bytes,5,opt,name=message,proto3,oneof"`
}

type GrpcLogEntry_Metadata

type GrpcLogEntry_Metadata struct {
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Metadata *Metadata `protobuf:"bytes,4,opt,name=metadata,proto3,oneof"`
}

type GrpcLogEntry_Type

type GrpcLogEntry_Type int32
const (
	GrpcLogEntry_UNKNOWN_TYPE           GrpcLogEntry_Type = 0
	GrpcLogEntry_SEND_INITIAL_METADATA  GrpcLogEntry_Type = 1
	GrpcLogEntry_SEND_TRAILING_METADATA GrpcLogEntry_Type = 2
	GrpcLogEntry_SEND_MESSAGE           GrpcLogEntry_Type = 3
	GrpcLogEntry_RECV_INITIAL_METADATA  GrpcLogEntry_Type = 4
	GrpcLogEntry_RECV_TRAILING_METADATA GrpcLogEntry_Type = 5
	GrpcLogEntry_RECV_MESSAGE           GrpcLogEntry_Type = 6
)

func (GrpcLogEntry_Type) Descriptor

func (GrpcLogEntry_Type) Enum

func (GrpcLogEntry_Type) EnumDescriptor deprecated

func (GrpcLogEntry_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use GrpcLogEntry_Type.Descriptor instead.

func (GrpcLogEntry_Type) Number

func (GrpcLogEntry_Type) String

func (x GrpcLogEntry_Type) String() string

func (GrpcLogEntry_Type) Type

type Message

type Message struct {

	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Flags uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Length uint32 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetData deprecated

func (x *Message) GetData() []byte

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*Message) GetFlags deprecated

func (x *Message) GetFlags() uint32

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*Message) GetLength deprecated

func (x *Message) GetLength() uint32

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type Metadata

type Metadata struct {

	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Entry []*MetadataEntry `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetEntry deprecated

func (x *Metadata) GetEntry() []*MetadataEntry

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type MetadataEntry

type MetadataEntry struct {

	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*MetadataEntry) Descriptor deprecated

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

Deprecated: Use MetadataEntry.ProtoReflect.Descriptor instead.

func (*MetadataEntry) GetKey deprecated

func (x *MetadataEntry) GetKey() []byte

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*MetadataEntry) GetValue deprecated

func (x *MetadataEntry) GetValue() []byte

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*MetadataEntry) ProtoMessage

func (*MetadataEntry) ProtoMessage()

func (*MetadataEntry) ProtoReflect

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

func (*MetadataEntry) Reset

func (x *MetadataEntry) Reset()

func (*MetadataEntry) String

func (x *MetadataEntry) String() string

type Peer

type Peer struct {

	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	PeerType Peer_PeerType `` /* 128-byte string literal not displayed */
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Peer []byte `protobuf:"bytes,2,opt,name=peer,proto3" json:"peer,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	IpPort uint32 `protobuf:"varint,4,opt,name=ip_port,json=ipPort,proto3" json:"ip_port,omitempty"`
	// contains filtered or unexported fields
}

func (*Peer) Descriptor deprecated

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

Deprecated: Use Peer.ProtoReflect.Descriptor instead.

func (*Peer) GetAddress deprecated

func (x *Peer) GetAddress() string

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*Peer) GetIpPort deprecated

func (x *Peer) GetIpPort() uint32

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*Peer) GetPeer deprecated

func (x *Peer) GetPeer() []byte

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*Peer) GetPeerType deprecated

func (x *Peer) GetPeerType() Peer_PeerType

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) ProtoReflect

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

func (*Peer) Reset

func (x *Peer) Reset()

func (*Peer) String

func (x *Peer) String() string

type Peer_PeerType

type Peer_PeerType int32
const (
	Peer_UNKNOWN_PEERTYPE Peer_PeerType = 0
	Peer_PEER_IPV4        Peer_PeerType = 1
	Peer_PEER_IPV6        Peer_PeerType = 2
	Peer_PEER_UNIX        Peer_PeerType = 3
)

func (Peer_PeerType) Descriptor

func (Peer_PeerType) Enum

func (x Peer_PeerType) Enum() *Peer_PeerType

func (Peer_PeerType) EnumDescriptor deprecated

func (Peer_PeerType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Peer_PeerType.Descriptor instead.

func (Peer_PeerType) Number

func (Peer_PeerType) String

func (x Peer_PeerType) String() string

func (Peer_PeerType) Type

type Uint128

type Uint128 struct {

	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	High uint64 `protobuf:"fixed64,1,opt,name=high,proto3" json:"high,omitempty"`
	// Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.
	Low uint64 `protobuf:"fixed64,2,opt,name=low,proto3" json:"low,omitempty"`
	// contains filtered or unexported fields
}

func (*Uint128) Descriptor deprecated

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

Deprecated: Use Uint128.ProtoReflect.Descriptor instead.

func (*Uint128) GetHigh deprecated

func (x *Uint128) GetHigh() uint64

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*Uint128) GetLow deprecated

func (x *Uint128) GetLow() uint64

Deprecated: Marked as deprecated in grpc/binlog/v1alpha/binarylog.proto.

func (*Uint128) ProtoMessage

func (*Uint128) ProtoMessage()

func (*Uint128) ProtoReflect

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

func (*Uint128) Reset

func (x *Uint128) Reset()

func (*Uint128) String

func (x *Uint128) String() string

Jump to

Keyboard shortcuts

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