Package io.grpc.alts

Class ComputeEngineChannelCredentials


  • public final class ComputeEngineChannelCredentials
    extends java.lang.Object
    Credentials appropriate to contact Google services when running on Google Compute Engine. This class sets up a secure channel using ALTS if applicable and using TLS as fallback. It is a subset of the functionality provided by GoogleDefaultChannelCredentials.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.grpc.ChannelCredentials create()
      Creates credentials for Google Compute Engine.
      private static io.grpc.netty.InternalProtocolNegotiator.ClientFactory createClientFactory()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ComputeEngineChannelCredentials

        private ComputeEngineChannelCredentials()
    • Method Detail

      • create

        public static io.grpc.ChannelCredentials create()
        Creates credentials for Google Compute Engine. This class sets up a secure channel using ALTS if applicable and using TLS as fallback.
      • createClientFactory

        private static io.grpc.netty.InternalProtocolNegotiator.ClientFactory createClientFactory()