Package io.fabric8.kubernetes.api.model
Class GRPCAction
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.GRPCAction
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GRPCActionBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GRPCAction extends Object implements io.fabric8.kubernetes.api.builder.Editable<GRPCActionBuilder>, KubernetesResource
GRPCAction specifies an action involving a GRPC service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GRPCAction()No args constructor for use in serializationGRPCAction(Integer port, String service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GRPCActionBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetPort()Port number of the gRPC service.StringgetService()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).voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetPort(Integer port)Port number of the gRPC service.voidsetService(String 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).GRPCActionBuildertoBuilder()
-
-
-
Method Detail
-
getPort
public Integer getPort()
Port number of the gRPC service. Number must be in the range 1 to 65535.
-
setPort
public void setPort(Integer port)
Port number of the gRPC service. Number must be in the range 1 to 65535.
-
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.
-
setService
public void setService(String 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).If this is not specified, the default behavior is defined by gRPC.
-
edit
public GRPCActionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GRPCActionBuilder>
-
toBuilder
public GRPCActionBuilder toBuilder()
-
-