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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 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 List<? extends SubscriptionOrBuilder> getSubscriptionOrBuilderList()
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
getSubscriptionOrBuilderList
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 SubscriptionOrBuilder getSubscriptionOrBuilder(int index)
Set of subscriptions to create.
repeated .gnmi.Subscription subscription = 2;
getSubscriptionOrBuilder
in interface SubscriptionListOrBuilder
public boolean getUseAliases()
Whether target defined aliases are allowed within the subscription.
bool use_aliases = 3;
getUseAliases
in interface SubscriptionListOrBuilder
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 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.Mode getMode()
.gnmi.SubscriptionList.Mode mode = 5;
getMode
in interface SubscriptionListOrBuilder
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 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 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 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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static SubscriptionList parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SubscriptionList parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SubscriptionList parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SubscriptionList parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SubscriptionList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SubscriptionList parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SubscriptionList parseFrom(InputStream input) throws IOException
IOException
public static SubscriptionList parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static SubscriptionList parseDelimitedFrom(InputStream input) throws IOException
IOException
public static SubscriptionList parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static SubscriptionList parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static SubscriptionList parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public SubscriptionList.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static SubscriptionList.Builder newBuilder()
public static SubscriptionList.Builder newBuilder(SubscriptionList prototype)
public SubscriptionList.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected SubscriptionList.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static SubscriptionList getDefaultInstance()
public static com.google.protobuf.Parser<SubscriptionList> parser()
public com.google.protobuf.Parser<SubscriptionList> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public SubscriptionList getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018 OpenDaylight. All rights reserved.