Package io.grpc.xds
Class ConfigOrError<T>
java.lang.Object
io.grpc.xds.ConfigOrError<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ConfigOrError
(String errorDetail) private
ConfigOrError
(T config) -
Method Summary
Modifier and TypeMethodDescription(package private) static <T> ConfigOrError
<T> fromConfig
(T config) Returns aConfigOrError
for the successfully converted data object.(package private) static <T> ConfigOrError
<T> Returns aConfigOrError
for the failure to convert the data object.
-
Field Details
-
errorDetail
-
config
-
-
Constructor Details
-
ConfigOrError
-
ConfigOrError
-
-
Method Details
-
fromConfig
Returns aConfigOrError
for the successfully converted data object. -
fromError
Returns aConfigOrError
for the failure to convert the data object.
-