Class Telemetry.Path.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable, Telemetry.PathOrBuilder
    Enclosing class:
    Telemetry.Path

    public static final class Telemetry.Path.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Telemetry.Path.Builder>
    implements Telemetry.PathOrBuilder
     Data model path
     
    Protobuf type telemetry.Path
    • 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<Telemetry.Path.Builder>
      • clear

        public Telemetry.Path.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<Telemetry.Path.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<Telemetry.Path.Builder>
      • getDefaultInstanceForType

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

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

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

        public Telemetry.Path.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<Telemetry.Path.Builder>
      • setField

        public Telemetry.Path.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Telemetry.Path.Builder>
      • clearField

        public Telemetry.Path.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<Telemetry.Path.Builder>
      • clearOneof

        public Telemetry.Path.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<Telemetry.Path.Builder>
      • setRepeatedField

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

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

        public Telemetry.Path.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Telemetry.Path.Builder>
      • isInitialized

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

        public Telemetry.Path.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws java.io.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<Telemetry.Path.Builder>
        Throws:
        java.io.IOException
      • getPath

        public java.lang.String getPath()
         Data model path of interest
         Path specification for elements of OpenConfig data models
         
        string path = 1;
        Specified by:
        getPath in interface Telemetry.PathOrBuilder
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes()
         Data model path of interest
         Path specification for elements of OpenConfig data models
         
        string path = 1;
        Specified by:
        getPathBytes in interface Telemetry.PathOrBuilder
      • setPath

        public Telemetry.Path.Builder setPath​(java.lang.String value)
         Data model path of interest
         Path specification for elements of OpenConfig data models
         
        string path = 1;
      • clearPath

        public Telemetry.Path.Builder clearPath()
         Data model path of interest
         Path specification for elements of OpenConfig data models
         
        string path = 1;
      • setPathBytes

        public Telemetry.Path.Builder setPathBytes​(com.google.protobuf.ByteString value)
         Data model path of interest
         Path specification for elements of OpenConfig data models
         
        string path = 1;
      • getFilter

        public java.lang.String getFilter()
         Regular expression to be used in filtering state leaves
         
        string filter = 2;
        Specified by:
        getFilter in interface Telemetry.PathOrBuilder
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         Regular expression to be used in filtering state leaves
         
        string filter = 2;
        Specified by:
        getFilterBytes in interface Telemetry.PathOrBuilder
      • setFilter

        public Telemetry.Path.Builder setFilter​(java.lang.String value)
         Regular expression to be used in filtering state leaves
         
        string filter = 2;
      • clearFilter

        public Telemetry.Path.Builder clearFilter()
         Regular expression to be used in filtering state leaves
         
        string filter = 2;
      • setFilterBytes

        public Telemetry.Path.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         Regular expression to be used in filtering state leaves
         
        string filter = 2;
      • getSuppressUnchanged

        public boolean getSuppressUnchanged()
         If this is set to true, the target device will only send
         updates to the collector upon a change in data value
         
        bool suppress_unchanged = 3;
        Specified by:
        getSuppressUnchanged in interface Telemetry.PathOrBuilder
      • setSuppressUnchanged

        public Telemetry.Path.Builder setSuppressUnchanged​(boolean value)
         If this is set to true, the target device will only send
         updates to the collector upon a change in data value
         
        bool suppress_unchanged = 3;
      • clearSuppressUnchanged

        public Telemetry.Path.Builder clearSuppressUnchanged()
         If this is set to true, the target device will only send
         updates to the collector upon a change in data value
         
        bool suppress_unchanged = 3;
      • getMaxSilentInterval

        public int getMaxSilentInterval()
         Maximum time in ms the target device may go without sending
         a message to the collector. If this time expires with
         suppress-unchanged set, the target device must send an update
         message regardless if the data values have changed.
         
        uint32 max_silent_interval = 4;
        Specified by:
        getMaxSilentInterval in interface Telemetry.PathOrBuilder
      • setMaxSilentInterval

        public Telemetry.Path.Builder setMaxSilentInterval​(int value)
         Maximum time in ms the target device may go without sending
         a message to the collector. If this time expires with
         suppress-unchanged set, the target device must send an update
         message regardless if the data values have changed.
         
        uint32 max_silent_interval = 4;
      • clearMaxSilentInterval

        public Telemetry.Path.Builder clearMaxSilentInterval()
         Maximum time in ms the target device may go without sending
         a message to the collector. If this time expires with
         suppress-unchanged set, the target device must send an update
         message regardless if the data values have changed.
         
        uint32 max_silent_interval = 4;
      • getSampleFrequency

        public int getSampleFrequency()
         Time in ms between collection and transmission of the
         specified data to the collector platform. The target device
         will sample the corresponding data (e.g,. a counter) and
         immediately send to the collector destination.
         If sample-frequency is set to 0, then the network device
         must emit an update upon every datum change.
         
        uint32 sample_frequency = 5;
        Specified by:
        getSampleFrequency in interface Telemetry.PathOrBuilder
      • setSampleFrequency

        public Telemetry.Path.Builder setSampleFrequency​(int value)
         Time in ms between collection and transmission of the
         specified data to the collector platform. The target device
         will sample the corresponding data (e.g,. a counter) and
         immediately send to the collector destination.
         If sample-frequency is set to 0, then the network device
         must emit an update upon every datum change.
         
        uint32 sample_frequency = 5;
      • clearSampleFrequency

        public Telemetry.Path.Builder clearSampleFrequency()
         Time in ms between collection and transmission of the
         specified data to the collector platform. The target device
         will sample the corresponding data (e.g,. a counter) and
         immediately send to the collector destination.
         If sample-frequency is set to 0, then the network device
         must emit an update upon every datum change.
         
        uint32 sample_frequency = 5;
      • getNeedEom

        public boolean getNeedEom()
         EOM needed for each walk cycle of this path?
           For periodic sensor, applicable for each complete reap
           For event sensor, applicable when initial dump is over
             (same as EOS)
         This feature is not implemented currently.
         
        bool need_eom = 6;
        Specified by:
        getNeedEom in interface Telemetry.PathOrBuilder
      • setNeedEom

        public Telemetry.Path.Builder setNeedEom​(boolean value)
         EOM needed for each walk cycle of this path?
           For periodic sensor, applicable for each complete reap
           For event sensor, applicable when initial dump is over
             (same as EOS)
         This feature is not implemented currently.
         
        bool need_eom = 6;
      • clearNeedEom

        public Telemetry.Path.Builder clearNeedEom()
         EOM needed for each walk cycle of this path?
           For periodic sensor, applicable for each complete reap
           For event sensor, applicable when initial dump is over
             (same as EOS)
         This feature is not implemented currently.
         
        bool need_eom = 6;
      • setUnknownFields

        public final Telemetry.Path.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<Telemetry.Path.Builder>
      • mergeUnknownFields

        public final Telemetry.Path.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<Telemetry.Path.Builder>