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 class
DeviceRegistry.Builder
A 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 int
CREDENTIALS_FIELD_NUMBER
static int
EVENT_NOTIFICATION_CONFIGS_FIELD_NUMBER
static int
HTTP_CONFIG_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
LOG_LEVEL_FIELD_NUMBER
static int
MQTT_CONFIG_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
STATE_NOTIFICATION_CONFIG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
RegistryCredential
getCredentials(int index)
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.static DeviceRegistry
getDefaultInstance()
DeviceRegistry
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
EventNotificationConfig
getEventNotificationConfigs(int index)
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.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.MqttConfigOrBuilder
getMqttConfigOrBuilder()
The MQTT configuration for this device registry.String
getName()
The resource path name.com.google.protobuf.ByteString
getNameBytes()
The resource path name.com.google.protobuf.Parser<DeviceRegistry>
getParserForType()
int
getSerializedSize()
StateNotificationConfig
getStateNotificationConfig()
The configuration for notification of new states received from the device.StateNotificationConfigOrBuilder
getStateNotificationConfigOrBuilder()
The configuration for notification of new states received from the device.int
hashCode()
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()
static DeviceRegistry.Builder
newBuilder()
static DeviceRegistry.Builder
newBuilder(DeviceRegistry prototype)
DeviceRegistry.Builder
newBuilderForType()
protected DeviceRegistry.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static DeviceRegistry
parseDelimitedFrom(InputStream input)
static DeviceRegistry
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceRegistry
parseFrom(byte[] data)
static DeviceRegistry
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceRegistry
parseFrom(com.google.protobuf.ByteString data)
static DeviceRegistry
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceRegistry
parseFrom(com.google.protobuf.CodedInputStream input)
static DeviceRegistry
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceRegistry
parseFrom(InputStream input)
static DeviceRegistry
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceRegistry
parseFrom(ByteBuffer data)
static DeviceRegistry
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DeviceRegistry>
parser()
DeviceRegistry.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DeviceRegistry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DeviceRegistry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-