Enum MqttState (2.2.0)

public enum MqttState extends Enum<MqttState> implements ProtocolMessageEnum

Indicates whether an MQTT connection is enabled or disabled. See the field description for details.

Protobuf enum google.cloud.iot.v1.MqttState

Implements

ProtocolMessageEnum

Static Fields

NameDescription
MQTT_DISABLED

Disables a MQTT connection.

MQTT_DISABLED = 2;

MQTT_DISABLED_VALUE

Disables a MQTT connection.

MQTT_DISABLED = 2;

MQTT_ENABLED

Enables a MQTT connection.

MQTT_ENABLED = 1;

MQTT_ENABLED_VALUE

Enables a MQTT connection.

MQTT_ENABLED = 1;

MQTT_STATE_UNSPECIFIED

No MQTT state specified. If not specified, MQTT will be enabled by default.

MQTT_STATE_UNSPECIFIED = 0;

MQTT_STATE_UNSPECIFIED_VALUE

No MQTT state specified. If not specified, MQTT will be enabled by default.

MQTT_STATE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()