Package com.google.cloud.iot.v1
Class DeviceRegistry.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
- com.google.cloud.iot.v1.DeviceRegistry.Builder
-
- All Implemented Interfaces:
DeviceRegistryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DeviceRegistry
public static final class DeviceRegistry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder> implements DeviceRegistryOrBuilder
A container for a group of devices.
Protobuf typegoogle.cloud.iot.v1.DeviceRegistry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceRegistry.BuilderaddAllCredentials(Iterable<? extends RegistryCredential> values)The credentials used to verify the device credentials.DeviceRegistry.BuilderaddAllEventNotificationConfigs(Iterable<? extends EventNotificationConfig> values)The configuration for notification of telemetry events received from the device.DeviceRegistry.BuilderaddCredentials(int index, RegistryCredential value)The credentials used to verify the device credentials.DeviceRegistry.BuilderaddCredentials(int index, RegistryCredential.Builder builderForValue)The credentials used to verify the device credentials.DeviceRegistry.BuilderaddCredentials(RegistryCredential value)The credentials used to verify the device credentials.DeviceRegistry.BuilderaddCredentials(RegistryCredential.Builder builderForValue)The credentials used to verify the device credentials.RegistryCredential.BuilderaddCredentialsBuilder()The credentials used to verify the device credentials.RegistryCredential.BuilderaddCredentialsBuilder(int index)The credentials used to verify the device credentials.DeviceRegistry.BuilderaddEventNotificationConfigs(int index, EventNotificationConfig value)The configuration for notification of telemetry events received from the device.DeviceRegistry.BuilderaddEventNotificationConfigs(int index, EventNotificationConfig.Builder builderForValue)The configuration for notification of telemetry events received from the device.DeviceRegistry.BuilderaddEventNotificationConfigs(EventNotificationConfig value)The configuration for notification of telemetry events received from the device.DeviceRegistry.BuilderaddEventNotificationConfigs(EventNotificationConfig.Builder builderForValue)The configuration for notification of telemetry events received from the device.EventNotificationConfig.BuilderaddEventNotificationConfigsBuilder()The configuration for notification of telemetry events received from the device.EventNotificationConfig.BuilderaddEventNotificationConfigsBuilder(int index)The configuration for notification of telemetry events received from the device.DeviceRegistry.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DeviceRegistrybuild()DeviceRegistrybuildPartial()DeviceRegistry.Builderclear()DeviceRegistry.BuilderclearCredentials()The credentials used to verify the device credentials.DeviceRegistry.BuilderclearEventNotificationConfigs()The configuration for notification of telemetry events received from the device.DeviceRegistry.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DeviceRegistry.BuilderclearHttpConfig()The DeviceService (HTTP) configuration for this device registry.DeviceRegistry.BuilderclearId()The identifier of this device registry.DeviceRegistry.BuilderclearLogLevel()**Beta Feature** The default logging verbosity for activity from devices in this registry.DeviceRegistry.BuilderclearMqttConfig()The MQTT configuration for this device registry.DeviceRegistry.BuilderclearName()The resource path name.DeviceRegistry.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DeviceRegistry.BuilderclearStateNotificationConfig()The configuration for notification of new states received from the device.DeviceRegistry.Builderclone()RegistryCredentialgetCredentials(int index)The credentials used to verify the device credentials.RegistryCredential.BuildergetCredentialsBuilder(int index)The credentials used to verify the device credentials.List<RegistryCredential.Builder>getCredentialsBuilderList()The credentials used to verify the device credentials.intgetCredentialsCount()The credentials used to verify the device credentials.List<RegistryCredential>getCredentialsList()The credentials used to verify the device credentials.RegistryCredentialOrBuildergetCredentialsOrBuilder(int index)The credentials used to verify the device credentials.List<? extends RegistryCredentialOrBuilder>getCredentialsOrBuilderList()The credentials used to verify the device credentials.DeviceRegistrygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()EventNotificationConfiggetEventNotificationConfigs(int index)The configuration for notification of telemetry events received from the device.EventNotificationConfig.BuildergetEventNotificationConfigsBuilder(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.intgetEventNotificationConfigsCount()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.EventNotificationConfigOrBuildergetEventNotificationConfigsOrBuilder(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.HttpConfiggetHttpConfig()The DeviceService (HTTP) configuration for this device registry.HttpConfig.BuildergetHttpConfigBuilder()The DeviceService (HTTP) configuration for this device registry.HttpConfigOrBuildergetHttpConfigOrBuilder()The DeviceService (HTTP) configuration for this device registry.StringgetId()The identifier of this device registry.com.google.protobuf.ByteStringgetIdBytes()The identifier of this device registry.LogLevelgetLogLevel()**Beta Feature** The default logging verbosity for activity from devices in this registry.intgetLogLevelValue()**Beta Feature** The default logging verbosity for activity from devices in this registry.MqttConfiggetMqttConfig()The MQTT configuration for this device registry.MqttConfig.BuildergetMqttConfigBuilder()The MQTT configuration for this device registry.MqttConfigOrBuildergetMqttConfigOrBuilder()The MQTT configuration for this device registry.StringgetName()The resource path name.com.google.protobuf.ByteStringgetNameBytes()The resource path name.StateNotificationConfiggetStateNotificationConfig()The configuration for notification of new states received from the device.StateNotificationConfig.BuildergetStateNotificationConfigBuilder()The configuration for notification of new states received from the device.StateNotificationConfigOrBuildergetStateNotificationConfigOrBuilder()The configuration for notification of new states received from the device.booleanhasHttpConfig()The DeviceService (HTTP) configuration for this device registry.booleanhasMqttConfig()The MQTT configuration for this device registry.booleanhasStateNotificationConfig()The configuration for notification of new states received from the device.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DeviceRegistry.BuildermergeFrom(DeviceRegistry other)DeviceRegistry.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DeviceRegistry.BuildermergeFrom(com.google.protobuf.Message other)DeviceRegistry.BuildermergeHttpConfig(HttpConfig value)The DeviceService (HTTP) configuration for this device registry.DeviceRegistry.BuildermergeMqttConfig(MqttConfig value)The MQTT configuration for this device registry.DeviceRegistry.BuildermergeStateNotificationConfig(StateNotificationConfig value)The configuration for notification of new states received from the device.DeviceRegistry.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DeviceRegistry.BuilderremoveCredentials(int index)The credentials used to verify the device credentials.DeviceRegistry.BuilderremoveEventNotificationConfigs(int index)The configuration for notification of telemetry events received from the device.DeviceRegistry.BuildersetCredentials(int index, RegistryCredential value)The credentials used to verify the device credentials.DeviceRegistry.BuildersetCredentials(int index, RegistryCredential.Builder builderForValue)The credentials used to verify the device credentials.DeviceRegistry.BuildersetEventNotificationConfigs(int index, EventNotificationConfig value)The configuration for notification of telemetry events received from the device.DeviceRegistry.BuildersetEventNotificationConfigs(int index, EventNotificationConfig.Builder builderForValue)The configuration for notification of telemetry events received from the device.DeviceRegistry.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DeviceRegistry.BuildersetHttpConfig(HttpConfig value)The DeviceService (HTTP) configuration for this device registry.DeviceRegistry.BuildersetHttpConfig(HttpConfig.Builder builderForValue)The DeviceService (HTTP) configuration for this device registry.DeviceRegistry.BuildersetId(String value)The identifier of this device registry.DeviceRegistry.BuildersetIdBytes(com.google.protobuf.ByteString value)The identifier of this device registry.DeviceRegistry.BuildersetLogLevel(LogLevel value)**Beta Feature** The default logging verbosity for activity from devices in this registry.DeviceRegistry.BuildersetLogLevelValue(int value)**Beta Feature** The default logging verbosity for activity from devices in this registry.DeviceRegistry.BuildersetMqttConfig(MqttConfig value)The MQTT configuration for this device registry.DeviceRegistry.BuildersetMqttConfig(MqttConfig.Builder builderForValue)The MQTT configuration for this device registry.DeviceRegistry.BuildersetName(String value)The resource path name.DeviceRegistry.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource path name.DeviceRegistry.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DeviceRegistry.BuildersetStateNotificationConfig(StateNotificationConfig value)The configuration for notification of new states received from the device.DeviceRegistry.BuildersetStateNotificationConfig(StateNotificationConfig.Builder builderForValue)The configuration for notification of new states received from the device.DeviceRegistry.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
clear
public DeviceRegistry.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
getDefaultInstanceForType
public DeviceRegistry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DeviceRegistry build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DeviceRegistry buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DeviceRegistry.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
setField
public DeviceRegistry.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
clearField
public DeviceRegistry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
clearOneof
public DeviceRegistry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
setRepeatedField
public DeviceRegistry.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
addRepeatedField
public DeviceRegistry.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
mergeFrom
public DeviceRegistry.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeviceRegistry.Builder>
-
mergeFrom
public DeviceRegistry.Builder mergeFrom(DeviceRegistry other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
mergeFrom
public DeviceRegistry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeviceRegistry.Builder>- Throws:
IOException
-
getId
public String getId()
The identifier of this device registry. For example, `myRegistry`.
string id = 1;- Specified by:
getIdin interfaceDeviceRegistryOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
The identifier of this device registry. For example, `myRegistry`.
string id = 1;- Specified by:
getIdBytesin interfaceDeviceRegistryOrBuilder- Returns:
- The bytes for id.
-
setId
public DeviceRegistry.Builder setId(String value)
The identifier of this device registry. For example, `myRegistry`.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public DeviceRegistry.Builder clearId()
The identifier of this device registry. For example, `myRegistry`.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public DeviceRegistry.Builder setIdBytes(com.google.protobuf.ByteString value)
The identifier of this device registry. For example, `myRegistry`.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getName
public String getName()
The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
string name = 2;- Specified by:
getNamein interfaceDeviceRegistryOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
string name = 2;- Specified by:
getNameBytesin interfaceDeviceRegistryOrBuilder- Returns:
- The bytes for name.
-
setName
public DeviceRegistry.Builder setName(String value)
The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public DeviceRegistry.Builder clearName()
The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
public DeviceRegistry.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getEventNotificationConfigsList
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;- Specified by:
getEventNotificationConfigsListin interfaceDeviceRegistryOrBuilder
-
getEventNotificationConfigsCount
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;- Specified by:
getEventNotificationConfigsCountin interfaceDeviceRegistryOrBuilder
-
getEventNotificationConfigs
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;- Specified by:
getEventNotificationConfigsin interfaceDeviceRegistryOrBuilder
-
setEventNotificationConfigs
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;
-
setEventNotificationConfigs
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;
-
addEventNotificationConfigs
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;
-
addEventNotificationConfigs
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;
-
addEventNotificationConfigs
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;
-
addEventNotificationConfigs
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;
-
addAllEventNotificationConfigs
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;
-
clearEventNotificationConfigs
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;
-
removeEventNotificationConfigs
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;
-
getEventNotificationConfigsBuilder
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;
-
getEventNotificationConfigsOrBuilder
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;- Specified by:
getEventNotificationConfigsOrBuilderin interfaceDeviceRegistryOrBuilder
-
getEventNotificationConfigsOrBuilderList
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;- Specified by:
getEventNotificationConfigsOrBuilderListin interfaceDeviceRegistryOrBuilder
-
addEventNotificationConfigsBuilder
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;
-
addEventNotificationConfigsBuilder
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;
-
getEventNotificationConfigsBuilderList
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;
-
hasStateNotificationConfig
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;- Specified by:
hasStateNotificationConfigin interfaceDeviceRegistryOrBuilder- Returns:
- Whether the stateNotificationConfig field is set.
-
getStateNotificationConfig
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;- Specified by:
getStateNotificationConfigin interfaceDeviceRegistryOrBuilder- Returns:
- The stateNotificationConfig.
-
setStateNotificationConfig
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;
-
setStateNotificationConfig
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;
-
mergeStateNotificationConfig
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;
-
clearStateNotificationConfig
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;
-
getStateNotificationConfigBuilder
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;
-
getStateNotificationConfigOrBuilder
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;- Specified by:
getStateNotificationConfigOrBuilderin interfaceDeviceRegistryOrBuilder
-
hasMqttConfig
public boolean hasMqttConfig()
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;- Specified by:
hasMqttConfigin interfaceDeviceRegistryOrBuilder- Returns:
- Whether the mqttConfig field is set.
-
getMqttConfig
public MqttConfig getMqttConfig()
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;- Specified by:
getMqttConfigin interfaceDeviceRegistryOrBuilder- Returns:
- The mqttConfig.
-
setMqttConfig
public DeviceRegistry.Builder setMqttConfig(MqttConfig value)
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;
-
setMqttConfig
public DeviceRegistry.Builder setMqttConfig(MqttConfig.Builder builderForValue)
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;
-
mergeMqttConfig
public DeviceRegistry.Builder mergeMqttConfig(MqttConfig value)
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;
-
clearMqttConfig
public DeviceRegistry.Builder clearMqttConfig()
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;
-
getMqttConfigBuilder
public MqttConfig.Builder getMqttConfigBuilder()
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;
-
getMqttConfigOrBuilder
public MqttConfigOrBuilder getMqttConfigOrBuilder()
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;- Specified by:
getMqttConfigOrBuilderin interfaceDeviceRegistryOrBuilder
-
hasHttpConfig
public boolean hasHttpConfig()
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;- Specified by:
hasHttpConfigin interfaceDeviceRegistryOrBuilder- Returns:
- Whether the httpConfig field is set.
-
getHttpConfig
public HttpConfig getHttpConfig()
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;- Specified by:
getHttpConfigin interfaceDeviceRegistryOrBuilder- Returns:
- The httpConfig.
-
setHttpConfig
public DeviceRegistry.Builder setHttpConfig(HttpConfig value)
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;
-
setHttpConfig
public DeviceRegistry.Builder setHttpConfig(HttpConfig.Builder builderForValue)
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;
-
mergeHttpConfig
public DeviceRegistry.Builder mergeHttpConfig(HttpConfig value)
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;
-
clearHttpConfig
public DeviceRegistry.Builder clearHttpConfig()
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;
-
getHttpConfigBuilder
public HttpConfig.Builder getHttpConfigBuilder()
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;
-
getHttpConfigOrBuilder
public HttpConfigOrBuilder getHttpConfigOrBuilder()
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;- Specified by:
getHttpConfigOrBuilderin interfaceDeviceRegistryOrBuilder
-
getLogLevelValue
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;- Specified by:
getLogLevelValuein interfaceDeviceRegistryOrBuilder- Returns:
- The enum numeric value on the wire for logLevel.
-
setLogLevelValue
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;- Parameters:
value- The enum numeric value on the wire for logLevel to set.- Returns:
- This builder for chaining.
-
getLogLevel
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;- Specified by:
getLogLevelin interfaceDeviceRegistryOrBuilder- Returns:
- The logLevel.
-
setLogLevel
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;- Parameters:
value- The logLevel to set.- Returns:
- This builder for chaining.
-
clearLogLevel
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;- Returns:
- This builder for chaining.
-
getCredentialsList
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;- Specified by:
getCredentialsListin interfaceDeviceRegistryOrBuilder
-
getCredentialsCount
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;- Specified by:
getCredentialsCountin interfaceDeviceRegistryOrBuilder
-
getCredentials
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;- Specified by:
getCredentialsin interfaceDeviceRegistryOrBuilder
-
setCredentials
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;
-
setCredentials
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;
-
addCredentials
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;
-
addCredentials
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;
-
addCredentials
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;
-
addCredentials
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;
-
addAllCredentials
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;
-
clearCredentials
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;
-
removeCredentials
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;
-
getCredentialsBuilder
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;
-
getCredentialsOrBuilder
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;- Specified by:
getCredentialsOrBuilderin interfaceDeviceRegistryOrBuilder
-
getCredentialsOrBuilderList
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;- Specified by:
getCredentialsOrBuilderListin interfaceDeviceRegistryOrBuilder
-
addCredentialsBuilder
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;
-
addCredentialsBuilder
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;
-
getCredentialsBuilderList
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;
-
setUnknownFields
public final DeviceRegistry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
mergeUnknownFields
public final DeviceRegistry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
-