public final class EventNotificationConfig extends GeneratedMessage implements EventNotificationConfigOrBuilderThe configuration for forwarding telemetry events.
Protobuf type google.cloud.iot.v1.EventNotificationConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > EventNotificationConfigImplements
EventNotificationConfigOrBuilderStatic 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 |
|
getDefaultInstanceForType()
public EventNotificationConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EventNotificationConfig |
|
getParserForType()
public Parser<EventNotificationConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<EventNotificationConfig> |
|
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 |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public EventNotificationConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
EventNotificationConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected EventNotificationConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
EventNotificationConfig.Builder |
|
toBuilder()
public EventNotificationConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
EventNotificationConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|