public static final class SetResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder> implements SetResponseOrBuilder
SetResponse is the response to a SetRequest, sent from the target to the client. It reports the result of the modifications to the data tree that were specified by the client. Errors for this RPC should be reported using the https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto message in the RPC return. The gnmi.Error message can be used to add additional details where required. Reference: gNMI Specification Section 3.4.2Protobuf type
gnmi.SetResponse| Modifier and Type | Method and Description |
|---|---|
SetResponse.Builder |
addAllExtension(Iterable<? extends Extension> values)
Extension messages associated with the SetResponse.
|
SetResponse.Builder |
addAllResponse(Iterable<? extends UpdateResult> values)
A set of responses specifying the result of the operations specified in
the SetRequest.
|
SetResponse.Builder |
addExtension(Extension.Builder builderForValue)
Extension messages associated with the SetResponse.
|
SetResponse.Builder |
addExtension(Extension value)
Extension messages associated with the SetResponse.
|
SetResponse.Builder |
addExtension(int index,
Extension.Builder builderForValue)
Extension messages associated with the SetResponse.
|
SetResponse.Builder |
addExtension(int index,
Extension value)
Extension messages associated with the SetResponse.
|
Extension.Builder |
addExtensionBuilder()
Extension messages associated with the SetResponse.
|
Extension.Builder |
addExtensionBuilder(int index)
Extension messages associated with the SetResponse.
|
SetResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SetResponse.Builder |
addResponse(int index,
UpdateResult.Builder builderForValue)
A set of responses specifying the result of the operations specified in
the SetRequest.
|
SetResponse.Builder |
addResponse(int index,
UpdateResult value)
A set of responses specifying the result of the operations specified in
the SetRequest.
|
SetResponse.Builder |
addResponse(UpdateResult.Builder builderForValue)
A set of responses specifying the result of the operations specified in
the SetRequest.
|
SetResponse.Builder |
addResponse(UpdateResult value)
A set of responses specifying the result of the operations specified in
the SetRequest.
|
UpdateResult.Builder |
addResponseBuilder()
A set of responses specifying the result of the operations specified in
the SetRequest.
|
UpdateResult.Builder |
addResponseBuilder(int index)
A set of responses specifying the result of the operations specified in
the SetRequest.
|
SetResponse |
build() |
SetResponse |
buildPartial() |
SetResponse.Builder |
clear() |
SetResponse.Builder |
clearExtension()
Extension messages associated with the SetResponse.
|
SetResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SetResponse.Builder |
clearMessage()
Deprecated.
|
SetResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SetResponse.Builder |
clearPrefix()
Prefix used for paths.
|
SetResponse.Builder |
clearResponse()
A set of responses specifying the result of the operations specified in
the SetRequest.
|
SetResponse.Builder |
clearTimestamp()
Timestamp of transaction (ns since epoch).
|
SetResponse.Builder |
clone() |
SetResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Extension |
getExtension(int index)
Extension messages associated with the SetResponse.
|
Extension.Builder |
getExtensionBuilder(int index)
Extension messages associated with the SetResponse.
|
List<Extension.Builder> |
getExtensionBuilderList()
Extension messages associated with the SetResponse.
|
int |
getExtensionCount()
Extension messages associated with the SetResponse.
|
List<Extension> |
getExtensionList()
Extension messages associated with the SetResponse.
|
ExtensionOrBuilder |
getExtensionOrBuilder(int index)
Extension messages associated with the SetResponse.
|
List<? extends ExtensionOrBuilder> |
getExtensionOrBuilderList()
Extension messages associated with the SetResponse.
|
Error |
getMessage()
Deprecated.
|
Error.Builder |
getMessageBuilder()
Deprecated.
|
ErrorOrBuilder |
getMessageOrBuilder()
Deprecated.
|
Path |
getPrefix()
Prefix used for paths.
|
Path.Builder |
getPrefixBuilder()
Prefix used for paths.
|
PathOrBuilder |
getPrefixOrBuilder()
Prefix used for paths.
|
UpdateResult |
getResponse(int index)
A set of responses specifying the result of the operations specified in
the SetRequest.
|
UpdateResult.Builder |
getResponseBuilder(int index)
A set of responses specifying the result of the operations specified in
the SetRequest.
|
List<UpdateResult.Builder> |
getResponseBuilderList()
A set of responses specifying the result of the operations specified in
the SetRequest.
|
int |
getResponseCount()
A set of responses specifying the result of the operations specified in
the SetRequest.
|
List<UpdateResult> |
getResponseList()
A set of responses specifying the result of the operations specified in
the SetRequest.
|
UpdateResultOrBuilder |
getResponseOrBuilder(int index)
A set of responses specifying the result of the operations specified in
the SetRequest.
|
List<? extends UpdateResultOrBuilder> |
getResponseOrBuilderList()
A set of responses specifying the result of the operations specified in
the SetRequest.
|
long |
getTimestamp()
Timestamp of transaction (ns since epoch).
|
boolean |
hasMessage()
Deprecated.
|
boolean |
hasPrefix()
Prefix used for paths.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SetResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SetResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
SetResponse.Builder |
mergeFrom(SetResponse other) |
SetResponse.Builder |
mergeMessage(Error value)
Deprecated.
|
SetResponse.Builder |
mergePrefix(Path value)
Prefix used for paths.
|
SetResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SetResponse.Builder |
removeExtension(int index)
Extension messages associated with the SetResponse.
|
SetResponse.Builder |
removeResponse(int index)
A set of responses specifying the result of the operations specified in
the SetRequest.
|
SetResponse.Builder |
setExtension(int index,
Extension.Builder builderForValue)
Extension messages associated with the SetResponse.
|
SetResponse.Builder |
setExtension(int index,
Extension value)
Extension messages associated with the SetResponse.
|
SetResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SetResponse.Builder |
setMessage(Error.Builder builderForValue)
Deprecated.
|
SetResponse.Builder |
setMessage(Error value)
Deprecated.
|
SetResponse.Builder |
setPrefix(Path.Builder builderForValue)
Prefix used for paths.
|
SetResponse.Builder |
setPrefix(Path value)
Prefix used for paths.
|
SetResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SetResponse.Builder |
setResponse(int index,
UpdateResult.Builder builderForValue)
A set of responses specifying the result of the operations specified in
the SetRequest.
|
SetResponse.Builder |
setResponse(int index,
UpdateResult value)
A set of responses specifying the result of the operations specified in
the SetRequest.
|
SetResponse.Builder |
setTimestamp(long value)
Timestamp of transaction (ns since epoch).
|
SetResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>public SetResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>public SetResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SetResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SetResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SetResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>public SetResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>public SetResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>public SetResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>public SetResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>public SetResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>public SetResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SetResponse.Builder>public SetResponse.Builder mergeFrom(SetResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>public SetResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SetResponse.Builder>IOExceptionpublic boolean hasPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;hasPrefix in interface SetResponseOrBuilderpublic Path getPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;getPrefix in interface SetResponseOrBuilderpublic SetResponse.Builder setPrefix(Path value)
Prefix used for paths.
.gnmi.Path prefix = 1;public SetResponse.Builder setPrefix(Path.Builder builderForValue)
Prefix used for paths.
.gnmi.Path prefix = 1;public SetResponse.Builder mergePrefix(Path value)
Prefix used for paths.
.gnmi.Path prefix = 1;public SetResponse.Builder clearPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;public Path.Builder getPrefixBuilder()
Prefix used for paths.
.gnmi.Path prefix = 1;public PathOrBuilder getPrefixOrBuilder()
Prefix used for paths.
.gnmi.Path prefix = 1;getPrefixOrBuilder in interface SetResponseOrBuilderpublic List<UpdateResult> getResponseList()
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;getResponseList in interface SetResponseOrBuilderpublic int getResponseCount()
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;getResponseCount in interface SetResponseOrBuilderpublic UpdateResult getResponse(int index)
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;getResponse in interface SetResponseOrBuilderpublic SetResponse.Builder setResponse(int index, UpdateResult value)
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;public SetResponse.Builder setResponse(int index, UpdateResult.Builder builderForValue)
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;public SetResponse.Builder addResponse(UpdateResult value)
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;public SetResponse.Builder addResponse(int index, UpdateResult value)
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;public SetResponse.Builder addResponse(UpdateResult.Builder builderForValue)
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;public SetResponse.Builder addResponse(int index, UpdateResult.Builder builderForValue)
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;public SetResponse.Builder addAllResponse(Iterable<? extends UpdateResult> values)
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;public SetResponse.Builder clearResponse()
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;public SetResponse.Builder removeResponse(int index)
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;public UpdateResult.Builder getResponseBuilder(int index)
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;public UpdateResultOrBuilder getResponseOrBuilder(int index)
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;getResponseOrBuilder in interface SetResponseOrBuilderpublic List<? extends UpdateResultOrBuilder> getResponseOrBuilderList()
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;getResponseOrBuilderList in interface SetResponseOrBuilderpublic UpdateResult.Builder addResponseBuilder()
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;public UpdateResult.Builder addResponseBuilder(int index)
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;public List<UpdateResult.Builder> getResponseBuilderList()
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;@Deprecated public boolean hasMessage()
The overall status of the transaction.
.gnmi.Error message = 3 [deprecated = true];hasMessage in interface SetResponseOrBuilder@Deprecated public Error getMessage()
The overall status of the transaction.
.gnmi.Error message = 3 [deprecated = true];getMessage in interface SetResponseOrBuilder@Deprecated public SetResponse.Builder setMessage(Error value)
The overall status of the transaction.
.gnmi.Error message = 3 [deprecated = true];@Deprecated public SetResponse.Builder setMessage(Error.Builder builderForValue)
The overall status of the transaction.
.gnmi.Error message = 3 [deprecated = true];@Deprecated public SetResponse.Builder mergeMessage(Error value)
The overall status of the transaction.
.gnmi.Error message = 3 [deprecated = true];@Deprecated public SetResponse.Builder clearMessage()
The overall status of the transaction.
.gnmi.Error message = 3 [deprecated = true];@Deprecated public Error.Builder getMessageBuilder()
The overall status of the transaction.
.gnmi.Error message = 3 [deprecated = true];@Deprecated public ErrorOrBuilder getMessageOrBuilder()
The overall status of the transaction.
.gnmi.Error message = 3 [deprecated = true];getMessageOrBuilder in interface SetResponseOrBuilderpublic long getTimestamp()
Timestamp of transaction (ns since epoch).
int64 timestamp = 4;getTimestamp in interface SetResponseOrBuilderpublic SetResponse.Builder setTimestamp(long value)
Timestamp of transaction (ns since epoch).
int64 timestamp = 4;public SetResponse.Builder clearTimestamp()
Timestamp of transaction (ns since epoch).
int64 timestamp = 4;public List<Extension> getExtensionList()
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;getExtensionList in interface SetResponseOrBuilderpublic int getExtensionCount()
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;getExtensionCount in interface SetResponseOrBuilderpublic Extension getExtension(int index)
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;getExtension in interface SetResponseOrBuilderpublic SetResponse.Builder setExtension(int index, Extension value)
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;public SetResponse.Builder setExtension(int index, Extension.Builder builderForValue)
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;public SetResponse.Builder addExtension(Extension value)
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;public SetResponse.Builder addExtension(int index, Extension value)
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;public SetResponse.Builder addExtension(Extension.Builder builderForValue)
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;public SetResponse.Builder addExtension(int index, Extension.Builder builderForValue)
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;public SetResponse.Builder addAllExtension(Iterable<? extends Extension> values)
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;public SetResponse.Builder clearExtension()
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;public SetResponse.Builder removeExtension(int index)
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;public Extension.Builder getExtensionBuilder(int index)
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;public ExtensionOrBuilder getExtensionOrBuilder(int index)
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;getExtensionOrBuilder in interface SetResponseOrBuilderpublic List<? extends ExtensionOrBuilder> getExtensionOrBuilderList()
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;getExtensionOrBuilderList in interface SetResponseOrBuilderpublic Extension.Builder addExtensionBuilder()
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;public Extension.Builder addExtensionBuilder(int index)
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;public List<Extension.Builder> getExtensionBuilderList()
Extension messages associated with the SetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 5;public final SetResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>public final SetResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>Copyright © 2018 OpenDaylight. All rights reserved.