RemoteDescriptor
This package is part of the
Android support library which
is no longer maintained.
The support library has been superseded by AndroidX
which is part of Jetpack .
We recommend using the AndroidX libraries in all new projects. You should also consider
migrating existing projects to AndroidX.
To find the AndroidX class that maps to this deprecated class, see the AndroidX
support library class
mappings .
public
final
class
RemoteDescriptor
extends Object
Descriptor object containing all the required information to serialize and deserialize a type to
and from a proto. Needs to be registered with an RemoteDescriptorRegistry
.
Summary
Inherited methods
From
class
java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
final
Class <?>
getClass()
int
hashCode()
final
void
notify()
final
void
notifyAll()
String
toString()
final
void
wait(long arg0, int arg1)
final
void
wait(long arg0)
final
void
wait()
Public methods
equals
boolean equals (Object o)
getInstanceType
Class <?> getInstanceType ()
Returns
Class <?>
the instance type
getInstanceTypeName
String getInstanceTypeName ()
Returns
String
the class name for instance type
getProtoBuilderClass
Class <?> getProtoBuilderClass ()
Returns
Class <?>
the proto message builder class for proto message type
getProtoParser
Parser<?> getProtoParser ()
Returns
Parser<?>
the proto parser to parse the proto message type
getProtoType
Class <?> getProtoType ()
Returns
Class <?>
the proto message type
getRemoteConstrTypes
Class[] <?> getRemoteConstrTypes ()
Returns
Class[] <?>
list of types which identify the constructor's formal parameter types, in declared
order.
getRemoteType
Class <?> getRemoteType ()
Returns
Class <?>
the remote message type
Interfaces
Classes
Enums
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License . Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[]]