public static final class Gnmi.SetRequest extends com.google.protobuf.GeneratedMessageV3 implements Gnmi.SetRequestOrBuilder
SetRequest is sent from a client to the target to update values in the data tree. Paths are either deleted by the client, or modified by means of being updated, or replaced. Where a replace is used, unspecified values are considered to be replaced, whereas when update is used the changes are considered to be incremental. The set of changes that are specified within a single SetRequest are considered to be a transaction. Reference: gNMI Specification Section 3.4.1Protobuf type
gnmi.SetRequest| Modifier and Type | Class and Description |
|---|---|
static class |
Gnmi.SetRequest.Builder
SetRequest is sent from a client to the target to update values in the data
tree.
|
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 |
DELETE_FIELD_NUMBER |
static int |
EXTENSION_FIELD_NUMBER |
static int |
PREFIX_FIELD_NUMBER |
static int |
REPLACE_FIELD_NUMBER |
static int |
UPDATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Gnmi.SetRequest |
getDefaultInstance() |
Gnmi.SetRequest |
getDefaultInstanceForType() |
Gnmi.Path |
getDelete(int index)
Paths to be deleted from the data tree.
|
int |
getDeleteCount()
Paths to be deleted from the data tree.
|
List<Gnmi.Path> |
getDeleteList()
Paths to be deleted from the data tree.
|
Gnmi.PathOrBuilder |
getDeleteOrBuilder(int index)
Paths to be deleted from the data tree.
|
List<? extends Gnmi.PathOrBuilder> |
getDeleteOrBuilderList()
Paths to be deleted from the data tree.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
GnmiExt.Extension |
getExtension(int index)
Extension messages associated with the SetRequest.
|
int |
getExtensionCount()
Extension messages associated with the SetRequest.
|
List<GnmiExt.Extension> |
getExtensionList()
Extension messages associated with the SetRequest.
|
GnmiExt.ExtensionOrBuilder |
getExtensionOrBuilder(int index)
Extension messages associated with the SetRequest.
|
List<? extends GnmiExt.ExtensionOrBuilder> |
getExtensionOrBuilderList()
Extension messages associated with the SetRequest.
|
com.google.protobuf.Parser<Gnmi.SetRequest> |
getParserForType() |
Gnmi.Path |
getPrefix()
Prefix used for paths in the message.
|
Gnmi.PathOrBuilder |
getPrefixOrBuilder()
Prefix used for paths in the message.
|
Gnmi.Update |
getReplace(int index)
Updates specifying elements to be replaced.
|
int |
getReplaceCount()
Updates specifying elements to be replaced.
|
List<Gnmi.Update> |
getReplaceList()
Updates specifying elements to be replaced.
|
Gnmi.UpdateOrBuilder |
getReplaceOrBuilder(int index)
Updates specifying elements to be replaced.
|
List<? extends Gnmi.UpdateOrBuilder> |
getReplaceOrBuilderList()
Updates specifying elements to be replaced.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Gnmi.Update |
getUpdate(int index)
Updates specifying elements to updated.
|
int |
getUpdateCount()
Updates specifying elements to updated.
|
List<Gnmi.Update> |
getUpdateList()
Updates specifying elements to updated.
|
Gnmi.UpdateOrBuilder |
getUpdateOrBuilder(int index)
Updates specifying elements to updated.
|
List<? extends Gnmi.UpdateOrBuilder> |
getUpdateOrBuilderList()
Updates specifying elements to updated.
|
int |
hashCode() |
boolean |
hasPrefix()
Prefix used for paths in the message.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Gnmi.SetRequest.Builder |
newBuilder() |
static Gnmi.SetRequest.Builder |
newBuilder(Gnmi.SetRequest prototype) |
Gnmi.SetRequest.Builder |
newBuilderForType() |
protected Gnmi.SetRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Gnmi.SetRequest |
parseDelimitedFrom(InputStream input) |
static Gnmi.SetRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.SetRequest |
parseFrom(byte[] data) |
static Gnmi.SetRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.SetRequest |
parseFrom(ByteBuffer data) |
static Gnmi.SetRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.SetRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Gnmi.SetRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.SetRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Gnmi.SetRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.SetRequest |
parseFrom(InputStream input) |
static Gnmi.SetRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Gnmi.SetRequest> |
parser() |
Gnmi.SetRequest.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 PREFIX_FIELD_NUMBER
public static final int DELETE_FIELD_NUMBER
public static final int REPLACE_FIELD_NUMBER
public static final int UPDATE_FIELD_NUMBER
public static final int EXTENSION_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 hasPrefix()
Prefix used for paths in the message.
.gnmi.Path prefix = 1;hasPrefix in interface Gnmi.SetRequestOrBuilderpublic Gnmi.Path getPrefix()
Prefix used for paths in the message.
.gnmi.Path prefix = 1;getPrefix in interface Gnmi.SetRequestOrBuilderpublic Gnmi.PathOrBuilder getPrefixOrBuilder()
Prefix used for paths in the message.
.gnmi.Path prefix = 1;getPrefixOrBuilder in interface Gnmi.SetRequestOrBuilderpublic List<Gnmi.Path> getDeleteList()
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;getDeleteList in interface Gnmi.SetRequestOrBuilderpublic List<? extends Gnmi.PathOrBuilder> getDeleteOrBuilderList()
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;getDeleteOrBuilderList in interface Gnmi.SetRequestOrBuilderpublic int getDeleteCount()
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;getDeleteCount in interface Gnmi.SetRequestOrBuilderpublic Gnmi.Path getDelete(int index)
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;getDelete in interface Gnmi.SetRequestOrBuilderpublic Gnmi.PathOrBuilder getDeleteOrBuilder(int index)
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;getDeleteOrBuilder in interface Gnmi.SetRequestOrBuilderpublic List<Gnmi.Update> getReplaceList()
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;getReplaceList in interface Gnmi.SetRequestOrBuilderpublic List<? extends Gnmi.UpdateOrBuilder> getReplaceOrBuilderList()
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;getReplaceOrBuilderList in interface Gnmi.SetRequestOrBuilderpublic int getReplaceCount()
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;getReplaceCount in interface Gnmi.SetRequestOrBuilderpublic Gnmi.Update getReplace(int index)
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;getReplace in interface Gnmi.SetRequestOrBuilderpublic Gnmi.UpdateOrBuilder getReplaceOrBuilder(int index)
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;getReplaceOrBuilder in interface Gnmi.SetRequestOrBuilderpublic List<Gnmi.Update> getUpdateList()
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;getUpdateList in interface Gnmi.SetRequestOrBuilderpublic List<? extends Gnmi.UpdateOrBuilder> getUpdateOrBuilderList()
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;getUpdateOrBuilderList in interface Gnmi.SetRequestOrBuilderpublic int getUpdateCount()
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;getUpdateCount in interface Gnmi.SetRequestOrBuilderpublic Gnmi.Update getUpdate(int index)
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;getUpdate in interface Gnmi.SetRequestOrBuilderpublic Gnmi.UpdateOrBuilder getUpdateOrBuilder(int index)
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;getUpdateOrBuilder in interface Gnmi.SetRequestOrBuilderpublic List<GnmiExt.Extension> getExtensionList()
Extension messages associated with the SetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;getExtensionList in interface Gnmi.SetRequestOrBuilderpublic List<? extends GnmiExt.ExtensionOrBuilder> getExtensionOrBuilderList()
Extension messages associated with the SetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;getExtensionOrBuilderList in interface Gnmi.SetRequestOrBuilderpublic int getExtensionCount()
Extension messages associated with the SetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;getExtensionCount in interface Gnmi.SetRequestOrBuilderpublic GnmiExt.Extension getExtension(int index)
Extension messages associated with the SetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;getExtension in interface Gnmi.SetRequestOrBuilderpublic GnmiExt.ExtensionOrBuilder getExtensionOrBuilder(int index)
Extension messages associated with the SetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;getExtensionOrBuilder in interface Gnmi.SetRequestOrBuilderpublic 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.SetRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.SetRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.SetRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.SetRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.SetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.SetRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gnmi.SetRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Gnmi.SetRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Gnmi.SetRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Gnmi.SetRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Gnmi.SetRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Gnmi.SetRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Gnmi.SetRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Gnmi.SetRequest.Builder newBuilder()
public static Gnmi.SetRequest.Builder newBuilder(Gnmi.SetRequest prototype)
public Gnmi.SetRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Gnmi.SetRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Gnmi.SetRequest getDefaultInstance()
public static com.google.protobuf.Parser<Gnmi.SetRequest> parser()
public com.google.protobuf.Parser<Gnmi.SetRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Gnmi.SetRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.