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