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.2Protobuf type
gnmi.SubscriptionList
Modifier and Type | Method and Description |
---|---|
Gnmi.SubscriptionList.Builder |
addAllSubscription(Iterable<? extends Gnmi.Subscription> values)
Set of subscriptions to create.
|
Gnmi.SubscriptionList.Builder |
addAllUseModels(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,
Object value) |
Gnmi.SubscriptionList.Builder |
addSubscription(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(int index,
Gnmi.Subscription.Builder builderForValue)
Set of subscriptions to create.
|
Gnmi.SubscriptionList.Builder |
addSubscription(int index,
Gnmi.Subscription value)
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(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(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(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.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.
|
List<Gnmi.Subscription.Builder> |
getSubscriptionBuilderList()
Set of subscriptions to create.
|
int |
getSubscriptionCount()
Set of subscriptions to create.
|
List<Gnmi.Subscription> |
getSubscriptionList()
Set of subscriptions to create.
|
Gnmi.SubscriptionOrBuilder |
getSubscriptionOrBuilder(int index)
Set of subscriptions to create.
|
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.
|
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.
|
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.
|
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(Gnmi.SubscriptionList other) |
Gnmi.SubscriptionList.Builder |
mergeFrom(com.google.protobuf.Message 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,
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.Builder builderForValue)
Prefix used for paths.
|
Gnmi.SubscriptionList.Builder |
setPrefix(Gnmi.Path value)
Prefix used for paths.
|
Gnmi.SubscriptionList.Builder |
setQos(Gnmi.QOSMarking.Builder builderForValue)
DSCP marking to be used.
|
Gnmi.SubscriptionList.Builder |
setQos(Gnmi.QOSMarking value)
DSCP marking to be used.
|
Gnmi.SubscriptionList.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Gnmi.SubscriptionList.Builder |
setSubscription(int index,
Gnmi.Subscription.Builder builderForValue)
Set of subscriptions to create.
|
Gnmi.SubscriptionList.Builder |
setSubscription(int index,
Gnmi.Subscription value)
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.Builder builderForValue)
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 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<Gnmi.SubscriptionList.Builder>
public Gnmi.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<Gnmi.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<Gnmi.SubscriptionList.Builder>
public Gnmi.SubscriptionList getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Gnmi.SubscriptionList build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Gnmi.SubscriptionList buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Gnmi.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<Gnmi.SubscriptionList.Builder>
public Gnmi.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<Gnmi.SubscriptionList.Builder>
public Gnmi.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<Gnmi.SubscriptionList.Builder>
public Gnmi.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<Gnmi.SubscriptionList.Builder>
public Gnmi.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<Gnmi.SubscriptionList.Builder>
public Gnmi.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<Gnmi.SubscriptionList.Builder>
public Gnmi.SubscriptionList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Gnmi.SubscriptionList.Builder>
public Gnmi.SubscriptionList.Builder mergeFrom(Gnmi.SubscriptionList other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.SubscriptionList.Builder>
public Gnmi.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<Gnmi.SubscriptionList.Builder>
IOException
public boolean hasPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;
hasPrefix
in interface Gnmi.SubscriptionListOrBuilder
public Gnmi.Path getPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;
getPrefix
in interface Gnmi.SubscriptionListOrBuilder
public Gnmi.SubscriptionList.Builder setPrefix(Gnmi.Path value)
Prefix used for paths.
.gnmi.Path prefix = 1;
public Gnmi.SubscriptionList.Builder setPrefix(Gnmi.Path.Builder builderForValue)
Prefix used for paths.
.gnmi.Path prefix = 1;
public Gnmi.SubscriptionList.Builder mergePrefix(Gnmi.Path value)
Prefix used for paths.
.gnmi.Path prefix = 1;
public Gnmi.SubscriptionList.Builder clearPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;
public Gnmi.Path.Builder getPrefixBuilder()
Prefix used for paths.
.gnmi.Path prefix = 1;
public Gnmi.PathOrBuilder getPrefixOrBuilder()
Prefix used for paths.
.gnmi.Path prefix = 1;
getPrefixOrBuilder
in interface Gnmi.SubscriptionListOrBuilder
public List<Gnmi.Subscription> getSubscriptionList()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
getSubscriptionList
in interface Gnmi.SubscriptionListOrBuilder
public int getSubscriptionCount()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
getSubscriptionCount
in interface Gnmi.SubscriptionListOrBuilder
public Gnmi.Subscription getSubscription(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
getSubscription
in interface Gnmi.SubscriptionListOrBuilder
public Gnmi.SubscriptionList.Builder setSubscription(int index, Gnmi.Subscription value)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public Gnmi.SubscriptionList.Builder setSubscription(int index, Gnmi.Subscription.Builder builderForValue)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public Gnmi.SubscriptionList.Builder addSubscription(Gnmi.Subscription value)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public Gnmi.SubscriptionList.Builder addSubscription(int index, Gnmi.Subscription value)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public Gnmi.SubscriptionList.Builder addSubscription(Gnmi.Subscription.Builder builderForValue)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public Gnmi.SubscriptionList.Builder addSubscription(int index, Gnmi.Subscription.Builder builderForValue)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public Gnmi.SubscriptionList.Builder addAllSubscription(Iterable<? extends Gnmi.Subscription> values)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public Gnmi.SubscriptionList.Builder clearSubscription()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public Gnmi.SubscriptionList.Builder removeSubscription(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public Gnmi.Subscription.Builder getSubscriptionBuilder(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public Gnmi.SubscriptionOrBuilder getSubscriptionOrBuilder(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
getSubscriptionOrBuilder
in interface Gnmi.SubscriptionListOrBuilder
public List<? extends Gnmi.SubscriptionOrBuilder> getSubscriptionOrBuilderList()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
getSubscriptionOrBuilderList
in interface Gnmi.SubscriptionListOrBuilder
public Gnmi.Subscription.Builder addSubscriptionBuilder()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public Gnmi.Subscription.Builder addSubscriptionBuilder(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
public List<Gnmi.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 Gnmi.SubscriptionListOrBuilder
public Gnmi.SubscriptionList.Builder setUseAliases(boolean value)
Whether target defined aliases are allowed within the subscription.
bool use_aliases = 3;
public Gnmi.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 Gnmi.SubscriptionListOrBuilder
public Gnmi.QOSMarking getQos()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
getQos
in interface Gnmi.SubscriptionListOrBuilder
public Gnmi.SubscriptionList.Builder setQos(Gnmi.QOSMarking value)
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
public Gnmi.SubscriptionList.Builder setQos(Gnmi.QOSMarking.Builder builderForValue)
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
public Gnmi.SubscriptionList.Builder mergeQos(Gnmi.QOSMarking value)
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
public Gnmi.SubscriptionList.Builder clearQos()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
public Gnmi.QOSMarking.Builder getQosBuilder()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
public Gnmi.QOSMarkingOrBuilder getQosOrBuilder()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;
getQosOrBuilder
in interface Gnmi.SubscriptionListOrBuilder
public int getModeValue()
.gnmi.SubscriptionList.Mode mode = 5;
getModeValue
in interface Gnmi.SubscriptionListOrBuilder
public Gnmi.SubscriptionList.Builder setModeValue(int value)
.gnmi.SubscriptionList.Mode mode = 5;
public Gnmi.SubscriptionList.Mode getMode()
.gnmi.SubscriptionList.Mode mode = 5;
getMode
in interface Gnmi.SubscriptionListOrBuilder
public Gnmi.SubscriptionList.Builder setMode(Gnmi.SubscriptionList.Mode value)
.gnmi.SubscriptionList.Mode mode = 5;
public Gnmi.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 Gnmi.SubscriptionListOrBuilder
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;
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;
public 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;
getUseModelsList
in interface Gnmi.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 Gnmi.SubscriptionListOrBuilder
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;
getUseModels
in interface Gnmi.SubscriptionListOrBuilder
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;
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;
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;
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;
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;
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;
public Gnmi.SubscriptionList.Builder addAllUseModels(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;
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;
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;
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;
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;
getUseModelsOrBuilder
in interface Gnmi.SubscriptionListOrBuilder
public 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;
getUseModelsOrBuilderList
in interface Gnmi.SubscriptionListOrBuilder
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;
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;
public 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;
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 Gnmi.SubscriptionListOrBuilder
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;
public Gnmi.Encoding getEncoding()
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.
.gnmi.Encoding encoding = 8;
getEncoding
in interface Gnmi.SubscriptionListOrBuilder
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;
public Gnmi.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 Gnmi.SubscriptionListOrBuilder
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;
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;
public final Gnmi.SubscriptionList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.SubscriptionList.Builder>
public final Gnmi.SubscriptionList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.SubscriptionList.Builder>
Copyright © 2020. All rights reserved.