MCPcopy Create free account
hub / github.com/grpc/grpc-java / fromConfig

Method fromConfig

xds/src/main/java/io/grpc/xds/ConfigOrError.java:28–30  ·  view source on GitHub ↗

Returns a ConfigOrError for the successfully converted data object.

(T config)

Source from the content-addressed store, hash-verified

26 * Returns a {@link ConfigOrError} for the successfully converted data object.
27 */
28 static <T> ConfigOrError<T> fromConfig(T config) {
29 return new ConfigOrError<>(config);
30 }
31
32 /**
33 * Returns a {@link ConfigOrError} for the failure to convert the data object.

Calls

no outgoing calls

Tested by 10

parseFilterConfigMethod · 0.76
parseFilterConfigMethod · 0.76
parsePluginMethod · 0.76
parseServiceConfigMethod · 0.76