public static final class DeviceRegistry.Builder extends GeneratedMessageV3.Builder<DeviceRegistry.Builder> implements DeviceRegistryOrBuilder
A container for a group of devices.Protobuf type
google.cloud.iot.v1.DeviceRegistry
Modifier and Type | Method and Description |
---|---|
DeviceRegistry.Builder |
addAllCredentials(Iterable<? extends RegistryCredential> values)
The credentials used to verify the device credentials.
|
DeviceRegistry.Builder |
addAllEventNotificationConfigs(Iterable<? extends EventNotificationConfig> values)
The configuration for notification of telemetry events received from the
device.
|
DeviceRegistry.Builder |
addCredentials(int index,
RegistryCredential.Builder builderForValue)
The credentials used to verify the device credentials.
|
DeviceRegistry.Builder |
addCredentials(int index,
RegistryCredential value)
The credentials used to verify the device credentials.
|
DeviceRegistry.Builder |
addCredentials(RegistryCredential.Builder builderForValue)
The credentials used to verify the device credentials.
|
DeviceRegistry.Builder |
addCredentials(RegistryCredential value)
The credentials used to verify the device credentials.
|
RegistryCredential.Builder |
addCredentialsBuilder()
The credentials used to verify the device credentials.
|
RegistryCredential.Builder |
addCredentialsBuilder(int index)
The credentials used to verify the device credentials.
|
DeviceRegistry.Builder |
addEventNotificationConfigs(EventNotificationConfig.Builder builderForValue)
The configuration for notification of telemetry events received from the
device.
|
DeviceRegistry.Builder |
addEventNotificationConfigs(EventNotificationConfig value)
The configuration for notification of telemetry events received from the
device.
|
DeviceRegistry.Builder |
addEventNotificationConfigs(int index,
EventNotificationConfig.Builder builderForValue)
The configuration for notification of telemetry events received from the
device.
|
DeviceRegistry.Builder |
addEventNotificationConfigs(int index,
EventNotificationConfig value)
The configuration for notification of telemetry events received from the
device.
|
EventNotificationConfig.Builder |
addEventNotificationConfigsBuilder()
The configuration for notification of telemetry events received from the
device.
|
EventNotificationConfig.Builder |
addEventNotificationConfigsBuilder(int index)
The configuration for notification of telemetry events received from the
device.
|
DeviceRegistry.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
DeviceRegistry |
build() |
DeviceRegistry |
buildPartial() |
DeviceRegistry.Builder |
clear() |
DeviceRegistry.Builder |
clearCredentials()
The credentials used to verify the device credentials.
|
DeviceRegistry.Builder |
clearEventNotificationConfigs()
The configuration for notification of telemetry events received from the
device.
|
DeviceRegistry.Builder |
clearField(Descriptors.FieldDescriptor field) |
DeviceRegistry.Builder |
clearHttpConfig()
The DeviceService (HTTP) configuration for this device registry.
|
DeviceRegistry.Builder |
clearId()
The identifier of this device registry.
|
DeviceRegistry.Builder |
clearLogLevel()
**Beta Feature**
The default logging verbosity for activity from devices in this registry.
|
DeviceRegistry.Builder |
clearMqttConfig()
The MQTT configuration for this device registry.
|
DeviceRegistry.Builder |
clearName()
The resource path name.
|
DeviceRegistry.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
DeviceRegistry.Builder |
clearStateNotificationConfig()
The configuration for notification of new states received from the device.
|
DeviceRegistry.Builder |
clone() |
RegistryCredential |
getCredentials(int index)
The credentials used to verify the device credentials.
|
RegistryCredential.Builder |
getCredentialsBuilder(int index)
The credentials used to verify the device credentials.
|
List<RegistryCredential.Builder> |
getCredentialsBuilderList()
The credentials used to verify the device credentials.
|
int |
getCredentialsCount()
The credentials used to verify the device credentials.
|
List<RegistryCredential> |
getCredentialsList()
The credentials used to verify the device credentials.
|
RegistryCredentialOrBuilder |
getCredentialsOrBuilder(int index)
The credentials used to verify the device credentials.
|
List<? extends RegistryCredentialOrBuilder> |
getCredentialsOrBuilderList()
The credentials used to verify the device credentials.
|
DeviceRegistry |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
EventNotificationConfig |
getEventNotificationConfigs(int index)
The configuration for notification of telemetry events received from the
device.
|
EventNotificationConfig.Builder |
getEventNotificationConfigsBuilder(int index)
The configuration for notification of telemetry events received from the
device.
|
List<EventNotificationConfig.Builder> |
getEventNotificationConfigsBuilderList()
The configuration for notification of telemetry events received from the
device.
|
int |
getEventNotificationConfigsCount()
The configuration for notification of telemetry events received from the
device.
|
List<EventNotificationConfig> |
getEventNotificationConfigsList()
The configuration for notification of telemetry events received from the
device.
|
EventNotificationConfigOrBuilder |
getEventNotificationConfigsOrBuilder(int index)
The configuration for notification of telemetry events received from the
device.
|
List<? extends EventNotificationConfigOrBuilder> |
getEventNotificationConfigsOrBuilderList()
The configuration for notification of telemetry events received from the
device.
|
HttpConfig |
getHttpConfig()
The DeviceService (HTTP) configuration for this device registry.
|
HttpConfig.Builder |
getHttpConfigBuilder()
The DeviceService (HTTP) configuration for this device registry.
|
HttpConfigOrBuilder |
getHttpConfigOrBuilder()
The DeviceService (HTTP) configuration for this device registry.
|
String |
getId()
The identifier of this device registry.
|
ByteString |
getIdBytes()
The identifier of this device registry.
|
LogLevel |
getLogLevel()
**Beta Feature**
The default logging verbosity for activity from devices in this registry.
|
int |
getLogLevelValue()
**Beta Feature**
The default logging verbosity for activity from devices in this registry.
|
MqttConfig |
getMqttConfig()
The MQTT configuration for this device registry.
|
MqttConfig.Builder |
getMqttConfigBuilder()
The MQTT configuration for this device registry.
|
MqttConfigOrBuilder |
getMqttConfigOrBuilder()
The MQTT configuration for this device registry.
|
String |
getName()
The resource path name.
|
ByteString |
getNameBytes()
The resource path name.
|
StateNotificationConfig |
getStateNotificationConfig()
The configuration for notification of new states received from the device.
|
StateNotificationConfig.Builder |
getStateNotificationConfigBuilder()
The configuration for notification of new states received from the device.
|
StateNotificationConfigOrBuilder |
getStateNotificationConfigOrBuilder()
The configuration for notification of new states received from the device.
|
boolean |
hasHttpConfig()
The DeviceService (HTTP) configuration for this device registry.
|
boolean |
hasMqttConfig()
The MQTT configuration for this device registry.
|
boolean |
hasStateNotificationConfig()
The configuration for notification of new states received from the device.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DeviceRegistry.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
DeviceRegistry.Builder |
mergeFrom(DeviceRegistry other) |
DeviceRegistry.Builder |
mergeFrom(Message other) |
DeviceRegistry.Builder |
mergeHttpConfig(HttpConfig value)
The DeviceService (HTTP) configuration for this device registry.
|
DeviceRegistry.Builder |
mergeMqttConfig(MqttConfig value)
The MQTT configuration for this device registry.
|
DeviceRegistry.Builder |
mergeStateNotificationConfig(StateNotificationConfig value)
The configuration for notification of new states received from the device.
|
DeviceRegistry.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
DeviceRegistry.Builder |
removeCredentials(int index)
The credentials used to verify the device credentials.
|
DeviceRegistry.Builder |
removeEventNotificationConfigs(int index)
The configuration for notification of telemetry events received from the
device.
|
DeviceRegistry.Builder |
setCredentials(int index,
RegistryCredential.Builder builderForValue)
The credentials used to verify the device credentials.
|
DeviceRegistry.Builder |
setCredentials(int index,
RegistryCredential value)
The credentials used to verify the device credentials.
|
DeviceRegistry.Builder |
setEventNotificationConfigs(int index,
EventNotificationConfig.Builder builderForValue)
The configuration for notification of telemetry events received from the
device.
|
DeviceRegistry.Builder |
setEventNotificationConfigs(int index,
EventNotificationConfig value)
The configuration for notification of telemetry events received from the
device.
|
DeviceRegistry.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
DeviceRegistry.Builder |
setHttpConfig(HttpConfig.Builder builderForValue)
The DeviceService (HTTP) configuration for this device registry.
|
DeviceRegistry.Builder |
setHttpConfig(HttpConfig value)
The DeviceService (HTTP) configuration for this device registry.
|
DeviceRegistry.Builder |
setId(String value)
The identifier of this device registry.
|
DeviceRegistry.Builder |
setIdBytes(ByteString value)
The identifier of this device registry.
|
DeviceRegistry.Builder |
setLogLevel(LogLevel value)
**Beta Feature**
The default logging verbosity for activity from devices in this registry.
|
DeviceRegistry.Builder |
setLogLevelValue(int value)
**Beta Feature**
The default logging verbosity for activity from devices in this registry.
|
DeviceRegistry.Builder |
setMqttConfig(MqttConfig.Builder builderForValue)
The MQTT configuration for this device registry.
|
DeviceRegistry.Builder |
setMqttConfig(MqttConfig value)
The MQTT configuration for this device registry.
|
DeviceRegistry.Builder |
setName(String value)
The resource path name.
|
DeviceRegistry.Builder |
setNameBytes(ByteString value)
The resource path name.
|
DeviceRegistry.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
DeviceRegistry.Builder |
setStateNotificationConfig(StateNotificationConfig.Builder builderForValue)
The configuration for notification of new states received from the device.
|
DeviceRegistry.Builder |
setStateNotificationConfig(StateNotificationConfig value)
The configuration for notification of new states received from the device.
|
DeviceRegistry.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<DeviceRegistry.Builder>
public DeviceRegistry.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<DeviceRegistry.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<DeviceRegistry.Builder>
public DeviceRegistry getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public DeviceRegistry build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public DeviceRegistry buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public DeviceRegistry.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<DeviceRegistry.Builder>
public DeviceRegistry.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<DeviceRegistry.Builder>
public DeviceRegistry.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<DeviceRegistry.Builder>
public DeviceRegistry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<DeviceRegistry.Builder>
public DeviceRegistry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<DeviceRegistry.Builder>
public DeviceRegistry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<DeviceRegistry.Builder>
public DeviceRegistry.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<DeviceRegistry.Builder>
public DeviceRegistry.Builder mergeFrom(DeviceRegistry other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<DeviceRegistry.Builder>
public DeviceRegistry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<DeviceRegistry.Builder>
IOException
public String getId()
The identifier of this device registry. For example, `myRegistry`.
string id = 1;
getId
in interface DeviceRegistryOrBuilder
public ByteString getIdBytes()
The identifier of this device registry. For example, `myRegistry`.
string id = 1;
getIdBytes
in interface DeviceRegistryOrBuilder
public DeviceRegistry.Builder setId(String value)
The identifier of this device registry. For example, `myRegistry`.
string id = 1;
value
- The id to set.public DeviceRegistry.Builder clearId()
The identifier of this device registry. For example, `myRegistry`.
string id = 1;
public DeviceRegistry.Builder setIdBytes(ByteString value)
The identifier of this device registry. For example, `myRegistry`.
string id = 1;
value
- The bytes for id to set.public String getName()
The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
string name = 2;
getName
in interface DeviceRegistryOrBuilder
public ByteString getNameBytes()
The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
string name = 2;
getNameBytes
in interface DeviceRegistryOrBuilder
public DeviceRegistry.Builder setName(String value)
The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
string name = 2;
value
- The name to set.public DeviceRegistry.Builder clearName()
The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
string name = 2;
public DeviceRegistry.Builder setNameBytes(ByteString value)
The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
string name = 2;
value
- The bytes for name to set.public List<EventNotificationConfig> getEventNotificationConfigsList()
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
getEventNotificationConfigsList
in interface DeviceRegistryOrBuilder
public int getEventNotificationConfigsCount()
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
getEventNotificationConfigsCount
in interface DeviceRegistryOrBuilder
public EventNotificationConfig getEventNotificationConfigs(int index)
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
getEventNotificationConfigs
in interface DeviceRegistryOrBuilder
public DeviceRegistry.Builder setEventNotificationConfigs(int index, EventNotificationConfig value)
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
public DeviceRegistry.Builder setEventNotificationConfigs(int index, EventNotificationConfig.Builder builderForValue)
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
public DeviceRegistry.Builder addEventNotificationConfigs(EventNotificationConfig value)
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
public DeviceRegistry.Builder addEventNotificationConfigs(int index, EventNotificationConfig value)
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
public DeviceRegistry.Builder addEventNotificationConfigs(EventNotificationConfig.Builder builderForValue)
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
public DeviceRegistry.Builder addEventNotificationConfigs(int index, EventNotificationConfig.Builder builderForValue)
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
public DeviceRegistry.Builder addAllEventNotificationConfigs(Iterable<? extends EventNotificationConfig> values)
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
public DeviceRegistry.Builder clearEventNotificationConfigs()
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
public DeviceRegistry.Builder removeEventNotificationConfigs(int index)
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
public EventNotificationConfig.Builder getEventNotificationConfigsBuilder(int index)
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
public EventNotificationConfigOrBuilder getEventNotificationConfigsOrBuilder(int index)
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
getEventNotificationConfigsOrBuilder
in interface DeviceRegistryOrBuilder
public List<? extends EventNotificationConfigOrBuilder> getEventNotificationConfigsOrBuilderList()
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
getEventNotificationConfigsOrBuilderList
in interface DeviceRegistryOrBuilder
public EventNotificationConfig.Builder addEventNotificationConfigsBuilder()
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
public EventNotificationConfig.Builder addEventNotificationConfigsBuilder(int index)
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
public List<EventNotificationConfig.Builder> getEventNotificationConfigsBuilderList()
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
repeated .google.cloud.iot.v1.EventNotificationConfig event_notification_configs = 10;
public boolean hasStateNotificationConfig()
The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.
.google.cloud.iot.v1.StateNotificationConfig state_notification_config = 7;
hasStateNotificationConfig
in interface DeviceRegistryOrBuilder
public StateNotificationConfig getStateNotificationConfig()
The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.
.google.cloud.iot.v1.StateNotificationConfig state_notification_config = 7;
getStateNotificationConfig
in interface DeviceRegistryOrBuilder
public DeviceRegistry.Builder setStateNotificationConfig(StateNotificationConfig value)
The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.
.google.cloud.iot.v1.StateNotificationConfig state_notification_config = 7;
public DeviceRegistry.Builder setStateNotificationConfig(StateNotificationConfig.Builder builderForValue)
The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.
.google.cloud.iot.v1.StateNotificationConfig state_notification_config = 7;
public DeviceRegistry.Builder mergeStateNotificationConfig(StateNotificationConfig value)
The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.
.google.cloud.iot.v1.StateNotificationConfig state_notification_config = 7;
public DeviceRegistry.Builder clearStateNotificationConfig()
The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.
.google.cloud.iot.v1.StateNotificationConfig state_notification_config = 7;
public StateNotificationConfig.Builder getStateNotificationConfigBuilder()
The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.
.google.cloud.iot.v1.StateNotificationConfig state_notification_config = 7;
public StateNotificationConfigOrBuilder getStateNotificationConfigOrBuilder()
The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.
.google.cloud.iot.v1.StateNotificationConfig state_notification_config = 7;
getStateNotificationConfigOrBuilder
in interface DeviceRegistryOrBuilder
public boolean hasMqttConfig()
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;
hasMqttConfig
in interface DeviceRegistryOrBuilder
public MqttConfig getMqttConfig()
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;
getMqttConfig
in interface DeviceRegistryOrBuilder
public DeviceRegistry.Builder setMqttConfig(MqttConfig value)
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;
public DeviceRegistry.Builder setMqttConfig(MqttConfig.Builder builderForValue)
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;
public DeviceRegistry.Builder mergeMqttConfig(MqttConfig value)
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;
public DeviceRegistry.Builder clearMqttConfig()
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;
public MqttConfig.Builder getMqttConfigBuilder()
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;
public MqttConfigOrBuilder getMqttConfigOrBuilder()
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;
getMqttConfigOrBuilder
in interface DeviceRegistryOrBuilder
public boolean hasHttpConfig()
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;
hasHttpConfig
in interface DeviceRegistryOrBuilder
public HttpConfig getHttpConfig()
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;
getHttpConfig
in interface DeviceRegistryOrBuilder
public DeviceRegistry.Builder setHttpConfig(HttpConfig value)
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;
public DeviceRegistry.Builder setHttpConfig(HttpConfig.Builder builderForValue)
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;
public DeviceRegistry.Builder mergeHttpConfig(HttpConfig value)
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;
public DeviceRegistry.Builder clearHttpConfig()
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;
public HttpConfig.Builder getHttpConfigBuilder()
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;
public HttpConfigOrBuilder getHttpConfigOrBuilder()
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;
getHttpConfigOrBuilder
in interface DeviceRegistryOrBuilder
public int getLogLevelValue()
**Beta Feature** The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
.google.cloud.iot.v1.LogLevel log_level = 11;
getLogLevelValue
in interface DeviceRegistryOrBuilder
public DeviceRegistry.Builder setLogLevelValue(int value)
**Beta Feature** The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
.google.cloud.iot.v1.LogLevel log_level = 11;
value
- The enum numeric value on the wire for logLevel to set.public LogLevel getLogLevel()
**Beta Feature** The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
.google.cloud.iot.v1.LogLevel log_level = 11;
getLogLevel
in interface DeviceRegistryOrBuilder
public DeviceRegistry.Builder setLogLevel(LogLevel value)
**Beta Feature** The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
.google.cloud.iot.v1.LogLevel log_level = 11;
value
- The logLevel to set.public DeviceRegistry.Builder clearLogLevel()
**Beta Feature** The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
.google.cloud.iot.v1.LogLevel log_level = 11;
public List<RegistryCredential> getCredentialsList()
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
getCredentialsList
in interface DeviceRegistryOrBuilder
public int getCredentialsCount()
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
getCredentialsCount
in interface DeviceRegistryOrBuilder
public RegistryCredential getCredentials(int index)
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
getCredentials
in interface DeviceRegistryOrBuilder
public DeviceRegistry.Builder setCredentials(int index, RegistryCredential value)
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
public DeviceRegistry.Builder setCredentials(int index, RegistryCredential.Builder builderForValue)
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
public DeviceRegistry.Builder addCredentials(RegistryCredential value)
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
public DeviceRegistry.Builder addCredentials(int index, RegistryCredential value)
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
public DeviceRegistry.Builder addCredentials(RegistryCredential.Builder builderForValue)
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
public DeviceRegistry.Builder addCredentials(int index, RegistryCredential.Builder builderForValue)
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
public DeviceRegistry.Builder addAllCredentials(Iterable<? extends RegistryCredential> values)
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
public DeviceRegistry.Builder clearCredentials()
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
public DeviceRegistry.Builder removeCredentials(int index)
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
public RegistryCredential.Builder getCredentialsBuilder(int index)
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
public RegistryCredentialOrBuilder getCredentialsOrBuilder(int index)
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
getCredentialsOrBuilder
in interface DeviceRegistryOrBuilder
public List<? extends RegistryCredentialOrBuilder> getCredentialsOrBuilderList()
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
getCredentialsOrBuilderList
in interface DeviceRegistryOrBuilder
public RegistryCredential.Builder addCredentialsBuilder()
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
public RegistryCredential.Builder addCredentialsBuilder(int index)
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
public List<RegistryCredential.Builder> getCredentialsBuilderList()
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
repeated .google.cloud.iot.v1.RegistryCredential credentials = 8;
public final DeviceRegistry.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<DeviceRegistry.Builder>
public final DeviceRegistry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<DeviceRegistry.Builder>
Copyright © 2022 Google LLC. All rights reserved.