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, 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 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.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 hasPrefix()
Prefix used for paths in the message.
.gnmi.Path prefix = 1;
hasPrefix
in interface Gnmi.SetRequestOrBuilder
public Gnmi.Path getPrefix()
Prefix used for paths in the message.
.gnmi.Path prefix = 1;
getPrefix
in interface Gnmi.SetRequestOrBuilder
public Gnmi.PathOrBuilder getPrefixOrBuilder()
Prefix used for paths in the message.
.gnmi.Path prefix = 1;
getPrefixOrBuilder
in interface Gnmi.SetRequestOrBuilder
public List<Gnmi.Path> getDeleteList()
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;
getDeleteList
in interface Gnmi.SetRequestOrBuilder
public List<? extends Gnmi.PathOrBuilder> getDeleteOrBuilderList()
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;
getDeleteOrBuilderList
in interface Gnmi.SetRequestOrBuilder
public int getDeleteCount()
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;
getDeleteCount
in interface Gnmi.SetRequestOrBuilder
public Gnmi.Path getDelete(int index)
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;
getDelete
in interface Gnmi.SetRequestOrBuilder
public Gnmi.PathOrBuilder getDeleteOrBuilder(int index)
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;
getDeleteOrBuilder
in interface Gnmi.SetRequestOrBuilder
public List<Gnmi.Update> getReplaceList()
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;
getReplaceList
in interface Gnmi.SetRequestOrBuilder
public List<? extends Gnmi.UpdateOrBuilder> getReplaceOrBuilderList()
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;
getReplaceOrBuilderList
in interface Gnmi.SetRequestOrBuilder
public int getReplaceCount()
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;
getReplaceCount
in interface Gnmi.SetRequestOrBuilder
public Gnmi.Update getReplace(int index)
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;
getReplace
in interface Gnmi.SetRequestOrBuilder
public Gnmi.UpdateOrBuilder getReplaceOrBuilder(int index)
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;
getReplaceOrBuilder
in interface Gnmi.SetRequestOrBuilder
public List<Gnmi.Update> getUpdateList()
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;
getUpdateList
in interface Gnmi.SetRequestOrBuilder
public List<? extends Gnmi.UpdateOrBuilder> getUpdateOrBuilderList()
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;
getUpdateOrBuilderList
in interface Gnmi.SetRequestOrBuilder
public int getUpdateCount()
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;
getUpdateCount
in interface Gnmi.SetRequestOrBuilder
public Gnmi.Update getUpdate(int index)
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;
getUpdate
in interface Gnmi.SetRequestOrBuilder
public Gnmi.UpdateOrBuilder getUpdateOrBuilder(int index)
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;
getUpdateOrBuilder
in interface Gnmi.SetRequestOrBuilder
public 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.SetRequestOrBuilder
public 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.SetRequestOrBuilder
public 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.SetRequestOrBuilder
public 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.SetRequestOrBuilder
public 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.SetRequestOrBuilder
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.SetRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.SetRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.SetRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.SetRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.SetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.SetRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.SetRequest parseFrom(InputStream input) throws IOException
IOException
public static Gnmi.SetRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Gnmi.SetRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Gnmi.SetRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Gnmi.SetRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Gnmi.SetRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Gnmi.SetRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Gnmi.SetRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Gnmi.SetRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2021. All rights reserved.