Package io.grpc.stub

Enum Class InternalClientCalls.StubType

java.lang.Object
java.lang.Enum<InternalClientCalls.StubType>
io.grpc.stub.InternalClientCalls.StubType
All Implemented Interfaces:
Serializable, Comparable<InternalClientCalls.StubType>, Constable
Enclosing class:
InternalClientCalls

public static enum InternalClientCalls.StubType extends Enum<InternalClientCalls.StubType>
Companion enum for internal enum ClientCalls.StubType.
  • Enum Constant Details

  • Method Details

    • values

      public static InternalClientCalls.StubType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static InternalClientCalls.StubType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static InternalClientCalls.StubType of(io.grpc.stub.ClientCalls.StubType internal)
      Returns companion enum value of passed internal enum equivalent.