Class EventNotificationConfig (0.16.0)

public final class EventNotificationConfig extends GeneratedMessageV3 implements EventNotificationConfigOrBuilder

The configuration for forwarding telemetry events.

Protobuf type google.events.cloud.iot.v1.EventNotificationConfig

Static Fields

PUBSUB_TOPIC_NAME_FIELD_NUMBER

public static final int PUBSUB_TOPIC_NAME_FIELD_NUMBER
Field Value
Type Description
int

SUBFOLDER_MATCHES_FIELD_NUMBER

public static final int SUBFOLDER_MATCHES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EventNotificationConfig getDefaultInstance()
Returns
Type Description
EventNotificationConfig

getDescriptor()

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

newBuilder()

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

newBuilder(EventNotificationConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public EventNotificationConfig getDefaultInstanceForType()
Returns
Type Description
EventNotificationConfig

getParserForType()

public Parser<EventNotificationConfig> getParserForType()
Returns
Type Description
Parser<EventNotificationConfig>
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

getSubfolderMatches()

public String getSubfolderMatches()

If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.

string subfolder_matches = 2;

Returns
Type Description
String

The subfolderMatches.

getSubfolderMatchesBytes()

public ByteString getSubfolderMatchesBytes()

If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.

string subfolder_matches = 2;

Returns
Type Description
ByteString

The bytes for subfolderMatches.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
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 EventNotificationConfig.Builder newBuilderForType()
Returns
Type Description
EventNotificationConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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