Interface Gnmi.SubscriptionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Gnmi.Subscription
,Gnmi.Subscription.Builder
- Enclosing class:
- Gnmi
public static interface Gnmi.SubscriptionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getHeartbeatInterval()
Specifies the maximum allowable silent period in nanoseconds when suppress_redundant is in use.Gnmi.SubscriptionMode
getMode()
Subscription mode to be used.int
getModeValue()
Subscription mode to be used.Gnmi.Path
getPath()
The data tree path.Gnmi.PathOrBuilder
getPathOrBuilder()
The data tree path.long
getSampleInterval()
ns between samples in SAMPLE mode.boolean
getSuppressRedundant()
Indicates whether values that have not changed should be sent in a SAMPLE subscription.boolean
hasPath()
The data tree path.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPath
boolean hasPath()
The data tree path.
.gnmi.Path path = 1;
-
getPath
Gnmi.Path getPath()
The data tree path.
.gnmi.Path path = 1;
-
getPathOrBuilder
Gnmi.PathOrBuilder getPathOrBuilder()
The data tree path.
.gnmi.Path path = 1;
-
getModeValue
int getModeValue()
Subscription mode to be used.
.gnmi.SubscriptionMode mode = 2;
-
getMode
Gnmi.SubscriptionMode getMode()
Subscription mode to be used.
.gnmi.SubscriptionMode mode = 2;
-
getSampleInterval
long getSampleInterval()
ns between samples in SAMPLE mode.
uint64 sample_interval = 3;
-
getSuppressRedundant
boolean getSuppressRedundant()
Indicates whether values that have not changed should be sent in a SAMPLE subscription.
bool suppress_redundant = 4;
-
getHeartbeatInterval
long getHeartbeatInterval()
Specifies the maximum allowable silent period in nanoseconds when suppress_redundant is in use. The target should send a value at least once in the period specified.
uint64 heartbeat_interval = 5;
-
-