Class Gnmi.GetResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
-
- org.opennms.features.openconfig.proto.gnmi.Gnmi.GetResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Gnmi.GetResponseOrBuilder
- Enclosing class:
- Gnmi.GetResponse
public static final class Gnmi.GetResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder> implements Gnmi.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.2
Protobuf typegnmi.GetResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Gnmi.GetResponse.BuilderaddAllExtension(Iterable<? extends GnmiExt.Extension> values)Extension messages associated with the GetResponse.Gnmi.GetResponse.BuilderaddAllNotification(Iterable<? extends Gnmi.Notification> values)Data values.Gnmi.GetResponse.BuilderaddExtension(int index, GnmiExt.Extension value)Extension messages associated with the GetResponse.Gnmi.GetResponse.BuilderaddExtension(int index, GnmiExt.Extension.Builder builderForValue)Extension messages associated with the GetResponse.Gnmi.GetResponse.BuilderaddExtension(GnmiExt.Extension value)Extension messages associated with the GetResponse.Gnmi.GetResponse.BuilderaddExtension(GnmiExt.Extension.Builder builderForValue)Extension messages associated with the GetResponse.GnmiExt.Extension.BuilderaddExtensionBuilder()Extension messages associated with the GetResponse.GnmiExt.Extension.BuilderaddExtensionBuilder(int index)Extension messages associated with the GetResponse.Gnmi.GetResponse.BuilderaddNotification(int index, Gnmi.Notification value)Data values.Gnmi.GetResponse.BuilderaddNotification(int index, Gnmi.Notification.Builder builderForValue)Data values.Gnmi.GetResponse.BuilderaddNotification(Gnmi.Notification value)Data values.Gnmi.GetResponse.BuilderaddNotification(Gnmi.Notification.Builder builderForValue)Data values.Gnmi.Notification.BuilderaddNotificationBuilder()Data values.Gnmi.Notification.BuilderaddNotificationBuilder(int index)Data values.Gnmi.GetResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Gnmi.GetResponsebuild()Gnmi.GetResponsebuildPartial()Gnmi.GetResponse.Builderclear()Gnmi.GetResponse.BuilderclearError()Deprecated.Gnmi.GetResponse.BuilderclearExtension()Extension messages associated with the GetResponse.Gnmi.GetResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Gnmi.GetResponse.BuilderclearNotification()Data values.Gnmi.GetResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Gnmi.GetResponse.Builderclone()Gnmi.GetResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Gnmi.ErrorgetError()Deprecated.Gnmi.Error.BuildergetErrorBuilder()Deprecated.Gnmi.ErrorOrBuildergetErrorOrBuilder()Deprecated.GnmiExt.ExtensiongetExtension(int index)Extension messages associated with the GetResponse.GnmiExt.Extension.BuildergetExtensionBuilder(int index)Extension messages associated with the GetResponse.List<GnmiExt.Extension.Builder>getExtensionBuilderList()Extension messages associated with the GetResponse.intgetExtensionCount()Extension messages associated with the GetResponse.List<GnmiExt.Extension>getExtensionList()Extension messages associated with the GetResponse.GnmiExt.ExtensionOrBuildergetExtensionOrBuilder(int index)Extension messages associated with the GetResponse.List<? extends GnmiExt.ExtensionOrBuilder>getExtensionOrBuilderList()Extension messages associated with the GetResponse.Gnmi.NotificationgetNotification(int index)Data values.Gnmi.Notification.BuildergetNotificationBuilder(int index)Data values.List<Gnmi.Notification.Builder>getNotificationBuilderList()Data values.intgetNotificationCount()Data values.List<Gnmi.Notification>getNotificationList()Data values.Gnmi.NotificationOrBuildergetNotificationOrBuilder(int index)Data values.List<? extends Gnmi.NotificationOrBuilder>getNotificationOrBuilderList()Data values.booleanhasError()Deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Gnmi.GetResponse.BuildermergeError(Gnmi.Error value)Deprecated.Gnmi.GetResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Gnmi.GetResponse.BuildermergeFrom(com.google.protobuf.Message other)Gnmi.GetResponse.BuildermergeFrom(Gnmi.GetResponse other)Gnmi.GetResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Gnmi.GetResponse.BuilderremoveExtension(int index)Extension messages associated with the GetResponse.Gnmi.GetResponse.BuilderremoveNotification(int index)Data values.Gnmi.GetResponse.BuildersetError(Gnmi.Error value)Deprecated.Gnmi.GetResponse.BuildersetError(Gnmi.Error.Builder builderForValue)Deprecated.Gnmi.GetResponse.BuildersetExtension(int index, GnmiExt.Extension value)Extension messages associated with the GetResponse.Gnmi.GetResponse.BuildersetExtension(int index, GnmiExt.Extension.Builder builderForValue)Extension messages associated with the GetResponse.Gnmi.GetResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Gnmi.GetResponse.BuildersetNotification(int index, Gnmi.Notification value)Data values.Gnmi.GetResponse.BuildersetNotification(int index, Gnmi.Notification.Builder builderForValue)Data values.Gnmi.GetResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Gnmi.GetResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
-
clear
public Gnmi.GetResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
-
getDefaultInstanceForType
public Gnmi.GetResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Gnmi.GetResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Gnmi.GetResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Gnmi.GetResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
-
setField
public Gnmi.GetResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
-
clearField
public Gnmi.GetResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
-
clearOneof
public Gnmi.GetResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
-
setRepeatedField
public Gnmi.GetResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
-
addRepeatedField
public Gnmi.GetResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
-
mergeFrom
public Gnmi.GetResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Gnmi.GetResponse.Builder>
-
mergeFrom
public Gnmi.GetResponse.Builder mergeFrom(Gnmi.GetResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
-
mergeFrom
public Gnmi.GetResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Gnmi.GetResponse.Builder>- Throws:
IOException
-
getNotificationList
public List<Gnmi.Notification> getNotificationList()
Data values.
repeated .gnmi.Notification notification = 1;- Specified by:
getNotificationListin interfaceGnmi.GetResponseOrBuilder
-
getNotificationCount
public int getNotificationCount()
Data values.
repeated .gnmi.Notification notification = 1;- Specified by:
getNotificationCountin interfaceGnmi.GetResponseOrBuilder
-
getNotification
public Gnmi.Notification getNotification(int index)
Data values.
repeated .gnmi.Notification notification = 1;- Specified by:
getNotificationin interfaceGnmi.GetResponseOrBuilder
-
setNotification
public Gnmi.GetResponse.Builder setNotification(int index, Gnmi.Notification value)
Data values.
repeated .gnmi.Notification notification = 1;
-
setNotification
public Gnmi.GetResponse.Builder setNotification(int index, Gnmi.Notification.Builder builderForValue)
Data values.
repeated .gnmi.Notification notification = 1;
-
addNotification
public Gnmi.GetResponse.Builder addNotification(Gnmi.Notification value)
Data values.
repeated .gnmi.Notification notification = 1;
-
addNotification
public Gnmi.GetResponse.Builder addNotification(int index, Gnmi.Notification value)
Data values.
repeated .gnmi.Notification notification = 1;
-
addNotification
public Gnmi.GetResponse.Builder addNotification(Gnmi.Notification.Builder builderForValue)
Data values.
repeated .gnmi.Notification notification = 1;
-
addNotification
public Gnmi.GetResponse.Builder addNotification(int index, Gnmi.Notification.Builder builderForValue)
Data values.
repeated .gnmi.Notification notification = 1;
-
addAllNotification
public Gnmi.GetResponse.Builder addAllNotification(Iterable<? extends Gnmi.Notification> values)
Data values.
repeated .gnmi.Notification notification = 1;
-
clearNotification
public Gnmi.GetResponse.Builder clearNotification()
Data values.
repeated .gnmi.Notification notification = 1;
-
removeNotification
public Gnmi.GetResponse.Builder removeNotification(int index)
Data values.
repeated .gnmi.Notification notification = 1;
-
getNotificationBuilder
public Gnmi.Notification.Builder getNotificationBuilder(int index)
Data values.
repeated .gnmi.Notification notification = 1;
-
getNotificationOrBuilder
public Gnmi.NotificationOrBuilder getNotificationOrBuilder(int index)
Data values.
repeated .gnmi.Notification notification = 1;- Specified by:
getNotificationOrBuilderin interfaceGnmi.GetResponseOrBuilder
-
getNotificationOrBuilderList
public List<? extends Gnmi.NotificationOrBuilder> getNotificationOrBuilderList()
Data values.
repeated .gnmi.Notification notification = 1;- Specified by:
getNotificationOrBuilderListin interfaceGnmi.GetResponseOrBuilder
-
addNotificationBuilder
public Gnmi.Notification.Builder addNotificationBuilder()
Data values.
repeated .gnmi.Notification notification = 1;
-
addNotificationBuilder
public Gnmi.Notification.Builder addNotificationBuilder(int index)
Data values.
repeated .gnmi.Notification notification = 1;
-
getNotificationBuilderList
public List<Gnmi.Notification.Builder> getNotificationBuilderList()
Data values.
repeated .gnmi.Notification notification = 1;
-
hasError
@Deprecated public boolean hasError()
Deprecated.Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];- Specified by:
hasErrorin interfaceGnmi.GetResponseOrBuilder
-
getError
@Deprecated public Gnmi.Error getError()
Deprecated.Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];- Specified by:
getErrorin interfaceGnmi.GetResponseOrBuilder
-
setError
@Deprecated public Gnmi.GetResponse.Builder setError(Gnmi.Error value)
Deprecated.Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];
-
setError
@Deprecated public Gnmi.GetResponse.Builder setError(Gnmi.Error.Builder builderForValue)
Deprecated.Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];
-
mergeError
@Deprecated public Gnmi.GetResponse.Builder mergeError(Gnmi.Error value)
Deprecated.Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];
-
clearError
@Deprecated public Gnmi.GetResponse.Builder clearError()
Deprecated.Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];
-
getErrorBuilder
@Deprecated public Gnmi.Error.Builder getErrorBuilder()
Deprecated.Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];
-
getErrorOrBuilder
@Deprecated public Gnmi.ErrorOrBuilder getErrorOrBuilder()
Deprecated.Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];- Specified by:
getErrorOrBuilderin interfaceGnmi.GetResponseOrBuilder
-
getExtensionList
public List<GnmiExt.Extension> getExtensionList()
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;- Specified by:
getExtensionListin interfaceGnmi.GetResponseOrBuilder
-
getExtensionCount
public int getExtensionCount()
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;- Specified by:
getExtensionCountin interfaceGnmi.GetResponseOrBuilder
-
getExtension
public GnmiExt.Extension getExtension(int index)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;- Specified by:
getExtensionin interfaceGnmi.GetResponseOrBuilder
-
setExtension
public Gnmi.GetResponse.Builder setExtension(int index, GnmiExt.Extension value)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;
-
setExtension
public Gnmi.GetResponse.Builder setExtension(int index, GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;
-
addExtension
public Gnmi.GetResponse.Builder addExtension(GnmiExt.Extension value)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;
-
addExtension
public Gnmi.GetResponse.Builder addExtension(int index, GnmiExt.Extension value)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;
-
addExtension
public Gnmi.GetResponse.Builder addExtension(GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;
-
addExtension
public Gnmi.GetResponse.Builder addExtension(int index, GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;
-
addAllExtension
public Gnmi.GetResponse.Builder addAllExtension(Iterable<? extends GnmiExt.Extension> values)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;
-
clearExtension
public Gnmi.GetResponse.Builder clearExtension()
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;
-
removeExtension
public Gnmi.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;
-
getExtensionBuilder
public GnmiExt.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;
-
getExtensionOrBuilder
public GnmiExt.ExtensionOrBuilder getExtensionOrBuilder(int index)
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;- Specified by:
getExtensionOrBuilderin interfaceGnmi.GetResponseOrBuilder
-
getExtensionOrBuilderList
public List<? extends GnmiExt.ExtensionOrBuilder> getExtensionOrBuilderList()
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;- Specified by:
getExtensionOrBuilderListin interfaceGnmi.GetResponseOrBuilder
-
addExtensionBuilder
public GnmiExt.Extension.Builder addExtensionBuilder()
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;
-
addExtensionBuilder
public GnmiExt.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;
-
getExtensionBuilderList
public List<GnmiExt.Extension.Builder> getExtensionBuilderList()
Extension messages associated with the GetResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 3;
-
setUnknownFields
public final Gnmi.GetResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
-
mergeUnknownFields
public final Gnmi.GetResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
-
-