public static final class GetResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetResponse.Builder> implements GetResponseOrBuilder
GetResponse is used by the target to respond to a GetRequest from a client. The set of Notifications corresponds to the data values that are requested by the client in the GetRequest. Reference: gNMI Specification Section 3.3.2Protobuf type
gnmi.GetResponse| Modifier and Type | Method and Description |
|---|---|
GetResponse.Builder |
addAllExtension(Iterable<? extends Extension> values)
Extension messages associated with the GetResponse.
|
GetResponse.Builder |
addAllNotification(Iterable<? extends Notification> values)
Data values.
|
GetResponse.Builder |
addExtension(Extension.Builder builderForValue)
Extension messages associated with the GetResponse.
|
GetResponse.Builder |
addExtension(Extension value)
Extension messages associated with the GetResponse.
|
GetResponse.Builder |
addExtension(int index,
Extension.Builder builderForValue)
Extension messages associated with the GetResponse.
|
GetResponse.Builder |
addExtension(int index,
Extension value)
Extension messages associated with the GetResponse.
|
Extension.Builder |
addExtensionBuilder()
Extension messages associated with the GetResponse.
|
Extension.Builder |
addExtensionBuilder(int index)
Extension messages associated with the GetResponse.
|
GetResponse.Builder |
addNotification(int index,
Notification.Builder builderForValue)
Data values.
|
GetResponse.Builder |
addNotification(int index,
Notification value)
Data values.
|
GetResponse.Builder |
addNotification(Notification.Builder builderForValue)
Data values.
|
GetResponse.Builder |
addNotification(Notification value)
Data values.
|
Notification.Builder |
addNotificationBuilder()
Data values.
|
Notification.Builder |
addNotificationBuilder(int index)
Data values.
|
GetResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetResponse |
build() |
GetResponse |
buildPartial() |
GetResponse.Builder |
clear() |
GetResponse.Builder |
clearError()
Deprecated.
|
GetResponse.Builder |
clearExtension()
Extension messages associated with the GetResponse.
|
GetResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GetResponse.Builder |
clearNotification()
Data values.
|
GetResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GetResponse.Builder |
clone() |
GetResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Error |
getError()
Deprecated.
|
Error.Builder |
getErrorBuilder()
Deprecated.
|
ErrorOrBuilder |
getErrorOrBuilder()
Deprecated.
|
Extension |
getExtension(int index)
Extension messages associated with the GetResponse.
|
Extension.Builder |
getExtensionBuilder(int index)
Extension messages associated with the GetResponse.
|
List<Extension.Builder> |
getExtensionBuilderList()
Extension messages associated with the GetResponse.
|
int |
getExtensionCount()
Extension messages associated with the GetResponse.
|
List<Extension> |
getExtensionList()
Extension messages associated with the GetResponse.
|
ExtensionOrBuilder |
getExtensionOrBuilder(int index)
Extension messages associated with the GetResponse.
|
List<? extends ExtensionOrBuilder> |
getExtensionOrBuilderList()
Extension messages associated with the GetResponse.
|
Notification |
getNotification(int index)
Data values.
|
Notification.Builder |
getNotificationBuilder(int index)
Data values.
|
List<Notification.Builder> |
getNotificationBuilderList()
Data values.
|
int |
getNotificationCount()
Data values.
|
List<Notification> |
getNotificationList()
Data values.
|
NotificationOrBuilder |
getNotificationOrBuilder(int index)
Data values.
|
List<? extends NotificationOrBuilder> |
getNotificationOrBuilderList()
Data values.
|
boolean |
hasError()
Deprecated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GetResponse.Builder |
mergeError(Error value)
Deprecated.
|
GetResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GetResponse.Builder |
mergeFrom(GetResponse other) |
GetResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
GetResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GetResponse.Builder |
removeExtension(int index)
Extension messages associated with the GetResponse.
|
GetResponse.Builder |
removeNotification(int index)
Data values.
|
GetResponse.Builder |
setError(Error.Builder builderForValue)
Deprecated.
|
GetResponse.Builder |
setError(Error value)
Deprecated.
|
GetResponse.Builder |
setExtension(int index,
Extension.Builder builderForValue)
Extension messages associated with the GetResponse.
|
GetResponse.Builder |
setExtension(int index,
Extension value)
Extension messages associated with the GetResponse.
|
GetResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetResponse.Builder |
setNotification(int index,
Notification.Builder builderForValue)
Data values.
|
GetResponse.Builder |
setNotification(int index,
Notification value)
Data values.
|
GetResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GetResponse.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<GetResponse.Builder>public GetResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GetResponse.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<GetResponse.Builder>public GetResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GetResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GetResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GetResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GetResponse.Builder>public GetResponse.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<GetResponse.Builder>public GetResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetResponse.Builder>public GetResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetResponse.Builder>public GetResponse.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<GetResponse.Builder>public GetResponse.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<GetResponse.Builder>public GetResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetResponse.Builder>public GetResponse.Builder mergeFrom(GetResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GetResponse.Builder>public GetResponse.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<GetResponse.Builder>IOExceptionpublic List<Notification> getNotificationList()
Data values.
repeated .gnmi.Notification notification = 1;getNotificationList in interface GetResponseOrBuilderpublic int getNotificationCount()
Data values.
repeated .gnmi.Notification notification = 1;getNotificationCount in interface GetResponseOrBuilderpublic Notification getNotification(int index)
Data values.
repeated .gnmi.Notification notification = 1;getNotification in interface GetResponseOrBuilderpublic GetResponse.Builder setNotification(int index, Notification value)
Data values.
repeated .gnmi.Notification notification = 1;public GetResponse.Builder setNotification(int index, Notification.Builder builderForValue)
Data values.
repeated .gnmi.Notification notification = 1;public GetResponse.Builder addNotification(Notification value)
Data values.
repeated .gnmi.Notification notification = 1;public GetResponse.Builder addNotification(int index, Notification value)
Data values.
repeated .gnmi.Notification notification = 1;public GetResponse.Builder addNotification(Notification.Builder builderForValue)
Data values.
repeated .gnmi.Notification notification = 1;public GetResponse.Builder addNotification(int index, Notification.Builder builderForValue)
Data values.
repeated .gnmi.Notification notification = 1;public GetResponse.Builder addAllNotification(Iterable<? extends Notification> values)
Data values.
repeated .gnmi.Notification notification = 1;public GetResponse.Builder clearNotification()
Data values.
repeated .gnmi.Notification notification = 1;public GetResponse.Builder removeNotification(int index)
Data values.
repeated .gnmi.Notification notification = 1;public Notification.Builder getNotificationBuilder(int index)
Data values.
repeated .gnmi.Notification notification = 1;public NotificationOrBuilder getNotificationOrBuilder(int index)
Data values.
repeated .gnmi.Notification notification = 1;getNotificationOrBuilder in interface GetResponseOrBuilderpublic List<? extends NotificationOrBuilder> getNotificationOrBuilderList()
Data values.
repeated .gnmi.Notification notification = 1;getNotificationOrBuilderList in interface GetResponseOrBuilderpublic Notification.Builder addNotificationBuilder()
Data values.
repeated .gnmi.Notification notification = 1;public Notification.Builder addNotificationBuilder(int index)
Data values.
repeated .gnmi.Notification notification = 1;public List<Notification.Builder> getNotificationBuilderList()
Data values.
repeated .gnmi.Notification notification = 1;@Deprecated public boolean hasError()
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];hasError in interface GetResponseOrBuilder@Deprecated public Error getError()
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];getError in interface GetResponseOrBuilder@Deprecated public GetResponse.Builder setError(Error value)
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];@Deprecated public GetResponse.Builder setError(Error.Builder builderForValue)
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];@Deprecated public GetResponse.Builder mergeError(Error value)
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];@Deprecated public GetResponse.Builder clearError()
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];@Deprecated public Error.Builder getErrorBuilder()
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];@Deprecated public ErrorOrBuilder getErrorOrBuilder()
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];getErrorOrBuilder in interface GetResponseOrBuilderpublic List<Extension> getExtensionList()
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;getExtensionList in interface GetResponseOrBuilderpublic int getExtensionCount()
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;getExtensionCount in interface GetResponseOrBuilderpublic Extension getExtension(int index)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;getExtension in interface GetResponseOrBuilderpublic GetResponse.Builder setExtension(int index, Extension value)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;public GetResponse.Builder setExtension(int index, Extension.Builder builderForValue)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;public GetResponse.Builder addExtension(Extension value)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;public GetResponse.Builder addExtension(int index, Extension value)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;public GetResponse.Builder addExtension(Extension.Builder builderForValue)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;public GetResponse.Builder addExtension(int index, Extension.Builder builderForValue)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;public GetResponse.Builder addAllExtension(Iterable<? extends Extension> values)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;public GetResponse.Builder clearExtension()
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;public GetResponse.Builder removeExtension(int index)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;public Extension.Builder getExtensionBuilder(int index)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;public ExtensionOrBuilder getExtensionOrBuilder(int index)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;getExtensionOrBuilder in interface GetResponseOrBuilderpublic List<? extends ExtensionOrBuilder> getExtensionOrBuilderList()
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;getExtensionOrBuilderList in interface GetResponseOrBuilderpublic Extension.Builder addExtensionBuilder()
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;public Extension.Builder addExtensionBuilder(int index)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;public List<Extension.Builder> getExtensionBuilderList()
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;public final GetResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetResponse.Builder>public final GetResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetResponse.Builder>Copyright © 2018 OpenDaylight. All rights reserved.