zetasql

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional zetasql.PlaceholderDescriptorProto placeholder_descriptor = 14004;
	E_PlaceholderDescriptorProto_PlaceholderDescriptor = &file_placeholder_descriptor_proto_extTypes[0]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var File_placeholder_descriptor_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PlaceholderDescriptorProto

type PlaceholderDescriptorProto struct {
	IsPlaceholder *bool `protobuf:"varint,1,opt,name=is_placeholder,json=isPlaceholder" json:"is_placeholder,omitempty"`
	// contains filtered or unexported fields
}

Proto bundles ((broken link)) may omit types that are referenced by other types that are included. When users do this, engines may include a placeholder type so that proto2 doesn't get upset. Engines could use the built-in proto2 placeholder feature, but it has heuristics that don't always work for guessing enum vs. message and exact names, and it can be handled better since engines have the real descriptors and can omit them. Engines don't need to do this for enum types, only message types, since for enum types engines would have to make up a fake enumeration value (since they must have at least one). For messages, engines can just make a message with no fields and this option, which engines may ignore.

func (*PlaceholderDescriptorProto) Descriptor deprecated

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

Deprecated: Use PlaceholderDescriptorProto.ProtoReflect.Descriptor instead.

func (*PlaceholderDescriptorProto) GetIsPlaceholder

func (x *PlaceholderDescriptorProto) GetIsPlaceholder() bool

func (*PlaceholderDescriptorProto) ProtoMessage

func (*PlaceholderDescriptorProto) ProtoMessage()

func (*PlaceholderDescriptorProto) ProtoReflect

func (*PlaceholderDescriptorProto) Reset

func (x *PlaceholderDescriptorProto) Reset()

func (*PlaceholderDescriptorProto) String

func (x *PlaceholderDescriptorProto) String() string

Jump to

Keyboard shortcuts

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