Class AppProtocol
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AppProtocol>
com.azure.resourcemanager.appcontainers.models.AppProtocol
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AppProtocol
Static value grpc for AppProtocol.static final AppProtocol
Static value http for AppProtocol. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AppProtocol
fromString
(String name) Creates or finds a AppProtocol from its string representation.static Collection
<AppProtocol> values()
Gets known AppProtocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
HTTP
Static value http for AppProtocol. -
GRPC
Static value grpc for AppProtocol.
-
-
Constructor Details
-
AppProtocol
Deprecated.Use thefromString(String)
factory method.Creates a new instance of AppProtocol value.
-
-
Method Details
-
fromString
Creates or finds a AppProtocol from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AppProtocol.
-
values
Gets known AppProtocol values.- Returns:
- known AppProtocol values.
-
fromString(String)
factory method.