...

Package gofeaturespb

import "google.golang.org/protobuf/types/gofeaturespb"
Overview
Index

Overview ▾

Variables

Extension fields to descriptorpb.FeatureSet.

var (
    // optional pb.GoFeatures go = 1002;
    E_Go = &file_google_protobuf_go_features_proto_extTypes[0]
)
var File_google_protobuf_go_features_proto protoreflect.FileDescriptor

type GoFeatures

type GoFeatures struct {

    // Whether or not to generate the deprecated UnmarshalJSON method for enums.
    LegacyUnmarshalJsonEnum *bool `protobuf:"varint,1,opt,name=legacy_unmarshal_json_enum,json=legacyUnmarshalJsonEnum" json:"legacy_unmarshal_json_enum,omitempty"`
    // contains filtered or unexported fields
}

func (*GoFeatures) Descriptor

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

Deprecated: Use GoFeatures.ProtoReflect.Descriptor instead.

func (*GoFeatures) GetLegacyUnmarshalJsonEnum

func (x *GoFeatures) GetLegacyUnmarshalJsonEnum() bool

func (*GoFeatures) ProtoMessage

func (*GoFeatures) ProtoMessage()

func (*GoFeatures) ProtoReflect

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

func (*GoFeatures) Reset

func (x *GoFeatures) Reset()

func (*GoFeatures) String

func (x *GoFeatures) String() string