Class Gnmi.SubscriptionList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.SubscriptionList.Builder>
-
- org.opennms.features.openconfig.proto.gnmi.Gnmi.SubscriptionList.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
,Gnmi.SubscriptionListOrBuilder
- Enclosing class:
- Gnmi.SubscriptionList
public static final class Gnmi.SubscriptionList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.SubscriptionList.Builder> implements Gnmi.SubscriptionListOrBuilder
SubscriptionList is used within a Subscribe message to specify the list of paths that the client wishes to subscribe to. The message consists of a list of (possibly prefixed) paths, and options that relate to the subscription. Reference: gNMI Specification Section 3.5.1.2
Protobuf typegnmi.SubscriptionList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Gnmi.SubscriptionList.Builder
addAllSubscription(java.lang.Iterable<? extends Gnmi.Subscription> values)
Set of subscriptions to create.Gnmi.SubscriptionList.Builder
addAllUseModels(java.lang.Iterable<? extends Gnmi.ModelData> values)
The set of schemas that define the elements of the data tree that should be sent by the target.Gnmi.SubscriptionList.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Gnmi.SubscriptionList.Builder
addSubscription(int index, Gnmi.Subscription value)
Set of subscriptions to create.Gnmi.SubscriptionList.Builder
addSubscription(int index, Gnmi.Subscription.Builder builderForValue)
Set of subscriptions to create.Gnmi.SubscriptionList.Builder
addSubscription(Gnmi.Subscription value)
Set of subscriptions to create.Gnmi.SubscriptionList.Builder
addSubscription(Gnmi.Subscription.Builder builderForValue)
Set of subscriptions to create.Gnmi.Subscription.Builder
addSubscriptionBuilder()
Set of subscriptions to create.Gnmi.Subscription.Builder
addSubscriptionBuilder(int index)
Set of subscriptions to create.Gnmi.SubscriptionList.Builder
addUseModels(int index, Gnmi.ModelData value)
The set of schemas that define the elements of the data tree that should be sent by the target.Gnmi.SubscriptionList.Builder
addUseModels(int index, Gnmi.ModelData.Builder builderForValue)
The set of schemas that define the elements of the data tree that should be sent by the target.Gnmi.SubscriptionList.Builder
addUseModels(Gnmi.ModelData value)
The set of schemas that define the elements of the data tree that should be sent by the target.Gnmi.SubscriptionList.Builder
addUseModels(Gnmi.ModelData.Builder builderForValue)
The set of schemas that define the elements of the data tree that should be sent by the target.Gnmi.ModelData.Builder
addUseModelsBuilder()
The set of schemas that define the elements of the data tree that should be sent by the target.Gnmi.ModelData.Builder
addUseModelsBuilder(int index)
The set of schemas that define the elements of the data tree that should be sent by the target.Gnmi.SubscriptionList
build()
Gnmi.SubscriptionList
buildPartial()
Gnmi.SubscriptionList.Builder
clear()
Gnmi.SubscriptionList.Builder
clearAllowAggregation()
Whether elements of the schema that are marked as eligible for aggregation should be aggregated or not.Gnmi.SubscriptionList.Builder
clearEncoding()
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.Gnmi.SubscriptionList.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Gnmi.SubscriptionList.Builder
clearMode()
.gnmi.SubscriptionList.Mode mode = 5;
Gnmi.SubscriptionList.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Gnmi.SubscriptionList.Builder
clearPrefix()
Prefix used for paths.Gnmi.SubscriptionList.Builder
clearQos()
DSCP marking to be used.Gnmi.SubscriptionList.Builder
clearSubscription()
Set of subscriptions to create.Gnmi.SubscriptionList.Builder
clearUpdatesOnly()
An optional field to specify that only updates to current state should be sent to a client.Gnmi.SubscriptionList.Builder
clearUseAliases()
Whether target defined aliases are allowed within the subscription.Gnmi.SubscriptionList.Builder
clearUseModels()
The set of schemas that define the elements of the data tree that should be sent by the target.Gnmi.SubscriptionList.Builder
clone()
boolean
getAllowAggregation()
Whether elements of the schema that are marked as eligible for aggregation should be aggregated or not.Gnmi.SubscriptionList
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Gnmi.Encoding
getEncoding()
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.int
getEncodingValue()
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.Gnmi.SubscriptionList.Mode
getMode()
.gnmi.SubscriptionList.Mode mode = 5;
int
getModeValue()
.gnmi.SubscriptionList.Mode mode = 5;
Gnmi.Path
getPrefix()
Prefix used for paths.Gnmi.Path.Builder
getPrefixBuilder()
Prefix used for paths.Gnmi.PathOrBuilder
getPrefixOrBuilder()
Prefix used for paths.Gnmi.QOSMarking
getQos()
DSCP marking to be used.Gnmi.QOSMarking.Builder
getQosBuilder()
DSCP marking to be used.Gnmi.QOSMarkingOrBuilder
getQosOrBuilder()
DSCP marking to be used.Gnmi.Subscription
getSubscription(int index)
Set of subscriptions to create.Gnmi.Subscription.Builder
getSubscriptionBuilder(int index)
Set of subscriptions to create.java.util.List<Gnmi.Subscription.Builder>
getSubscriptionBuilderList()
Set of subscriptions to create.int
getSubscriptionCount()
Set of subscriptions to create.java.util.List<Gnmi.Subscription>
getSubscriptionList()
Set of subscriptions to create.Gnmi.SubscriptionOrBuilder
getSubscriptionOrBuilder(int index)
Set of subscriptions to create.java.util.List<? extends Gnmi.SubscriptionOrBuilder>
getSubscriptionOrBuilderList()
Set of subscriptions to create.boolean
getUpdatesOnly()
An optional field to specify that only updates to current state should be sent to a client.boolean
getUseAliases()
Whether target defined aliases are allowed within the subscription.Gnmi.ModelData
getUseModels(int index)
The set of schemas that define the elements of the data tree that should be sent by the target.Gnmi.ModelData.Builder
getUseModelsBuilder(int index)
The set of schemas that define the elements of the data tree that should be sent by the target.java.util.List<Gnmi.ModelData.Builder>
getUseModelsBuilderList()
The set of schemas that define the elements of the data tree that should be sent by the target.int
getUseModelsCount()
The set of schemas that define the elements of the data tree that should be sent by the target.java.util.List<Gnmi.ModelData>
getUseModelsList()
The set of schemas that define the elements of the data tree that should be sent by the target.Gnmi.ModelDataOrBuilder
getUseModelsOrBuilder(int index)
The set of schemas that define the elements of the data tree that should be sent by the target.java.util.List<? extends Gnmi.ModelDataOrBuilder>
getUseModelsOrBuilderList()
The set of schemas that define the elements of the data tree that should be sent by the target.boolean
hasPrefix()
Prefix used for paths.boolean
hasQos()
DSCP marking to be used.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Gnmi.SubscriptionList.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Gnmi.SubscriptionList.Builder
mergeFrom(com.google.protobuf.Message other)
Gnmi.SubscriptionList.Builder
mergeFrom(Gnmi.SubscriptionList other)
Gnmi.SubscriptionList.Builder
mergePrefix(Gnmi.Path value)
Prefix used for paths.Gnmi.SubscriptionList.Builder
mergeQos(Gnmi.QOSMarking value)
DSCP marking to be used.Gnmi.SubscriptionList.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Gnmi.SubscriptionList.Builder
removeSubscription(int index)
Set of subscriptions to create.Gnmi.SubscriptionList.Builder
removeUseModels(int index)
The set of schemas that define the elements of the data tree that should be sent by the target.Gnmi.SubscriptionList.Builder
setAllowAggregation(boolean value)
Whether elements of the schema that are marked as eligible for aggregation should be aggregated or not.Gnmi.SubscriptionList.Builder
setEncoding(Gnmi.Encoding value)
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.Gnmi.SubscriptionList.Builder
setEncodingValue(int value)
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.Gnmi.SubscriptionList.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Gnmi.SubscriptionList.Builder
setMode(Gnmi.SubscriptionList.Mode value)
.gnmi.SubscriptionList.Mode mode = 5;
Gnmi.SubscriptionList.Builder
setModeValue(int value)
.gnmi.SubscriptionList.Mode mode = 5;
Gnmi.SubscriptionList.Builder
setPrefix(Gnmi.Path value)
Prefix used for paths.Gnmi.SubscriptionList.Builder
setPrefix(Gnmi.Path.Builder builderForValue)
Prefix used for paths.Gnmi.SubscriptionList.Builder
setQos(Gnmi.QOSMarking value)
DSCP marking to be used.Gnmi.SubscriptionList.Builder
setQos(Gnmi.QOSMarking.Builder builderForValue)
DSCP marking to be used.Gnmi.SubscriptionList.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Gnmi.SubscriptionList.Builder
setSubscription(int index, Gnmi.Subscription value)
Set of subscriptions to create.Gnmi.SubscriptionList.Builder
setSubscription(int index, Gnmi.Subscription.Builder builderForValue)
Set of subscriptions to create.Gnmi.SubscriptionList.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Gnmi.SubscriptionList.Builder
setUpdatesOnly(boolean value)
An optional field to specify that only updates to current state should be sent to a client.Gnmi.SubscriptionList.Builder
setUseAliases(boolean value)
Whether target defined aliases are allowed within the subscription.Gnmi.SubscriptionList.Builder
setUseModels(int index, Gnmi.ModelData value)
The set of schemas that define the elements of the data tree that should be sent by the target.Gnmi.SubscriptionList.Builder
setUseModels(int index, Gnmi.ModelData.Builder builderForValue)
The set of schemas that define the elements of the data tree that should be sent by the target.-
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<Gnmi.SubscriptionList.Builder>
-
clear
public Gnmi.SubscriptionList.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<Gnmi.SubscriptionList.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<Gnmi.SubscriptionList.Builder>
-
getDefaultInstanceForType
public Gnmi.SubscriptionList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Gnmi.SubscriptionList build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Gnmi.SubscriptionList buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Gnmi.SubscriptionList.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<Gnmi.SubscriptionList.Builder>
-
setField
public Gnmi.SubscriptionList.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<Gnmi.SubscriptionList.Builder>
-
clearField
public Gnmi.SubscriptionList.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<Gnmi.SubscriptionList.Builder>
-
clearOneof
public Gnmi.SubscriptionList.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<Gnmi.SubscriptionList.Builder>
-
setRepeatedField
public Gnmi.SubscriptionList.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<Gnmi.SubscriptionList.Builder>
-
addRepeatedField
public Gnmi.SubscriptionList.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<Gnmi.SubscriptionList.Builder>
-
mergeFrom
public Gnmi.SubscriptionList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Gnmi.SubscriptionList.Builder>
-
mergeFrom
public Gnmi.SubscriptionList.Builder mergeFrom(Gnmi.SubscriptionList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.SubscriptionList.Builder>
-
mergeFrom
public Gnmi.SubscriptionList.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<Gnmi.SubscriptionList.Builder>
- Throws:
java.io.IOException
-
hasPrefix
public boolean hasPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;
- Specified by:
hasPrefix
in interfaceGnmi.SubscriptionListOrBuilder
-
getPrefix
public Gnmi.Path getPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;
- Specified by:
getPrefix
in interfaceGnmi.SubscriptionListOrBuilder
-
setPrefix
public Gnmi.SubscriptionList.Builder setPrefix(Gnmi.Path value)
Prefix used for paths.
.gnmi.Path prefix = 1;
-
setPrefix
public Gnmi.SubscriptionList.Builder setPrefix(Gnmi.Path.Builder builderForValue)
Prefix used for paths.
.gnmi.Path prefix = 1;
-
mergePrefix
public Gnmi.SubscriptionList.Builder mergePrefix(Gnmi.Path value)
Prefix used for paths.
.gnmi.Path prefix = 1;
-
clearPrefix
public Gnmi.SubscriptionList.Builder clearPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;
-
getPrefixBuilder
public Gnmi.Path.Builder getPrefixBuilder()
Prefix used for paths.
.gnmi.Path prefix = 1;
-
getPrefixOrBuilder
public Gnmi.PathOrBuilder getPrefixOrBuilder()
Prefix used for paths.
.gnmi.Path prefix = 1;
- Specified by:
getPrefixOrBuilder
in interfaceGnmi.SubscriptionListOrBuilder
-
getSubscriptionList
public java.util.List<Gnmi.Subscription> getSubscriptionList()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
- Specified by:
getSubscriptionList
in interfaceGnmi.SubscriptionListOrBuilder
-
getSubscriptionCount
public int getSubscriptionCount()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
- Specified by:
getSubscriptionCount
in interfaceGnmi.SubscriptionListOrBuilder
-
getSubscription
public Gnmi.Subscription getSubscription(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
- Specified by:
getSubscription
in interfaceGnmi.SubscriptionListOrBuilder
-
setSubscription
public Gnmi.SubscriptionList.Builder setSubscription(int index, Gnmi.Subscription value)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
-
setSubscription
public Gnmi.SubscriptionList.Builder setSubscription(int index, Gnmi.Subscription.Builder builderForValue)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
-
addSubscription
public Gnmi.SubscriptionList.Builder addSubscription(Gnmi.Subscription value)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
-
addSubscription
public Gnmi.SubscriptionList.Builder addSubscription(int index, Gnmi.Subscription value)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
-
addSubscription
public Gnmi.SubscriptionList.Builder addSubscription(Gnmi.Subscription.Builder builderForValue)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
-
addSubscription
public Gnmi.SubscriptionList.Builder addSubscription(int index, Gnmi.Subscription.Builder builderForValue)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
-
addAllSubscription
public Gnmi.SubscriptionList.Builder addAllSubscription(java.lang.Iterable<? extends Gnmi.Subscription> values)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
-
clearSubscription
public Gnmi.SubscriptionList.Builder clearSubscription()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
-
removeSubscription
public Gnmi.SubscriptionList.Builder removeSubscription(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
-
getSubscriptionBuilder
public Gnmi.Subscription.Builder getSubscriptionBuilder(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
-
getSubscriptionOrBuilder
public Gnmi.SubscriptionOrBuilder getSubscriptionOrBuilder(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
- Specified by:
getSubscriptionOrBuilder
in interfaceGnmi.SubscriptionListOrBuilder
-
getSubscriptionOrBuilderList
public java.util.List<? extends Gnmi.SubscriptionOrBuilder> getSubscriptionOrBuilderList()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
- Specified by:
getSubscriptionOrBuilderList
in interfaceGnmi.SubscriptionListOrBuilder
-
addSubscriptionBuilder
public Gnmi.Subscription.Builder addSubscriptionBuilder()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
-
addSubscriptionBuilder
public Gnmi.Subscription.Builder addSubscriptionBuilder(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
-
getSubscriptionBuilderList
public java.util.List<Gnmi.Subscription.Builder> getSubscriptionBuilderList()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
-
getUseAliases
public boolean getUseAliases()
Whether target defined aliases are allowed within the subscription.
bool use_aliases = 3;
- Specified by:
getUseAliases
in interfaceGnmi.SubscriptionListOrBuilder
-
setUseAliases
public Gnmi.SubscriptionList.Builder setUseAliases(boolean value)
Whether target defined aliases are allowed within the subscription.
bool use_aliases = 3;
-
clearUseAliases
public Gnmi.SubscriptionList.Builder clearUseAliases()
Whether target defined aliases are allowed within the subscription.
bool use_aliases = 3;
-
hasQos
public boolean hasQos()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
- Specified by:
hasQos
in interfaceGnmi.SubscriptionListOrBuilder
-
getQos
public Gnmi.QOSMarking getQos()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
- Specified by:
getQos
in interfaceGnmi.SubscriptionListOrBuilder
-
setQos
public Gnmi.SubscriptionList.Builder setQos(Gnmi.QOSMarking value)
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
-
setQos
public Gnmi.SubscriptionList.Builder setQos(Gnmi.QOSMarking.Builder builderForValue)
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
-
mergeQos
public Gnmi.SubscriptionList.Builder mergeQos(Gnmi.QOSMarking value)
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
-
clearQos
public Gnmi.SubscriptionList.Builder clearQos()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
-
getQosBuilder
public Gnmi.QOSMarking.Builder getQosBuilder()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
-
getQosOrBuilder
public Gnmi.QOSMarkingOrBuilder getQosOrBuilder()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
- Specified by:
getQosOrBuilder
in interfaceGnmi.SubscriptionListOrBuilder
-
getModeValue
public int getModeValue()
.gnmi.SubscriptionList.Mode mode = 5;
- Specified by:
getModeValue
in interfaceGnmi.SubscriptionListOrBuilder
-
setModeValue
public Gnmi.SubscriptionList.Builder setModeValue(int value)
.gnmi.SubscriptionList.Mode mode = 5;
-
getMode
public Gnmi.SubscriptionList.Mode getMode()
.gnmi.SubscriptionList.Mode mode = 5;
- Specified by:
getMode
in interfaceGnmi.SubscriptionListOrBuilder
-
setMode
public Gnmi.SubscriptionList.Builder setMode(Gnmi.SubscriptionList.Mode value)
.gnmi.SubscriptionList.Mode mode = 5;
-
clearMode
public Gnmi.SubscriptionList.Builder clearMode()
.gnmi.SubscriptionList.Mode mode = 5;
-
getAllowAggregation
public boolean getAllowAggregation()
Whether elements of the schema that are marked as eligible for aggregation should be aggregated or not.
bool allow_aggregation = 6;
- Specified by:
getAllowAggregation
in interfaceGnmi.SubscriptionListOrBuilder
-
setAllowAggregation
public Gnmi.SubscriptionList.Builder setAllowAggregation(boolean value)
Whether elements of the schema that are marked as eligible for aggregation should be aggregated or not.
bool allow_aggregation = 6;
-
clearAllowAggregation
public Gnmi.SubscriptionList.Builder clearAllowAggregation()
Whether elements of the schema that are marked as eligible for aggregation should be aggregated or not.
bool allow_aggregation = 6;
-
getUseModelsList
public java.util.List<Gnmi.ModelData> getUseModelsList()
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
- Specified by:
getUseModelsList
in interfaceGnmi.SubscriptionListOrBuilder
-
getUseModelsCount
public int getUseModelsCount()
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
- Specified by:
getUseModelsCount
in interfaceGnmi.SubscriptionListOrBuilder
-
getUseModels
public Gnmi.ModelData getUseModels(int index)
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
- Specified by:
getUseModels
in interfaceGnmi.SubscriptionListOrBuilder
-
setUseModels
public Gnmi.SubscriptionList.Builder setUseModels(int index, Gnmi.ModelData value)
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
-
setUseModels
public Gnmi.SubscriptionList.Builder setUseModels(int index, Gnmi.ModelData.Builder builderForValue)
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
-
addUseModels
public Gnmi.SubscriptionList.Builder addUseModels(Gnmi.ModelData value)
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
-
addUseModels
public Gnmi.SubscriptionList.Builder addUseModels(int index, Gnmi.ModelData value)
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
-
addUseModels
public Gnmi.SubscriptionList.Builder addUseModels(Gnmi.ModelData.Builder builderForValue)
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
-
addUseModels
public Gnmi.SubscriptionList.Builder addUseModels(int index, Gnmi.ModelData.Builder builderForValue)
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
-
addAllUseModels
public Gnmi.SubscriptionList.Builder addAllUseModels(java.lang.Iterable<? extends Gnmi.ModelData> values)
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
-
clearUseModels
public Gnmi.SubscriptionList.Builder clearUseModels()
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
-
removeUseModels
public Gnmi.SubscriptionList.Builder removeUseModels(int index)
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
-
getUseModelsBuilder
public Gnmi.ModelData.Builder getUseModelsBuilder(int index)
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
-
getUseModelsOrBuilder
public Gnmi.ModelDataOrBuilder getUseModelsOrBuilder(int index)
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
- Specified by:
getUseModelsOrBuilder
in interfaceGnmi.SubscriptionListOrBuilder
-
getUseModelsOrBuilderList
public java.util.List<? extends Gnmi.ModelDataOrBuilder> getUseModelsOrBuilderList()
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
- Specified by:
getUseModelsOrBuilderList
in interfaceGnmi.SubscriptionListOrBuilder
-
addUseModelsBuilder
public Gnmi.ModelData.Builder addUseModelsBuilder()
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
-
addUseModelsBuilder
public Gnmi.ModelData.Builder addUseModelsBuilder(int index)
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
-
getUseModelsBuilderList
public java.util.List<Gnmi.ModelData.Builder> getUseModelsBuilderList()
The set of schemas that define the elements of the data tree that should be sent by the target.
repeated .gnmi.ModelData use_models = 7;
-
getEncodingValue
public int getEncodingValue()
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.
.gnmi.Encoding encoding = 8;
- Specified by:
getEncodingValue
in interfaceGnmi.SubscriptionListOrBuilder
-
setEncodingValue
public Gnmi.SubscriptionList.Builder setEncodingValue(int value)
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.
.gnmi.Encoding encoding = 8;
-
getEncoding
public Gnmi.Encoding getEncoding()
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.
.gnmi.Encoding encoding = 8;
- Specified by:
getEncoding
in interfaceGnmi.SubscriptionListOrBuilder
-
setEncoding
public Gnmi.SubscriptionList.Builder setEncoding(Gnmi.Encoding value)
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.
.gnmi.Encoding encoding = 8;
-
clearEncoding
public Gnmi.SubscriptionList.Builder clearEncoding()
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.
.gnmi.Encoding encoding = 8;
-
getUpdatesOnly
public boolean getUpdatesOnly()
An optional field to specify that only updates to current state should be sent to a client. If set, the initial state is not sent to the client but rather only the sync message followed by any subsequent updates to the current state. For ONCE and POLL modes, this causes the server to send only the sync message (Sec. 3.5.2.3).
bool updates_only = 9;
- Specified by:
getUpdatesOnly
in interfaceGnmi.SubscriptionListOrBuilder
-
setUpdatesOnly
public Gnmi.SubscriptionList.Builder setUpdatesOnly(boolean value)
An optional field to specify that only updates to current state should be sent to a client. If set, the initial state is not sent to the client but rather only the sync message followed by any subsequent updates to the current state. For ONCE and POLL modes, this causes the server to send only the sync message (Sec. 3.5.2.3).
bool updates_only = 9;
-
clearUpdatesOnly
public Gnmi.SubscriptionList.Builder clearUpdatesOnly()
An optional field to specify that only updates to current state should be sent to a client. If set, the initial state is not sent to the client but rather only the sync message followed by any subsequent updates to the current state. For ONCE and POLL modes, this causes the server to send only the sync message (Sec. 3.5.2.3).
bool updates_only = 9;
-
setUnknownFields
public final Gnmi.SubscriptionList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.SubscriptionList.Builder>
-
mergeUnknownFields
public final Gnmi.SubscriptionList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.SubscriptionList.Builder>
-
-