Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/grpc/grpc-java
/ functions
Functions
22,628 in github.com/grpc/grpc-java
⨍
Functions
22,628
◇
Types & classes
3,835
↓ 21 callers
Method
getDefaultRegistry
()
xds/src/main/java/io/grpc/xds/FilterRegistry.java:35
↓ 21 callers
Method
getDescription
A description of this parameter used when printing usage.
benchmarks/src/main/java/io/grpc/benchmarks/qps/AbstractConfigurationBuilder.java:88
↓ 21 callers
Method
getHeaderBytes
()
alts/src/main/java/io/grpc/alts/internal/AltsTsiFrameProtector.java:61
↓ 21 callers
Method
getMode
()
grpclb/src/main/java/io/grpc/grpclb/GrpclbConfig.java:49
↓ 21 callers
Method
getProvider
Returns the effective provider for the given load-balancing policy, or {@code null} if no suitable provider can be found. Each provider declares its
api/src/main/java/io/grpc/LoadBalancerRegistry.java:124
↓ 21 callers
Method
getRawConfigValue
()
core/src/main/java/io/grpc/internal/ServiceConfigUtil.java:385
↓ 21 callers
Method
getTimeProvider
Provides a {@link TimeProvider} that is backed by this FakeClock.
core/src/testFixtures/java/io/grpc/internal/FakeClock.java:271
↓ 21 callers
Method
getUsername
Returns the username used to connect to the proxy. {@code null} if there is no username.
api/src/main/java/io/grpc/HttpConnectProxiedSocketAddress.java:78
↓ 21 callers
Method
handleNameResolutionError
(Status error)
core/src/test/java/io/grpc/internal/AutoConfiguredLoadBalancerFactoryTest.java:154
↓ 21 callers
Method
handleNameResolutionError
()
util/src/test/java/io/grpc/util/RandomSubsettingLoadBalancerTest.java:131
↓ 21 callers
Method
httpStatusToGrpcStatus
Maps HTTP error response status codes to transport codes, as defined in <a href="https://github.com/grpc/grpc/blob/master/doc/http-grpc-status-mapping
core/src/main/java/io/grpc/internal/GrpcUtil.java:300
↓ 21 callers
Method
mark
Marks the current position in this buffer. A subsequent call to the {@link #reset} method repositions this stream at the last marked position so that
core/src/main/java/io/grpc/internal/ReadableBuffer.java:136
↓ 21 callers
Method
newSocketLbEndpoint
(String ip, int port)
xds/src/test/java/io/grpc/xds/ClusterResolverLoadBalancerTest.java:1110
↓ 21 callers
Method
processBytesFromPeer
Process the bytes received from the peer. @param bytes The buffer containing the handshake bytes from the peer. @return true, if the handshake has al
alts/src/main/java/io/grpc/alts/internal/TsiHandshaker.java:68
↓ 21 callers
Method
register
Registers the given channel to the rule. Once registered, the channel will be automatically shutdown at the end of the test. <p>This method need be p
testing/src/main/java/io/grpc/testing/GrpcCleanupRule.java:118
↓ 21 callers
Method
registerNewServerTransport
(SimpleServerTransport transport)
core/src/test/java/io/grpc/internal/ServerImplTest.java:1839
↓ 21 callers
Method
removeService
Removes a registered service. @return true if the service was found to be removed.
util/src/main/java/io/grpc/util/MutableHandlerRegistry.java:71
↓ 21 callers
Method
setActiveNetworkInfo
(android.net.NetworkInfo activeNetworkInfo)
android/src/test/java/io/grpc/android/AndroidChannelBuilderTest.java:275
↓ 21 callers
Method
setMaxOutboundMessageSize
Set a size limit for each outbound message.
core/src/main/java/io/grpc/internal/Framer.java:50
↓ 21 callers
Method
shutdownInternal
(Status shutdownStatus, boolean forceTerminate)
binder/src/main/java/io/grpc/binder/internal/BinderTransport.java:309
↓ 21 callers
Method
timeRemaining
How much time is remaining in the specified time unit. Internal units are maintained as nanoseconds and conversions are subject to the constraints doc
api/src/context/java/io/grpc/Deadline.java:176
↓ 21 callers
Method
toString
()
xds/src/test/java/io/grpc/xds/StatefulFilter.java:70
↓ 20 callers
Method
appendTimeoutInsight
Append information that will be included in the locally generated DEADLINE_EXCEEDED errors to the given {@link InsightBuilder}, in order to tell the u
core/src/main/java/io/grpc/internal/ClientStream.java:107
↓ 20 callers
Method
authorities
A map of authority name to corresponding configuration. <p>This is used in the following cases: <ul> <li>A gRPC client channel is created using an "
xds/src/main/java/io/grpc/xds/client/Bootstrapper.java:207
↓ 20 callers
Method
blockingServerStreamingCall
Executes a server-streaming call returning a blocking {@link Iterator} over the response stream. The {@code call} should not be already started. Aft
stub/src/main/java/io/grpc/stub/ClientCalls.java:211
↓ 20 callers
Method
buildTransportFactory
()
okhttp/src/main/java/io/grpc/okhttp/OkHttpChannelBuilder.java:539
↓ 20 callers
Method
checkEntry
(Header entry, String name, String value, int size)
okhttp/third_party/okhttp/test/java/io/grpc/okhttp/internal/framed/HpackTest.java:1172
↓ 20 callers
Method
config
()
xds/src/main/java/io/grpc/xds/client/Bootstrapper.java:97
↓ 20 callers
Method
connect
Connect failures do not show up as {@link #channelInactive} or {@link #exceptionCaught}, so it needs to be watched.
netty/src/main/java/io/grpc/netty/WriteBufferingAndExceptionHandler.java:142
↓ 20 callers
Method
content
()
netty/src/test/java/io/grpc/netty/NettyHandlerTestBase.java:240
↓ 20 callers
Method
create
(String key, ImmutableList<String> names)
rls/src/main/java/io/grpc/rls/RlsProtoData.java:181
↓ 20 callers
Method
create
(Mode mode)
grpclb/src/main/java/io/grpc/grpclb/GrpclbConfig.java:40
↓ 20 callers
Method
create
(boolean log, int headerBytes, int messageBytes)
gcp-observability/src/main/java/io/grpc/gcp/observability/interceptors/ConfigFilterHelper.java:101
↓ 20 callers
Method
create
Use TLS with its defaults.
api/src/main/java/io/grpc/TlsChannelCredentials.java:41
↓ 20 callers
Method
create
(List<PolicyMatcher> policies, Action action)
xds/src/main/java/io/grpc/xds/internal/rbac/engine/GrpcAuthorizationEngine.java:111
↓ 20 callers
Method
createAndDeliverClusterUpdates
Creates and delivers both CDS and EDS updates for the given clusters.
xds/src/test/java/io/grpc/xds/XdsNameResolverTest.java:1262
↓ 20 callers
Method
createHcm
( VirtualHost vhost, List<NamedFilterConfig> filterConfigs)
xds/src/test/java/io/grpc/xds/XdsServerWrapperTest.java:1955
↓ 20 callers
Method
createMetricInstruments
(Meter meter, Map<String, Boolean> enableMetrics, boolean disableDefault)
opentelemetry/src/main/java/io/grpc/opentelemetry/GrpcOpenTelemetry.java:202
↓ 20 callers
Method
createStream
()
netty/src/test/java/io/grpc/netty/NettyServerHandlerTest.java:1386
↓ 20 callers
Method
createStream
()
netty/src/test/java/io/grpc/netty/NettyClientHandlerTest.java:1122
↓ 20 callers
Method
deliverAddressesAndConfig
(List<EquivalentAddressGroup> addresses, ClusterImplConfig config)
xds/src/test/java/io/grpc/xds/ClusterImplLoadBalancerTest.java:1053
↓ 20 callers
Method
evaluate
()
testing/src/test/java/io/grpc/testing/GrpcServerRuleTest.java:175
↓ 20 callers
Method
forExactValue
The request header value should exactly match the specified value.
xds/src/main/java/io/grpc/xds/internal/Matchers.java:78
↓ 20 callers
Method
forVirtualHosts
(long httpMaxStreamDurationNano, List<VirtualHost> virtualHosts, @Nullable List<NamedFilterConfig> httpF
xds/src/main/java/io/grpc/xds/HttpConnectionManager.java:53
↓ 20 callers
Method
getBlockingStub
( final UpstreamTlsContext upstreamTlsContext, String overrideAuthority)
xds/src/test/java/io/grpc/xds/XdsSecurityClientServerTest.java:813
↓ 20 callers
Method
getCpuUtilization
()
services/src/main/java/io/grpc/services/MetricReport.java:53
↓ 20 callers
Method
getListenSocketAddress
Returns the first listening socket address. May change after {@link #start(ServerListener)} is called.
core/src/main/java/io/grpc/internal/InternalServer.java:56
↓ 20 callers
Method
getLocalPort
()
android/src/main/java/io/grpc/android/UdsSocket.java:121
↓ 20 callers
Method
getMethod
Perform a lookup for the method. No caching. In order to return a method the method name and arguments must match those specified when the {@link Opti
okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/OptionalMethod.java:153
↓ 20 callers
Method
getScheme
Returns the scheme of this URI.
api/src/main/java/io/grpc/Uri.java:336
↓ 20 callers
Method
getUnaryRpcMethod
()
testing-proto/src/generated/main/grpc/io/grpc/testing/protobuf/SimpleServiceGrpc.java:21
↓ 20 callers
Method
isSampledToLocalTracing
Returns whether RPCs for this method may be sampled into the local tracing store.
api/src/main/java/io/grpc/MethodDescriptor.java:377
↓ 20 callers
Method
maybeChooseServiceConfig
Determines if a given Service Config choice applies, and if so, returns it. @see <a href="https://github.com/grpc/proposal/blob/master/A2-service-con
core/src/main/java/io/grpc/internal/DnsNameResolver.java:467
↓ 20 callers
Method
negotiationType
Sets the negotiation type for the HTTP/2 connection. <p>Default: <code>TLS</code>
netty/src/main/java/io/grpc/netty/NettyChannelBuilder.java:337
↓ 20 callers
Method
outboundMessage
An outbound message has been passed to the stream. This is called as soon as the stream knows about the message, but doesn't have further guarantee s
api/src/main/java/io/grpc/StreamTracer.java:42
↓ 20 callers
Method
pickerReturns
(final PickResult result)
api/src/testFixtures/java/io/grpc/LoadBalancerMatchers.java:33
↓ 20 callers
Method
populateTarget
( String certFileSource, String keyFileSource, String rootFileSource, String spiffeTru
xds/src/test/java/io/grpc/xds/internal/security/certprovider/FileWatcherCertificateProviderTest.java:109
↓ 20 callers
Method
put
(Struct.Builder struct, String key, String value)
gcp-csm-observability/src/main/java/io/grpc/gcp/csm/observability/MetadataExchanger.java:125
↓ 20 callers
Method
register
Register a provider. <p>If the provider's {@link ManagedChannelProvider#isAvailable isAvailable()} returns {@code false}, this method will throw {@li
api/src/main/java/io/grpc/ManagedChannelRegistry.java:64
↓ 20 callers
Method
runAll
()
okhttp/src/test/java/io/grpc/okhttp/AsyncSinkTest.java:294
↓ 20 callers
Method
runTest
(String testCase)
android-interop-testing/src/androidTest/java/io/grpc/android/integrationtest/InteropInstrumentationTest.java:106
↓ 20 callers
Method
runTest
(String testCase)
android-interop-testing/src/androidTest/java/io/grpc/android/integrationtest/UdsChannelInteropTest.java:116
↓ 20 callers
Method
setId
(int id)
netty/src/main/java/io/grpc/netty/NettyClientStream.java:245
↓ 20 callers
Method
setId
(String id)
xds/src/main/java/io/grpc/xds/client/EnvoyProtoData.java:152
↓ 20 callers
Method
setupChannel
(final String localIp, final String remoteIp, final int remotePort, FilterChainMat
xds/src/test/java/io/grpc/xds/FilterChainMatchingProtocolNegotiatorsTest.java:1224
↓ 20 callers
Method
startXdsDepManager
()
xds/src/test/java/io/grpc/xds/ClusterResolverLoadBalancerTest.java:1026
↓ 20 callers
Method
unaryRpc
Say hello to server.
xds/src/test/java/io/grpc/xds/XdsSecurityClientServerTest.java:855
↓ 20 callers
Method
virtualHosts
()
xds/src/main/java/io/grpc/xds/XdsServerWrapper.java:942
↓ 20 callers
Method
withInterceptors
Returns a new stub that has the given interceptors attached to the underlying channel. @since 1.0.0
stub/src/main/java/io/grpc/stub/AbstractStub.java:215
↓ 19 callers
Method
addBuffer
Adds a new {@link ReadableBuffer} at the end of the buffer list. After a buffer is added, it is expected that this {@code CompositeBuffer} has complet
core/src/main/java/io/grpc/internal/CompositeReadableBuffer.java:56
↓ 19 callers
Method
bindService
Creates {@link ServerServiceDefinition} object for current instance of service implementation. @return ServerServiceDefinition object.
api/src/main/java/io/grpc/BindableService.java:40
↓ 19 callers
Method
buildAggCluster
(String name, List<String> childNames)
xds/src/test/java/io/grpc/xds/XdsTestUtils.java:317
↓ 19 callers
Method
buildServerWithTlsContext
(DownstreamTlsContext downstreamTlsContext)
xds/src/test/java/io/grpc/xds/XdsSecurityClientServerTest.java:738
↓ 19 callers
Method
callMeMaybe
(Runnable r)
core/src/test/java/io/grpc/internal/DelayedStreamTest.java:475
↓ 19 callers
Method
create
Constructs a matcher for one RBAC policy.
xds/src/main/java/io/grpc/xds/internal/rbac/engine/GrpcAuthorizationEngine.java:134
↓ 19 callers
Method
create
(String key, String value)
xds/src/main/java/io/grpc/xds/internal/grpcservice/HeaderValue.java:30
↓ 19 callers
Method
delegate
()
core/src/main/java/io/grpc/internal/ForwardingClientStream.java:28
↓ 19 callers
Method
drain
(Substream substream)
core/src/main/java/io/grpc/internal/RetriableStream.java:298
↓ 19 callers
Method
emptyCall
<pre> One empty request followed by one empty response. </pre>
interop-testing/src/generated/main/grpc/io/grpc/testing/integration/TestServiceGrpc.java:339
↓ 19 callers
Method
enqueue
Enqueue a write command on the channel. @param command a write to be executed on the channel. @param flush true if a flush of the write should be sch
netty/src/main/java/io/grpc/netty/WriteQueue.java:79
↓ 19 callers
Method
eqMetricInstrumentName
(String name)
xds/src/test/java/io/grpc/xds/XdsClientMetricReporterImplTest.java:377
↓ 19 callers
Method
executor
Provides a custom executor. <p>It's an optional parameter. If the user has not provided an executor when the server is built, the builder will use a
api/src/main/java/io/grpc/ServerBuilder.java:75
↓ 19 callers
Method
flowControlWindow
Sets the flow control window in bytes. Setting flowControlWindow disables auto flow control tuning; use {@link #initialFlowControlWindow(int)} to enab
netty/src/main/java/io/grpc/netty/NettyServerBuilder.java:434
↓ 19 callers
Method
forceCleanUp
Error already happened, try the best to clean up. Never throws.
testing/src/main/java/io/grpc/testing/GrpcCleanupRule.java:217
↓ 19 callers
Method
fromStruct
Returns a {@link StructOrError} for the successfully converted data object.
xds/src/main/java/io/grpc/xds/StructOrError.java:30
↓ 19 callers
Method
getCommonTlsContext
()
xds/src/main/java/io/grpc/xds/internal/security/SslContextProvider.java:73
↓ 19 callers
Method
getCount
()
xds/src/test/java/io/grpc/xds/StatefulFilter.java:125
↓ 19 callers
Method
getPendingStreamsCount
()
core/src/main/java/io/grpc/internal/DelayedClientTransport.java:269
↓ 19 callers
Method
getValues
Returns the current set of received values.
testing/src/main/java/io/grpc/testing/StreamRecorder.java:100
↓ 19 callers
Method
getWatcher
(TrackedWatcherType<T> watcherType, String name)
xds/src/main/java/io/grpc/xds/XdsDependencyManager.java:565
↓ 19 callers
Method
googleGrpc
()
xds/src/main/java/io/grpc/xds/internal/grpcservice/GrpcServiceConfig.java:39
↓ 19 callers
Method
headersFrame
(int streamId, Http2Headers headers)
netty/src/test/java/io/grpc/netty/NettyHandlerTestBase.java:297
↓ 19 callers
Method
httpConnectionManager
()
xds/src/main/java/io/grpc/xds/XdsListenerResource.java:637
↓ 19 callers
Method
isValid
()
core/src/main/java/io/grpc/internal/InternalSubchannel.java:813
↓ 19 callers
Method
makeAddress
Create a locality-labeled address.
xds/src/test/java/io/grpc/xds/ClusterImplLoadBalancerTest.java:1081
↓ 19 callers
Method
matchRoute
Returns {@code true} iff the given {@link RouteMatch} matches the RPC's full method name and headers.
xds/src/main/java/io/grpc/xds/RoutingUtils.java:146
↓ 19 callers
Method
name
Returns the field at {@code position} or null if that is out of range.
okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/Headers.java:54
↓ 19 callers
Method
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service
interop-testing/src/generated/main/grpc/io/grpc/testing/integration/TestServiceGrpc.java:299
↓ 19 callers
Method
newBuilder
()
binder/src/main/java/io/grpc/binder/ServerSecurityPolicy.java:87
↓ 19 callers
Method
newCall
( MethodDescriptor<ReqT, RespT> method, CallOptions callOptions)
api/src/test/java/io/grpc/ClientInterceptorsTest.java:140
← previous
next →
801–900 of 22,628, ranked by callers