Class EventNotificationConfig.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EventNotificationConfig.Builder>
      • clear

        public EventNotificationConfig.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<EventNotificationConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EventNotificationConfig.Builder>
      • getDefaultInstanceForType

        public EventNotificationConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public EventNotificationConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public EventNotificationConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public EventNotificationConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<EventNotificationConfig.Builder>
      • clearField

        public EventNotificationConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<EventNotificationConfig.Builder>
      • clearOneof

        public EventNotificationConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EventNotificationConfig.Builder>
      • setRepeatedField

        public EventNotificationConfig.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EventNotificationConfig.Builder>
      • addRepeatedField

        public EventNotificationConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EventNotificationConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EventNotificationConfig.Builder>
      • mergeFrom

        public EventNotificationConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EventNotificationConfig.Builder>
        Throws:
        IOException
      • 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;
        Specified by:
        getSubfolderMatches in interface EventNotificationConfigOrBuilder
        Returns:
        The subfolderMatches.
      • getSubfolderMatchesBytes

        public com.google.protobuf.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;
        Specified by:
        getSubfolderMatchesBytes in interface EventNotificationConfigOrBuilder
        Returns:
        The bytes for subfolderMatches.
      • setSubfolderMatches

        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;
        Parameters:
        value - The subfolderMatches to set.
        Returns:
        This builder for chaining.
      • 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;
        Returns:
        This builder for chaining.
      • setSubfolderMatchesBytes

        public EventNotificationConfig.Builder setSubfolderMatchesBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for subfolderMatches to set.
        Returns:
        This builder for chaining.
      • getPubsubTopicName

        public String getPubsubTopicName()
         A Cloud Pub/Sub topic name. For example,
         `projects/myProject/topics/deviceEvents`.
         
        string pubsub_topic_name = 1;
        Specified by:
        getPubsubTopicName in interface EventNotificationConfigOrBuilder
        Returns:
        The pubsubTopicName.
      • getPubsubTopicNameBytes

        public com.google.protobuf.ByteString getPubsubTopicNameBytes()
         A Cloud Pub/Sub topic name. For example,
         `projects/myProject/topics/deviceEvents`.
         
        string pubsub_topic_name = 1;
        Specified by:
        getPubsubTopicNameBytes in interface EventNotificationConfigOrBuilder
        Returns:
        The bytes for pubsubTopicName.
      • setPubsubTopicName

        public EventNotificationConfig.Builder setPubsubTopicName​(String value)
         A Cloud Pub/Sub topic name. For example,
         `projects/myProject/topics/deviceEvents`.
         
        string pubsub_topic_name = 1;
        Parameters:
        value - The pubsubTopicName to set.
        Returns:
        This builder for chaining.
      • clearPubsubTopicName

        public EventNotificationConfig.Builder clearPubsubTopicName()
         A Cloud Pub/Sub topic name. For example,
         `projects/myProject/topics/deviceEvents`.
         
        string pubsub_topic_name = 1;
        Returns:
        This builder for chaining.
      • setPubsubTopicNameBytes

        public EventNotificationConfig.Builder setPubsubTopicNameBytes​(com.google.protobuf.ByteString value)
         A Cloud Pub/Sub topic name. For example,
         `projects/myProject/topics/deviceEvents`.
         
        string pubsub_topic_name = 1;
        Parameters:
        value - The bytes for pubsubTopicName to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final EventNotificationConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EventNotificationConfig.Builder>
      • mergeUnknownFields

        public final EventNotificationConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EventNotificationConfig.Builder>