public static final class Gnmi.Notification extends com.google.protobuf.GeneratedMessageV3 implements Gnmi.NotificationOrBuilder
Notification is a re-usable message that is used to encode data from the
target to the client. A Notification carries two types of changes to the data
tree:
- Deleted values (delete) - a set of paths that have been removed from the
data tree.
- Updated values (update) - a set of path-value pairs indicating the path
whose value has changed in the data tree.
Reference: gNMI Specification Section 2.1
Protobuf type gnmi.Notification| Modifier and Type | Class and Description |
|---|---|
static class |
Gnmi.Notification.Builder
Notification is a re-usable message that is used to encode data from the
target to the client.
|
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 |
ALIAS_FIELD_NUMBER |
static int |
ATOMIC_FIELD_NUMBER |
static int |
DELETE_FIELD_NUMBER |
static int |
PREFIX_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
static int |
UPDATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAlias()
An alias for the path specified in the prefix field.
|
com.google.protobuf.ByteString |
getAliasBytes()
An alias for the path specified in the prefix field.
|
boolean |
getAtomic()
This notification contains a set of paths that are always updated together
referenced by a globally unique prefix.
|
static Gnmi.Notification |
getDefaultInstance() |
Gnmi.Notification |
getDefaultInstanceForType() |
Gnmi.Path |
getDelete(int index)
Data elements that have been deleted.
|
int |
getDeleteCount()
Data elements that have been deleted.
|
List<Gnmi.Path> |
getDeleteList()
Data elements that have been deleted.
|
Gnmi.PathOrBuilder |
getDeleteOrBuilder(int index)
Data elements that have been deleted.
|
List<? extends Gnmi.PathOrBuilder> |
getDeleteOrBuilderList()
Data elements that have been deleted.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Gnmi.Notification> |
getParserForType() |
Gnmi.Path |
getPrefix()
Prefix used for paths in the message.
|
Gnmi.PathOrBuilder |
getPrefixOrBuilder()
Prefix used for paths in the message.
|
int |
getSerializedSize() |
long |
getTimestamp()
Timestamp in nanoseconds since Epoch.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Gnmi.Update |
getUpdate(int index)
Data elements that have changed values.
|
int |
getUpdateCount()
Data elements that have changed values.
|
List<Gnmi.Update> |
getUpdateList()
Data elements that have changed values.
|
Gnmi.UpdateOrBuilder |
getUpdateOrBuilder(int index)
Data elements that have changed values.
|
List<? extends Gnmi.UpdateOrBuilder> |
getUpdateOrBuilderList()
Data elements that have changed values.
|
int |
hashCode() |
boolean |
hasPrefix()
Prefix used for paths in the message.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Gnmi.Notification.Builder |
newBuilder() |
static Gnmi.Notification.Builder |
newBuilder(Gnmi.Notification prototype) |
Gnmi.Notification.Builder |
newBuilderForType() |
protected Gnmi.Notification.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Gnmi.Notification |
parseDelimitedFrom(InputStream input) |
static Gnmi.Notification |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.Notification |
parseFrom(byte[] data) |
static Gnmi.Notification |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.Notification |
parseFrom(ByteBuffer data) |
static Gnmi.Notification |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.Notification |
parseFrom(com.google.protobuf.ByteString data) |
static Gnmi.Notification |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.Notification |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Gnmi.Notification |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.Notification |
parseFrom(InputStream input) |
static Gnmi.Notification |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Gnmi.Notification> |
parser() |
Gnmi.Notification.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 TIMESTAMP_FIELD_NUMBER
public static final int PREFIX_FIELD_NUMBER
public static final int ALIAS_FIELD_NUMBER
public static final int UPDATE_FIELD_NUMBER
public static final int DELETE_FIELD_NUMBER
public static final int ATOMIC_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 long getTimestamp()
Timestamp in nanoseconds since Epoch.
int64 timestamp = 1;getTimestamp in interface Gnmi.NotificationOrBuilderpublic boolean hasPrefix()
Prefix used for paths in the message.
.gnmi.Path prefix = 2;hasPrefix in interface Gnmi.NotificationOrBuilderpublic Gnmi.Path getPrefix()
Prefix used for paths in the message.
.gnmi.Path prefix = 2;getPrefix in interface Gnmi.NotificationOrBuilderpublic Gnmi.PathOrBuilder getPrefixOrBuilder()
Prefix used for paths in the message.
.gnmi.Path prefix = 2;getPrefixOrBuilder in interface Gnmi.NotificationOrBuilderpublic String getAlias()
An alias for the path specified in the prefix field. Reference: gNMI Specification Section 2.4.2
string alias = 3;getAlias in interface Gnmi.NotificationOrBuilderpublic com.google.protobuf.ByteString getAliasBytes()
An alias for the path specified in the prefix field. Reference: gNMI Specification Section 2.4.2
string alias = 3;getAliasBytes in interface Gnmi.NotificationOrBuilderpublic List<Gnmi.Update> getUpdateList()
Data elements that have changed values.
repeated .gnmi.Update update = 4;getUpdateList in interface Gnmi.NotificationOrBuilderpublic List<? extends Gnmi.UpdateOrBuilder> getUpdateOrBuilderList()
Data elements that have changed values.
repeated .gnmi.Update update = 4;getUpdateOrBuilderList in interface Gnmi.NotificationOrBuilderpublic int getUpdateCount()
Data elements that have changed values.
repeated .gnmi.Update update = 4;getUpdateCount in interface Gnmi.NotificationOrBuilderpublic Gnmi.Update getUpdate(int index)
Data elements that have changed values.
repeated .gnmi.Update update = 4;getUpdate in interface Gnmi.NotificationOrBuilderpublic Gnmi.UpdateOrBuilder getUpdateOrBuilder(int index)
Data elements that have changed values.
repeated .gnmi.Update update = 4;getUpdateOrBuilder in interface Gnmi.NotificationOrBuilderpublic List<Gnmi.Path> getDeleteList()
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;getDeleteList in interface Gnmi.NotificationOrBuilderpublic List<? extends Gnmi.PathOrBuilder> getDeleteOrBuilderList()
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;getDeleteOrBuilderList in interface Gnmi.NotificationOrBuilderpublic int getDeleteCount()
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;getDeleteCount in interface Gnmi.NotificationOrBuilderpublic Gnmi.Path getDelete(int index)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;getDelete in interface Gnmi.NotificationOrBuilderpublic Gnmi.PathOrBuilder getDeleteOrBuilder(int index)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;getDeleteOrBuilder in interface Gnmi.NotificationOrBuilderpublic boolean getAtomic()
This notification contains a set of paths that are always updated together referenced by a globally unique prefix.
bool atomic = 6;getAtomic in interface Gnmi.NotificationOrBuilderpublic 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.Notification parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.Notification parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.Notification parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.Notification parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.Notification parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.Notification parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.Notification parseFrom(InputStream input) throws IOException
IOExceptionpublic static Gnmi.Notification parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Gnmi.Notification parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Gnmi.Notification parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Gnmi.Notification parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Gnmi.Notification parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Gnmi.Notification.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Gnmi.Notification.Builder newBuilder()
public static Gnmi.Notification.Builder newBuilder(Gnmi.Notification prototype)
public Gnmi.Notification.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Gnmi.Notification.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Gnmi.Notification getDefaultInstance()
public static com.google.protobuf.Parser<Gnmi.Notification> parser()
public com.google.protobuf.Parser<Gnmi.Notification> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Gnmi.Notification getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.