public static final class EventNotificationConfig.Builder extends GeneratedMessageV3.Builder<EventNotificationConfig.Builder> implements EventNotificationConfigOrBuilder
The configuration for forwarding telemetry events.
Protobuf type google.cloud.iot.v1.EventNotificationConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventNotificationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EventNotificationConfig build()
buildPartial()
public EventNotificationConfig buildPartial()
clear()
public EventNotificationConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public EventNotificationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EventNotificationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPubsubTopicName()
public EventNotificationConfig.Builder clearPubsubTopicName()
A Cloud Pub/Sub topic name. For example,
projects/myProject/topics/deviceEvents
.
string pubsub_topic_name = 1;
clearSubfolderMatches()
public EventNotificationConfig.Builder clearSubfolderMatches()
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;
clone()
public EventNotificationConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public EventNotificationConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EventNotificationConfig other)
public EventNotificationConfig.Builder mergeFrom(EventNotificationConfig other)
public EventNotificationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EventNotificationConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventNotificationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public EventNotificationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPubsubTopicName(String value)
public EventNotificationConfig.Builder setPubsubTopicName(String value)
A Cloud Pub/Sub topic name. For example,
projects/myProject/topics/deviceEvents
.
string pubsub_topic_name = 1;
Parameter |
---|
Name | Description |
value | String
The pubsubTopicName to set.
|
setPubsubTopicNameBytes(ByteString value)
public EventNotificationConfig.Builder setPubsubTopicNameBytes(ByteString value)
A Cloud Pub/Sub topic name. For example,
projects/myProject/topics/deviceEvents
.
string pubsub_topic_name = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for pubsubTopicName to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventNotificationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSubfolderMatches(String value)
public EventNotificationConfig.Builder setSubfolderMatches(String value)
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;
Parameter |
---|
Name | Description |
value | String
The subfolderMatches to set.
|
setSubfolderMatchesBytes(ByteString value)
public EventNotificationConfig.Builder setSubfolderMatchesBytes(ByteString value)
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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for subfolderMatches to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final EventNotificationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides