public static final class Gnmi.SubscriptionList extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
Gnmi.SubscriptionList.Builder
SubscriptionList is used within a Subscribe message to specify the list of
paths that the client wishes to subscribe to.
|
static class |
Gnmi.SubscriptionList.Mode
Mode of the subscription.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_AGGREGATION_FIELD_NUMBER |
static int |
ENCODING_FIELD_NUMBER |
static int |
MODE_FIELD_NUMBER |
static int |
PREFIX_FIELD_NUMBER |
static int |
QOS_FIELD_NUMBER |
static int |
SUBSCRIPTION_FIELD_NUMBER |
static int |
UPDATES_ONLY_FIELD_NUMBER |
static int |
USE_ALIASES_FIELD_NUMBER |
static int |
USE_MODELS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAllowAggregation()
Whether elements of the schema that are marked as eligible for aggregation
should be aggregated or not.
|
static Gnmi.SubscriptionList |
getDefaultInstance() |
Gnmi.SubscriptionList |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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; |
com.google.protobuf.Parser<Gnmi.SubscriptionList> |
getParserForType() |
Gnmi.Path |
getPrefix()
Prefix used for paths.
|
Gnmi.PathOrBuilder |
getPrefixOrBuilder()
Prefix used for paths.
|
Gnmi.QOSMarking |
getQos()
DSCP marking to be used.
|
Gnmi.QOSMarkingOrBuilder |
getQosOrBuilder()
DSCP marking to be used.
|
int |
getSerializedSize() |
Gnmi.Subscription |
getSubscription(int index)
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
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.
|
int |
hashCode() |
boolean |
hasPrefix()
Prefix used for paths.
|
boolean |
hasQos()
DSCP marking to be used.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Gnmi.SubscriptionList.Builder |
newBuilder() |
static Gnmi.SubscriptionList.Builder |
newBuilder(Gnmi.SubscriptionList prototype) |
Gnmi.SubscriptionList.Builder |
newBuilderForType() |
protected Gnmi.SubscriptionList.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Gnmi.SubscriptionList |
parseDelimitedFrom(InputStream input) |
static Gnmi.SubscriptionList |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.SubscriptionList |
parseFrom(byte[] data) |
static Gnmi.SubscriptionList |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.SubscriptionList |
parseFrom(ByteBuffer data) |
static Gnmi.SubscriptionList |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.SubscriptionList |
parseFrom(com.google.protobuf.ByteString data) |
static Gnmi.SubscriptionList |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.SubscriptionList |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Gnmi.SubscriptionList |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.SubscriptionList |
parseFrom(InputStream input) |
static Gnmi.SubscriptionList |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Gnmi.SubscriptionList> |
parser() |
Gnmi.SubscriptionList.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PREFIX_FIELD_NUMBER
public static final int SUBSCRIPTION_FIELD_NUMBER
public static final int USE_ALIASES_FIELD_NUMBER
public static final int QOS_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
public static final int ALLOW_AGGREGATION_FIELD_NUMBER
public static final int USE_MODELS_FIELD_NUMBER
public static final int ENCODING_FIELD_NUMBER
public static final int UPDATES_ONLY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;hasPrefix in interface Gnmi.SubscriptionListOrBuilderpublic Gnmi.Path getPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;getPrefix in interface Gnmi.SubscriptionListOrBuilderpublic Gnmi.PathOrBuilder getPrefixOrBuilder()
Prefix used for paths.
.gnmi.Path prefix = 1;getPrefixOrBuilder in interface Gnmi.SubscriptionListOrBuilderpublic List<Gnmi.Subscription> getSubscriptionList()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;getSubscriptionList in interface Gnmi.SubscriptionListOrBuilderpublic List<? extends Gnmi.SubscriptionOrBuilder> getSubscriptionOrBuilderList()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;getSubscriptionOrBuilderList in interface Gnmi.SubscriptionListOrBuilderpublic int getSubscriptionCount()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;getSubscriptionCount in interface Gnmi.SubscriptionListOrBuilderpublic Gnmi.Subscription getSubscription(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;getSubscription in interface Gnmi.SubscriptionListOrBuilderpublic Gnmi.SubscriptionOrBuilder getSubscriptionOrBuilder(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;getSubscriptionOrBuilder in interface Gnmi.SubscriptionListOrBuilderpublic boolean getUseAliases()
Whether target defined aliases are allowed within the subscription.
bool use_aliases = 3;getUseAliases in interface Gnmi.SubscriptionListOrBuilderpublic boolean hasQos()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;hasQos in interface Gnmi.SubscriptionListOrBuilderpublic Gnmi.QOSMarking getQos()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;getQos in interface Gnmi.SubscriptionListOrBuilderpublic Gnmi.QOSMarkingOrBuilder getQosOrBuilder()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;getQosOrBuilder in interface Gnmi.SubscriptionListOrBuilderpublic int getModeValue()
.gnmi.SubscriptionList.Mode mode = 5;getModeValue in interface Gnmi.SubscriptionListOrBuilderpublic Gnmi.SubscriptionList.Mode getMode()
.gnmi.SubscriptionList.Mode mode = 5;getMode in interface Gnmi.SubscriptionListOrBuilderpublic 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.SubscriptionListOrBuilderpublic 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.SubscriptionListOrBuilderpublic 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.SubscriptionListOrBuilderpublic 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.SubscriptionListOrBuilderpublic 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.SubscriptionListOrBuilderpublic 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.SubscriptionListOrBuilderpublic 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.SubscriptionListOrBuilderpublic 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.SubscriptionListOrBuilderpublic 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.SubscriptionListOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Gnmi.SubscriptionList parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.SubscriptionList parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.SubscriptionList parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.SubscriptionList parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.SubscriptionList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.SubscriptionList parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.SubscriptionList parseFrom(InputStream input) throws IOException
IOExceptionpublic static Gnmi.SubscriptionList parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Gnmi.SubscriptionList parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Gnmi.SubscriptionList parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Gnmi.SubscriptionList parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Gnmi.SubscriptionList parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Gnmi.SubscriptionList.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Gnmi.SubscriptionList.Builder newBuilder()
public static Gnmi.SubscriptionList.Builder newBuilder(Gnmi.SubscriptionList prototype)
public Gnmi.SubscriptionList.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Gnmi.SubscriptionList.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Gnmi.SubscriptionList getDefaultInstance()
public static com.google.protobuf.Parser<Gnmi.SubscriptionList> parser()
public com.google.protobuf.Parser<Gnmi.SubscriptionList> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Gnmi.SubscriptionList getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.