public static enum PBTopicData.UpdateMode extends Enum<PBTopicData.UpdateMode>
Enum Constant and Description |
---|
FULL
Input messages passed to update methods are assumed to contain the
full Topic state.
|
PARTIAL
Input messages passed to update methods are assumed to contain only
values for fields that are being changed.
|
Modifier and Type | Method and Description |
---|---|
static PBTopicData.UpdateMode |
fromCode(String code)
Returns UpdateMode enum from code value.
|
String |
getCode()
Returns the code used in message transmission for this enum.
|
static PBTopicData.UpdateMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PBTopicData.UpdateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PBTopicData.UpdateMode PARTIAL
This is the default mode.
public static final PBTopicData.UpdateMode FULL
public static PBTopicData.UpdateMode[] values()
for (PBTopicData.UpdateMode c : PBTopicData.UpdateMode.values()) System.out.println(c);
public static PBTopicData.UpdateMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static PBTopicData.UpdateMode fromCode(String code)
code
- the UpdateMode code.public String getCode()
Copyright © 2016 Push Technology Ltd. All Rights Reserved.