Class StateNotificationConfig (2.28.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static StateNotificationConfig getDefaultInstance()
Returns
TypeDescription
StateNotificationConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StateNotificationConfig.Builder newBuilder()
Returns
TypeDescription
StateNotificationConfig.Builder

newBuilder(StateNotificationConfig prototype)

public static StateNotificationConfig.Builder newBuilder(StateNotificationConfig prototype)
Parameter
NameDescription
prototypeStateNotificationConfig
Returns
TypeDescription
StateNotificationConfig.Builder

parseDelimitedFrom(InputStream input)

public static StateNotificationConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StateNotificationConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StateNotificationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StateNotificationConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StateNotificationConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StateNotificationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StateNotificationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StateNotificationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StateNotificationConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StateNotificationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StateNotificationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StateNotificationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StateNotificationConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StateNotificationConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StateNotificationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StateNotificationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StateNotificationConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StateNotificationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StateNotificationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StateNotificationConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StateNotificationConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StateNotificationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StateNotificationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StateNotificationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StateNotificationConfig> parser()
Returns
TypeDescription
Parser<StateNotificationConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StateNotificationConfig getDefaultInstanceForType()
Returns
TypeDescription
StateNotificationConfig

getParserForType()

public Parser<StateNotificationConfig> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pubsubTopicName.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StateNotificationConfig.Builder newBuilderForType()
Returns
TypeDescription
StateNotificationConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StateNotificationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StateNotificationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StateNotificationConfig.Builder toBuilder()
Returns
TypeDescription
StateNotificationConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException