public final class SubscriptionList extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
SubscriptionList.Builder
SubscriptionList is used within a Subscribe message to specify the list of
paths that the client wishes to subscribe to.
|
static class |
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| 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 SubscriptionList |
getDefaultInstance() |
SubscriptionList |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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; |
com.google.protobuf.Parser<SubscriptionList> |
getParserForType() |
Path |
getPrefix()
Prefix used for paths.
|
PathOrBuilder |
getPrefixOrBuilder()
Prefix used for paths.
|
QOSMarking |
getQos()
DSCP marking to be used.
|
QOSMarkingOrBuilder |
getQosOrBuilder()
DSCP marking to be used.
|
int |
getSerializedSize() |
Subscription |
getSubscription(int index)
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.
|
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.
|
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<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.
|
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 SubscriptionList.Builder |
newBuilder() |
static SubscriptionList.Builder |
newBuilder(SubscriptionList prototype) |
SubscriptionList.Builder |
newBuilderForType() |
protected SubscriptionList.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static SubscriptionList |
parseDelimitedFrom(InputStream input) |
static SubscriptionList |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubscriptionList |
parseFrom(byte[] data) |
static SubscriptionList |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubscriptionList |
parseFrom(ByteBuffer data) |
static SubscriptionList |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubscriptionList |
parseFrom(com.google.protobuf.ByteString data) |
static SubscriptionList |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubscriptionList |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SubscriptionList |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SubscriptionList |
parseFrom(InputStream input) |
static SubscriptionList |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SubscriptionList> |
parser() |
SubscriptionList.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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
public 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 SubscriptionListOrBuilderpublic Path getPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;getPrefix in interface SubscriptionListOrBuilderpublic PathOrBuilder getPrefixOrBuilder()
Prefix used for paths.
.gnmi.Path prefix = 1;getPrefixOrBuilder in interface SubscriptionListOrBuilderpublic List<Subscription> getSubscriptionList()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;getSubscriptionList in interface SubscriptionListOrBuilderpublic List<? extends SubscriptionOrBuilder> getSubscriptionOrBuilderList()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;getSubscriptionOrBuilderList in interface SubscriptionListOrBuilderpublic int getSubscriptionCount()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;getSubscriptionCount in interface SubscriptionListOrBuilderpublic Subscription getSubscription(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;getSubscription in interface SubscriptionListOrBuilderpublic SubscriptionOrBuilder getSubscriptionOrBuilder(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;getSubscriptionOrBuilder in interface SubscriptionListOrBuilderpublic boolean getUseAliases()
Whether target defined aliases are allowed within the subscription.
bool use_aliases = 3;getUseAliases in interface SubscriptionListOrBuilderpublic boolean hasQos()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;hasQos in interface SubscriptionListOrBuilderpublic QOSMarking getQos()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;getQos in interface SubscriptionListOrBuilderpublic QOSMarkingOrBuilder getQosOrBuilder()
DSCP marking to be used.
.gnmi.QOSMarking qos = 4;getQosOrBuilder in interface SubscriptionListOrBuilderpublic int getModeValue()
.gnmi.SubscriptionList.Mode mode = 5;getModeValue in interface SubscriptionListOrBuilderpublic SubscriptionList.Mode getMode()
.gnmi.SubscriptionList.Mode mode = 5;getMode in interface 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 SubscriptionListOrBuilderpublic 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 SubscriptionListOrBuilderpublic 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 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 SubscriptionListOrBuilderpublic 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 SubscriptionListOrBuilderpublic 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 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 SubscriptionListOrBuilderpublic Encoding getEncoding()
The encoding that the target should use within the Notifications generated corresponding to the SubscriptionList.
.gnmi.Encoding encoding = 8;getEncoding in interface 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 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 SubscriptionList parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubscriptionList parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubscriptionList parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubscriptionList parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubscriptionList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubscriptionList parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SubscriptionList parseFrom(InputStream input) throws IOException
IOExceptionpublic static SubscriptionList parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SubscriptionList parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SubscriptionList parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SubscriptionList parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SubscriptionList parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SubscriptionList.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SubscriptionList.Builder newBuilder()
public static SubscriptionList.Builder newBuilder(SubscriptionList prototype)
public SubscriptionList.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SubscriptionList.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SubscriptionList getDefaultInstance()
public static com.google.protobuf.Parser<SubscriptionList> parser()
public com.google.protobuf.Parser<SubscriptionList> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SubscriptionList getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 OpenDaylight. All rights reserved.