public static final class SubscriptionList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionList.Builder> implements 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.2Protobuf type
gnmi.SubscriptionList
Modifier and Type | Method and Description |
---|---|
SubscriptionList.Builder |
addAllSubscription(Iterable<? extends Subscription> values)
Set of subscriptions to create.
|
SubscriptionList.Builder |
addAllUseModels(Iterable<? extends ModelData> values)
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
SubscriptionList.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SubscriptionList.Builder |
addSubscription(int index,
Subscription.Builder builderForValue)
Set of subscriptions to create.
|
SubscriptionList.Builder |
addSubscription(int index,
Subscription value)
Set of subscriptions to create.
|
SubscriptionList.Builder |
addSubscription(Subscription.Builder builderForValue)
Set of subscriptions to create.
|
SubscriptionList.Builder |
addSubscription(Subscription value)
Set of subscriptions to create.
|
Subscription.Builder |
addSubscriptionBuilder()
Set of subscriptions to create.
|
Subscription.Builder |
addSubscriptionBuilder(int index)
Set of subscriptions to create.
|
SubscriptionList.Builder |
addUseModels(int index,
ModelData.Builder builderForValue)
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
SubscriptionList.Builder |
addUseModels(int index,
ModelData value)
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
SubscriptionList.Builder |
addUseModels(ModelData.Builder builderForValue)
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
SubscriptionList.Builder |
addUseModels(ModelData value)
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
ModelData.Builder |
addUseModelsBuilder()
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
ModelData.Builder |
addUseModelsBuilder(int index)
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
SubscriptionList |
build() |
SubscriptionList |
buildPartial() |
SubscriptionList.Builder |
clear() |
SubscriptionList.Builder |
clearAllowAggregation()
Whether elements of the schema that are marked as eligible for aggregation
should be aggregated or not.
|
SubscriptionList.Builder |
clearEncoding()
The encoding that the target should use within the Notifications generated
corresponding to the SubscriptionList.
|
SubscriptionList.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SubscriptionList.Builder |
clearMode()
.gnmi.SubscriptionList.Mode mode = 5; |
SubscriptionList.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SubscriptionList.Builder |
clearPrefix()
Prefix used for paths.
|
SubscriptionList.Builder |
clearQos()
DSCP marking to be used.
|
SubscriptionList.Builder |
clearSubscription()
Set of subscriptions to create.
|
SubscriptionList.Builder |
clearUpdatesOnly()
An optional field to specify that only updates to current state should be
sent to a client.
|
SubscriptionList.Builder |
clearUseAliases()
Whether target defined aliases are allowed within the subscription.
|
SubscriptionList.Builder |
clearUseModels()
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
SubscriptionList.Builder |
clone() |
boolean |
getAllowAggregation()
Whether elements of the schema that are marked as eligible for aggregation
should be aggregated or not.
|
SubscriptionList |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
SubscriptionList.Mode |
getMode()
.gnmi.SubscriptionList.Mode mode = 5; |
int |
getModeValue()
.gnmi.SubscriptionList.Mode mode = 5; |
Path |
getPrefix()
Prefix used for paths.
|
Path.Builder |
getPrefixBuilder()
Prefix used for paths.
|
PathOrBuilder |
getPrefixOrBuilder()
Prefix used for paths.
|
QOSMarking |
getQos()
DSCP marking to be used.
|
QOSMarking.Builder |
getQosBuilder()
DSCP marking to be used.
|
QOSMarkingOrBuilder |
getQosOrBuilder()
DSCP marking to be used.
|
Subscription |
getSubscription(int index)
Set of subscriptions to create.
|
Subscription.Builder |
getSubscriptionBuilder(int index)
Set of subscriptions to create.
|
List<Subscription.Builder> |
getSubscriptionBuilderList()
Set of subscriptions to create.
|
int |
getSubscriptionCount()
Set of subscriptions to create.
|
List<Subscription> |
getSubscriptionList()
Set of subscriptions to create.
|
SubscriptionOrBuilder |
getSubscriptionOrBuilder(int index)
Set of subscriptions to create.
|
List<? extends 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.
|
ModelData |
getUseModels(int index)
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
ModelData.Builder |
getUseModelsBuilder(int index)
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
List<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.
|
List<ModelData> |
getUseModelsList()
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
ModelDataOrBuilder |
getUseModelsOrBuilder(int index)
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
List<? extends 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() |
SubscriptionList.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SubscriptionList.Builder |
mergeFrom(com.google.protobuf.Message other) |
SubscriptionList.Builder |
mergeFrom(SubscriptionList other) |
SubscriptionList.Builder |
mergePrefix(Path value)
Prefix used for paths.
|
SubscriptionList.Builder |
mergeQos(QOSMarking value)
DSCP marking to be used.
|
SubscriptionList.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SubscriptionList.Builder |
removeSubscription(int index)
Set of subscriptions to create.
|
SubscriptionList.Builder |
removeUseModels(int index)
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
SubscriptionList.Builder |
setAllowAggregation(boolean value)
Whether elements of the schema that are marked as eligible for aggregation
should be aggregated or not.
|
SubscriptionList.Builder |
setEncoding(Encoding value)
The encoding that the target should use within the Notifications generated
corresponding to the SubscriptionList.
|
SubscriptionList.Builder |
setEncodingValue(int value)
The encoding that the target should use within the Notifications generated
corresponding to the SubscriptionList.
|
SubscriptionList.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SubscriptionList.Builder |
setMode(SubscriptionList.Mode value)
.gnmi.SubscriptionList.Mode mode = 5; |
SubscriptionList.Builder |
setModeValue(int value)
.gnmi.SubscriptionList.Mode mode = 5; |
SubscriptionList.Builder |
setPrefix(Path.Builder builderForValue)
Prefix used for paths.
|
SubscriptionList.Builder |
setPrefix(Path value)
Prefix used for paths.
|
SubscriptionList.Builder |
setQos(QOSMarking.Builder builderForValue)
DSCP marking to be used.
|
SubscriptionList.Builder |
setQos(QOSMarking value)
DSCP marking to be used.
|
SubscriptionList.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SubscriptionList.Builder |
setSubscription(int index,
Subscription.Builder builderForValue)
Set of subscriptions to create.
|
SubscriptionList.Builder |
setSubscription(int index,
Subscription value)
Set of subscriptions to create.
|
SubscriptionList.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SubscriptionList.Builder |
setUpdatesOnly(boolean value)
An optional field to specify that only updates to current state should be
sent to a client.
|
SubscriptionList.Builder |
setUseAliases(boolean value)
Whether target defined aliases are allowed within the subscription.
|
SubscriptionList.Builder |
setUseModels(int index,
ModelData.Builder builderForValue)
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
SubscriptionList.Builder |
setUseModels(int index,
ModelData value)
The set of schemas that define the elements of the data tree that should
be sent by the target.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionList.Builder>
public SubscriptionList.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionList.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionList.Builder>
public SubscriptionList getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SubscriptionList build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SubscriptionList buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SubscriptionList.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionList.Builder>
public SubscriptionList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionList.Builder>
public SubscriptionList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionList.Builder>
public SubscriptionList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionList.Builder>
public SubscriptionList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionList.Builder>
public SubscriptionList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionList.Builder>
public SubscriptionList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SubscriptionList.Builder>
public SubscriptionList.Builder mergeFrom(SubscriptionList other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionList.Builder>
public SubscriptionList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SubscriptionList.Builder>
IOException
public boolean hasPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;
hasPrefix
in interface SubscriptionListOrBuilder
public Path getPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;
getPrefix
in interface SubscriptionListOrBuilder
public SubscriptionList.Builder setPrefix(Path value)
Prefix used for paths.
.gnmi.Path prefix = 1;
public SubscriptionList.Builder setPrefix(Path.Builder builderForValue)
Prefix used for paths.
.gnmi.Path prefix = 1;
public SubscriptionList.Builder mergePrefix(Path value)
Prefix used for paths.
.gnmi.Path prefix = 1;
public SubscriptionList.Builder clearPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;
public Path.Builder getPrefixBuilder()
Prefix used for paths.
.gnmi.Path prefix = 1;
public PathOrBuilder getPrefixOrBuilder()
Prefix used for paths.
.gnmi.Path prefix = 1;
getPrefixOrBuilder
in interface SubscriptionListOrBuilder
public List<Subscription> getSubscriptionList()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
getSubscriptionList
in interface SubscriptionListOrBuilder
public int getSubscriptionCount()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
getSubscriptionCount
in interface SubscriptionListOrBuilder
public Subscription getSubscription(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
getSubscription
in interface SubscriptionListOrBuilder
public SubscriptionList.Builder setSubscription(int index, Subscription value)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public SubscriptionList.Builder setSubscription(int index, Subscription.Builder builderForValue)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public SubscriptionList.Builder addSubscription(Subscription value)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public SubscriptionList.Builder addSubscription(int index, Subscription value)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public SubscriptionList.Builder addSubscription(Subscription.Builder builderForValue)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public SubscriptionList.Builder addSubscription(int index, Subscription.Builder builderForValue)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public SubscriptionList.Builder addAllSubscription(Iterable<? extends Subscription> values)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public SubscriptionList.Builder clearSubscription()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public SubscriptionList.Builder removeSubscription(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public Subscription.Builder getSubscriptionBuilder(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public SubscriptionOrBuilder getSubscriptionOrBuilder(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
getSubscriptionOrBuilder
in interface SubscriptionListOrBuilder
public List<? extends SubscriptionOrBuilder> getSubscriptionOrBuilderList()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
getSubscriptionOrBuilderList
in interface SubscriptionListOrBuilder
public Subscription.Builder addSubscriptionBuilder()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public Subscription.Builder addSubscriptionBuilder(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public List<Subscription.Builder> getSubscriptionBuilderList()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public boolean getUseAliases()
Whether target defined aliases are allowed within the subscription.
bool use_aliases = 3;
getUseAliases
in interface SubscriptionListOrBuilder
public SubscriptionList.Builder setUseAliases(boolean value)
Whether target defined aliases are allowed within the subscription.
bool use_aliases = 3;
public SubscriptionList.Builder clearUseAliases()
Whether target defined aliases are allowed within the subscription.
bool use_aliases = 3;
public boolean hasQos()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
hasQos
in interface SubscriptionListOrBuilder
public QOSMarking getQos()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
getQos
in interface SubscriptionListOrBuilder
public SubscriptionList.Builder setQos(QOSMarking value)
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
public SubscriptionList.Builder setQos(QOSMarking.Builder builderForValue)
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
public SubscriptionList.Builder mergeQos(QOSMarking value)
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
public SubscriptionList.Builder clearQos()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
public QOSMarking.Builder getQosBuilder()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
public QOSMarkingOrBuilder getQosOrBuilder()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
getQosOrBuilder
in interface SubscriptionListOrBuilder
public int getModeValue()
.gnmi.SubscriptionList.Mode mode = 5;
getModeValue
in interface SubscriptionListOrBuilder
public SubscriptionList.Builder setModeValue(int value)
.gnmi.SubscriptionList.Mode mode = 5;
public SubscriptionList.Mode getMode()
.gnmi.SubscriptionList.Mode mode = 5;
getMode
in interface SubscriptionListOrBuilder
public SubscriptionList.Builder setMode(SubscriptionList.Mode value)
.gnmi.SubscriptionList.Mode mode = 5;
public SubscriptionList.Builder clearMode()
.gnmi.SubscriptionList.Mode mode = 5;
public boolean getAllowAggregation()
Whether elements of the schema that are marked as eligible for aggregation should be aggregated or not.
bool allow_aggregation = 6;
getAllowAggregation
in interface SubscriptionListOrBuilder
public 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;
public SubscriptionList.Builder clearAllowAggregation()
Whether elements of the schema that are marked as eligible for aggregation should be aggregated or not.
bool allow_aggregation = 6;
public List<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;
getUseModelsList
in interface SubscriptionListOrBuilder
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;
getUseModelsCount
in interface SubscriptionListOrBuilder
public 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;
getUseModels
in interface SubscriptionListOrBuilder
public SubscriptionList.Builder setUseModels(int index, 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;
public SubscriptionList.Builder setUseModels(int index, 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;
public SubscriptionList.Builder addUseModels(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;
public SubscriptionList.Builder addUseModels(int index, 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;
public SubscriptionList.Builder addUseModels(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;
public SubscriptionList.Builder addUseModels(int index, 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;
public SubscriptionList.Builder addAllUseModels(Iterable<? extends 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;
public 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;
public 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;
public 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;
public 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;
getUseModelsOrBuilder
in interface SubscriptionListOrBuilder
public List<? extends 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;
getUseModelsOrBuilderList
in interface SubscriptionListOrBuilder
public 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;
public 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;
public List<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;
public int getEncodingValue()
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.
.gnmi.Encoding encoding = 8;
getEncodingValue
in interface SubscriptionListOrBuilder
public SubscriptionList.Builder setEncodingValue(int value)
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.
.gnmi.Encoding encoding = 8;
public Encoding getEncoding()
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.
.gnmi.Encoding encoding = 8;
getEncoding
in interface SubscriptionListOrBuilder
public SubscriptionList.Builder setEncoding(Encoding value)
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.
.gnmi.Encoding encoding = 8;
public SubscriptionList.Builder clearEncoding()
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.
.gnmi.Encoding encoding = 8;
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;
getUpdatesOnly
in interface SubscriptionListOrBuilder
public 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;
public 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;
public final SubscriptionList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionList.Builder>
public final SubscriptionList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionList.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.