/** * Build the server. * It attaches required services and interceptors for authentication. * * @return the built {@link GrpcServer} */ public GrpcServer build() { addService(new GrpcService(new ServiceVersionClientServiceHandler(mServices)) .disableAuthentication()); return new GrpcServer(mNettyServerBuilder.build(), mConfiguration.getMs(PropertyKey.MASTER_GRPC_SERVER_SHUTDOWN_TIMEOUT)); } }