Interface GRPCActionOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    GRPCAction, GRPCAction.Builder

    public interface GRPCActionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getPort()
      Port number of the gRPC service.
      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).
      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).
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getPort

        int getPort()
         Port number of the gRPC service. Number must be in the range 1 to 65535.
         If not specified, defaults to the exposed port of the container, which is
         the value of container.ports[0].containerPort.
         
        int32 port = 1;
        Returns:
        The port.
      • 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.
         
        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.
         
        string service = 2;
        Returns:
        The bytes for service.