Protocol Class
- java.
lang. Object - com.
microsoft. azure. management. network. Protocol
- com.
public class Protocol
Defines values for Protocol.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Protocol |
TCP
Static value TCP for Protocol. |
final Protocol |
UDP
Static value UDP for Protocol. |
Constructor Summary
Constructor | Description |
---|---|
Protocol(String value) |
Creates a custom value for Protocol. |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | equals(Object obj) |
int | hashCode() |
String | toString() |
Field Details
TCP
public static final Protocol TCP= new Protocol("TCP")
Static value TCP for Protocol.
UDP
public static final Protocol UDP= new Protocol("UDP")
Static value UDP for Protocol.
Constructor Details
Protocol
public Protocol(String value)
Creates a custom value for Protocol.
Parameters:
value
- the custom value
Method Details
equals
public boolean equals(Object obj)
Parameters:
obj
hashCode
public int hashCode()
toString
public String toString()
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for