Class Telemetry.Path.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Telemetry.Path.Builder>
-
- org.opennms.features.openconfig.proto.jti.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 typetelemetry.Path
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Telemetry.Path.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Telemetry.Path
build()
Telemetry.Path
buildPartial()
Telemetry.Path.Builder
clear()
Telemetry.Path.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Telemetry.Path.Builder
clearFilter()
Regular expression to be used in filtering state leavesTelemetry.Path.Builder
clearMaxSilentInterval()
Maximum time in ms the target device may go without sending a message to the collector.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.Telemetry.Path.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Telemetry.Path.Builder
clearPath()
Data model path of interest Path specification for elements of OpenConfig data modelsTelemetry.Path.Builder
clearSampleFrequency()
Time in ms between collection and transmission of the specified data to the collector platform.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 valueTelemetry.Path.Builder
clone()
Telemetry.Path
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getFilter()
Regular expression to be used in filtering state leavescom.google.protobuf.ByteString
getFilterBytes()
Regular expression to be used in filtering state leavesint
getMaxSilentInterval()
Maximum time in ms the target device may go without sending a message to the collector.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.java.lang.String
getPath()
Data model path of interest Path specification for elements of OpenConfig data modelscom.google.protobuf.ByteString
getPathBytes()
Data model path of interest Path specification for elements of OpenConfig data modelsint
getSampleFrequency()
Time in ms between collection and transmission of the specified data to the collector platform.boolean
getSuppressUnchanged()
If this is set to true, the target device will only send updates to the collector upon a change in data valueprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Telemetry.Path.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Telemetry.Path.Builder
mergeFrom(com.google.protobuf.Message other)
Telemetry.Path.Builder
mergeFrom(Telemetry.Path other)
Telemetry.Path.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Telemetry.Path.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Telemetry.Path.Builder
setFilter(java.lang.String value)
Regular expression to be used in filtering state leavesTelemetry.Path.Builder
setFilterBytes(com.google.protobuf.ByteString value)
Regular expression to be used in filtering state leavesTelemetry.Path.Builder
setMaxSilentInterval(int value)
Maximum time in ms the target device may go without sending a message to the collector.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.Telemetry.Path.Builder
setPath(java.lang.String value)
Data model path of interest Path specification for elements of OpenConfig data modelsTelemetry.Path.Builder
setPathBytes(com.google.protobuf.ByteString value)
Data model path of interest Path specification for elements of OpenConfig data modelsTelemetry.Path.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Telemetry.Path.Builder
setSampleFrequency(int value)
Time in ms between collection and transmission of the specified data to the collector platform.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 valueTelemetry.Path.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.Path.Builder>
-
clear
public Telemetry.Path.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.Path.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.Path.Builder>
-
getDefaultInstanceForType
public Telemetry.Path getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Telemetry.Path build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Telemetry.Path buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Telemetry.Path.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.Path.Builder>
-
clearField
public Telemetry.Path.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.Path.Builder>
-
clearOneof
public Telemetry.Path.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.Path.Builder>
-
mergeFrom
public Telemetry.Path.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Telemetry.Path.Builder>
-
mergeFrom
public Telemetry.Path.Builder mergeFrom(Telemetry.Path other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceTelemetry.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 interfaceTelemetry.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 interfaceTelemetry.PathOrBuilder
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
Regular expression to be used in filtering state leaves
string filter = 2;
- Specified by:
getFilterBytes
in interfaceTelemetry.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 interfaceTelemetry.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 interfaceTelemetry.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 interfaceTelemetry.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 interfaceTelemetry.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.Path.Builder>
-
mergeUnknownFields
public final Telemetry.Path.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.Path.Builder>
-
-