Interface ContainerPortOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getContainerPort()
      Port number the container listens on.
      String getName()
      If specified, used to specify which protocol to use.
      com.google.protobuf.ByteString getNameBytes()
      If specified, used to specify which protocol to use.
      • 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

      • getName

        String getName()
         If specified, used to specify which protocol to use.
         Allowed values are "http1" and "h2c".
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         If specified, used to specify which protocol to use.
         Allowed values are "http1" and "h2c".
         
        string name = 1;
        Returns:
        The bytes for name.
      • getContainerPort

        int getContainerPort()
         Port number the container listens on.
         This must be a valid TCP port number, 0 < container_port < 65536.
         
        int32 container_port = 3;
        Returns:
        The containerPort.