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

Method fromStruct

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

Returns a StructOrError for the successfully converted data object.

(T struct)

Source from the content-addressed store, hash-verified

28 * Returns a {@link StructOrError} for the successfully converted data object.
29 */
30 public static <T> StructOrError<T> fromStruct(T struct) {
31 return new StructOrError<>(struct);
32 }
33
34 /**
35 * Returns a {@link StructOrError} for the failure to convert the data object.

Callers 13

parseAggregateClusterMethod · 0.95
parseHttpFilterMethod · 0.95
parseVirtualHostMethod · 0.95
parseRouteMethod · 0.95
parseRouteMatchMethod · 0.95
parsePathMatcherMethod · 0.95
parseHeaderMatcherMethod · 0.95
parseRouteActionMethod · 0.95
parseRetryPolicyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected