Interface NamedPortOrBuilder

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

@Generated public interface NamedPortOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The name for this named port.
    com.google.protobuf.ByteString
    The name for this named port.
    int
    The port number, which can be a value between 1 and 65535.
    boolean
    The name for this named port.
    boolean
    The port number, which can be a value between 1 and 65535.

    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 Details

    • hasName

      boolean hasName()
       The name for this named port.
       The name must be 1-63 characters long, and comply withRFC1035.
       
      optional string name = 3373707;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       The name for this named port.
       The name must be 1-63 characters long, and comply withRFC1035.
       
      optional string name = 3373707;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name for this named port.
       The name must be 1-63 characters long, and comply withRFC1035.
       
      optional string name = 3373707;
      Returns:
      The bytes for name.
    • hasPort

      boolean hasPort()
       The port number, which can be a value between 1 and 65535.
       
      optional int32 port = 3446913;
      Returns:
      Whether the port field is set.
    • getPort

      int getPort()
       The port number, which can be a value between 1 and 65535.
       
      optional int32 port = 3446913;
      Returns:
      The port.