public static final class Gnmi.Update extends com.google.protobuf.GeneratedMessageV3 implements Gnmi.UpdateOrBuilder
Update is a re-usable message that is used to store a particular Path, Value pair. Reference: gNMI Specification Section 2.1Protobuf type
gnmi.Update| Modifier and Type | Class and Description |
|---|---|
static class |
Gnmi.Update.Builder
Update is a re-usable message that is used to store a particular Path,
Value pair.
|
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 |
DUPLICATES_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
static int |
VAL_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Gnmi.Update |
getDefaultInstance() |
Gnmi.Update |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getDuplicates()
Number of coalesced duplicates.
|
com.google.protobuf.Parser<Gnmi.Update> |
getParserForType() |
Gnmi.Path |
getPath()
The path (key) for the update.
|
Gnmi.PathOrBuilder |
getPathOrBuilder()
The path (key) for the update.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Gnmi.TypedValue |
getVal()
The explicitly typed update value.
|
Gnmi.TypedValueOrBuilder |
getValOrBuilder()
The explicitly typed update value.
|
Gnmi.Value |
getValue()
Deprecated.
|
Gnmi.ValueOrBuilder |
getValueOrBuilder()
Deprecated.
|
int |
hashCode() |
boolean |
hasPath()
The path (key) for the update.
|
boolean |
hasVal()
The explicitly typed update value.
|
boolean |
hasValue()
Deprecated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Gnmi.Update.Builder |
newBuilder() |
static Gnmi.Update.Builder |
newBuilder(Gnmi.Update prototype) |
Gnmi.Update.Builder |
newBuilderForType() |
protected Gnmi.Update.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Gnmi.Update |
parseDelimitedFrom(InputStream input) |
static Gnmi.Update |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.Update |
parseFrom(byte[] data) |
static Gnmi.Update |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.Update |
parseFrom(ByteBuffer data) |
static Gnmi.Update |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.Update |
parseFrom(com.google.protobuf.ByteString data) |
static Gnmi.Update |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.Update |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Gnmi.Update |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.Update |
parseFrom(InputStream input) |
static Gnmi.Update |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Gnmi.Update> |
parser() |
Gnmi.Update.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 PATH_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int VAL_FIELD_NUMBER
public static final int DUPLICATES_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 boolean hasPath()
The path (key) for the update.
.gnmi.Path path = 1;hasPath in interface Gnmi.UpdateOrBuilderpublic Gnmi.Path getPath()
The path (key) for the update.
.gnmi.Path path = 1;getPath in interface Gnmi.UpdateOrBuilderpublic Gnmi.PathOrBuilder getPathOrBuilder()
The path (key) for the update.
.gnmi.Path path = 1;getPathOrBuilder in interface Gnmi.UpdateOrBuilder@Deprecated public boolean hasValue()
The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];hasValue in interface Gnmi.UpdateOrBuilder@Deprecated public Gnmi.Value getValue()
The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];getValue in interface Gnmi.UpdateOrBuilder@Deprecated public Gnmi.ValueOrBuilder getValueOrBuilder()
The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];getValueOrBuilder in interface Gnmi.UpdateOrBuilderpublic boolean hasVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;hasVal in interface Gnmi.UpdateOrBuilderpublic Gnmi.TypedValue getVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;getVal in interface Gnmi.UpdateOrBuilderpublic Gnmi.TypedValueOrBuilder getValOrBuilder()
The explicitly typed update value.
.gnmi.TypedValue val = 3;getValOrBuilder in interface Gnmi.UpdateOrBuilderpublic int getDuplicates()
Number of coalesced duplicates.
uint32 duplicates = 4;getDuplicates in interface Gnmi.UpdateOrBuilderpublic 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.Update parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.Update parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.Update parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.Update parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.Update parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.Update parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.Update parseFrom(InputStream input) throws IOException
IOExceptionpublic static Gnmi.Update parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Gnmi.Update parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Gnmi.Update parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Gnmi.Update parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Gnmi.Update parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Gnmi.Update.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Gnmi.Update.Builder newBuilder()
public static Gnmi.Update.Builder newBuilder(Gnmi.Update prototype)
public Gnmi.Update.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Gnmi.Update.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Gnmi.Update getDefaultInstance()
public static com.google.protobuf.Parser<Gnmi.Update> parser()
public com.google.protobuf.Parser<Gnmi.Update> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Gnmi.Update getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.