wirepath

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WirePath_SpecialPath_name = map[int32]string{
		0: "SPECIAL_PATH_UNSPECIFIED",
		1: "SELF",
	}
	WirePath_SpecialPath_value = map[string]int32{
		"SPECIAL_PATH_UNSPECIFIED": 0,
		"SELF":                     1,
	}
)

Enum value maps for WirePath_SpecialPath.

View Source
var File_github_com_google_xtoproto_proto_wirepath_wirepath_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type WirePath

type WirePath struct {

	// Types that are assignable to Element:
	//	*WirePath_FieldNumber
	//	*WirePath_SpecialPath_
	Element   isWirePath_Element `protobuf_oneof:"element"`
	FieldName string             `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	Child     *WirePath          `protobuf:"bytes,3,opt,name=child,proto3" json:"child,omitempty"`
	// Types that are assignable to Slot:
	//	*WirePath_RepeatedFieldOffset
	//	*WirePath_MapKeyString
	//	*WirePath_MapKeyInt32
	//	*WirePath_MapKeyInt64
	//	*WirePath_MapKeyUint32
	//	*WirePath_MapKeyUint64
	//	*WirePath_MapKeySint32
	//	*WirePath_MapKeySint64
	//	*WirePath_MapKeyFixed32
	//	*WirePath_MapKeyFixed64
	//	*WirePath_MapKeySfixed32
	//	*WirePath_MapKeySfixed64
	//	*WirePath_MapKeyBool
	Slot isWirePath_Slot `protobuf_oneof:"slot"`
	// contains filtered or unexported fields
}

func (*WirePath) Descriptor deprecated

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

Deprecated: Use WirePath.ProtoReflect.Descriptor instead.

func (*WirePath) GetChild

func (x *WirePath) GetChild() *WirePath

func (*WirePath) GetElement

func (m *WirePath) GetElement() isWirePath_Element

func (*WirePath) GetFieldName

func (x *WirePath) GetFieldName() string

func (*WirePath) GetFieldNumber

func (x *WirePath) GetFieldNumber() int32

func (*WirePath) GetMapKeyBool

func (x *WirePath) GetMapKeyBool() bool

func (*WirePath) GetMapKeyFixed32

func (x *WirePath) GetMapKeyFixed32() uint32

func (*WirePath) GetMapKeyFixed64

func (x *WirePath) GetMapKeyFixed64() uint64

func (*WirePath) GetMapKeyInt32

func (x *WirePath) GetMapKeyInt32() int32

func (*WirePath) GetMapKeyInt64

func (x *WirePath) GetMapKeyInt64() int64

func (*WirePath) GetMapKeySfixed32

func (x *WirePath) GetMapKeySfixed32() int32

func (*WirePath) GetMapKeySfixed64

func (x *WirePath) GetMapKeySfixed64() int64

func (*WirePath) GetMapKeySint32

func (x *WirePath) GetMapKeySint32() int32

func (*WirePath) GetMapKeySint64

func (x *WirePath) GetMapKeySint64() int64

func (*WirePath) GetMapKeyString

func (x *WirePath) GetMapKeyString() string

func (*WirePath) GetMapKeyUint32

func (x *WirePath) GetMapKeyUint32() uint32

func (*WirePath) GetMapKeyUint64

func (x *WirePath) GetMapKeyUint64() uint64

func (*WirePath) GetRepeatedFieldOffset

func (x *WirePath) GetRepeatedFieldOffset() int64

func (*WirePath) GetSlot

func (m *WirePath) GetSlot() isWirePath_Slot

func (*WirePath) GetSpecialPath

func (x *WirePath) GetSpecialPath() WirePath_SpecialPath

func (*WirePath) ProtoMessage

func (*WirePath) ProtoMessage()

func (*WirePath) ProtoReflect

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

func (*WirePath) Reset

func (x *WirePath) Reset()

func (*WirePath) String

func (x *WirePath) String() string

type WirePath_FieldNumber

type WirePath_FieldNumber struct {
	FieldNumber int32 `protobuf:"varint,1,opt,name=field_number,json=fieldNumber,proto3,oneof"`
}

type WirePath_MapKeyBool

type WirePath_MapKeyBool struct {
	MapKeyBool bool `protobuf:"varint,16,opt,name=map_key_bool,json=mapKeyBool,proto3,oneof"`
}

type WirePath_MapKeyFixed32

type WirePath_MapKeyFixed32 struct {
	MapKeyFixed32 uint32 `protobuf:"fixed32,12,opt,name=map_key_fixed32,json=mapKeyFixed32,proto3,oneof"`
}

type WirePath_MapKeyFixed64

type WirePath_MapKeyFixed64 struct {
	MapKeyFixed64 uint64 `protobuf:"fixed64,13,opt,name=map_key_fixed64,json=mapKeyFixed64,proto3,oneof"`
}

type WirePath_MapKeyInt32

type WirePath_MapKeyInt32 struct {
	MapKeyInt32 int32 `protobuf:"varint,6,opt,name=map_key_int32,json=mapKeyInt32,proto3,oneof"`
}

type WirePath_MapKeyInt64

type WirePath_MapKeyInt64 struct {
	MapKeyInt64 int64 `protobuf:"varint,7,opt,name=map_key_int64,json=mapKeyInt64,proto3,oneof"`
}

type WirePath_MapKeySfixed32

type WirePath_MapKeySfixed32 struct {
	MapKeySfixed32 int32 `protobuf:"fixed32,14,opt,name=map_key_sfixed32,json=mapKeySfixed32,proto3,oneof"`
}

type WirePath_MapKeySfixed64

type WirePath_MapKeySfixed64 struct {
	MapKeySfixed64 int64 `protobuf:"fixed64,15,opt,name=map_key_sfixed64,json=mapKeySfixed64,proto3,oneof"`
}

type WirePath_MapKeySint32

type WirePath_MapKeySint32 struct {
	MapKeySint32 int32 `protobuf:"zigzag32,10,opt,name=map_key_sint32,json=mapKeySint32,proto3,oneof"`
}

type WirePath_MapKeySint64

type WirePath_MapKeySint64 struct {
	MapKeySint64 int64 `protobuf:"zigzag64,11,opt,name=map_key_sint64,json=mapKeySint64,proto3,oneof"`
}

type WirePath_MapKeyString

type WirePath_MapKeyString struct {
	MapKeyString string `protobuf:"bytes,5,opt,name=map_key_string,json=mapKeyString,proto3,oneof"`
}

type WirePath_MapKeyUint32

type WirePath_MapKeyUint32 struct {
	MapKeyUint32 uint32 `protobuf:"varint,8,opt,name=map_key_uint32,json=mapKeyUint32,proto3,oneof"`
}

type WirePath_MapKeyUint64

type WirePath_MapKeyUint64 struct {
	MapKeyUint64 uint64 `protobuf:"varint,9,opt,name=map_key_uint64,json=mapKeyUint64,proto3,oneof"`
}

type WirePath_RepeatedFieldOffset

type WirePath_RepeatedFieldOffset struct {
	RepeatedFieldOffset int64 `protobuf:"varint,4,opt,name=repeated_field_offset,json=repeatedFieldOffset,proto3,oneof"`
}

type WirePath_SpecialPath

type WirePath_SpecialPath int32
const (
	WirePath_SPECIAL_PATH_UNSPECIFIED WirePath_SpecialPath = 0
	WirePath_SELF                     WirePath_SpecialPath = 1
)

func (WirePath_SpecialPath) Descriptor

func (WirePath_SpecialPath) Enum

func (WirePath_SpecialPath) EnumDescriptor deprecated

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

Deprecated: Use WirePath_SpecialPath.Descriptor instead.

func (WirePath_SpecialPath) Number

func (WirePath_SpecialPath) String

func (x WirePath_SpecialPath) String() string

func (WirePath_SpecialPath) Type

type WirePath_SpecialPath_

type WirePath_SpecialPath_ struct {
	SpecialPath WirePath_SpecialPath `protobuf:"varint,20,opt,name=special_path,json=specialPath,proto3,enum=xtoproto.wirepath.WirePath_SpecialPath,oneof"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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