Class Gnmi.CapabilityRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
-
- org.opennms.features.openconfig.proto.gnmi.Gnmi.CapabilityRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Gnmi.CapabilityRequestOrBuilder
- Enclosing class:
- Gnmi.CapabilityRequest
public static final class Gnmi.CapabilityRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder> implements Gnmi.CapabilityRequestOrBuilder
CapabilityRequest is sent by the client in the Capabilities RPC to request that the target reports its capabilities. Reference: gNMI Specification Section 3.2.1
Protobuf typegnmi.CapabilityRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Gnmi.CapabilityRequest.Builder
addAllExtension(Iterable<? extends GnmiExt.Extension> values)
Extension messages associated with the CapabilityRequest.Gnmi.CapabilityRequest.Builder
addExtension(int index, GnmiExt.Extension value)
Extension messages associated with the CapabilityRequest.Gnmi.CapabilityRequest.Builder
addExtension(int index, GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the CapabilityRequest.Gnmi.CapabilityRequest.Builder
addExtension(GnmiExt.Extension value)
Extension messages associated with the CapabilityRequest.Gnmi.CapabilityRequest.Builder
addExtension(GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the CapabilityRequest.GnmiExt.Extension.Builder
addExtensionBuilder()
Extension messages associated with the CapabilityRequest.GnmiExt.Extension.Builder
addExtensionBuilder(int index)
Extension messages associated with the CapabilityRequest.Gnmi.CapabilityRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Gnmi.CapabilityRequest
build()
Gnmi.CapabilityRequest
buildPartial()
Gnmi.CapabilityRequest.Builder
clear()
Gnmi.CapabilityRequest.Builder
clearExtension()
Extension messages associated with the CapabilityRequest.Gnmi.CapabilityRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Gnmi.CapabilityRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Gnmi.CapabilityRequest.Builder
clone()
Gnmi.CapabilityRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
GnmiExt.Extension
getExtension(int index)
Extension messages associated with the CapabilityRequest.GnmiExt.Extension.Builder
getExtensionBuilder(int index)
Extension messages associated with the CapabilityRequest.List<GnmiExt.Extension.Builder>
getExtensionBuilderList()
Extension messages associated with the CapabilityRequest.int
getExtensionCount()
Extension messages associated with the CapabilityRequest.List<GnmiExt.Extension>
getExtensionList()
Extension messages associated with the CapabilityRequest.GnmiExt.ExtensionOrBuilder
getExtensionOrBuilder(int index)
Extension messages associated with the CapabilityRequest.List<? extends GnmiExt.ExtensionOrBuilder>
getExtensionOrBuilderList()
Extension messages associated with the CapabilityRequest.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Gnmi.CapabilityRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Gnmi.CapabilityRequest.Builder
mergeFrom(com.google.protobuf.Message other)
Gnmi.CapabilityRequest.Builder
mergeFrom(Gnmi.CapabilityRequest other)
Gnmi.CapabilityRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Gnmi.CapabilityRequest.Builder
removeExtension(int index)
Extension messages associated with the CapabilityRequest.Gnmi.CapabilityRequest.Builder
setExtension(int index, GnmiExt.Extension value)
Extension messages associated with the CapabilityRequest.Gnmi.CapabilityRequest.Builder
setExtension(int index, GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the CapabilityRequest.Gnmi.CapabilityRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Gnmi.CapabilityRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Gnmi.CapabilityRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
-
clear
public Gnmi.CapabilityRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
-
getDefaultInstanceForType
public Gnmi.CapabilityRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Gnmi.CapabilityRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Gnmi.CapabilityRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Gnmi.CapabilityRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
-
setField
public Gnmi.CapabilityRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
-
clearField
public Gnmi.CapabilityRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
-
clearOneof
public Gnmi.CapabilityRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
-
setRepeatedField
public Gnmi.CapabilityRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
-
addRepeatedField
public Gnmi.CapabilityRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
-
mergeFrom
public Gnmi.CapabilityRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Gnmi.CapabilityRequest.Builder>
-
mergeFrom
public Gnmi.CapabilityRequest.Builder mergeFrom(Gnmi.CapabilityRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
-
mergeFrom
public Gnmi.CapabilityRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Gnmi.CapabilityRequest.Builder>
- Throws:
IOException
-
getExtensionList
public List<GnmiExt.Extension> getExtensionList()
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
- Specified by:
getExtensionList
in interfaceGnmi.CapabilityRequestOrBuilder
-
getExtensionCount
public int getExtensionCount()
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
- Specified by:
getExtensionCount
in interfaceGnmi.CapabilityRequestOrBuilder
-
getExtension
public GnmiExt.Extension getExtension(int index)
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
- Specified by:
getExtension
in interfaceGnmi.CapabilityRequestOrBuilder
-
setExtension
public Gnmi.CapabilityRequest.Builder setExtension(int index, GnmiExt.Extension value)
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
-
setExtension
public Gnmi.CapabilityRequest.Builder setExtension(int index, GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
-
addExtension
public Gnmi.CapabilityRequest.Builder addExtension(GnmiExt.Extension value)
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
-
addExtension
public Gnmi.CapabilityRequest.Builder addExtension(int index, GnmiExt.Extension value)
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
-
addExtension
public Gnmi.CapabilityRequest.Builder addExtension(GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
-
addExtension
public Gnmi.CapabilityRequest.Builder addExtension(int index, GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
-
addAllExtension
public Gnmi.CapabilityRequest.Builder addAllExtension(Iterable<? extends GnmiExt.Extension> values)
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
-
clearExtension
public Gnmi.CapabilityRequest.Builder clearExtension()
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
-
removeExtension
public Gnmi.CapabilityRequest.Builder removeExtension(int index)
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
-
getExtensionBuilder
public GnmiExt.Extension.Builder getExtensionBuilder(int index)
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
-
getExtensionOrBuilder
public GnmiExt.ExtensionOrBuilder getExtensionOrBuilder(int index)
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
- Specified by:
getExtensionOrBuilder
in interfaceGnmi.CapabilityRequestOrBuilder
-
getExtensionOrBuilderList
public List<? extends GnmiExt.ExtensionOrBuilder> getExtensionOrBuilderList()
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
- Specified by:
getExtensionOrBuilderList
in interfaceGnmi.CapabilityRequestOrBuilder
-
addExtensionBuilder
public GnmiExt.Extension.Builder addExtensionBuilder()
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
-
addExtensionBuilder
public GnmiExt.Extension.Builder addExtensionBuilder(int index)
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
-
getExtensionBuilderList
public List<GnmiExt.Extension.Builder> getExtensionBuilderList()
Extension messages associated with the CapabilityRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 1;
-
setUnknownFields
public final Gnmi.CapabilityRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
-
mergeUnknownFields
public final Gnmi.CapabilityRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
-
-