你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PcProtocol 类

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.network.PcProtocol

public final class PcProtocol
extends com.microsoft.rest.ExpandableStringEnum<PcProtocol>

定义 PcProtocol 的值。

字段摘要

修饰符和类型 字段和描述
static final PcProtocol ANY

适用于电脑协议的静态值 Any。

static final PcProtocol TCP

Pc协议的静态值 TCP。

static final PcProtocol UDP

电脑协议的静态值 UDP。

构造函数摘要

构造函数 说明
PcProtocol()

方法摘要

修饰符和类型 方法和描述
static PcProtocol fromString(String name)

从其字符串表示形式创建或查找电脑协议。

static java.util.Collection<PcProtocol> values()

方法继承自 com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

方法继承自 java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

字段详细信息

ANY

public static final PcProtocol ANY

PcProtocol 的静态值 Any。

TCP

public static final PcProtocol TCP

PcProtocol 的静态值 TCP。

UDP

public static final PcProtocol UDP

PcProtocol 的静态值 UDP。

构造函数详细信息

PcProtocol

public PcProtocol()

方法详细信息

fromString

public static PcProtocol fromString(String name)

从其字符串表示形式创建或查找 PcProtocol。

Parameters:

name - 要查找的名称

Returns:

相应的 PcProtocol

values

public static Collection values()

Returns:

已知的 PcProtocol 值

适用于