Class StateNotificationConfig (2.53.0)

public final class StateNotificationConfig extends GeneratedMessageV3 implements StateNotificationConfigOrBuilder

The configuration for notification of new states received from the device.

Protobuf type google.cloud.iot.v1.StateNotificationConfig

Static Fields

PUBSUB_TOPIC_NAME_FIELD_NUMBER

public static final int PUBSUB_TOPIC_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StateNotificationConfig getDefaultInstance()
Returns
Type Description
StateNotificationConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StateNotificationConfig.Builder newBuilder()
Returns
Type Description
StateNotificationConfig.Builder

newBuilder(StateNotificationConfig prototype)

public static StateNotificationConfig.Builder newBuilder(StateNotificationConfig prototype)
Parameter
Name Description
prototype StateNotificationConfig
Returns
Type Description
StateNotificationConfig.Builder

parseDelimitedFrom(InputStream input)

public static StateNotificationConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StateNotificationConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StateNotificationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StateNotificationConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StateNotificationConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StateNotificationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StateNotificationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StateNotificationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StateNotificationConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StateNotificationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StateNotificationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StateNotificationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StateNotificationConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StateNotificationConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StateNotificationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StateNotificationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StateNotificationConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StateNotificationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StateNotificationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StateNotificationConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StateNotificationConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StateNotificationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StateNotificationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StateNotificationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StateNotificationConfig> parser()
Returns
Type Description
Parser<StateNotificationConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StateNotificationConfig getDefaultInstanceForType()
Returns
Type Description
StateNotificationConfig

getParserForType()

public Parser<StateNotificationConfig> getParserForType()
Returns
Type Description
Parser<StateNotificationConfig>
Overrides

getPubsubTopicName()

public String getPubsubTopicName()

A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.

string pubsub_topic_name = 1;

Returns
Type Description
String

The pubsubTopicName.

getPubsubTopicNameBytes()

public ByteString getPubsubTopicNameBytes()

A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.

string pubsub_topic_name = 1;

Returns
Type Description
ByteString

The bytes for pubsubTopicName.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StateNotificationConfig.Builder newBuilderForType()
Returns
Type Description
StateNotificationConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StateNotificationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StateNotificationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StateNotificationConfig.Builder toBuilder()
Returns
Type Description
StateNotificationConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException