public static final class Gnmi.Notification.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Notification.Builder> 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 | Method and Description |
|---|---|
Gnmi.Notification.Builder |
addAllDelete(Iterable<? extends Gnmi.Path> values)
Data elements that have been deleted.
|
Gnmi.Notification.Builder |
addAllUpdate(Iterable<? extends Gnmi.Update> values)
Data elements that have changed values.
|
Gnmi.Notification.Builder |
addDelete(Gnmi.Path.Builder builderForValue)
Data elements that have been deleted.
|
Gnmi.Notification.Builder |
addDelete(Gnmi.Path value)
Data elements that have been deleted.
|
Gnmi.Notification.Builder |
addDelete(int index,
Gnmi.Path.Builder builderForValue)
Data elements that have been deleted.
|
Gnmi.Notification.Builder |
addDelete(int index,
Gnmi.Path value)
Data elements that have been deleted.
|
Gnmi.Path.Builder |
addDeleteBuilder()
Data elements that have been deleted.
|
Gnmi.Path.Builder |
addDeleteBuilder(int index)
Data elements that have been deleted.
|
Gnmi.Notification.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Gnmi.Notification.Builder |
addUpdate(Gnmi.Update.Builder builderForValue)
Data elements that have changed values.
|
Gnmi.Notification.Builder |
addUpdate(Gnmi.Update value)
Data elements that have changed values.
|
Gnmi.Notification.Builder |
addUpdate(int index,
Gnmi.Update.Builder builderForValue)
Data elements that have changed values.
|
Gnmi.Notification.Builder |
addUpdate(int index,
Gnmi.Update value)
Data elements that have changed values.
|
Gnmi.Update.Builder |
addUpdateBuilder()
Data elements that have changed values.
|
Gnmi.Update.Builder |
addUpdateBuilder(int index)
Data elements that have changed values.
|
Gnmi.Notification |
build() |
Gnmi.Notification |
buildPartial() |
Gnmi.Notification.Builder |
clear() |
Gnmi.Notification.Builder |
clearAlias()
An alias for the path specified in the prefix field.
|
Gnmi.Notification.Builder |
clearAtomic()
This notification contains a set of paths that are always updated together
referenced by a globally unique prefix.
|
Gnmi.Notification.Builder |
clearDelete()
Data elements that have been deleted.
|
Gnmi.Notification.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Gnmi.Notification.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Gnmi.Notification.Builder |
clearPrefix()
Prefix used for paths in the message.
|
Gnmi.Notification.Builder |
clearTimestamp()
Timestamp in nanoseconds since Epoch.
|
Gnmi.Notification.Builder |
clearUpdate()
Data elements that have changed values.
|
Gnmi.Notification.Builder |
clone() |
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.
|
Gnmi.Notification |
getDefaultInstanceForType() |
Gnmi.Path |
getDelete(int index)
Data elements that have been deleted.
|
Gnmi.Path.Builder |
getDeleteBuilder(int index)
Data elements that have been deleted.
|
List<Gnmi.Path.Builder> |
getDeleteBuilderList()
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.Descriptors.Descriptor |
getDescriptorForType() |
Gnmi.Path |
getPrefix()
Prefix used for paths in the message.
|
Gnmi.Path.Builder |
getPrefixBuilder()
Prefix used for paths in the message.
|
Gnmi.PathOrBuilder |
getPrefixOrBuilder()
Prefix used for paths in the message.
|
long |
getTimestamp()
Timestamp in nanoseconds since Epoch.
|
Gnmi.Update |
getUpdate(int index)
Data elements that have changed values.
|
Gnmi.Update.Builder |
getUpdateBuilder(int index)
Data elements that have changed values.
|
List<Gnmi.Update.Builder> |
getUpdateBuilderList()
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.
|
boolean |
hasPrefix()
Prefix used for paths in the message.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Gnmi.Notification.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Gnmi.Notification.Builder |
mergeFrom(Gnmi.Notification other) |
Gnmi.Notification.Builder |
mergeFrom(com.google.protobuf.Message other) |
Gnmi.Notification.Builder |
mergePrefix(Gnmi.Path value)
Prefix used for paths in the message.
|
Gnmi.Notification.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Gnmi.Notification.Builder |
removeDelete(int index)
Data elements that have been deleted.
|
Gnmi.Notification.Builder |
removeUpdate(int index)
Data elements that have changed values.
|
Gnmi.Notification.Builder |
setAlias(String value)
An alias for the path specified in the prefix field.
|
Gnmi.Notification.Builder |
setAliasBytes(com.google.protobuf.ByteString value)
An alias for the path specified in the prefix field.
|
Gnmi.Notification.Builder |
setAtomic(boolean value)
This notification contains a set of paths that are always updated together
referenced by a globally unique prefix.
|
Gnmi.Notification.Builder |
setDelete(int index,
Gnmi.Path.Builder builderForValue)
Data elements that have been deleted.
|
Gnmi.Notification.Builder |
setDelete(int index,
Gnmi.Path value)
Data elements that have been deleted.
|
Gnmi.Notification.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Gnmi.Notification.Builder |
setPrefix(Gnmi.Path.Builder builderForValue)
Prefix used for paths in the message.
|
Gnmi.Notification.Builder |
setPrefix(Gnmi.Path value)
Prefix used for paths in the message.
|
Gnmi.Notification.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Gnmi.Notification.Builder |
setTimestamp(long value)
Timestamp in nanoseconds since Epoch.
|
Gnmi.Notification.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Gnmi.Notification.Builder |
setUpdate(int index,
Gnmi.Update.Builder builderForValue)
Data elements that have changed values.
|
Gnmi.Notification.Builder |
setUpdate(int index,
Gnmi.Update value)
Data elements that have changed values.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Notification.Builder>public Gnmi.Notification.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Notification.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Notification.Builder>public Gnmi.Notification getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Gnmi.Notification build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Gnmi.Notification buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Gnmi.Notification.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Notification.Builder>public Gnmi.Notification.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Notification.Builder>public Gnmi.Notification.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Notification.Builder>public Gnmi.Notification.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Notification.Builder>public Gnmi.Notification.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Notification.Builder>public Gnmi.Notification.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Notification.Builder>public Gnmi.Notification.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Gnmi.Notification.Builder>public Gnmi.Notification.Builder mergeFrom(Gnmi.Notification other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Notification.Builder>public Gnmi.Notification.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Gnmi.Notification.Builder>IOExceptionpublic long getTimestamp()
Timestamp in nanoseconds since Epoch.
int64 timestamp = 1;getTimestamp in interface Gnmi.NotificationOrBuilderpublic Gnmi.Notification.Builder setTimestamp(long value)
Timestamp in nanoseconds since Epoch.
int64 timestamp = 1;public Gnmi.Notification.Builder clearTimestamp()
Timestamp in nanoseconds since Epoch.
int64 timestamp = 1;public 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.Notification.Builder setPrefix(Gnmi.Path value)
Prefix used for paths in the message.
.gnmi.Path prefix = 2;public Gnmi.Notification.Builder setPrefix(Gnmi.Path.Builder builderForValue)
Prefix used for paths in the message.
.gnmi.Path prefix = 2;public Gnmi.Notification.Builder mergePrefix(Gnmi.Path value)
Prefix used for paths in the message.
.gnmi.Path prefix = 2;public Gnmi.Notification.Builder clearPrefix()
Prefix used for paths in the message.
.gnmi.Path prefix = 2;public Gnmi.Path.Builder getPrefixBuilder()
Prefix used for paths in the message.
.gnmi.Path prefix = 2;public 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 Gnmi.Notification.Builder setAlias(String value)
An alias for the path specified in the prefix field. Reference: gNMI Specification Section 2.4.2
string alias = 3;public Gnmi.Notification.Builder clearAlias()
An alias for the path specified in the prefix field. Reference: gNMI Specification Section 2.4.2
string alias = 3;public Gnmi.Notification.Builder setAliasBytes(com.google.protobuf.ByteString value)
An alias for the path specified in the prefix field. Reference: gNMI Specification Section 2.4.2
string alias = 3;public List<Gnmi.Update> getUpdateList()
Data elements that have changed values.
repeated .gnmi.Update update = 4;getUpdateList 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.Notification.Builder setUpdate(int index, Gnmi.Update value)
Data elements that have changed values.
repeated .gnmi.Update update = 4;public Gnmi.Notification.Builder setUpdate(int index, Gnmi.Update.Builder builderForValue)
Data elements that have changed values.
repeated .gnmi.Update update = 4;public Gnmi.Notification.Builder addUpdate(Gnmi.Update value)
Data elements that have changed values.
repeated .gnmi.Update update = 4;public Gnmi.Notification.Builder addUpdate(int index, Gnmi.Update value)
Data elements that have changed values.
repeated .gnmi.Update update = 4;public Gnmi.Notification.Builder addUpdate(Gnmi.Update.Builder builderForValue)
Data elements that have changed values.
repeated .gnmi.Update update = 4;public Gnmi.Notification.Builder addUpdate(int index, Gnmi.Update.Builder builderForValue)
Data elements that have changed values.
repeated .gnmi.Update update = 4;public Gnmi.Notification.Builder addAllUpdate(Iterable<? extends Gnmi.Update> values)
Data elements that have changed values.
repeated .gnmi.Update update = 4;public Gnmi.Notification.Builder clearUpdate()
Data elements that have changed values.
repeated .gnmi.Update update = 4;public Gnmi.Notification.Builder removeUpdate(int index)
Data elements that have changed values.
repeated .gnmi.Update update = 4;public Gnmi.Update.Builder getUpdateBuilder(int index)
Data elements that have changed values.
repeated .gnmi.Update update = 4;public Gnmi.UpdateOrBuilder getUpdateOrBuilder(int index)
Data elements that have changed values.
repeated .gnmi.Update update = 4;getUpdateOrBuilder 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 Gnmi.Update.Builder addUpdateBuilder()
Data elements that have changed values.
repeated .gnmi.Update update = 4;public Gnmi.Update.Builder addUpdateBuilder(int index)
Data elements that have changed values.
repeated .gnmi.Update update = 4;public List<Gnmi.Update.Builder> getUpdateBuilderList()
Data elements that have changed values.
repeated .gnmi.Update update = 4;public List<Gnmi.Path> getDeleteList()
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;getDeleteList 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.Notification.Builder setDelete(int index, Gnmi.Path value)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;public Gnmi.Notification.Builder setDelete(int index, Gnmi.Path.Builder builderForValue)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;public Gnmi.Notification.Builder addDelete(Gnmi.Path value)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;public Gnmi.Notification.Builder addDelete(int index, Gnmi.Path value)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;public Gnmi.Notification.Builder addDelete(Gnmi.Path.Builder builderForValue)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;public Gnmi.Notification.Builder addDelete(int index, Gnmi.Path.Builder builderForValue)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;public Gnmi.Notification.Builder addAllDelete(Iterable<? extends Gnmi.Path> values)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;public Gnmi.Notification.Builder clearDelete()
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;public Gnmi.Notification.Builder removeDelete(int index)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;public Gnmi.Path.Builder getDeleteBuilder(int index)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;public Gnmi.PathOrBuilder getDeleteOrBuilder(int index)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;getDeleteOrBuilder 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 Gnmi.Path.Builder addDeleteBuilder()
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;public Gnmi.Path.Builder addDeleteBuilder(int index)
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;public List<Gnmi.Path.Builder> getDeleteBuilderList()
Data elements that have been deleted.
repeated .gnmi.Path delete = 5;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.NotificationOrBuilderpublic Gnmi.Notification.Builder setAtomic(boolean value)
This notification contains a set of paths that are always updated together referenced by a globally unique prefix.
bool atomic = 6;public Gnmi.Notification.Builder clearAtomic()
This notification contains a set of paths that are always updated together referenced by a globally unique prefix.
bool atomic = 6;public final Gnmi.Notification.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Notification.Builder>public final Gnmi.Notification.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Notification.Builder>Copyright © 2022. All rights reserved.