Copyright 2019 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

package filedesc

import (
	
	
	pref 
)

var (
	emptyNames           = new(Names)
	emptyEnumRanges      = new(EnumRanges)
	emptyFieldRanges     = new(FieldRanges)
	emptyFieldNumbers    = new(FieldNumbers)
	emptySourceLocations = new(SourceLocations)

	emptyFiles      = new(FileImports)
	emptyMessages   = new(Messages)
	emptyFields     = new(Fields)
	emptyOneofs     = new(Oneofs)
	emptyEnums      = new(Enums)
	emptyEnumValues = new(EnumValues)
	emptyExtensions = new(Extensions)
	emptyServices   = new(Services)
)
PlaceholderFile is a placeholder, representing only the file path.
PlaceholderEnum is a placeholder, representing only the full name.
PlaceholderEnumValue is a placeholder, representing only the full name.
PlaceholderMessage is a placeholder, representing only the full name.
type PlaceholderMessage pref.FullName

func ( PlaceholderMessage) () pref.FileDescriptor             { return nil }
func ( PlaceholderMessage) () pref.Descriptor                     { return nil }
func ( PlaceholderMessage) () int                                  { return 0 }
func ( PlaceholderMessage) () pref.Syntax                         { return 0 }
func ( PlaceholderMessage) () pref.Name                             { return pref.FullName().Name() }
func ( PlaceholderMessage) () pref.FullName                     { return pref.FullName() }
func ( PlaceholderMessage) () bool                         { return true }
func ( PlaceholderMessage) () pref.ProtoMessage                  { return descopts.Message }
func ( PlaceholderMessage) () bool                            { return false }
func ( PlaceholderMessage) () pref.FieldDescriptors               { return emptyFields }
func ( PlaceholderMessage) () pref.OneofDescriptors               { return emptyOneofs }
func ( PlaceholderMessage) () pref.Names                   { return emptyNames }
func ( PlaceholderMessage) () pref.FieldRanges            { return emptyFieldRanges }
func ( PlaceholderMessage) () pref.FieldNumbers          { return emptyFieldNumbers }
func ( PlaceholderMessage) () pref.FieldRanges           { return emptyFieldRanges }
func ( PlaceholderMessage) (int) pref.ProtoMessage { panic("index out of range") }
func ( PlaceholderMessage) () pref.MessageDescriptors           { return emptyMessages }
func ( PlaceholderMessage) () pref.EnumDescriptors                 { return emptyEnums }
func ( PlaceholderMessage) () pref.ExtensionDescriptors       { return emptyExtensions }
func ( PlaceholderMessage) (pref.MessageDescriptor)            { return }