Annotation Interface WithDefaultInstance
@Target(TYPE_USE)
@Retention(RUNTIME)
@AppliesTo(subClassesOf={com.google.protobuf.Message.class,com.google.protobuf.Message.Builder.class})
public @interface WithDefaultInstance
Provides a default instance to use as the base for mutations of the annotated
Message or
DynamicMessage.Builder.-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe fully qualified name of a static method (e.g.com.example.MyClass#getDefaultInstance) with return type assignable toMessage, which returns a default instance that mutations should be based on.
-