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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>
public SetResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SetResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SetResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SetResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SetResponse.Builder>
IOException
public boolean hasPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;
hasPrefix
in interface SetResponseOrBuilder
public Path getPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;
getPrefix
in interface SetResponseOrBuilder
public 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 SetResponseOrBuilder
public 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 SetResponseOrBuilder
public int getResponseCount()
A set of responses specifying the result of the operations specified in the SetRequest.
repeated .gnmi.UpdateResult response = 2;
getResponseCount
in interface SetResponseOrBuilder
public 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 SetResponseOrBuilder
public 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 SetResponseOrBuilder
public 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 SetResponseOrBuilder
public 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 SetResponseOrBuilder
public long getTimestamp()
Timestamp of transaction (ns since epoch).
int64 timestamp = 4;
getTimestamp
in interface SetResponseOrBuilder
public 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 SetResponseOrBuilder
public 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 SetResponseOrBuilder
public 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 SetResponseOrBuilder
public 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 SetResponseOrBuilder
public 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 SetResponseOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SetResponse.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.