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.2Protobuf type
gnmi.GetResponse
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<Gnmi.GetResponse.Builder>
public Gnmi.GetResponse.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<Gnmi.GetResponse.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<Gnmi.GetResponse.Builder>
public Gnmi.GetResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Gnmi.GetResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Gnmi.GetResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Gnmi.GetResponse.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<Gnmi.GetResponse.Builder>
public Gnmi.GetResponse.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<Gnmi.GetResponse.Builder>
public Gnmi.GetResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
public Gnmi.GetResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
public Gnmi.GetResponse.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<Gnmi.GetResponse.Builder>
public Gnmi.GetResponse.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<Gnmi.GetResponse.Builder>
public Gnmi.GetResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Gnmi.GetResponse.Builder>
public Gnmi.GetResponse.Builder mergeFrom(Gnmi.GetResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
public Gnmi.GetResponse.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<Gnmi.GetResponse.Builder>
IOException
public List<Gnmi.Notification> getNotificationList()
Data values.
repeated .gnmi.Notification notification = 1;
getNotificationList
in interface Gnmi.GetResponseOrBuilder
public int getNotificationCount()
Data values.
repeated .gnmi.Notification notification = 1;
getNotificationCount
in interface Gnmi.GetResponseOrBuilder
public Gnmi.Notification getNotification(int index)
Data values.
repeated .gnmi.Notification notification = 1;
getNotification
in interface Gnmi.GetResponseOrBuilder
public Gnmi.GetResponse.Builder setNotification(int index, Gnmi.Notification value)
Data values.
repeated .gnmi.Notification notification = 1;
public Gnmi.GetResponse.Builder setNotification(int index, Gnmi.Notification.Builder builderForValue)
Data values.
repeated .gnmi.Notification notification = 1;
public Gnmi.GetResponse.Builder addNotification(Gnmi.Notification value)
Data values.
repeated .gnmi.Notification notification = 1;
public Gnmi.GetResponse.Builder addNotification(int index, Gnmi.Notification value)
Data values.
repeated .gnmi.Notification notification = 1;
public Gnmi.GetResponse.Builder addNotification(Gnmi.Notification.Builder builderForValue)
Data values.
repeated .gnmi.Notification notification = 1;
public Gnmi.GetResponse.Builder addNotification(int index, Gnmi.Notification.Builder builderForValue)
Data values.
repeated .gnmi.Notification notification = 1;
public Gnmi.GetResponse.Builder addAllNotification(Iterable<? extends Gnmi.Notification> values)
Data values.
repeated .gnmi.Notification notification = 1;
public Gnmi.GetResponse.Builder clearNotification()
Data values.
repeated .gnmi.Notification notification = 1;
public Gnmi.GetResponse.Builder removeNotification(int index)
Data values.
repeated .gnmi.Notification notification = 1;
public Gnmi.Notification.Builder getNotificationBuilder(int index)
Data values.
repeated .gnmi.Notification notification = 1;
public Gnmi.NotificationOrBuilder getNotificationOrBuilder(int index)
Data values.
repeated .gnmi.Notification notification = 1;
getNotificationOrBuilder
in interface Gnmi.GetResponseOrBuilder
public List<? extends Gnmi.NotificationOrBuilder> getNotificationOrBuilderList()
Data values.
repeated .gnmi.Notification notification = 1;
getNotificationOrBuilderList
in interface Gnmi.GetResponseOrBuilder
public Gnmi.Notification.Builder addNotificationBuilder()
Data values.
repeated .gnmi.Notification notification = 1;
public Gnmi.Notification.Builder addNotificationBuilder(int index)
Data values.
repeated .gnmi.Notification notification = 1;
public List<Gnmi.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 Gnmi.GetResponseOrBuilder
@Deprecated public Gnmi.Error getError()
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];
getError
in interface Gnmi.GetResponseOrBuilder
@Deprecated public Gnmi.GetResponse.Builder setError(Gnmi.Error value)
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];
@Deprecated public Gnmi.GetResponse.Builder setError(Gnmi.Error.Builder builderForValue)
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];
@Deprecated public Gnmi.GetResponse.Builder mergeError(Gnmi.Error value)
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];
@Deprecated public Gnmi.GetResponse.Builder clearError()
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];
@Deprecated public Gnmi.Error.Builder getErrorBuilder()
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];
@Deprecated public Gnmi.ErrorOrBuilder getErrorOrBuilder()
Errors that occurred in the Get.
.gnmi.Error error = 2 [deprecated = true];
getErrorOrBuilder
in interface Gnmi.GetResponseOrBuilder
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;
getExtensionList
in interface Gnmi.GetResponseOrBuilder
public 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 Gnmi.GetResponseOrBuilder
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;
getExtension
in interface Gnmi.GetResponseOrBuilder
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
getExtensionOrBuilder
in interface Gnmi.GetResponseOrBuilder
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;
getExtensionOrBuilderList
in interface Gnmi.GetResponseOrBuilder
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;
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;
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;
public final Gnmi.GetResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
public final Gnmi.GetResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.GetResponse.Builder>
Copyright © 2021. All rights reserved.