Package k8s.io.api.core.v1
Interface Generated.GRPCActionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.GRPCAction,Generated.GRPCAction.Builder
- Enclosing class:
- Generated
public static interface Generated.GRPCActionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPort()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).com.google.protobuf.ByteStringgetServiceBytes()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).booleanhasPort()Port number of the gRPC service.booleanhasService()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).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPort
boolean hasPort()
Port number of the gRPC service. Number must be in the range 1 to 65535.
optional int32 port = 1;- Returns:
- Whether the port field is set.
-
getPort
int getPort()
Port number of the gRPC service. Number must be in the range 1 to 65535.
optional int32 port = 1;- Returns:
- The port.
-
hasService
boolean hasService()
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. +optional +default=""
optional string service = 2;- Returns:
- Whether the service field is set.
-
getService
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. +optional +default=""
optional string service = 2;- Returns:
- The service.
-
getServiceBytes
com.google.protobuf.ByteString getServiceBytes()
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. +optional +default=""
optional string service = 2;- Returns:
- The bytes for service.
-
-