Class V1GRPCAction
java.lang.Object
io.kubernetes.client.openapi.models.V1GRPCAction
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T23:08:31.638427Z[Etc/UTC]")
public class V1GRPCAction
extends Object
GRPCAction specifies an action involving a GRPC service.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getPort()
Port number of the gRPC service.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).int
hashCode()
void
void
setService
(String service) toString()
-
Field Details
-
SERIALIZED_NAME_PORT
- See Also:
-
SERIALIZED_NAME_SERVICE
- See Also:
-
-
Constructor Details
-
V1GRPCAction
public V1GRPCAction()
-
-
Method Details
-
port
-
getPort
Port number of the gRPC service. Number must be in the range 1 to 65535.- Returns:
- port
-
setPort
-
service
-
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:
- service
-
setService
-
equals
-
hashCode
public int hashCode() -
toString
-