Package

deaktator.pops

msgs

Permalink

package msgs

Created by ryan on 4/25/16.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. msgs
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait ProtoOps[A <: GeneratedMessage] extends AnyRef

    Permalink

    A type class for static methods present in com.google.protobuf.GeneratedMessage.

    A type class for static methods present in com.google.protobuf.GeneratedMessage.

    Annotations
    @implicitNotFound( ... )
  2. class ProtoOpsMacros extends AnyRef

    Permalink

    A macro-based ProtoOps implementation that uses implicit materialization.

    A macro-based ProtoOps implementation that uses implicit materialization. All that needs to be done to use it is to request an instance via

    import com.google.protobuf.GeneratedMessage
    import deaktator.proto.msgs.ProtoOps
    import com.eharmony.aloha.score.Scores.Score // Or some other PB instance.
    val myInstance: ProtoOps[Score]
    
    // or include it as an implicit parameter in a function or class
    def getDefault[A <: GeneratedMessage](implicit ops: ProtoOps[A]): A = ops.getDefaultInstance()

Value Members

  1. object ProtoOps

    Permalink

    Provides factory methods and implicit materializer macros to Get class instances.

Inherited from AnyRef

Inherited from Any

Ungrouped