Class V1GRPCAction

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1GRPCAction

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1GRPCAction extends Object
V1GRPCAction
  • Field Details

  • Constructor Details

    • V1GRPCAction

      public V1GRPCAction(Integer port)
  • Method Details

    • getPort

      public Integer getPort()
      Port number of the gRPC service. Number must be in the range 1 to 65535.
      Returns:
      the port property value
    • setPort

      public void setPort(Integer port)
      Set the port property value
    • port

      public V1GRPCAction port(Integer port)
      Set port in a chainable fashion.
      Returns:
      The same instance of V1GRPCAction for chaining.
    • getService

      public String getService()
      Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
      Returns:
      the service property value
    • setService

      public void setService(String service)
      Set the service property value
    • service

      public V1GRPCAction service(String service)
      Set service in a chainable fashion.
      Returns:
      The same instance of V1GRPCAction for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object