Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - type FieldOptions
 - type MessageOptions
 - type ScalaPbOptions
 - func (*ScalaPbOptions) Descriptor() ([]byte, []int)deprecated
 - func (x *ScalaPbOptions) GetFlatPackage() bool
 - func (x *ScalaPbOptions) GetImport() []string
 - func (x *ScalaPbOptions) GetPackageName() string
 - func (*ScalaPbOptions) ProtoMessage()
 - func (x *ScalaPbOptions) ProtoReflect() protoreflect.Message
 - func (x *ScalaPbOptions) Reset()
 - func (x *ScalaPbOptions) String() string
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var ( // File-level optionals for ScalaPB. // Extension number officially assigned by protobuf-global-extension-registry@google.com // // optional scalapb.FieldOptions field = 1020; E_Field = &file_scalapb_scalapb_proto_extTypes[2] )
Extension fields to descriptorpb.FieldOptions.
      View Source
      
  var ( // Message-level optionals for ScalaPB. // Extension number officially assigned by protobuf-global-extension-registry@google.com // // optional scalapb.MessageOptions message = 1020; E_Message = &file_scalapb_scalapb_proto_extTypes[1] )
Extension fields to descriptorpb.MessageOptions.
      View Source
      
  var ( // File-level optionals for ScalaPB. // Extension number officially assigned by protobuf-global-extension-registry@google.com // // optional scalapb.ScalaPbOptions options = 1020; E_Options = &file_scalapb_scalapb_proto_extTypes[0] )
Extension fields to descriptorpb.FileOptions.
      View Source
      
  
var File_scalapb_scalapb_proto protoreflect.FileDescriptor
    Functions ¶
This section is empty.
Types ¶
type FieldOptions ¶
type FieldOptions struct {
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty" query:"type" params:"type"`
	// contains filtered or unexported fields
}
    
        
          
            func (*FieldOptions) Descriptor
            deprecated
            
          
  
    
  
      
      func (*FieldOptions) Descriptor() ([]byte, []int)
Deprecated: Use FieldOptions.ProtoReflect.Descriptor instead.
func (*FieldOptions) GetType ¶
func (x *FieldOptions) GetType() string
func (*FieldOptions) ProtoMessage ¶
func (*FieldOptions) ProtoMessage()
func (*FieldOptions) ProtoReflect ¶
func (x *FieldOptions) ProtoReflect() protoreflect.Message
func (*FieldOptions) Reset ¶
func (x *FieldOptions) Reset()
func (*FieldOptions) String ¶
func (x *FieldOptions) String() string
type MessageOptions ¶
type MessageOptions struct {
	// additional classes and traits to mix in to the case class.
	Extends []string `protobuf:"bytes,1,rep,name=extends" json:"extends,omitempty" query:"extends" params:"extends"`
	// contains filtered or unexported fields
}
    
        
          
            func (*MessageOptions) Descriptor
            deprecated
            
          
  
    
  
      
      func (*MessageOptions) Descriptor() ([]byte, []int)
Deprecated: Use MessageOptions.ProtoReflect.Descriptor instead.
func (*MessageOptions) GetExtends ¶
func (x *MessageOptions) GetExtends() []string
func (*MessageOptions) ProtoMessage ¶
func (*MessageOptions) ProtoMessage()
func (*MessageOptions) ProtoReflect ¶
func (x *MessageOptions) ProtoReflect() protoreflect.Message
func (*MessageOptions) Reset ¶
func (x *MessageOptions) Reset()
func (*MessageOptions) String ¶
func (x *MessageOptions) String() string
type ScalaPbOptions ¶
type ScalaPbOptions struct {
	// If set then it overrides the java_package and package.
	PackageName *string `` /* 130-byte string literal not displayed */
	// If true, the compiler does not append the proto base file name
	// into the generated package name. If false (the default), the
	// generated scala package name is the package_name.basename where
	// basename is the proto file name without the .proto extension.
	FlatPackage *bool `` /* 131-byte string literal not displayed */
	// Adds the following imports at the top of the file (this is meant
	// to provide implicit TypeMappers)
	Import []string `protobuf:"bytes,3,rep,name=import" json:"import,omitempty" query:"import" params:"import"`
	// contains filtered or unexported fields
}
    
        
          
            func (*ScalaPbOptions) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ScalaPbOptions) Descriptor() ([]byte, []int)
Deprecated: Use ScalaPbOptions.ProtoReflect.Descriptor instead.
func (*ScalaPbOptions) GetFlatPackage ¶
func (x *ScalaPbOptions) GetFlatPackage() bool
func (*ScalaPbOptions) GetImport ¶
func (x *ScalaPbOptions) GetImport() []string
func (*ScalaPbOptions) GetPackageName ¶
func (x *ScalaPbOptions) GetPackageName() string
func (*ScalaPbOptions) ProtoMessage ¶
func (*ScalaPbOptions) ProtoMessage()
func (*ScalaPbOptions) ProtoReflect ¶
func (x *ScalaPbOptions) ProtoReflect() protoreflect.Message
func (*ScalaPbOptions) Reset ¶
func (x *ScalaPbOptions) Reset()
func (*ScalaPbOptions) String ¶
func (x *ScalaPbOptions) String() string
 Click to show internal directories. 
   Click to hide internal directories.