Package com.google.cloud.iot.v1
Class DeviceRegistry
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.iot.v1.DeviceRegistry
-
- All Implemented Interfaces:
DeviceRegistryOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class DeviceRegistry extends com.google.protobuf.GeneratedMessageV3 implements DeviceRegistryOrBuilder
A container for a group of devices.
Protobuf typegoogle.cloud.iot.v1.DeviceRegistry- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceRegistry.BuilderA container for a group of devices.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREDENTIALS_FIELD_NUMBERstatic intEVENT_NOTIFICATION_CONFIGS_FIELD_NUMBERstatic intHTTP_CONFIG_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intLOG_LEVEL_FIELD_NUMBERstatic intMQTT_CONFIG_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intSTATE_NOTIFICATION_CONFIG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)RegistryCredentialgetCredentials(int index)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.static DeviceRegistrygetDefaultInstance()DeviceRegistrygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()EventNotificationConfiggetEventNotificationConfigs(int index)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.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.MqttConfigOrBuildergetMqttConfigOrBuilder()The MQTT configuration for this device registry.StringgetName()The resource path name.com.google.protobuf.ByteStringgetNameBytes()The resource path name.com.google.protobuf.Parser<DeviceRegistry>getParserForType()intgetSerializedSize()StateNotificationConfiggetStateNotificationConfig()The configuration for notification of new states received from the device.StateNotificationConfigOrBuildergetStateNotificationConfigOrBuilder()The configuration for notification of new states received from the device.inthashCode()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()static DeviceRegistry.BuildernewBuilder()static DeviceRegistry.BuildernewBuilder(DeviceRegistry prototype)DeviceRegistry.BuildernewBuilderForType()protected DeviceRegistry.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DeviceRegistryparseDelimitedFrom(InputStream input)static DeviceRegistryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeviceRegistryparseFrom(byte[] data)static DeviceRegistryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeviceRegistryparseFrom(com.google.protobuf.ByteString data)static DeviceRegistryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeviceRegistryparseFrom(com.google.protobuf.CodedInputStream input)static DeviceRegistryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeviceRegistryparseFrom(InputStream input)static DeviceRegistryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeviceRegistryparseFrom(ByteBuffer data)static DeviceRegistryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DeviceRegistry>parser()DeviceRegistry.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_NOTIFICATION_CONFIGS_FIELD_NUMBER
public static final int EVENT_NOTIFICATION_CONFIGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_NOTIFICATION_CONFIG_FIELD_NUMBER
public static final int STATE_NOTIFICATION_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MQTT_CONFIG_FIELD_NUMBER
public static final int MQTT_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HTTP_CONFIG_FIELD_NUMBER
public static final int HTTP_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOG_LEVEL_FIELD_NUMBER
public static final int LOG_LEVEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREDENTIALS_FIELD_NUMBER
public static final int CREDENTIALS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DeviceRegistry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeviceRegistry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeviceRegistry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeviceRegistry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeviceRegistry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeviceRegistry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeviceRegistry parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DeviceRegistry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DeviceRegistry parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DeviceRegistry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DeviceRegistry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DeviceRegistry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DeviceRegistry.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DeviceRegistry.Builder newBuilder()
-
newBuilder
public static DeviceRegistry.Builder newBuilder(DeviceRegistry prototype)
-
toBuilder
public DeviceRegistry.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DeviceRegistry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DeviceRegistry getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DeviceRegistry> parser()
-
getParserForType
public com.google.protobuf.Parser<DeviceRegistry> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DeviceRegistry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-