public final class Update extends com.google.protobuf.GeneratedMessageV3 implements 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 |
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
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 Update |
getDefaultInstance() |
Update |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getDuplicates()
Number of coalesced duplicates.
|
com.google.protobuf.Parser<Update> |
getParserForType() |
Path |
getPath()
The path (key) for the update.
|
PathOrBuilder |
getPathOrBuilder()
The path (key) for the update.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
TypedValue |
getVal()
The explicitly typed update value.
|
TypedValueOrBuilder |
getValOrBuilder()
The explicitly typed update value.
|
Value |
getValue()
Deprecated.
|
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 Update.Builder |
newBuilder() |
static Update.Builder |
newBuilder(Update prototype) |
Update.Builder |
newBuilderForType() |
protected Update.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Update |
parseDelimitedFrom(InputStream input) |
static Update |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Update |
parseFrom(byte[] data) |
static Update |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Update |
parseFrom(ByteBuffer data) |
static Update |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Update |
parseFrom(com.google.protobuf.ByteString data) |
static Update |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Update |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Update |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Update |
parseFrom(InputStream input) |
static Update |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Update> |
parser() |
Update.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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
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 UpdateOrBuilder
public Path getPath()
The path (key) for the update.
.gnmi.Path path = 1;
getPath
in interface UpdateOrBuilder
public PathOrBuilder getPathOrBuilder()
The path (key) for the update.
.gnmi.Path path = 1;
getPathOrBuilder
in interface UpdateOrBuilder
@Deprecated public boolean hasValue()
The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];
hasValue
in interface UpdateOrBuilder
@Deprecated public Value getValue()
The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];
getValue
in interface UpdateOrBuilder
@Deprecated public ValueOrBuilder getValueOrBuilder()
The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];
getValueOrBuilder
in interface UpdateOrBuilder
public boolean hasVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;
hasVal
in interface UpdateOrBuilder
public TypedValue getVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;
getVal
in interface UpdateOrBuilder
public TypedValueOrBuilder getValOrBuilder()
The explicitly typed update value.
.gnmi.TypedValue val = 3;
getValOrBuilder
in interface UpdateOrBuilder
public int getDuplicates()
Number of coalesced duplicates.
uint32 duplicates = 4;
getDuplicates
in interface 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 Update parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Update parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Update parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Update parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Update parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Update parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Update parseFrom(InputStream input) throws IOException
IOException
public static Update parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Update parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Update parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Update parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Update parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Update.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Update.Builder newBuilder()
public static Update.Builder newBuilder(Update prototype)
public Update.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Update.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Update getDefaultInstance()
public static com.google.protobuf.Parser<Update> parser()
public com.google.protobuf.Parser<Update> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Update getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018 OpenDaylight. All rights reserved.