Package io.grpc.alts
Class GoogleDefaultChannelCredentials.Builder
- java.lang.Object
-
- io.grpc.alts.GoogleDefaultChannelCredentials.Builder
-
- Enclosing class:
- GoogleDefaultChannelCredentials
public static final class GoogleDefaultChannelCredentials.Builder extends java.lang.Object
Builder forGoogleDefaultChannelCredentials
instances.- Since:
- 1.43.0
-
-
Field Summary
Fields Modifier and Type Field Description private io.grpc.CallCredentials
callCredentials
-
Constructor Summary
Constructors Modifier Constructor Description private
Builder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.ChannelCredentials
build()
Builds a GoogleDefaultChannelCredentials instance.GoogleDefaultChannelCredentials.Builder
callCredentials(io.grpc.CallCredentials callCreds)
Constructs GoogleDefaultChannelCredentials with a given call credential.private static io.grpc.netty.InternalProtocolNegotiator.ClientFactory
createClientFactory()
-
-
-
Method Detail
-
callCredentials
public GoogleDefaultChannelCredentials.Builder callCredentials(io.grpc.CallCredentials callCreds)
Constructs GoogleDefaultChannelCredentials with a given call credential.
-
build
public io.grpc.ChannelCredentials build()
Builds a GoogleDefaultChannelCredentials instance.
-
createClientFactory
private static io.grpc.netty.InternalProtocolNegotiator.ClientFactory createClientFactory()
-
-