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, 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<GetResponse.Builder>
public 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<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<GetResponse.Builder>
public GetResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public GetResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public GetResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public 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<GetResponse.Builder>
public 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<GetResponse.Builder>
public 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<GetResponse.Builder>
public 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<GetResponse.Builder>
public 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<GetResponse.Builder>
public 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<GetResponse.Builder>
public GetResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GetResponse.Builder>
IOException
public List<Notification> getNotificationList()
Data values.
repeated .gnmi.Notification notification = 1;
getNotificationList
in interface GetResponseOrBuilder
public int getNotificationCount()
Data values.
repeated .gnmi.Notification notification = 1;
getNotificationCount
in interface GetResponseOrBuilder
public Notification getNotification(int index)
Data values.
repeated .gnmi.Notification notification = 1;
getNotification
in interface GetResponseOrBuilder
public 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 GetResponseOrBuilder
public List<? extends NotificationOrBuilder> getNotificationOrBuilderList()
Data values.
repeated .gnmi.Notification notification = 1;
getNotificationOrBuilderList
in interface GetResponseOrBuilder
public 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 GetResponseOrBuilder
public 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 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 GetResponseOrBuilder
public 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 GetResponseOrBuilder
public 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 GetResponseOrBuilder
public 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 GetResponseOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<GetResponse.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.