public final class SetRequest extends com.google.protobuf.GeneratedMessageV3 implements 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 |
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| 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 SetRequest |
getDefaultInstance() |
SetRequest |
getDefaultInstanceForType() |
Path |
getDelete(int index)
Paths to be deleted from the data tree.
|
int |
getDeleteCount()
Paths to be deleted from the data tree.
|
List<Path> |
getDeleteList()
Paths to be deleted from the data tree.
|
PathOrBuilder |
getDeleteOrBuilder(int index)
Paths to be deleted from the data tree.
|
List<? extends PathOrBuilder> |
getDeleteOrBuilderList()
Paths to be deleted from the data tree.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Extension |
getExtension(int index)
Extension messages associated with the SetRequest.
|
int |
getExtensionCount()
Extension messages associated with the SetRequest.
|
List<Extension> |
getExtensionList()
Extension messages associated with the SetRequest.
|
ExtensionOrBuilder |
getExtensionOrBuilder(int index)
Extension messages associated with the SetRequest.
|
List<? extends ExtensionOrBuilder> |
getExtensionOrBuilderList()
Extension messages associated with the SetRequest.
|
com.google.protobuf.Parser<SetRequest> |
getParserForType() |
Path |
getPrefix()
Prefix used for paths in the message.
|
PathOrBuilder |
getPrefixOrBuilder()
Prefix used for paths in the message.
|
Update |
getReplace(int index)
Updates specifying elements to be replaced.
|
int |
getReplaceCount()
Updates specifying elements to be replaced.
|
List<Update> |
getReplaceList()
Updates specifying elements to be replaced.
|
UpdateOrBuilder |
getReplaceOrBuilder(int index)
Updates specifying elements to be replaced.
|
List<? extends UpdateOrBuilder> |
getReplaceOrBuilderList()
Updates specifying elements to be replaced.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Update |
getUpdate(int index)
Updates specifying elements to updated.
|
int |
getUpdateCount()
Updates specifying elements to updated.
|
List<Update> |
getUpdateList()
Updates specifying elements to updated.
|
UpdateOrBuilder |
getUpdateOrBuilder(int index)
Updates specifying elements to updated.
|
List<? extends 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 SetRequest.Builder |
newBuilder() |
static SetRequest.Builder |
newBuilder(SetRequest prototype) |
SetRequest.Builder |
newBuilderForType() |
protected SetRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static SetRequest |
parseDelimitedFrom(InputStream input) |
static SetRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetRequest |
parseFrom(byte[] data) |
static SetRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetRequest |
parseFrom(ByteBuffer data) |
static SetRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetRequest |
parseFrom(com.google.protobuf.ByteString data) |
static SetRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SetRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetRequest |
parseFrom(InputStream input) |
static SetRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SetRequest> |
parser() |
SetRequest.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, 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
public 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 SetRequestOrBuilderpublic Path getPrefix()
Prefix used for paths in the message.
.gnmi.Path prefix = 1;getPrefix in interface SetRequestOrBuilderpublic PathOrBuilder getPrefixOrBuilder()
Prefix used for paths in the message.
.gnmi.Path prefix = 1;getPrefixOrBuilder in interface SetRequestOrBuilderpublic List<Path> getDeleteList()
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;getDeleteList in interface SetRequestOrBuilderpublic List<? extends PathOrBuilder> getDeleteOrBuilderList()
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;getDeleteOrBuilderList in interface SetRequestOrBuilderpublic int getDeleteCount()
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;getDeleteCount in interface SetRequestOrBuilderpublic Path getDelete(int index)
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;getDelete in interface SetRequestOrBuilderpublic PathOrBuilder getDeleteOrBuilder(int index)
Paths to be deleted from the data tree.
repeated .gnmi.Path delete = 2;getDeleteOrBuilder in interface SetRequestOrBuilderpublic List<Update> getReplaceList()
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;getReplaceList in interface SetRequestOrBuilderpublic List<? extends UpdateOrBuilder> getReplaceOrBuilderList()
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;getReplaceOrBuilderList in interface SetRequestOrBuilderpublic int getReplaceCount()
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;getReplaceCount in interface SetRequestOrBuilderpublic Update getReplace(int index)
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;getReplace in interface SetRequestOrBuilderpublic UpdateOrBuilder getReplaceOrBuilder(int index)
Updates specifying elements to be replaced.
repeated .gnmi.Update replace = 3;getReplaceOrBuilder in interface SetRequestOrBuilderpublic List<Update> getUpdateList()
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;getUpdateList in interface SetRequestOrBuilderpublic List<? extends UpdateOrBuilder> getUpdateOrBuilderList()
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;getUpdateOrBuilderList in interface SetRequestOrBuilderpublic int getUpdateCount()
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;getUpdateCount in interface SetRequestOrBuilderpublic Update getUpdate(int index)
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;getUpdate in interface SetRequestOrBuilderpublic UpdateOrBuilder getUpdateOrBuilder(int index)
Updates specifying elements to updated.
repeated .gnmi.Update update = 4;getUpdateOrBuilder in interface SetRequestOrBuilderpublic List<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 SetRequestOrBuilderpublic List<? extends 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 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 SetRequestOrBuilderpublic 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 SetRequestOrBuilderpublic 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 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 SetRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static SetRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SetRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SetRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SetRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SetRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SetRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SetRequest.Builder newBuilder()
public static SetRequest.Builder newBuilder(SetRequest prototype)
public SetRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SetRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SetRequest getDefaultInstance()
public static com.google.protobuf.Parser<SetRequest> parser()
public com.google.protobuf.Parser<SetRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SetRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 OpenDaylight. All rights reserved.