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, 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 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.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 boolean hasPath()
The path (key) for the update.
.gnmi.Path path = 1;
hasPath
in interface Gnmi.UpdateOrBuilder
public Gnmi.Path getPath()
The path (key) for the update.
.gnmi.Path path = 1;
getPath
in interface Gnmi.UpdateOrBuilder
public 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.UpdateOrBuilder
public boolean hasVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;
hasVal
in interface Gnmi.UpdateOrBuilder
public Gnmi.TypedValue getVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;
getVal
in interface Gnmi.UpdateOrBuilder
public Gnmi.TypedValueOrBuilder getValOrBuilder()
The explicitly typed update value.
.gnmi.TypedValue val = 3;
getValOrBuilder
in interface Gnmi.UpdateOrBuilder
public int getDuplicates()
Number of coalesced duplicates.
uint32 duplicates = 4;
getDuplicates
in interface Gnmi.UpdateOrBuilder
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.Update parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.Update parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.Update parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.Update parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.Update parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.Update parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.Update parseFrom(InputStream input) throws IOException
IOException
public static Gnmi.Update parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Gnmi.Update parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Gnmi.Update parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Gnmi.Update parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Gnmi.Update parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Gnmi.Update.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Gnmi.Update.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Gnmi.Update getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2021. All rights reserved.