Searched refs:toStatus (Results 1 – 9 of 9) sorted by relevance
230 public Status toStatus() { in toStatus() method in Status.CanonicalCode260 public static final Status OK = CanonicalCode.OK.toStatus();267 public static final Status CANCELLED = CanonicalCode.CANCELLED.toStatus();274 public static final Status UNKNOWN = CanonicalCode.UNKNOWN.toStatus();281 public static final Status INVALID_ARGUMENT = CanonicalCode.INVALID_ARGUMENT.toStatus();288 public static final Status DEADLINE_EXCEEDED = CanonicalCode.DEADLINE_EXCEEDED.toStatus();295 public static final Status NOT_FOUND = CanonicalCode.NOT_FOUND.toStatus();302 public static final Status ALREADY_EXISTS = CanonicalCode.ALREADY_EXISTS.toStatus();310 public static final Status PERMISSION_DENIED = CanonicalCode.PERMISSION_DENIED.toStatus();317 public static final Status UNAUTHENTICATED = CanonicalCode.UNAUTHENTICATED.toStatus();[all …]
220 public Status toStatus() { in toStatus() method in Status.Code247 public static final Status OK = Code.OK.toStatus();249 public static final Status CANCELLED = Code.CANCELLED.toStatus();251 public static final Status UNKNOWN = Code.UNKNOWN.toStatus();253 public static final Status INVALID_ARGUMENT = Code.INVALID_ARGUMENT.toStatus();255 public static final Status DEADLINE_EXCEEDED = Code.DEADLINE_EXCEEDED.toStatus();257 public static final Status NOT_FOUND = Code.NOT_FOUND.toStatus();259 public static final Status ALREADY_EXISTS = Code.ALREADY_EXISTS.toStatus();264 public static final Status PERMISSION_DENIED = Code.PERMISSION_DENIED.toStatus();266 public static final Status UNAUTHENTICATED = Code.UNAUTHENTICATED.toStatus();[all …]
52 return toStatus(statusProto).asRuntimeException(toMetadata(statusProto)); in toStatusRuntimeException()70 return toStatus(statusProto).asRuntimeException(toMetadata(statusProto, metadata)); in toStatusRuntimeException()85 return toStatus(statusProto).asException(toMetadata(statusProto)); in toStatusException()103 return toStatus(statusProto).asException(toMetadata(statusProto, metadata)); in toStatusException()106 private static Status toStatus(com.google.rpc.Status statusProto) { in toStatus() method in StatusProto
74 io.opencensus.trace.Status opencensusStatus = opencensusCanonicalCode.toStatus(); in convertToGrpcStatus()85 opencensusCanonicalCode.toStatus().withDescription("This is my description"); in convertToGrpcStatus()
155 .toStatus() in registerView()201 .toStatus() in export()
91 .toStatus() in greet()
137 sampledSpan.end(EndSpanOptions.builder().setStatus(code.toStatus()).build()); in addSpanNameToAllErrorBuckets()138 notSampledSpan.end(EndSpanOptions.builder().setStatus(code.toStatus()).build()); in addSpanNameToAllErrorBuckets()
269 return httpStatusToGrpcCode(httpStatusCode).toStatus() in httpStatusToGrpcStatus()
669 metadata.put(InternalStatus.CODE_KEY, statusCode.toStatus()); in respondWithHttpError()