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.1Protobuf 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, 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 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.GeneratedMessageV3
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 long getTimestamp()
Timestamp in nanoseconds since Epoch.
int64 timestamp = 1;
getTimestamp
in interface Gnmi.NotificationOrBuilder
public boolean hasPrefix()
Prefix used for paths in the message.
.gnmi.Path prefix = 2;
hasPrefix
in interface Gnmi.NotificationOrBuilder
public Gnmi.Path getPrefix()
Prefix used for paths in the message.
.gnmi.Path prefix = 2;
getPrefix
in interface Gnmi.NotificationOrBuilder
public Gnmi.PathOrBuilder getPrefixOrBuilder()
Prefix used for paths in the message.
.gnmi.Path prefix = 2;
getPrefixOrBuilder
in interface Gnmi.NotificationOrBuilder
public 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.NotificationOrBuilder
public 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.NotificationOrBuilder
public List<Gnmi.Update> getUpdateList()
Data elements that have changed values.
repeated .gnmi.Update update = 4;
getUpdateList
in interface Gnmi.NotificationOrBuilder
public List<? extends Gnmi.UpdateOrBuilder> getUpdateOrBuilderList()
Data elements that have changed values.
repeated .gnmi.Update update = 4;
getUpdateOrBuilderList
in interface Gnmi.NotificationOrBuilder
public int getUpdateCount()
Data elements that have changed values.
repeated .gnmi.Update update = 4;
getUpdateCount
in interface Gnmi.NotificationOrBuilder
public Gnmi.Update getUpdate(int index)
Data elements that have changed values.
repeated .gnmi.Update update = 4;
getUpdate
in interface Gnmi.NotificationOrBuilder
public Gnmi.UpdateOrBuilder getUpdateOrBuilder(int index)
Data elements that have changed values.
repeated .gnmi.Update update = 4;
getUpdateOrBuilder
in interface Gnmi.NotificationOrBuilder
public List<Gnmi.Path> getDeleteList()
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;
getDeleteList
in interface Gnmi.NotificationOrBuilder
public List<? extends Gnmi.PathOrBuilder> getDeleteOrBuilderList()
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;
getDeleteOrBuilderList
in interface Gnmi.NotificationOrBuilder
public int getDeleteCount()
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;
getDeleteCount
in interface Gnmi.NotificationOrBuilder
public Gnmi.Path getDelete(int index)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;
getDelete
in interface Gnmi.NotificationOrBuilder
public Gnmi.PathOrBuilder getDeleteOrBuilder(int index)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;
getDeleteOrBuilder
in interface Gnmi.NotificationOrBuilder
public 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.NotificationOrBuilder
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 Gnmi.Notification parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.Notification parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.Notification parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.Notification parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.Notification parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.Notification parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.Notification parseFrom(InputStream input) throws IOException
IOException
public static Gnmi.Notification parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Gnmi.Notification parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Gnmi.Notification parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Gnmi.Notification parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Gnmi.Notification parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Gnmi.Notification.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Gnmi.Notification.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Gnmi.Notification getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2021. All rights reserved.