public static final class MqttConfig.Builder extends GeneratedMessageV3.Builder<MqttConfig.Builder> implements MqttConfigOrBuilder
The configuration of MQTT for a device registry.
Protobuf type google.events.cloud.iot.v1.MqttConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MqttConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MqttConfig build()
buildPartial()
public MqttConfig buildPartial()
clear()
public MqttConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MqttConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMqttEnabledState()
public MqttConfig.Builder clearMqttEnabledState()
If enabled, allows connections using the MQTT protocol. Otherwise, MQTT
connections to this registry will fail.
.google.events.cloud.iot.v1.MqttState mqtt_enabled_state = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public MqttConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MqttConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public MqttConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMqttEnabledState()
public MqttState getMqttEnabledState()
If enabled, allows connections using the MQTT protocol. Otherwise, MQTT
connections to this registry will fail.
.google.events.cloud.iot.v1.MqttState mqtt_enabled_state = 1;
Returns |
---|
Type | Description |
MqttState | The mqttEnabledState.
|
getMqttEnabledStateValue()
public int getMqttEnabledStateValue()
If enabled, allows connections using the MQTT protocol. Otherwise, MQTT
connections to this registry will fail.
.google.events.cloud.iot.v1.MqttState mqtt_enabled_state = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for mqttEnabledState.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MqttConfig other)
public MqttConfig.Builder mergeFrom(MqttConfig other)
public MqttConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MqttConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MqttConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MqttConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMqttEnabledState(MqttState value)
public MqttConfig.Builder setMqttEnabledState(MqttState value)
If enabled, allows connections using the MQTT protocol. Otherwise, MQTT
connections to this registry will fail.
.google.events.cloud.iot.v1.MqttState mqtt_enabled_state = 1;
Parameter |
---|
Name | Description |
value | MqttState
The mqttEnabledState to set.
|
setMqttEnabledStateValue(int value)
public MqttConfig.Builder setMqttEnabledStateValue(int value)
If enabled, allows connections using the MQTT protocol. Otherwise, MQTT
connections to this registry will fail.
.google.events.cloud.iot.v1.MqttState mqtt_enabled_state = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for mqttEnabledState to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MqttConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MqttConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides