Class AltsServerCredentials.Builder

java.lang.Object
io.grpc.alts.AltsServerCredentials.Builder
Enclosing class:
AltsServerCredentials

@ExperimentalApi("https://github.com/grpc/grpc-java/issues/4151") public static final class AltsServerCredentials.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • enableUntrustedAltsForTesting

      public AltsServerCredentials.Builder enableUntrustedAltsForTesting()
      Enables untrusted ALTS for testing. If this function is called, we will not check whether ALTS is running on Google Cloud Platform.
    • setHandshakerAddressForTesting

      public AltsServerCredentials.Builder setHandshakerAddressForTesting(String handshakerAddress)
      Sets a new handshaker service address for testing.
    • build

      public io.grpc.ServerCredentials build()