Documentation
¶
Index ¶
- Variables
- type PlaceholderDescriptorProto
- func (*PlaceholderDescriptorProto) Descriptor() ([]byte, []int)deprecated
- func (x *PlaceholderDescriptorProto) GetIsPlaceholder() bool
- func (*PlaceholderDescriptorProto) ProtoMessage()
- func (x *PlaceholderDescriptorProto) ProtoReflect() protoreflect.Message
- func (x *PlaceholderDescriptorProto) Reset()
- func (x *PlaceholderDescriptorProto) String() string
Constants ¶
This section is empty.
Variables ¶
var (
// optional zetasql.PlaceholderDescriptorProto placeholder_descriptor = 14004;
E_PlaceholderDescriptorProto_PlaceholderDescriptor = &file_placeholder_descriptor_proto_extTypes[0]
)
Extension fields to descriptorpb.MessageOptions.
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 (x *PlaceholderDescriptorProto) ProtoReflect() protoreflect.Message
func (*PlaceholderDescriptorProto) Reset ¶
func (x *PlaceholderDescriptorProto) Reset()
func (*PlaceholderDescriptorProto) String ¶
func (x *PlaceholderDescriptorProto) String() string