Namespaces | |
_auth | |
_channel | |
_common | |
_compression | |
_cython | |
_grpcio_metadata | |
_interceptor | |
_plugin_wrapping | |
_runtime_protos | |
_server | |
_simple_stubs | |
_utilities | |
aio | |
beta | |
channelz | |
experimental | |
framework | |
gcp | |
internal | |
Actual implementation of bi-directional streaming. | |
load_reporter | |
protobuf | |
reflection | |
testing | |
xds | |
Typedefs | |
typedef std::pair< string_ref, string_ref > | AuthProperty |
typedef ThreadPoolInterface *(* | CreateThreadPoolFunc) (void) |
typedef ClientAsyncReaderWriter< ByteBuffer, ByteBuffer > | GenericClientAsyncReaderWriter |
typedef ClientAsyncResponseReader< ByteBuffer > | GenericClientAsyncResponseReader |
typedef ServerAsyncReader< ByteBuffer, ByteBuffer > | GenericServerAsyncReader |
typedef ServerAsyncReaderWriter< ByteBuffer, ByteBuffer > | GenericServerAsyncReaderWriter |
typedef ServerAsyncResponseWriter< ByteBuffer > | GenericServerAsyncResponseWriter |
typedef ServerAsyncWriter< ByteBuffer > | GenericServerAsyncWriter |
typedef TemplatedGenericStub< grpc::ByteBuffer, grpc::ByteBuffer > | GenericStub |
using | ServerGenericBidiReactor = ServerBidiReactor< ByteBuffer, ByteBuffer > |
Enumerations | |
enum | StatusCode { OK = 0, CANCELLED = 1, UNKNOWN = 2, INVALID_ARGUMENT = 3, DEADLINE_EXCEEDED = 4, NOT_FOUND = 5, ALREADY_EXISTS = 6, PERMISSION_DENIED = 7, UNAUTHENTICATED = 16, RESOURCE_EXHAUSTED = 8, FAILED_PRECONDITION = 9, ABORTED = 10, OUT_OF_RANGE = 11, UNIMPLEMENTED = 12, INTERNAL = 13, UNAVAILABLE = 14, DATA_LOSS = 15, DO_NOT_USE = -1 } |
Functions | |
def | _create_servicer_context (rpc_event, state, request_deserializer) |
def | access_token_call_credentials (access_token) |
std::shared_ptr< CallCredentials > | AccessTokenCredentials (const grpc::string &access_token) |
std::shared_ptr< CallCredentials > | AccessTokenCredentials (const std::string &access_token) |
void | AddAdminServices (grpc::ServerBuilder *builder) |
def | alts_channel_credentials (service_accounts=None) |
def | alts_server_credentials () |
ASSERT_EQ (sizeof(valid_json), fwrite(valid_json, 1, sizeof(valid_json), creds_file)) | |
ASSERT_NE (creds_file, nullptr) | |
ASSERT_NE (creds_file_name, nullptr) | |
def | channel_ready_future (channel) |
const ::opencensus::stats::ViewDescriptor & | ClientCompletedRpcsCumulative () |
const ::opencensus::stats::ViewDescriptor & | ClientCompletedRpcsHour () |
const ::opencensus::stats::ViewDescriptor & | ClientCompletedRpcsMinute () |
::opencensus::tags::TagKey | ClientMethodTagKey () |
const ::opencensus::stats::ViewDescriptor & | ClientReceivedBytesPerRpcCumulative () |
const ::opencensus::stats::ViewDescriptor & | ClientReceivedBytesPerRpcHour () |
const ::opencensus::stats::ViewDescriptor & | ClientReceivedBytesPerRpcMinute () |
const ::opencensus::stats::ViewDescriptor & | ClientReceivedMessagesPerRpcCumulative () |
const ::opencensus::stats::ViewDescriptor & | ClientReceivedMessagesPerRpcHour () |
const ::opencensus::stats::ViewDescriptor & | ClientReceivedMessagesPerRpcMinute () |
const ::opencensus::stats::ViewDescriptor & | ClientRetriesCumulative () |
const ::opencensus::stats::ViewDescriptor & | ClientRetriesHour () |
const ::opencensus::stats::ViewDescriptor & | ClientRetriesMinute () |
const ::opencensus::stats::ViewDescriptor & | ClientRetriesPerCallCumulative () |
const ::opencensus::stats::ViewDescriptor & | ClientRetriesPerCallHour () |
const ::opencensus::stats::ViewDescriptor & | ClientRetriesPerCallMinute () |
const ::opencensus::stats::ViewDescriptor & | ClientRetryDelayPerCallCumulative () |
const ::opencensus::stats::ViewDescriptor & | ClientRetryDelayPerCallHour () |
const ::opencensus::stats::ViewDescriptor & | ClientRetryDelayPerCallMinute () |
const ::opencensus::stats::ViewDescriptor & | ClientRoundtripLatencyCumulative () |
const ::opencensus::stats::ViewDescriptor & | ClientRoundtripLatencyHour () |
const ::opencensus::stats::ViewDescriptor & | ClientRoundtripLatencyMinute () |
const ::opencensus::stats::ViewDescriptor & | ClientSentBytesPerRpcCumulative () |
const ::opencensus::stats::ViewDescriptor & | ClientSentBytesPerRpcHour () |
const ::opencensus::stats::ViewDescriptor & | ClientSentBytesPerRpcMinute () |
const ::opencensus::stats::ViewDescriptor & | ClientSentMessagesPerRpcCumulative () |
const ::opencensus::stats::ViewDescriptor & | ClientSentMessagesPerRpcHour () |
const ::opencensus::stats::ViewDescriptor & | ClientSentMessagesPerRpcMinute () |
const ::opencensus::stats::ViewDescriptor & | ClientServerLatencyCumulative () |
const ::opencensus::stats::ViewDescriptor & | ClientServerLatencyHour () |
const ::opencensus::stats::ViewDescriptor & | ClientServerLatencyMinute () |
::opencensus::tags::TagKey | ClientStatusTagKey () |
const ::opencensus::stats::ViewDescriptor & | ClientTransparentRetriesCumulative () |
const ::opencensus::stats::ViewDescriptor & | ClientTransparentRetriesHour () |
const ::opencensus::stats::ViewDescriptor & | ClientTransparentRetriesMinute () |
const ::opencensus::stats::ViewDescriptor & | ClientTransparentRetriesPerCallCumulative () |
const ::opencensus::stats::ViewDescriptor & | ClientTransparentRetriesPerCallHour () |
const ::opencensus::stats::ViewDescriptor & | ClientTransparentRetriesPerCallMinute () |
def | composite_call_credentials (*call_credentials) |
def | composite_channel_credentials (channel_credentials, *call_credentials) |
std::shared_ptr< CallCredentials > | CompositeCallCredentials (const std::shared_ptr< CallCredentials > &creds1, const std::shared_ptr< CallCredentials > &creds2) |
Combines two call credentials objects into a composite call credentials. More... | |
std::shared_ptr< ChannelCredentials > | CompositeChannelCredentials (const std::shared_ptr< ChannelCredentials > &channel_creds, const std::shared_ptr< CallCredentials > &call_creds) |
def | compute_engine_channel_credentials (call_credentials) |
void | CoreStatsToProto (const grpc_stats_data &core, grpc::core::Stats *proto) |
void | CoreStatsToProto (const grpc_stats_data &core, Stats *proto) |
std::shared_ptr< const AuthContext > | CreateAuthContext (grpc_call *call) |
std::shared_ptr< Channel > | CreateChannel (const grpc::string &target, const std::shared_ptr< ChannelCredentials > &creds) |
std::shared_ptr< grpc::Channel > | CreateChannel (const grpc::string &target, const std::shared_ptr< grpc::ChannelCredentials > &creds) |
std::shared_ptr< Channel > | CreateChannelInternal (const std::string &host, grpc_channel *c_channel, std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> interceptor_creators) |
std::shared_ptr< Channel > | CreateChannelInternal (const std::string &host, grpc_channel *c_channel, std::vector< std::unique_ptr< grpc::experimental::ClientInterceptorFactoryInterface >> interceptor_creators) |
std::shared_ptr< Channel > | CreateCustomChannel (const grpc::string &target, const std::shared_ptr< ChannelCredentials > &creds, const ChannelArguments &args) |
std::shared_ptr< Channel > | CreateCustomChannel (const grpc::string &target, const std::shared_ptr< grpc::ChannelCredentials > &creds, const grpc::ChannelArguments &args) |
ThreadPoolInterface * | CreateDefaultThreadPool () |
std::shared_ptr< Channel > | CreateTestChannel (const std::string &server, const std::string &cred_type, const std::string &override_hostname, bool use_prod_roots, const std::shared_ptr< CallCredentials > &creds, const ChannelArguments &args) |
std::shared_ptr< Channel > | CreateTestChannel (const std::string &server, const std::string &cred_type, const std::string &override_hostname, bool use_prod_roots, const std::shared_ptr< CallCredentials > &creds, const ChannelArguments &args, std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> interceptor_creators) |
std::shared_ptr< Channel > | CreateTestChannel (const std::string &server, const std::string &credential_type, const std::shared_ptr< CallCredentials > &creds) |
std::shared_ptr< Channel > | CreateTestChannel (const std::string &server, const std::string &credential_type, const std::shared_ptr< CallCredentials > &creds, std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> interceptor_creators) |
std::shared_ptr< Channel > | CreateTestChannel (const std::string &server, const std::string &override_hostname, testing::transport_security security_type, bool use_prod_roots) |
std::shared_ptr< Channel > | CreateTestChannel (const std::string &server, const std::string &override_hostname, testing::transport_security security_type, bool use_prod_roots, const std::shared_ptr< CallCredentials > &creds) |
std::shared_ptr< Channel > | CreateTestChannel (const std::string &server, const std::string &override_hostname, testing::transport_security security_type, bool use_prod_roots, const std::shared_ptr< CallCredentials > &creds, const ChannelArguments &args) |
std::shared_ptr< Channel > | CreateTestChannel (const std::string &server, const std::string &override_hostname, testing::transport_security security_type, bool use_prod_roots, const std::shared_ptr< CallCredentials > &creds, const ChannelArguments &args, std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> interceptor_creators) |
std::shared_ptr< Channel > | CreateTestChannel (const std::string &server, const std::string &override_hostname, testing::transport_security security_type, bool use_prod_roots, const std::shared_ptr< CallCredentials > &creds, std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> interceptor_creators) |
std::shared_ptr< Channel > | CreateTestChannel (const std::string &server, testing::transport_security security_type) |
std::shared_ptr< ChannelCredentials > | CronetChannelCredentials (void *engine) |
Credentials for a channel using Cronet. More... | |
bool | DefaultHealthCheckServiceEnabled () |
def | dynamic_ssl_server_credentials (initial_certificate_configuration, certificate_configuration_fetcher, require_client_authentication=False) |
void | EnableDefaultHealthCheckService (bool enable) |
EXPECT_EQ (grpc::StatusCode::INVALID_ARGUMENT, status.error_code()) | |
EXPECT_EQ (options.resource, "") | |
EXPECT_EQ (options.subject_token_path, "subject_token_path") | |
EXPECT_EQ (options.subject_token_type, "subject_token_type") | |
EXPECT_EQ (options.token_exchange_service_uri, "https://foo/exchange") | |
EXPECT_THAT (status.error_message(), ::testing::HasSubstr("subject_token_path")) | |
EXPECT_THAT (status.error_message(), ::testing::HasSubstr("subject_token_type")) | |
EXPECT_THAT (status.error_message(), ::testing::HasSubstr("token_exchange_service_uri")) | |
EXPECT_TRUE (status.ok()) | |
std::shared_ptr< CallCredentials > | ExternalAccountCredentials (const grpc::string &json_string, const std::vector< grpc::string > &scopes) |
grpc::Status | ExtractErrorDetails (const grpc::Status &, std::nullptr_t) |
template<typename T > | |
grpc::Status | ExtractErrorDetails (const grpc::Status &from, T *to) |
fclose (creds_file) | |
void | GenerateClientContext (absl::string_view method, CensusContext *ctxt, CensusContext *parent_ctxt) |
void | GenerateServerContext (absl::string_view tracing, absl::string_view method, CensusContext *context) |
template<class ProtoBufferReader , class T > | |
Status | GenericDeserialize (ByteBuffer *buffer, grpc::protobuf::MessageLite *msg) |
template<class ProtoBufferWriter , class T > | |
Status | GenericSerialize (const grpc::protobuf::MessageLite &msg, ByteBuffer *bb, bool *own_buffer) |
uint64_t | GetIncomingDataSize (const grpc_call_final_info *final_info) |
absl::string_view | GetMethod (const grpc_core::Slice &path) |
uint64_t | GetOutgoingDataSize (const grpc_call_final_info *final_info) |
::opencensus::trace::Span | GetSpanFromServerContext (ServerContext *context) |
std::shared_ptr< CallCredentials > | GoogleComputeEngineCredentials () |
std::shared_ptr< ChannelCredentials > | GoogleDefaultCredentials () |
std::shared_ptr< CallCredentials > | GoogleIAMCredentials (const grpc::string &authorization_token, const grpc::string &authority_selector) |
std::shared_ptr< CallCredentials > | GoogleIAMCredentials (const std::string &authorization_token, const std::string &authority_selector) |
std::shared_ptr< CallCredentials > | GoogleRefreshTokenCredentials (const grpc::string &json_refresh_token) |
std::shared_ptr< CallCredentials > | GoogleRefreshTokenCredentials (const std::string &json_refresh_token) |
gpr_free (creds_file_name) | |
gpr_setenv ("STS_CREDENTIALS", creds_file_name) | |
gpr_unsetenv ("STS_CREDENTIALS") | |
def | insecure_channel (target, options=None, compression=None) |
def | insecure_server_credentials () |
std::shared_ptr< ChannelCredentials > | InsecureChannelCredentials () |
Credentials for an unencrypted, unauthenticated channel. More... | |
std::shared_ptr< ServerCredentials > | InsecureServerCredentials () |
def | intercept_channel (channel, *interceptors) |
def | local_channel_credentials (local_connect_type=LocalConnectionType.LOCAL_TCP) |
def | local_server_credentials (local_connect_type=LocalConnectionType.LOCAL_TCP) |
std::unique_ptr< ServerBuilderOption > | MakeChannelArgumentOption (const std::string &name, const std::string &value) |
std::unique_ptr< ServerBuilderOption > | MakeChannelArgumentOption (const std::string &name, int value) |
static gpr_subprocess * | MakeProcess (const std::vector< std::string > &args) |
def | metadata_call_credentials (metadata_plugin, name=None) |
std::shared_ptr< CallCredentials > | MetadataCredentialsFromPlugin (std::unique_ptr< MetadataCredentialsPlugin > plugin) |
def | method_handlers_generic_handler (service, method_handlers) |
bool | operator!= (string_ref x, string_ref y) |
bool | operator< (string_ref x, string_ref y) |
std::ostream & | operator<< (std::ostream &out, const string_ref &string) |
bool | operator<= (string_ref x, string_ref y) |
bool | operator== (string_ref x, string_ref y) |
Comparison operators. More... | |
bool | operator> (string_ref x, string_ref y) |
bool | operator>= (string_ref x, string_ref y) |
static grpc_server_register_method_payload_handling | PayloadHandlingForMethod (grpc::internal::RpcServiceMethod *method) |
void | ProtoToCoreStats (const grpc::core::Stats &proto, grpc_stats_data *core) |
template<typename ChannelDataType , typename CallDataType > | |
void | RegisterChannelFilter (const char *name, grpc_channel_stack_type stack_type, int priority, std::function< bool(const grpc_channel_args &)> include_filter) |
void | RegisterOpenCensusPlugin () |
void | RegisterOpenCensusViewsForExport () |
::opencensus::stats::MeasureInt64 | RpcClientCompletedRpcs () |
MeasureDouble | RpcClientReceivedBytesPerRpc () |
MeasureInt64 | RpcClientReceivedMessagesPerRpc () |
MeasureInt64 | RpcClientRetriesPerCall () |
MeasureDouble | RpcClientRetryDelayPerCall () |
MeasureDouble | RpcClientRoundtripLatency () |
MeasureDouble | RpcClientSentBytesPerRpc () |
MeasureInt64 | RpcClientSentMessagesPerRpc () |
MeasureDouble | RpcClientServerLatency () |
MeasureInt64 | RpcClientTransparentRetriesPerCall () |
::opencensus::stats::MeasureInt64 | RpcServerCompletedRpcs () |
MeasureDouble | RpcServerReceivedBytesPerRpc () |
MeasureInt64 | RpcServerReceivedMessagesPerRpc () |
MeasureDouble | RpcServerSentBytesPerRpc () |
MeasureInt64 | RpcServerSentMessagesPerRpc () |
MeasureDouble | RpcServerServerLatency () |
def | secure_channel (target, credentials, options=None, compression=None) |
def | server (thread_pool, handlers=None, interceptors=None, options=None, maximum_concurrent_rpcs=None, compression=None, xds=False) |
const ::opencensus::stats::ViewDescriptor & | ServerCompletedRpcsCumulative () |
const ::opencensus::stats::ViewDescriptor & | ServerCompletedRpcsHour () |
const ::opencensus::stats::ViewDescriptor & | ServerCompletedRpcsMinute () |
::opencensus::tags::TagKey | ServerMethodTagKey () |
const ::opencensus::stats::ViewDescriptor & | ServerReceivedBytesPerRpcCumulative () |
const ::opencensus::stats::ViewDescriptor & | ServerReceivedBytesPerRpcHour () |
const ::opencensus::stats::ViewDescriptor & | ServerReceivedBytesPerRpcMinute () |
const ::opencensus::stats::ViewDescriptor & | ServerReceivedMessagesPerRpcCumulative () |
const ::opencensus::stats::ViewDescriptor & | ServerReceivedMessagesPerRpcHour () |
const ::opencensus::stats::ViewDescriptor & | ServerReceivedMessagesPerRpcMinute () |
const ::opencensus::stats::ViewDescriptor & | ServerSentBytesPerRpcCumulative () |
const ::opencensus::stats::ViewDescriptor & | ServerSentBytesPerRpcHour () |
const ::opencensus::stats::ViewDescriptor & | ServerSentBytesPerRpcMinute () |
const ::opencensus::stats::ViewDescriptor & | ServerSentMessagesPerRpcCumulative () |
const ::opencensus::stats::ViewDescriptor & | ServerSentMessagesPerRpcHour () |
const ::opencensus::stats::ViewDescriptor & | ServerSentMessagesPerRpcMinute () |
const ::opencensus::stats::ViewDescriptor & | ServerServerLatencyCumulative () |
const ::opencensus::stats::ViewDescriptor & | ServerServerLatencyHour () |
const ::opencensus::stats::ViewDescriptor & | ServerServerLatencyMinute () |
const ::opencensus::stats::ViewDescriptor & | ServerStartedCountCumulative () |
const ::opencensus::stats::ViewDescriptor & | ServerStartedCountHour () |
size_t | ServerStatsDeserialize (const char *buf, size_t buf_size, uint64_t *server_elapsed_time) |
size_t | ServerStatsSerialize (uint64_t server_elapsed_time, char *buf, size_t buf_size) |
::opencensus::tags::TagKey | ServerStatusTagKey () |
std::shared_ptr< CallCredentials > | ServiceAccountJWTAccessCredentials (const grpc::string &json_key, long token_lifetime_seconds=kMaxAuthTokenLifetimeSecs) |
std::shared_ptr< CallCredentials > | ServiceAccountJWTAccessCredentials (const std::string &json_key, long token_lifetime_seconds) |
void | SetCreateThreadPool (CreateThreadPoolFunc func) |
template<typename T > | |
grpc::Status | SetErrorDetails (const T &from, grpc::Status *to) |
grpc_slice | SliceFromCopiedString (const std::string &str) |
grpc_slice | SliceReferencingString (const std::string &str) |
SpanContext | SpanContextFromCensusContext (const census_context *ctxt) |
Span | SpanFromCensusContext (const census_context *ctxt) |
def | ssl_channel_credentials (root_certificates=None, private_key=None, certificate_chain=None) |
def | ssl_server_certificate_configuration (private_key_certificate_chain_pairs, root_certificates=None) |
def | ssl_server_credentials (private_key_certificate_chain_pairs, root_certificates=None, require_client_auth=False) |
std::shared_ptr< ChannelCredentials > | SslCredentials (const SslCredentialsOptions &options) |
Builds SSL Credentials given SSL specific options. More... | |
std::shared_ptr< ServerCredentials > | SslServerCredentials (const grpc::SslServerCredentialsOptions &options) |
Builds SSL ServerCredentials given SSL specific options. More... | |
size_t | StatsContextSerialize (size_t, grpc_slice *) |
absl::string_view | StatusCodeToString (grpc_status_code code) |
def | stream_stream_rpc_method_handler (behavior, request_deserializer=None, response_serializer=None) |
def | stream_unary_rpc_method_handler (behavior, request_deserializer=None, response_serializer=None) |
std::string | StringFromCopiedSlice (grpc_slice slice) |
grpc::string_ref | StringRefFromSlice (const grpc_slice *slice) |
TEST (AuthorizationPolicyProviderTest, FileWatcherCreateReturnsErrorStatus) | |
TEST (AuthorizationPolicyProviderTest, FileWatcherCreateReturnsProvider) | |
TEST (AuthorizationPolicyProviderTest, StaticDataCreateReturnsErrorStatus) | |
TEST (AuthorizationPolicyProviderTest, StaticDataCreateReturnsProvider) | |
TEST (CredentialsTest, StsCredentialsOptionsFromEnv) | |
void | Timepoint2Timespec (const std::chrono::system_clock::time_point &from, gpr_timespec *to) |
void | Timepoint2Timespec (const system_clock::time_point &from, gpr_timespec *to) |
void | TimepointHR2Timespec (const high_resolution_clock::time_point &from, gpr_timespec *to) |
void | TimepointHR2Timespec (const std::chrono::high_resolution_clock::time_point &from, gpr_timespec *to) |
std::chrono::system_clock::time_point | Timespec2Timepoint (gpr_timespec t) |
size_t | TraceContextSerialize (const ::opencensus::trace::SpanContext &context, char *tracing_buf, size_t tracing_buf_size) |
def | unary_stream_rpc_method_handler (behavior, request_deserializer=None, response_serializer=None) |
def | unary_unary_rpc_method_handler (behavior, request_deserializer=None, response_serializer=None) |
std::string | Version () |
Return gRPC library version. More... | |
def | xds_channel_credentials (fallback_credentials=None) |
def | xds_server_credentials (fallback_credentials) |
std::shared_ptr< ChannelCredentials > | XdsCredentials (const std::shared_ptr< ChannelCredentials > &fallback_creds) |
Builds XDS Credentials. More... | |
std::shared_ptr< ServerCredentials > | XdsServerCredentials (const std::shared_ptr< ServerCredentials > &fallback_credentials) |
Builds Xds ServerCredentials given fallback credentials. More... | |
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided function on expiry or cancellation.
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInputStream interface
This header provides an object that writes bytes directly into a grpc::ByteBuffer, via the ZeroCopyOutputStream interface
This header provides serialization and deserialization between gRPC messages serialized using protobuf and the C++ objects they represent.
An interface to define filters.
To define a filter, implement a subclass of each of CallData
and ChannelData
. Then register the filter using something like this:
typedef std::pair<string_ref, string_ref> grpc::AuthProperty |
Definition at line 35 of file grpcpp/impl/codegen/security/auth_context.h.
typedef ThreadPoolInterface*(* grpc::CreateThreadPoolFunc) (void) |
Definition at line 36 of file thread_pool_interface.h.
Definition at line 35 of file grpcpp/generic/generic_stub.h.
Definition at line 39 of file grpcpp/generic/generic_stub.h.
Definition at line 38 of file grpcpp/impl/codegen/async_generic_service.h.
Definition at line 36 of file grpcpp/impl/codegen/async_generic_service.h.
Definition at line 37 of file grpcpp/impl/codegen/async_generic_service.h.
Definition at line 39 of file grpcpp/impl/codegen/async_generic_service.h.
Definition at line 171 of file grpcpp/generic/generic_stub.h.
using grpc::ServerGenericBidiReactor = typedef ServerBidiReactor<ByteBuffer, ByteBuffer> |
ServerGenericBidiReactor is the reactor class for bidi streaming RPCs invoked on a CallbackGenericService. It is just a ServerBidi reactor with ByteBuffer arguments.
Definition at line 87 of file grpcpp/impl/codegen/async_generic_service.h.
enum grpc::StatusCode |
Enumerator | |
---|---|
OK | Not an error; returned on success. |
CANCELLED | The operation was cancelled (typically by the caller). |
UNKNOWN | Unknown error. An example of where this error may be returned is if a Status value received from another address space belongs to an error-space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. |
INVALID_ARGUMENT | Client specified an invalid argument. Note that this differs from FAILED_PRECONDITION. INVALID_ARGUMENT indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). |
DEADLINE_EXCEEDED | Deadline expired before operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. |
NOT_FOUND | Some requested entity (e.g., file or directory) was not found. |
ALREADY_EXISTS | Some entity that we attempted to create (e.g., file or directory) already exists. |
PERMISSION_DENIED | The caller does not have permission to execute the specified operation. PERMISSION_DENIED must not be used for rejections caused by exhausting some resource (use RESOURCE_EXHAUSTED instead for those errors). PERMISSION_DENIED must not be used if the caller can not be identified (use UNAUTHENTICATED instead for those errors). |
UNAUTHENTICATED | The request does not have valid authentication credentials for the operation. |
RESOURCE_EXHAUSTED | Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. |
FAILED_PRECONDITION | Operation was rejected because the system is not in a state required for the operation's execution. For example, directory to be deleted may be non-empty, an rmdir operation is applied to a non-directory, etc. A litmus test that may help a service implementor in deciding between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE: (a) Use UNAVAILABLE if the client can retry just the failing call. (b) Use ABORTED if the client should retry at a higher-level (e.g., restarting a read-modify-write sequence). (c) Use FAILED_PRECONDITION if the client should not retry until the system state has been explicitly fixed. E.g., if an "rmdir" fails because the directory is non-empty, FAILED_PRECONDITION should be returned since the client should not retry unless they have first fixed up the directory by deleting files from it. (d) Use FAILED_PRECONDITION if the client performs conditional REST Get/Update/Delete on a resource and the resource on the server does not match the condition. E.g., conflicting read-modify-write on the same resource. |
ABORTED | The operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc. See litmus test above for deciding between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE. |
OUT_OF_RANGE | Operation was attempted past the valid range. E.g., seeking or reading past end of file. Unlike INVALID_ARGUMENT, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate INVALID_ARGUMENT if asked to read at an offset that is not in the range [0,2^32-1], but it will generate OUT_OF_RANGE if asked to read from an offset past the current file size. There is a fair bit of overlap between FAILED_PRECONDITION and OUT_OF_RANGE. We recommend using OUT_OF_RANGE (the more specific error) when it applies so that callers who are iterating through a space can easily look for an OUT_OF_RANGE error to detect when they are done. |
UNIMPLEMENTED | Operation is not implemented or not supported/enabled in this service. |
INTERNAL | Internal errors. Means some invariants expected by underlying System has been broken. If you see one of these errors, Something is very broken. |
UNAVAILABLE | The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations.
See litmus test above for deciding between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE. |
DATA_LOSS | Unrecoverable data loss or corruption. |
DO_NOT_USE | Force users to include a default branch: |
Definition at line 26 of file grpcpp/impl/codegen/status_code_enum.h.
|
private |
Definition at line 2076 of file src/python/grpcio/grpc/__init__.py.
def grpc.access_token_call_credentials | ( | access_token | ) |
Construct CallCredentials from an access token. Args: access_token: A string to place directly in the http request authorization header, for example "authorization: Bearer <access_token>". Returns: A CallCredentials.
Definition at line 1659 of file src/python/grpcio/grpc/__init__.py.
std::shared_ptr<CallCredentials> grpc::AccessTokenCredentials | ( | const grpc::string & | access_token | ) |
Builds access token credentials. access_token is an oauth2 access token that was fetched using an out of band mechanism.
std::shared_ptr<CallCredentials> grpc::AccessTokenCredentials | ( | const std::string & | access_token | ) |
Definition at line 355 of file secure_credentials.cc.
void grpc::AddAdminServices | ( | grpc::ServerBuilder * | builder | ) |
Definition at line 41 of file admin_services.cc.
def grpc.alts_channel_credentials | ( | service_accounts = None | ) |
Creates a ChannelCredentials for use with an ALTS-enabled Channel. This is an EXPERIMENTAL API. ALTS credentials API can only be used in GCP environment as it relies on handshaker service being available. For more info about ALTS see https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security Args: service_accounts: A list of server identities accepted by the client. If target service accounts are provided and none of them matches the peer identity of the server, handshake will fail. The arg can be empty if the client does not have any information about trusted server identity. Returns: A ChannelCredentials for use with an ALTS-enabled Channel
Definition at line 1893 of file src/python/grpcio/grpc/__init__.py.
def grpc.alts_server_credentials | ( | ) |
Creates a ServerCredentials for use with an ALTS-enabled connection. This is an EXPERIMENTAL API. ALTS credentials API can only be used in GCP environment as it relies on handshaker service being available. For more info about ALTS see https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security Returns: A ServerCredentials for use with an ALTS-enabled Server
Definition at line 1914 of file src/python/grpcio/grpc/__init__.py.
grpc::ASSERT_EQ | ( | sizeof(valid_json) | , |
fwrite(valid_json, 1, sizeof(valid_json), creds_file) | |||
) |
grpc::ASSERT_NE | ( | creds_file | , |
nullptr | |||
) |
grpc::ASSERT_NE | ( | creds_file_name | , |
nullptr | |||
) |
def grpc.channel_ready_future | ( | channel | ) |
Creates a Future that tracks when a Channel is ready. Cancelling the Future does not affect the channel's state machine. It merely decouples the Future from channel state machine. Args: channel: A Channel object. Returns: A Future object that matures when the channel connectivity is ChannelConnectivity.READY.
Definition at line 1945 of file src/python/grpcio/grpc/__init__.py.
const ViewDescriptor & grpc::ClientCompletedRpcsCumulative | ( | ) |
opencensus::tags::TagKey grpc::ClientMethodTagKey | ( | ) |
Definition at line 80 of file grpc_plugin.cc.
const ViewDescriptor & grpc::ClientReceivedBytesPerRpcCumulative | ( | ) |
const ViewDescriptor & grpc::ClientReceivedBytesPerRpcHour | ( | ) |
const ViewDescriptor & grpc::ClientReceivedBytesPerRpcMinute | ( | ) |
const ViewDescriptor & grpc::ClientReceivedMessagesPerRpcCumulative | ( | ) |
const ViewDescriptor & grpc::ClientReceivedMessagesPerRpcHour | ( | ) |
const ViewDescriptor & grpc::ClientReceivedMessagesPerRpcMinute | ( | ) |
const ViewDescriptor & grpc::ClientRetriesPerCallCumulative | ( | ) |
const ViewDescriptor & grpc::ClientRetriesPerCallMinute | ( | ) |
const ViewDescriptor & grpc::ClientRetryDelayPerCallCumulative | ( | ) |
const ViewDescriptor & grpc::ClientRetryDelayPerCallHour | ( | ) |
const ViewDescriptor & grpc::ClientRetryDelayPerCallMinute | ( | ) |
const ViewDescriptor & grpc::ClientRoundtripLatencyCumulative | ( | ) |
const ViewDescriptor & grpc::ClientRoundtripLatencyHour | ( | ) |
const ViewDescriptor & grpc::ClientRoundtripLatencyMinute | ( | ) |
const ViewDescriptor & grpc::ClientSentBytesPerRpcCumulative | ( | ) |
const ViewDescriptor & grpc::ClientSentBytesPerRpcMinute | ( | ) |
const ViewDescriptor & grpc::ClientSentMessagesPerRpcCumulative | ( | ) |
const ViewDescriptor & grpc::ClientSentMessagesPerRpcHour | ( | ) |
const ViewDescriptor & grpc::ClientSentMessagesPerRpcMinute | ( | ) |
const ViewDescriptor & grpc::ClientServerLatencyCumulative | ( | ) |
opencensus::tags::TagKey grpc::ClientStatusTagKey | ( | ) |
Definition at line 86 of file grpc_plugin.cc.
const ViewDescriptor & grpc::ClientTransparentRetriesCumulative | ( | ) |
const ViewDescriptor & grpc::ClientTransparentRetriesHour | ( | ) |
const ViewDescriptor & grpc::ClientTransparentRetriesMinute | ( | ) |
const ViewDescriptor & grpc::ClientTransparentRetriesPerCallCumulative | ( | ) |
const ViewDescriptor & grpc::ClientTransparentRetriesPerCallHour | ( | ) |
const ViewDescriptor & grpc::ClientTransparentRetriesPerCallMinute | ( | ) |
def grpc.composite_call_credentials | ( | * | call_credentials | ) |
Compose multiple CallCredentials to make a new CallCredentials. Args: *call_credentials: At least two CallCredentials objects. Returns: A CallCredentials object composed of the given CallCredentials objects.
Definition at line 1676 of file src/python/grpcio/grpc/__init__.py.
def grpc.composite_channel_credentials | ( | channel_credentials, | |
* | call_credentials | ||
) |
Compose a ChannelCredentials and one or more CallCredentials objects. Args: channel_credentials: A ChannelCredentials object. *call_credentials: One or more CallCredentials objects. Returns: A ChannelCredentials composed of the given ChannelCredentials and CallCredentials objects.
Definition at line 1691 of file src/python/grpcio/grpc/__init__.py.
std::shared_ptr< CallCredentials > grpc::CompositeCallCredentials | ( | const std::shared_ptr< CallCredentials > & | creds1, |
const std::shared_ptr< CallCredentials > & | creds2 | ||
) |
Combines two call credentials objects into a composite call credentials.
Definition at line 392 of file secure_credentials.cc.
std::shared_ptr< ChannelCredentials > grpc::CompositeChannelCredentials | ( | const std::shared_ptr< ChannelCredentials > & | channel_creds, |
const std::shared_ptr< CallCredentials > & | call_creds | ||
) |
Combines a channel credentials and a call credentials into a composite channel credentials.
Definition at line 373 of file secure_credentials.cc.
def grpc.compute_engine_channel_credentials | ( | call_credentials | ) |
Creates a compute engine channel credential. This credential can only be used in a GCP environment as it relies on a handshaker service. For more info about ALTS, see https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security This channel credential is expected to be used as part of a composite credential in conjunction with a call credentials that authenticates the VM's default service account. If used with any other sort of call credential, the connection may suddenly and unexpectedly begin failing RPCs.
Definition at line 1928 of file src/python/grpcio/grpc/__init__.py.
void grpc::CoreStatsToProto | ( | const grpc_stats_data & | core, |
grpc::core::Stats * | proto | ||
) |
void grpc::CoreStatsToProto | ( | const grpc_stats_data & | core, |
Stats * | proto | ||
) |
Definition at line 39 of file core_stats.cc.
std::shared_ptr< const AuthContext > grpc::CreateAuthContext | ( | grpc_call * | call | ) |
Definition at line 25 of file insecure_create_auth_context.cc.
std::shared_ptr<Channel> grpc::CreateChannel | ( | const grpc::string & | target, |
const std::shared_ptr< ChannelCredentials > & | creds | ||
) |
Create a new Channel pointing to target.
target | The URI of the endpoint to connect to. |
creds | Credentials to use for the created channel. If it does not hold an object or is invalid, a lame channel (one on which all operations fail) is returned. |
std::shared_ptr<grpc::Channel> grpc::CreateChannel | ( | const grpc::string & | target, |
const std::shared_ptr< grpc::ChannelCredentials > & | creds | ||
) |
Definition at line 37 of file create_channel.cc.
std::shared_ptr<Channel> grpc::CreateChannelInternal | ( | const std::string & | host, |
grpc_channel * | c_channel, | ||
std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> | interceptor_creators | ||
) |
std::shared_ptr< Channel > grpc::CreateChannelInternal | ( | const std::string & | host, |
grpc_channel * | c_channel, | ||
std::vector< std::unique_ptr< grpc::experimental::ClientInterceptorFactoryInterface >> | interceptor_creators | ||
) |
Definition at line 30 of file create_channel_internal.cc.
std::shared_ptr<Channel> grpc::CreateCustomChannel | ( | const grpc::string & | target, |
const std::shared_ptr< ChannelCredentials > & | creds, | ||
const ChannelArguments & | args | ||
) |
Create a new custom Channel pointing to target.
target | The URI of the endpoint to connect to. |
creds | Credentials to use for the created channel. If it does not hold an object or is invalid, a lame channel (one on which all operations fail) is returned. |
args | Options for channel creation. |
std::shared_ptr< grpc::Channel > grpc::CreateCustomChannel | ( | const grpc::string & | target, |
const std::shared_ptr< grpc::ChannelCredentials > & | creds, | ||
const grpc::ChannelArguments & | args | ||
) |
Definition at line 43 of file create_channel.cc.
ThreadPoolInterface * grpc::CreateDefaultThreadPool | ( | ) |
Definition at line 39 of file create_default_thread_pool.cc.
std::shared_ptr< Channel > grpc::CreateTestChannel | ( | const std::string & | server, |
const std::string & | cred_type, | ||
const std::string & | override_hostname, | ||
bool | use_prod_roots, | ||
const std::shared_ptr< CallCredentials > & | creds, | ||
const ChannelArguments & | args | ||
) |
Definition at line 88 of file create_test_channel.cc.
std::shared_ptr< Channel > grpc::CreateTestChannel | ( | const std::string & | server, |
const std::string & | cred_type, | ||
const std::string & | override_hostname, | ||
bool | use_prod_roots, | ||
const std::shared_ptr< CallCredentials > & | creds, | ||
const ChannelArguments & | args, | ||
std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> | interceptor_creators | ||
) |
Definition at line 144 of file create_test_channel.cc.
std::shared_ptr< Channel > grpc::CreateTestChannel | ( | const std::string & | server, |
const std::string & | credential_type, | ||
const std::shared_ptr< CallCredentials > & | creds | ||
) |
Definition at line 129 of file create_test_channel.cc.
std::shared_ptr< Channel > grpc::CreateTestChannel | ( | const std::string & | server, |
const std::string & | credential_type, | ||
const std::shared_ptr< CallCredentials > & | creds, | ||
std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> | interceptor_creators | ||
) |
Definition at line 232 of file create_test_channel.cc.
std::shared_ptr< Channel > grpc::CreateTestChannel | ( | const std::string & | server, |
const std::string & | override_hostname, | ||
testing::transport_security | security_type, | ||
bool | use_prod_roots | ||
) |
Definition at line 116 of file create_test_channel.cc.
std::shared_ptr< Channel > grpc::CreateTestChannel | ( | const std::string & | server, |
const std::string & | override_hostname, | ||
testing::transport_security | security_type, | ||
bool | use_prod_roots, | ||
const std::shared_ptr< CallCredentials > & | creds | ||
) |
Definition at line 108 of file create_test_channel.cc.
std::shared_ptr< Channel > grpc::CreateTestChannel | ( | const std::string & | server, |
const std::string & | override_hostname, | ||
testing::transport_security | security_type, | ||
bool | use_prod_roots, | ||
const std::shared_ptr< CallCredentials > & | creds, | ||
const ChannelArguments & | args | ||
) |
Definition at line 98 of file create_test_channel.cc.
std::shared_ptr< Channel > grpc::CreateTestChannel | ( | const std::string & | server, |
const std::string & | override_hostname, | ||
testing::transport_security | security_type, | ||
bool | use_prod_roots, | ||
const std::shared_ptr< CallCredentials > & | creds, | ||
const ChannelArguments & | args, | ||
std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> | interceptor_creators | ||
) |
Definition at line 203 of file create_test_channel.cc.
std::shared_ptr< Channel > grpc::CreateTestChannel | ( | const std::string & | server, |
const std::string & | override_hostname, | ||
testing::transport_security | security_type, | ||
bool | use_prod_roots, | ||
const std::shared_ptr< CallCredentials > & | creds, | ||
std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> | interceptor_creators | ||
) |
Definition at line 220 of file create_test_channel.cc.
std::shared_ptr< Channel > grpc::CreateTestChannel | ( | const std::string & | server, |
testing::transport_security | security_type | ||
) |
Definition at line 124 of file create_test_channel.cc.
std::shared_ptr< ChannelCredentials > grpc::CronetChannelCredentials | ( | void * | engine | ) |
Credentials for a channel using Cronet.
Definition at line 59 of file cronet_credentials.cc.
bool grpc::DefaultHealthCheckServiceEnabled | ( | ) |
Returns whether the default health checking service is enabled. NOT thread safe.
Definition at line 26 of file health_check_service.cc.
def grpc.dynamic_ssl_server_credentials | ( | initial_certificate_configuration, | |
certificate_configuration_fetcher, | |||
require_client_authentication = False |
|||
) |
Creates a ServerCredentials for use with an SSL-enabled Server. Args: initial_certificate_configuration (ServerCertificateConfiguration): The certificate configuration with which the server will be initialized. certificate_configuration_fetcher (callable): A callable that takes no arguments and should return a ServerCertificateConfiguration to replace the server's current certificate, or None for no change (i.e., the server will continue its current certificate config). The library will call this callback on *every* new client connection before starting the TLS handshake with the client, thus allowing the user application to optionally return a new ServerCertificateConfiguration that the server will then use for the handshake. require_client_authentication: A boolean indicating whether or not to require clients to be authenticated. Returns: A ServerCredentials.
Definition at line 1792 of file src/python/grpcio/grpc/__init__.py.
void grpc::EnableDefaultHealthCheckService | ( | bool | enable | ) |
Enable/disable the default health checking service. This applies to all C++ servers created afterwards. For each server, user can override the default with a HealthCheckServiceServerBuilderOption. NOT thread safe.
Definition at line 30 of file health_check_service.cc.
grpc::EXPECT_EQ | ( | grpc::StatusCode::INVALID_ARGUMENT | , |
status. | error_code() | ||
) |
grpc::EXPECT_EQ | ( | options. | resource, |
"" | |||
) |
grpc::EXPECT_EQ | ( | options. | subject_token_path, |
"subject_token_path" | |||
) |
grpc::EXPECT_EQ | ( | options. | subject_token_type, |
"subject_token_type" | |||
) |
grpc::EXPECT_EQ | ( | options. | token_exchange_service_uri, |
"https://foo/exchange" | |||
) |
grpc::EXPECT_THAT | ( | status. | error_message(), |
::testing::HasSubstr("subject_token_path") | |||
) |
grpc::EXPECT_THAT | ( | status. | error_message(), |
::testing::HasSubstr("subject_token_type") | |||
) |
grpc::EXPECT_THAT | ( | status. | error_message(), |
::testing::HasSubstr("token_exchange_service_uri") | |||
) |
grpc::EXPECT_TRUE | ( | status. | ok() | ) |
std::shared_ptr< CallCredentials > grpc::ExternalAccountCredentials | ( | const grpc::string & | json_string, |
const std::vector< grpc::string > & | scopes | ||
) |
Builds External Account credentials. json_string is the JSON string containing the credentials options. scopes contains the scopes to be binded with the credentials.
Definition at line 121 of file secure_credentials.cc.
|
inline |
Definition at line 47 of file grpcpp/support/error_details.h.
grpc::Status grpc::ExtractErrorDetails | ( | const grpc::Status & | from, |
T * | to | ||
) |
Map a grpc::Status to a google::rpc::Status. The given to object will be cleared. On success, returns status with OK. Returns status with INVALID_ARGUMENT, if failed to deserialize. Returns status with FAILED_PRECONDITION, if to is nullptr.
T | is of type google::rpc::Status, which is defined at https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto |
Definition at line 38 of file grpcpp/support/error_details.h.
grpc::fclose | ( | creds_file | ) |
void grpc::GenerateClientContext | ( | absl::string_view | method, |
CensusContext * | ctxt, | ||
CensusContext * | parent_ctxt | ||
) |
Definition at line 52 of file context.cc.
void grpc::GenerateServerContext | ( | absl::string_view | tracing, |
absl::string_view | method, | ||
CensusContext * | context | ||
) |
Definition at line 38 of file context.cc.
Status grpc::GenericDeserialize | ( | ByteBuffer * | buffer, |
grpc::protobuf::MessageLite * | msg | ||
) |
Definition at line 73 of file grpcpp/impl/codegen/proto_utils.h.
Status grpc::GenericSerialize | ( | const grpc::protobuf::MessageLite & | msg, |
ByteBuffer * | bb, | ||
bool * | own_buffer | ||
) |
Definition at line 47 of file grpcpp/impl/codegen/proto_utils.h.
uint64_t grpc::GetIncomingDataSize | ( | const grpc_call_final_info * | final_info | ) |
Definition at line 103 of file context.cc.
|
inline |
Definition at line 126 of file cpp/ext/filters/census/context.h.
uint64_t grpc::GetOutgoingDataSize | ( | const grpc_call_final_info * | final_info | ) |
Definition at line 107 of file context.cc.
opencensus::trace::Span grpc::GetSpanFromServerContext | ( | grpc::ServerContext * | context | ) |
Definition at line 69 of file grpc_plugin.cc.
std::shared_ptr< CallCredentials > grpc::GoogleComputeEngineCredentials | ( | ) |
Builds credentials for use when running in GCE
Definition at line 325 of file secure_credentials.cc.
std::shared_ptr< ChannelCredentials > grpc::GoogleDefaultCredentials | ( | ) |
Builds credentials with reasonable defaults.
Definition at line 115 of file secure_credentials.cc.
std::shared_ptr<CallCredentials> grpc::GoogleIAMCredentials | ( | const grpc::string & | authorization_token, |
const grpc::string & | authority_selector | ||
) |
Builds IAM credentials.
std::shared_ptr<CallCredentials> grpc::GoogleIAMCredentials | ( | const std::string & | authorization_token, |
const std::string & | authority_selector | ||
) |
Definition at line 363 of file secure_credentials.cc.
std::shared_ptr<CallCredentials> grpc::GoogleRefreshTokenCredentials | ( | const grpc::string & | json_refresh_token | ) |
Builds refresh token credentials. json_refresh_token is the JSON string containing the refresh token along with a client_id and client_secret.
std::shared_ptr<CallCredentials> grpc::GoogleRefreshTokenCredentials | ( | const std::string & | json_refresh_token | ) |
Definition at line 347 of file secure_credentials.cc.
grpc::gpr_free | ( | creds_file_name | ) |
grpc::gpr_setenv | ( | "STS_CREDENTIALS" | , |
creds_file_name | |||
) |
grpc::gpr_unsetenv | ( | "STS_CREDENTIALS" | ) |
def grpc.insecure_channel | ( | target, | |
options = None , |
|||
compression = None |
|||
) |
Creates an insecure Channel to a server. The returned Channel is thread-safe. Args: target: The server address options: An optional list of key-value pairs (:term:`channel_arguments` in gRPC Core runtime) to configure the channel. compression: An optional value indicating the compression method to be used over the lifetime of the channel. This is an EXPERIMENTAL option. Returns: A Channel.
Definition at line 1962 of file src/python/grpcio/grpc/__init__.py.
def grpc.insecure_server_credentials | ( | ) |
Creates a credentials object directing the server to use no credentials. This is an EXPERIMENTAL API. This object cannot be used directly in a call to `add_secure_port`. Instead, it should be used to construct other credentials objects, e.g. with xds_server_credentials.
Definition at line 1755 of file src/python/grpcio/grpc/__init__.py.
std::shared_ptr< ChannelCredentials > grpc::InsecureChannelCredentials | ( | ) |
Credentials for an unencrypted, unauthenticated channel.
Definition at line 69 of file cpp/client/insecure_credentials.cc.
std::shared_ptr< ServerCredentials > grpc::InsecureServerCredentials | ( | ) |
Definition at line 52 of file insecure_server_credentials.cc.
def grpc.intercept_channel | ( | channel, | |
* | interceptors | ||
) |
Intercepts a channel through a set of interceptors. Args: channel: A Channel. interceptors: Zero or more objects of type UnaryUnaryClientInterceptor, UnaryStreamClientInterceptor, StreamUnaryClientInterceptor, or StreamStreamClientInterceptor. Interceptors are given control in the order they are listed. Returns: A Channel that intercepts each invocation via the provided interceptors. Raises: TypeError: If interceptor does not derive from any of UnaryUnaryClientInterceptor, UnaryStreamClientInterceptor, StreamUnaryClientInterceptor, or StreamStreamClientInterceptor.
Definition at line 2008 of file src/python/grpcio/grpc/__init__.py.
def grpc.local_channel_credentials | ( | local_connect_type = LocalConnectionType.LOCAL_TCP | ) |
Creates a local ChannelCredentials used for local connections. This is an EXPERIMENTAL API. Local credentials are used by local TCP endpoints (e.g. localhost:10000) also UDS connections. The connections created by local channel credentials are not encrypted, but will be checked if they are local or not. The UDS connections are considered secure by providing peer authentication and data confidentiality while TCP connections are considered insecure. It is allowed to transmit call credentials over connections created by local channel credentials. Local channel credentials are useful for 1) eliminating insecure_channel usage; 2) enable unit testing for call credentials without setting up secrets. Args: local_connect_type: Local connection type (either grpc.LocalConnectionType.UDS or grpc.LocalConnectionType.LOCAL_TCP) Returns: A ChannelCredentials for use with a local Channel
Definition at line 1833 of file src/python/grpcio/grpc/__init__.py.
def grpc.local_server_credentials | ( | local_connect_type = LocalConnectionType.LOCAL_TCP | ) |
Creates a local ServerCredentials used for local connections. This is an EXPERIMENTAL API. Local credentials are used by local TCP endpoints (e.g. localhost:10000) also UDS connections. The connections created by local server credentials are not encrypted, but will be checked if they are local or not. The UDS connections are considered secure by providing peer authentication and data confidentiality while TCP connections are considered insecure. It is allowed to transmit call credentials over connections created by local server credentials. Local server credentials are useful for 1) eliminating insecure_channel usage; 2) enable unit testing for call credentials without setting up secrets. Args: local_connect_type: Local connection type (either grpc.LocalConnectionType.UDS or grpc.LocalConnectionType.LOCAL_TCP) Returns: A ServerCredentials for use with a local Server
Definition at line 1863 of file src/python/grpcio/grpc/__init__.py.
std::unique_ptr< ServerBuilderOption > grpc::MakeChannelArgumentOption | ( | const std::string & | name, |
const std::string & | value | ||
) |
Definition at line 31 of file channel_argument_option.cc.
std::unique_ptr< ServerBuilderOption > grpc::MakeChannelArgumentOption | ( | const std::string & | name, |
int | value | ||
) |
Definition at line 52 of file channel_argument_option.cc.
|
static |
Definition at line 27 of file test/cpp/util/subprocess.cc.
def grpc.metadata_call_credentials | ( | metadata_plugin, | |
name = None |
|||
) |
Construct CallCredentials from an AuthMetadataPlugin. Args: metadata_plugin: An AuthMetadataPlugin to use for authentication. name: An optional name for the plugin. Returns: A CallCredentials.
Definition at line 1644 of file src/python/grpcio/grpc/__init__.py.
std::shared_ptr< CallCredentials > grpc::MetadataCredentialsFromPlugin | ( | std::unique_ptr< MetadataCredentialsPlugin > | plugin | ) |
Definition at line 404 of file secure_credentials.cc.
def grpc.method_handlers_generic_handler | ( | service, | |
method_handlers | |||
) |
Creates a GenericRpcHandler from RpcMethodHandlers. Args: service: The name of the service that is implemented by the method_handlers. method_handlers: A dictionary that maps method names to corresponding RpcMethodHandler. Returns: A GenericRpcHandler. This is typically added to the grpc.Server object with add_generic_rpc_handlers() before starting the server.
Definition at line 1590 of file src/python/grpcio/grpc/__init__.py.
|
inline |
Definition at line 139 of file grpcpp/impl/codegen/string_ref.h.
|
inline |
Definition at line 140 of file grpcpp/impl/codegen/string_ref.h.
|
inline |
Definition at line 145 of file grpcpp/impl/codegen/string_ref.h.
|
inline |
Definition at line 141 of file grpcpp/impl/codegen/string_ref.h.
|
inline |
Comparison operators.
Definition at line 138 of file grpcpp/impl/codegen/string_ref.h.
|
inline |
Definition at line 142 of file grpcpp/impl/codegen/string_ref.h.
|
inline |
Definition at line 143 of file grpcpp/impl/codegen/string_ref.h.
|
static |
Definition at line 1013 of file server_cc.cc.
void grpc::ProtoToCoreStats | ( | const grpc::core::Stats & | proto, |
grpc_stats_data * | core | ||
) |
Definition at line 57 of file core_stats.cc.
void grpc::RegisterChannelFilter | ( | const char * | name, |
grpc_channel_stack_type | stack_type, | ||
int | priority, | ||
std::function< bool(const grpc_channel_args &)> | include_filter | ||
) |
Registers a new filter. Must be called by only one thread at a time. The include_filter argument specifies a function that will be called to determine at run-time whether or not to add the filter. If the value is nullptr, the filter will be added unconditionally. If the channel stack type is GRPC_CLIENT_SUBCHANNEL, the caller should ensure that subchannels with different filter lists will always have different channel args. This requires setting a channel arg in case the registration function relies on some condition other than channel args to decide whether to add a filter or not.
Definition at line 339 of file common/channel_filter.h.
void grpc::RegisterOpenCensusPlugin | ( | ) |
Definition at line 42 of file grpc_plugin.cc.
::opencensus::stats::MeasureInt64 grpc::RpcClientCompletedRpcs | ( | ) |
opencensus::stats::MeasureDouble grpc::RpcClientReceivedBytesPerRpc | ( | ) |
Definition at line 53 of file measures.cc.
opencensus::stats::MeasureInt64 grpc::RpcClientReceivedMessagesPerRpc | ( | ) |
Definition at line 85 of file measures.cc.
opencensus::stats::MeasureInt64 grpc::RpcClientRetriesPerCall | ( | ) |
Definition at line 93 of file measures.cc.
opencensus::stats::MeasureDouble grpc::RpcClientRetryDelayPerCall | ( | ) |
Definition at line 109 of file measures.cc.
opencensus::stats::MeasureDouble grpc::RpcClientRoundtripLatency | ( | ) |
Definition at line 60 of file measures.cc.
opencensus::stats::MeasureDouble grpc::RpcClientSentBytesPerRpc | ( | ) |
Definition at line 46 of file measures.cc.
opencensus::stats::MeasureInt64 grpc::RpcClientSentMessagesPerRpc | ( | ) |
Definition at line 78 of file measures.cc.
opencensus::stats::MeasureDouble grpc::RpcClientServerLatency | ( | ) |
Definition at line 69 of file measures.cc.
opencensus::stats::MeasureInt64 grpc::RpcClientTransparentRetriesPerCall | ( | ) |
Definition at line 102 of file measures.cc.
::opencensus::stats::MeasureInt64 grpc::RpcServerCompletedRpcs | ( | ) |
opencensus::stats::MeasureDouble grpc::RpcServerReceivedBytesPerRpc | ( | ) |
Definition at line 126 of file measures.cc.
opencensus::stats::MeasureInt64 grpc::RpcServerReceivedMessagesPerRpc | ( | ) |
Definition at line 149 of file measures.cc.
opencensus::stats::MeasureDouble grpc::RpcServerSentBytesPerRpc | ( | ) |
Definition at line 119 of file measures.cc.
opencensus::stats::MeasureInt64 grpc::RpcServerSentMessagesPerRpc | ( | ) |
Definition at line 142 of file measures.cc.
opencensus::stats::MeasureDouble grpc::RpcServerServerLatency | ( | ) |
Definition at line 133 of file measures.cc.
def grpc.secure_channel | ( | target, | |
credentials, | |||
options = None , |
|||
compression = None |
|||
) |
Creates a secure Channel to a server. The returned Channel is thread-safe. Args: target: The server address. credentials: A ChannelCredentials instance. options: An optional list of key-value pairs (:term:`channel_arguments` in gRPC Core runtime) to configure the channel. compression: An optional value indicating the compression method to be used over the lifetime of the channel. This is an EXPERIMENTAL option. Returns: A Channel.
Definition at line 1982 of file src/python/grpcio/grpc/__init__.py.
def grpc.server | ( | thread_pool, | |
handlers = None , |
|||
interceptors = None , |
|||
options = None , |
|||
maximum_concurrent_rpcs = None , |
|||
compression = None , |
|||
xds = False |
|||
) |
Creates a Server with which RPCs can be serviced. Args: thread_pool: A futures.ThreadPoolExecutor to be used by the Server to execute RPC handlers. handlers: An optional list of GenericRpcHandlers used for executing RPCs. More handlers may be added by calling add_generic_rpc_handlers any time before the server is started. interceptors: An optional list of ServerInterceptor objects that observe and optionally manipulate the incoming RPCs before handing them over to handlers. The interceptors are given control in the order they are specified. This is an EXPERIMENTAL API. options: An optional list of key-value pairs (:term:`channel_arguments` in gRPC runtime) to configure the channel. maximum_concurrent_rpcs: The maximum number of concurrent RPCs this server will service before returning RESOURCE_EXHAUSTED status, or None to indicate no limit. compression: An element of grpc.compression, e.g. grpc.compression.Gzip. This compression algorithm will be used for the lifetime of the server unless overridden. This is an EXPERIMENTAL option. xds: If set to true, retrieves server configuration via xDS. This is an EXPERIMENTAL option. Returns: A Server object.
Definition at line 2034 of file src/python/grpcio/grpc/__init__.py.
const ViewDescriptor & grpc::ServerCompletedRpcsCumulative | ( | ) |
opencensus::tags::TagKey grpc::ServerMethodTagKey | ( | ) |
Definition at line 92 of file grpc_plugin.cc.
const ViewDescriptor & grpc::ServerReceivedBytesPerRpcCumulative | ( | ) |
const ViewDescriptor & grpc::ServerReceivedBytesPerRpcHour | ( | ) |
const ViewDescriptor & grpc::ServerReceivedBytesPerRpcMinute | ( | ) |
const ViewDescriptor & grpc::ServerReceivedMessagesPerRpcCumulative | ( | ) |
const ViewDescriptor & grpc::ServerReceivedMessagesPerRpcHour | ( | ) |
const ViewDescriptor & grpc::ServerReceivedMessagesPerRpcMinute | ( | ) |
const ViewDescriptor & grpc::ServerSentBytesPerRpcCumulative | ( | ) |
const ViewDescriptor & grpc::ServerSentBytesPerRpcMinute | ( | ) |
const ViewDescriptor & grpc::ServerSentMessagesPerRpcCumulative | ( | ) |
const ViewDescriptor & grpc::ServerSentMessagesPerRpcHour | ( | ) |
const ViewDescriptor & grpc::ServerSentMessagesPerRpcMinute | ( | ) |
const ViewDescriptor & grpc::ServerServerLatencyCumulative | ( | ) |
const ::opencensus::stats::ViewDescriptor& grpc::ServerStartedCountCumulative | ( | ) |
const ::opencensus::stats::ViewDescriptor& grpc::ServerStartedCountHour | ( | ) |
size_t grpc::ServerStatsDeserialize | ( | const char * | buf, |
size_t | buf_size, | ||
uint64_t * | server_elapsed_time | ||
) |
Definition at line 97 of file context.cc.
size_t grpc::ServerStatsSerialize | ( | uint64_t | server_elapsed_time, |
char * | buf, | ||
size_t | buf_size | ||
) |
Definition at line 92 of file context.cc.
opencensus::tags::TagKey grpc::ServerStatusTagKey | ( | ) |
Definition at line 98 of file grpc_plugin.cc.
std::shared_ptr<CallCredentials> grpc::ServiceAccountJWTAccessCredentials | ( | const grpc::string & | json_key, |
long | token_lifetime_seconds = kMaxAuthTokenLifetimeSecs |
||
) |
Builds Service Account JWT Access credentials. json_key is the JSON key string containing the client's private key. token_lifetime_seconds is the lifetime in seconds of each Json Web Token (JWT) created with this credentials. It should not exceed kMaxAuthTokenLifetimeSecs or will be cropped to this value.
std::shared_ptr<CallCredentials> grpc::ServiceAccountJWTAccessCredentials | ( | const std::string & | json_key, |
long | token_lifetime_seconds | ||
) |
Definition at line 332 of file secure_credentials.cc.
void grpc::SetCreateThreadPool | ( | CreateThreadPoolFunc | func | ) |
Definition at line 41 of file create_default_thread_pool.cc.
grpc::Status grpc::SetErrorDetails | ( | const T & | from, |
grpc::Status * | to | ||
) |
Map google::rpc::Status to a grpc::Status. Returns OK on success. Returns status with FAILED_PRECONDITION if to is nullptr.
T | is of type google::rpc::Status, which is defined at https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto |
Definition at line 61 of file grpcpp/support/error_details.h.
|
inline |
Definition at line 149 of file include/grpcpp/impl/codegen/slice.h.
|
inline |
Definition at line 144 of file include/grpcpp/impl/codegen/slice.h.
opencensus::trace::SpanContext grpc::SpanContextFromCensusContext | ( | const census_context * | ctxt | ) |
Definition at line 111 of file context.cc.
opencensus::trace::Span grpc::SpanFromCensusContext | ( | const census_context * | ctxt | ) |
Definition at line 115 of file context.cc.
def grpc.ssl_channel_credentials | ( | root_certificates = None , |
|
private_key = None , |
|||
certificate_chain = None |
|||
) |
Creates a ChannelCredentials for use with an SSL-enabled Channel. Args: root_certificates: The PEM-encoded root certificates as a byte string, or None to retrieve them from a default location chosen by gRPC runtime. private_key: The PEM-encoded private key as a byte string, or None if no private key should be used. certificate_chain: The PEM-encoded certificate chain as a byte string to use or None if no certificate chain should be used. Returns: A ChannelCredentials for use with an SSL-enabled Channel.
Definition at line 1607 of file src/python/grpcio/grpc/__init__.py.
def grpc.ssl_server_certificate_configuration | ( | private_key_certificate_chain_pairs, | |
root_certificates = None |
|||
) |
Creates a ServerCertificateConfiguration for use with a Server. Args: private_key_certificate_chain_pairs: A collection of pairs of the form [PEM-encoded private key, PEM-encoded certificate chain]. root_certificates: An optional byte string of PEM-encoded client root certificates that the server will use to verify client authentication. Returns: A ServerCertificateConfiguration that can be returned in the certificate configuration fetching callback.
Definition at line 1766 of file src/python/grpcio/grpc/__init__.py.
def grpc.ssl_server_credentials | ( | private_key_certificate_chain_pairs, | |
root_certificates = None , |
|||
require_client_auth = False |
|||
) |
Creates a ServerCredentials for use with an SSL-enabled Server. Args: private_key_certificate_chain_pairs: A list of pairs of the form [PEM-encoded private key, PEM-encoded certificate chain]. root_certificates: An optional byte string of PEM-encoded client root certificates that the server will use to verify client authentication. If omitted, require_client_auth must also be False. require_client_auth: A boolean indicating whether or not to require clients to be authenticated. May only be True if root_certificates is not None. Returns: A ServerCredentials for use with an SSL-enabled Server. Typically, this object is an argument to add_secure_port() method during server setup.
Definition at line 1709 of file src/python/grpcio/grpc/__init__.py.
std::shared_ptr< ChannelCredentials > grpc::SslCredentials | ( | const SslCredentialsOptions & | options | ) |
Builds SSL Credentials given SSL specific options.
Definition at line 129 of file secure_credentials.cc.
std::shared_ptr< ServerCredentials > grpc::SslServerCredentials | ( | const grpc::SslServerCredentialsOptions & | options | ) |
Builds SSL ServerCredentials given SSL specific options.
Definition at line 114 of file secure_server_credentials.cc.
size_t grpc::StatsContextSerialize | ( | size_t | , |
grpc_slice * | |||
) |
Definition at line 87 of file context.cc.
absl::string_view grpc::StatusCodeToString | ( | grpc_status_code | code | ) |
Definition at line 119 of file context.cc.
def grpc.stream_stream_rpc_method_handler | ( | behavior, | |
request_deserializer = None , |
|||
response_serializer = None |
|||
) |
Creates an RpcMethodHandler for a stream-stream RPC method. Args: behavior: The implementation of an RPC that accepts an iterator of request values and returns an iterator of response values. request_deserializer: An optional :term:`deserializer` for request deserialization. response_serializer: An optional :term:`serializer` for response serialization. Returns: An RpcMethodHandler object that is typically used by grpc.Server.
Definition at line 1570 of file src/python/grpcio/grpc/__init__.py.
def grpc.stream_unary_rpc_method_handler | ( | behavior, | |
request_deserializer = None , |
|||
response_serializer = None |
|||
) |
Creates an RpcMethodHandler for a stream-unary RPC method. Args: behavior: The implementation of an RPC that accepts an iterator of request values and returns a single response value. request_deserializer: An optional :term:`deserializer` for request deserialization. response_serializer: An optional :term:`serializer` for response serialization. Returns: An RpcMethodHandler object that is typically used by grpc.Server.
Definition at line 1550 of file src/python/grpcio/grpc/__init__.py.
|
inline |
Definition at line 139 of file include/grpcpp/impl/codegen/slice.h.
|
inline |
Definition at line 133 of file include/grpcpp/impl/codegen/slice.h.
grpc::TEST | ( | AuthorizationPolicyProviderTest | , |
FileWatcherCreateReturnsErrorStatus | |||
) |
Definition at line 62 of file authorization_policy_provider_test.cc.
grpc::TEST | ( | AuthorizationPolicyProviderTest | , |
FileWatcherCreateReturnsProvider | |||
) |
Definition at line 50 of file authorization_policy_provider_test.cc.
grpc::TEST | ( | AuthorizationPolicyProviderTest | , |
StaticDataCreateReturnsErrorStatus | |||
) |
Definition at line 41 of file authorization_policy_provider_test.cc.
grpc::TEST | ( | AuthorizationPolicyProviderTest | , |
StaticDataCreateReturnsProvider | |||
) |
Definition at line 31 of file authorization_policy_provider_test.cc.
grpc::TEST | ( | CredentialsTest | , |
StsCredentialsOptionsFromEnv | |||
) |
Definition at line 229 of file cpp/client/credentials_test.cc.
void grpc::Timepoint2Timespec | ( | const std::chrono::system_clock::time_point & | from, |
gpr_timespec * | to | ||
) |
void grpc::Timepoint2Timespec | ( | const system_clock::time_point & | from, |
gpr_timespec * | to | ||
) |
Definition at line 36 of file time_cc.cc.
void grpc::TimepointHR2Timespec | ( | const high_resolution_clock::time_point & | from, |
gpr_timespec * | to | ||
) |
Definition at line 52 of file time_cc.cc.
void grpc::TimepointHR2Timespec | ( | const std::chrono::high_resolution_clock::time_point & | from, |
gpr_timespec * | to | ||
) |
system_clock::time_point grpc::Timespec2Timepoint | ( | gpr_timespec | t | ) |
Definition at line 68 of file time_cc.cc.
size_t grpc::TraceContextSerialize | ( | const ::opencensus::trace::SpanContext & | context, |
char * | tracing_buf, | ||
size_t | tracing_buf_size | ||
) |
Definition at line 76 of file context.cc.
def grpc.unary_stream_rpc_method_handler | ( | behavior, | |
request_deserializer = None , |
|||
response_serializer = None |
|||
) |
Creates an RpcMethodHandler for a unary-stream RPC method. Args: behavior: The implementation of an RPC that accepts one request and returns an iterator of response values. request_deserializer: An optional :term:`deserializer` for request deserialization. response_serializer: An optional :term:`serializer` for response serialization. Returns: An RpcMethodHandler object that is typically used by grpc.Server.
Definition at line 1530 of file src/python/grpcio/grpc/__init__.py.
def grpc.unary_unary_rpc_method_handler | ( | behavior, | |
request_deserializer = None , |
|||
response_serializer = None |
|||
) |
Creates an RpcMethodHandler for a unary-unary RPC method. Args: behavior: The implementation of an RPC that accepts one request and returns one response. request_deserializer: An optional :term:`deserializer` for request deserialization. response_serializer: An optional :term:`serializer` for response serialization. Returns: An RpcMethodHandler object that is typically used by grpc.Server.
Definition at line 1510 of file src/python/grpcio/grpc/__init__.py.
std::string grpc::Version | ( | ) |
Return gRPC library version.
Definition at line 28 of file version_cc.cc.
def grpc.xds_channel_credentials | ( | fallback_credentials = None | ) |
Creates a ChannelCredentials for use with xDS. This is an EXPERIMENTAL API. Args: fallback_credentials: Credentials to use in case it is not possible to establish a secure connection via xDS. If no fallback_credentials argument is supplied, a default SSLChannelCredentials is used.
Definition at line 1629 of file src/python/grpcio/grpc/__init__.py.
def grpc.xds_server_credentials | ( | fallback_credentials | ) |
Creates a ServerCredentials for use with xDS. This is an EXPERIMENTAL API. Args: fallback_credentials: Credentials to use in case it is not possible to establish a secure connection via xDS. No default value is provided.
Definition at line 1743 of file src/python/grpcio/grpc/__init__.py.
std::shared_ptr< ChannelCredentials > grpc::XdsCredentials | ( | const std::shared_ptr< ChannelCredentials > & | fallback_creds | ) |
Builds XDS Credentials.
Definition at line 30 of file cpp/client/xds_credentials.cc.
std::shared_ptr< ServerCredentials > grpc::XdsServerCredentials | ( | const std::shared_ptr< ServerCredentials > & | fallback_credentials | ) |
Builds Xds ServerCredentials given fallback credentials.
Definition at line 30 of file xds_server_credentials.cc.
|
private |
Definition at line 2101 of file src/python/grpcio/grpc/__init__.py.
|
private |
Definition at line 35 of file src/python/grpcio/grpc/__init__.py.
FILE* grpc::creds_file = gpr_tmpfile("sts_creds_options", &creds_file_name) |
Definition at line 244 of file cpp/client/credentials_test.cc.
char* grpc::creds_file_name |
Definition at line 242 of file cpp/client/credentials_test.cc.
|
static |
Definition at line 61 of file client_context.cc.
grpc::CoreCodegenInterface * grpc::g_core_codegen_interface |
Null-initializes the global gRPC variables for the codegen library. These stay null in the absence of grpc++ library. In this case, no gRPC features such as the ability to perform calls will be available. Trying to perform them would result in a segmentation fault when trying to deference the following nulled globals. These should be associated with actual as part of the instantiation of a grpc::GrpcLibraryInitializer variable.
Definition at line 98 of file include/grpcpp/impl/codegen/completion_queue.h.
|
static |
Definition at line 59 of file client_context.cc.
|
static |
Definition at line 24 of file credentials_cc.cc.
|
static |
Definition at line 24 of file server_credentials.cc.
|
static |
Definition at line 30 of file cpp/util/slice_test.cc.
|
static |
Definition at line 33 of file byte_buffer_cc.cc.
|
static |
Definition at line 34 of file byte_buffer_test.cc.
|
static |
Definition at line 52 of file channel_cc.cc.
|
static |
Definition at line 56 of file secure_credentials.cc.
|
static |
Definition at line 58 of file client_context.cc.
|
static |
Definition at line 66 of file server_context.cc.
|
static |
|
static |
Definition at line 877 of file server_cc.cc.
grpc::GrpcLibraryInterface * grpc::g_glip |
Initialized by grpc::GrpcLibraryInitializer from <grpcpp/impl/grpc_library.h>
Definition at line 30 of file codegen_init.cc.
const char grpc::invalid_json_missing_subject_token_path[] |
Definition at line 206 of file cpp/client/credentials_test.cc.
const char grpc::invalid_json_missing_token_exchange_uri[] |
Definition at line 217 of file cpp/client/credentials_test.cc.
const char grpc::kHealthCheckServiceInterfaceArg[] |
Definition at line 26 of file grpcpp/health_check_service_interface.h.
|
constexpr |
Definition at line 199 of file include/grpcpp/security/credentials.h.
Definition at line 46 of file impl/codegen/proto_buffer_writer.h.
const absl::string_view grpc::kRpcClientReceivedBytesPerRpcMeasureName |
Definition at line 117 of file grpc_plugin.cc.
const absl::string_view grpc::kRpcClientReceivedMessagesPerRpcMeasureName |
Definition at line 113 of file grpc_plugin.cc.
const absl::string_view grpc::kRpcClientRetriesPerCallMeasureName |
Definition at line 126 of file grpc_plugin.cc.
const absl::string_view grpc::kRpcClientRetryDelayPerCallMeasureName |
Definition at line 133 of file grpc_plugin.cc.
const absl::string_view grpc::kRpcClientRoundtripLatencyMeasureName |
Definition at line 120 of file grpc_plugin.cc.
const absl::string_view grpc::kRpcClientSentBytesPerRpcMeasureName |
Definition at line 109 of file grpc_plugin.cc.
const absl::string_view grpc::kRpcClientSentMessagesPerRpcMeasureName |
Definition at line 106 of file grpc_plugin.cc.
const absl::string_view grpc::kRpcClientServerLatencyMeasureName |
Definition at line 123 of file grpc_plugin.cc.
const absl::string_view grpc::kRpcClientTransparentRetriesPerCallMeasureName |
Definition at line 130 of file grpc_plugin.cc.
const absl::string_view grpc::kRpcServerReceivedBytesPerRpcMeasureName |
Definition at line 149 of file grpc_plugin.cc.
const absl::string_view grpc::kRpcServerReceivedMessagesPerRpcMeasureName |
Definition at line 145 of file grpc_plugin.cc.
const absl::string_view grpc::kRpcServerSentBytesPerRpcMeasureName |
Definition at line 141 of file grpc_plugin.cc.
const absl::string_view grpc::kRpcServerSentMessagesPerRpcMeasureName |
Definition at line 138 of file grpc_plugin.cc.
const absl::string_view grpc::kRpcServerServerLatencyMeasureName |
Definition at line 152 of file grpc_plugin.cc.
grpc::status |
Definition at line 200 of file cpp/client/credentials_test.cc.