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.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 value)
The credentials used to verify the device credentials.DeviceRegistry.Builder
addCredentials(int index, RegistryCredential.Builder builderForValue)
The credentials used to verify the device credentials.DeviceRegistry.Builder
addCredentials(RegistryCredential value)
The credentials used to verify the device credentials.DeviceRegistry.Builder
addCredentials(RegistryCredential.Builder builderForValue)
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(int index, 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(EventNotificationConfig value)
The configuration for notification of telemetry events received from the device.DeviceRegistry.Builder
addEventNotificationConfigs(EventNotificationConfig.Builder builderForValue)
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(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.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.com.google.protobuf.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.com.google.protobuf.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DeviceRegistry.Builder
mergeFrom(DeviceRegistry other)
DeviceRegistry.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DeviceRegistry.Builder
mergeFrom(com.google.protobuf.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(com.google.protobuf.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 value)
The credentials used to verify the device credentials.DeviceRegistry.Builder
setCredentials(int index, RegistryCredential.Builder builderForValue)
The credentials used to verify the device credentials.DeviceRegistry.Builder
setEventNotificationConfigs(int index, EventNotificationConfig value)
The configuration for notification of telemetry events received from the device.DeviceRegistry.Builder
setEventNotificationConfigs(int index, EventNotificationConfig.Builder builderForValue)
The configuration for notification of telemetry events received from the device.DeviceRegistry.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeviceRegistry.Builder
setHttpConfig(HttpConfig value)
The DeviceService (HTTP) configuration for this device registry.DeviceRegistry.Builder
setHttpConfig(HttpConfig.Builder builderForValue)
The DeviceService (HTTP) configuration for this device registry.DeviceRegistry.Builder
setId(String value)
The identifier of this device registry.DeviceRegistry.Builder
setIdBytes(com.google.protobuf.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 value)
The MQTT configuration for this device registry.DeviceRegistry.Builder
setMqttConfig(MqttConfig.Builder builderForValue)
The MQTT configuration for this device registry.DeviceRegistry.Builder
setName(String value)
The resource path name.DeviceRegistry.Builder
setNameBytes(com.google.protobuf.ByteString value)
The resource path name.DeviceRegistry.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DeviceRegistry.Builder
setStateNotificationConfig(StateNotificationConfig value)
The configuration for notification of new states received from the device.DeviceRegistry.Builder
setStateNotificationConfig(StateNotificationConfig.Builder builderForValue)
The configuration for notification of new states received from the device.DeviceRegistry.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
clear
public DeviceRegistry.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
getDefaultInstanceForType
public DeviceRegistry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DeviceRegistry build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DeviceRegistry buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DeviceRegistry.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
setField
public DeviceRegistry.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
clearField
public DeviceRegistry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
clearOneof
public DeviceRegistry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
setRepeatedField
public DeviceRegistry.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
addRepeatedField
public DeviceRegistry.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
mergeFrom
public DeviceRegistry.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DeviceRegistry.Builder>
-
mergeFrom
public DeviceRegistry.Builder mergeFrom(DeviceRegistry other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getId
in 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:
getIdBytes
in 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:
getName
in 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:
getNameBytes
in 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:
getEventNotificationConfigsList
in 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:
getEventNotificationConfigsCount
in 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:
getEventNotificationConfigs
in 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:
getEventNotificationConfigsOrBuilder
in 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:
getEventNotificationConfigsOrBuilderList
in 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:
hasStateNotificationConfig
in 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:
getStateNotificationConfig
in 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:
getStateNotificationConfigOrBuilder
in interfaceDeviceRegistryOrBuilder
-
hasMqttConfig
public boolean hasMqttConfig()
The MQTT configuration for this device registry.
.google.cloud.iot.v1.MqttConfig mqtt_config = 4;
- Specified by:
hasMqttConfig
in 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:
getMqttConfig
in 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:
getMqttConfigOrBuilder
in interfaceDeviceRegistryOrBuilder
-
hasHttpConfig
public boolean hasHttpConfig()
The DeviceService (HTTP) configuration for this device registry.
.google.cloud.iot.v1.HttpConfig http_config = 9;
- Specified by:
hasHttpConfig
in 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:
getHttpConfig
in 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:
getHttpConfigOrBuilder
in 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:
getLogLevelValue
in 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:
getLogLevel
in 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:
getCredentialsList
in 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:
getCredentialsCount
in 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:
getCredentials
in 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:
getCredentialsOrBuilder
in 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:
getCredentialsOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
mergeUnknownFields
public final DeviceRegistry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceRegistry.Builder>
-
-