package com.cloudrobotics.hello_world_client;

import cloudrobotics.hello_world.v1alpha1.K8sHelloWorldGrpc;
import cloudrobotics.hello_world.v1alpha1.Service;
import io.grpc.ManagedChannelBuilder;
import java.util.logging.Logger;

/** */
final class Main {

  private static final Logger logger = Logger.getLogger(Main.class.getName());

  public static void main(String[] args) {
    K8sHelloWorldGrpc.K8sHelloWorldBlockingStub stub =
        K8sHelloWorldGrpc.newBlockingStub(
            ManagedChannelBuilder.forAddress("localhost", 50051).usePlaintext().build());
    Service.HelloWorld world =
        stub.get(Service.GetHelloWorldRequest.newBuilder().setName("foo").build());
    System.out.println(world.getMetadata().getResourceVersion());
  }
}

@@ -558,24 +558,214 @@
 ).build());%0A
+    Service.CreateHelloWorldRequest.Builder req = Service.CreateHelloWorldRequest.newBuilder();%0A    req.getObjectBuilder().getMetadataBuilder().setName(%22foo%22);%0A    stub.create(req.build());%0A
     Service.
@@ -933,14 +933,100 @@
 ion());%0A
+    stub.delete(Service.DeleteHelloWorldRequest.newBuilder().setName(%22foo%22).build());%0A
   %7D%0A%7D%0A

Add coverage the Hello World client example.