Class Gnmi.CapabilityResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityResponse.Builder>
-
- org.opennms.features.openconfig.proto.gnmi.Gnmi.CapabilityResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,Gnmi.CapabilityResponseOrBuilder
- Enclosing class:
- Gnmi.CapabilityResponse
public static final class Gnmi.CapabilityResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityResponse.Builder> implements Gnmi.CapabilityResponseOrBuilder
CapabilityResponse is used by the target to report its capabilities to the client within the Capabilities RPC. Reference: gNMI Specification Section 3.2.2
Protobuf typegnmi.CapabilityResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Gnmi.CapabilityResponse.Builder
addAllExtension(java.lang.Iterable<? extends GnmiExt.Extension> values)
Extension messages associated with the CapabilityResponse.Gnmi.CapabilityResponse.Builder
addAllSupportedEncodings(java.lang.Iterable<? extends Gnmi.Encoding> values)
Supported encodings.Gnmi.CapabilityResponse.Builder
addAllSupportedEncodingsValue(java.lang.Iterable<java.lang.Integer> values)
Supported encodings.Gnmi.CapabilityResponse.Builder
addAllSupportedModels(java.lang.Iterable<? extends Gnmi.ModelData> values)
Supported schema models.Gnmi.CapabilityResponse.Builder
addExtension(int index, GnmiExt.Extension value)
Extension messages associated with the CapabilityResponse.Gnmi.CapabilityResponse.Builder
addExtension(int index, GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the CapabilityResponse.Gnmi.CapabilityResponse.Builder
addExtension(GnmiExt.Extension value)
Extension messages associated with the CapabilityResponse.Gnmi.CapabilityResponse.Builder
addExtension(GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the CapabilityResponse.GnmiExt.Extension.Builder
addExtensionBuilder()
Extension messages associated with the CapabilityResponse.GnmiExt.Extension.Builder
addExtensionBuilder(int index)
Extension messages associated with the CapabilityResponse.Gnmi.CapabilityResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Gnmi.CapabilityResponse.Builder
addSupportedEncodings(Gnmi.Encoding value)
Supported encodings.Gnmi.CapabilityResponse.Builder
addSupportedEncodingsValue(int value)
Supported encodings.Gnmi.CapabilityResponse.Builder
addSupportedModels(int index, Gnmi.ModelData value)
Supported schema models.Gnmi.CapabilityResponse.Builder
addSupportedModels(int index, Gnmi.ModelData.Builder builderForValue)
Supported schema models.Gnmi.CapabilityResponse.Builder
addSupportedModels(Gnmi.ModelData value)
Supported schema models.Gnmi.CapabilityResponse.Builder
addSupportedModels(Gnmi.ModelData.Builder builderForValue)
Supported schema models.Gnmi.ModelData.Builder
addSupportedModelsBuilder()
Supported schema models.Gnmi.ModelData.Builder
addSupportedModelsBuilder(int index)
Supported schema models.Gnmi.CapabilityResponse
build()
Gnmi.CapabilityResponse
buildPartial()
Gnmi.CapabilityResponse.Builder
clear()
Gnmi.CapabilityResponse.Builder
clearExtension()
Extension messages associated with the CapabilityResponse.Gnmi.CapabilityResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Gnmi.CapabilityResponse.Builder
clearGNMIVersion()
Supported gNMI version.Gnmi.CapabilityResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Gnmi.CapabilityResponse.Builder
clearSupportedEncodings()
Supported encodings.Gnmi.CapabilityResponse.Builder
clearSupportedModels()
Supported schema models.Gnmi.CapabilityResponse.Builder
clone()
Gnmi.CapabilityResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
GnmiExt.Extension
getExtension(int index)
Extension messages associated with the CapabilityResponse.GnmiExt.Extension.Builder
getExtensionBuilder(int index)
Extension messages associated with the CapabilityResponse.java.util.List<GnmiExt.Extension.Builder>
getExtensionBuilderList()
Extension messages associated with the CapabilityResponse.int
getExtensionCount()
Extension messages associated with the CapabilityResponse.java.util.List<GnmiExt.Extension>
getExtensionList()
Extension messages associated with the CapabilityResponse.GnmiExt.ExtensionOrBuilder
getExtensionOrBuilder(int index)
Extension messages associated with the CapabilityResponse.java.util.List<? extends GnmiExt.ExtensionOrBuilder>
getExtensionOrBuilderList()
Extension messages associated with the CapabilityResponse.java.lang.String
getGNMIVersion()
Supported gNMI version.com.google.protobuf.ByteString
getGNMIVersionBytes()
Supported gNMI version.Gnmi.Encoding
getSupportedEncodings(int index)
Supported encodings.int
getSupportedEncodingsCount()
Supported encodings.java.util.List<Gnmi.Encoding>
getSupportedEncodingsList()
Supported encodings.int
getSupportedEncodingsValue(int index)
Supported encodings.java.util.List<java.lang.Integer>
getSupportedEncodingsValueList()
Supported encodings.Gnmi.ModelData
getSupportedModels(int index)
Supported schema models.Gnmi.ModelData.Builder
getSupportedModelsBuilder(int index)
Supported schema models.java.util.List<Gnmi.ModelData.Builder>
getSupportedModelsBuilderList()
Supported schema models.int
getSupportedModelsCount()
Supported schema models.java.util.List<Gnmi.ModelData>
getSupportedModelsList()
Supported schema models.Gnmi.ModelDataOrBuilder
getSupportedModelsOrBuilder(int index)
Supported schema models.java.util.List<? extends Gnmi.ModelDataOrBuilder>
getSupportedModelsOrBuilderList()
Supported schema models.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Gnmi.CapabilityResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Gnmi.CapabilityResponse.Builder
mergeFrom(com.google.protobuf.Message other)
Gnmi.CapabilityResponse.Builder
mergeFrom(Gnmi.CapabilityResponse other)
Gnmi.CapabilityResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Gnmi.CapabilityResponse.Builder
removeExtension(int index)
Extension messages associated with the CapabilityResponse.Gnmi.CapabilityResponse.Builder
removeSupportedModels(int index)
Supported schema models.Gnmi.CapabilityResponse.Builder
setExtension(int index, GnmiExt.Extension value)
Extension messages associated with the CapabilityResponse.Gnmi.CapabilityResponse.Builder
setExtension(int index, GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the CapabilityResponse.Gnmi.CapabilityResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Gnmi.CapabilityResponse.Builder
setGNMIVersion(java.lang.String value)
Supported gNMI version.Gnmi.CapabilityResponse.Builder
setGNMIVersionBytes(com.google.protobuf.ByteString value)
Supported gNMI version.Gnmi.CapabilityResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Gnmi.CapabilityResponse.Builder
setSupportedEncodings(int index, Gnmi.Encoding value)
Supported encodings.Gnmi.CapabilityResponse.Builder
setSupportedEncodingsValue(int index, int value)
Supported encodings.Gnmi.CapabilityResponse.Builder
setSupportedModels(int index, Gnmi.ModelData value)
Supported schema models.Gnmi.CapabilityResponse.Builder
setSupportedModels(int index, Gnmi.ModelData.Builder builderForValue)
Supported schema models.Gnmi.CapabilityResponse.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.CapabilityResponse.Builder>
-
clear
public Gnmi.CapabilityResponse.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.CapabilityResponse.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.CapabilityResponse.Builder>
-
getDefaultInstanceForType
public Gnmi.CapabilityResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Gnmi.CapabilityResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Gnmi.CapabilityResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Gnmi.CapabilityResponse.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.CapabilityResponse.Builder>
-
setField
public Gnmi.CapabilityResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityResponse.Builder>
-
clearField
public Gnmi.CapabilityResponse.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.CapabilityResponse.Builder>
-
clearOneof
public Gnmi.CapabilityResponse.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.CapabilityResponse.Builder>
-
setRepeatedField
public Gnmi.CapabilityResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityResponse.Builder>
-
addRepeatedField
public Gnmi.CapabilityResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityResponse.Builder>
-
mergeFrom
public Gnmi.CapabilityResponse.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.CapabilityResponse.Builder>
-
mergeFrom
public Gnmi.CapabilityResponse.Builder mergeFrom(Gnmi.CapabilityResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityResponse.Builder>
-
mergeFrom
public Gnmi.CapabilityResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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.CapabilityResponse.Builder>
- Throws:
java.io.IOException
-
getSupportedModelsList
public java.util.List<Gnmi.ModelData> getSupportedModelsList()
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
- Specified by:
getSupportedModelsList
in interfaceGnmi.CapabilityResponseOrBuilder
-
getSupportedModelsCount
public int getSupportedModelsCount()
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
- Specified by:
getSupportedModelsCount
in interfaceGnmi.CapabilityResponseOrBuilder
-
getSupportedModels
public Gnmi.ModelData getSupportedModels(int index)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
- Specified by:
getSupportedModels
in interfaceGnmi.CapabilityResponseOrBuilder
-
setSupportedModels
public Gnmi.CapabilityResponse.Builder setSupportedModels(int index, Gnmi.ModelData value)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
-
setSupportedModels
public Gnmi.CapabilityResponse.Builder setSupportedModels(int index, Gnmi.ModelData.Builder builderForValue)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
-
addSupportedModels
public Gnmi.CapabilityResponse.Builder addSupportedModels(Gnmi.ModelData value)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
-
addSupportedModels
public Gnmi.CapabilityResponse.Builder addSupportedModels(int index, Gnmi.ModelData value)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
-
addSupportedModels
public Gnmi.CapabilityResponse.Builder addSupportedModels(Gnmi.ModelData.Builder builderForValue)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
-
addSupportedModels
public Gnmi.CapabilityResponse.Builder addSupportedModels(int index, Gnmi.ModelData.Builder builderForValue)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
-
addAllSupportedModels
public Gnmi.CapabilityResponse.Builder addAllSupportedModels(java.lang.Iterable<? extends Gnmi.ModelData> values)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
-
clearSupportedModels
public Gnmi.CapabilityResponse.Builder clearSupportedModels()
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
-
removeSupportedModels
public Gnmi.CapabilityResponse.Builder removeSupportedModels(int index)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
-
getSupportedModelsBuilder
public Gnmi.ModelData.Builder getSupportedModelsBuilder(int index)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
-
getSupportedModelsOrBuilder
public Gnmi.ModelDataOrBuilder getSupportedModelsOrBuilder(int index)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
- Specified by:
getSupportedModelsOrBuilder
in interfaceGnmi.CapabilityResponseOrBuilder
-
getSupportedModelsOrBuilderList
public java.util.List<? extends Gnmi.ModelDataOrBuilder> getSupportedModelsOrBuilderList()
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
- Specified by:
getSupportedModelsOrBuilderList
in interfaceGnmi.CapabilityResponseOrBuilder
-
addSupportedModelsBuilder
public Gnmi.ModelData.Builder addSupportedModelsBuilder()
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
-
addSupportedModelsBuilder
public Gnmi.ModelData.Builder addSupportedModelsBuilder(int index)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
-
getSupportedModelsBuilderList
public java.util.List<Gnmi.ModelData.Builder> getSupportedModelsBuilderList()
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;
-
getSupportedEncodingsList
public java.util.List<Gnmi.Encoding> getSupportedEncodingsList()
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;
- Specified by:
getSupportedEncodingsList
in interfaceGnmi.CapabilityResponseOrBuilder
-
getSupportedEncodingsCount
public int getSupportedEncodingsCount()
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;
- Specified by:
getSupportedEncodingsCount
in interfaceGnmi.CapabilityResponseOrBuilder
-
getSupportedEncodings
public Gnmi.Encoding getSupportedEncodings(int index)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;
- Specified by:
getSupportedEncodings
in interfaceGnmi.CapabilityResponseOrBuilder
-
setSupportedEncodings
public Gnmi.CapabilityResponse.Builder setSupportedEncodings(int index, Gnmi.Encoding value)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;
-
addSupportedEncodings
public Gnmi.CapabilityResponse.Builder addSupportedEncodings(Gnmi.Encoding value)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;
-
addAllSupportedEncodings
public Gnmi.CapabilityResponse.Builder addAllSupportedEncodings(java.lang.Iterable<? extends Gnmi.Encoding> values)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;
-
clearSupportedEncodings
public Gnmi.CapabilityResponse.Builder clearSupportedEncodings()
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;
-
getSupportedEncodingsValueList
public java.util.List<java.lang.Integer> getSupportedEncodingsValueList()
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;
- Specified by:
getSupportedEncodingsValueList
in interfaceGnmi.CapabilityResponseOrBuilder
-
getSupportedEncodingsValue
public int getSupportedEncodingsValue(int index)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;
- Specified by:
getSupportedEncodingsValue
in interfaceGnmi.CapabilityResponseOrBuilder
-
setSupportedEncodingsValue
public Gnmi.CapabilityResponse.Builder setSupportedEncodingsValue(int index, int value)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;
-
addSupportedEncodingsValue
public Gnmi.CapabilityResponse.Builder addSupportedEncodingsValue(int value)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;
-
addAllSupportedEncodingsValue
public Gnmi.CapabilityResponse.Builder addAllSupportedEncodingsValue(java.lang.Iterable<java.lang.Integer> values)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;
-
getGNMIVersion
public java.lang.String getGNMIVersion()
Supported gNMI version.
string gNMI_version = 3;
- Specified by:
getGNMIVersion
in interfaceGnmi.CapabilityResponseOrBuilder
-
getGNMIVersionBytes
public com.google.protobuf.ByteString getGNMIVersionBytes()
Supported gNMI version.
string gNMI_version = 3;
- Specified by:
getGNMIVersionBytes
in interfaceGnmi.CapabilityResponseOrBuilder
-
setGNMIVersion
public Gnmi.CapabilityResponse.Builder setGNMIVersion(java.lang.String value)
Supported gNMI version.
string gNMI_version = 3;
-
clearGNMIVersion
public Gnmi.CapabilityResponse.Builder clearGNMIVersion()
Supported gNMI version.
string gNMI_version = 3;
-
setGNMIVersionBytes
public Gnmi.CapabilityResponse.Builder setGNMIVersionBytes(com.google.protobuf.ByteString value)
Supported gNMI version.
string gNMI_version = 3;
-
getExtensionList
public java.util.List<GnmiExt.Extension> getExtensionList()
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
- Specified by:
getExtensionList
in interfaceGnmi.CapabilityResponseOrBuilder
-
getExtensionCount
public int getExtensionCount()
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
- Specified by:
getExtensionCount
in interfaceGnmi.CapabilityResponseOrBuilder
-
getExtension
public GnmiExt.Extension getExtension(int index)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
- Specified by:
getExtension
in interfaceGnmi.CapabilityResponseOrBuilder
-
setExtension
public Gnmi.CapabilityResponse.Builder setExtension(int index, GnmiExt.Extension value)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
-
setExtension
public Gnmi.CapabilityResponse.Builder setExtension(int index, GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
-
addExtension
public Gnmi.CapabilityResponse.Builder addExtension(GnmiExt.Extension value)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
-
addExtension
public Gnmi.CapabilityResponse.Builder addExtension(int index, GnmiExt.Extension value)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
-
addExtension
public Gnmi.CapabilityResponse.Builder addExtension(GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
-
addExtension
public Gnmi.CapabilityResponse.Builder addExtension(int index, GnmiExt.Extension.Builder builderForValue)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
-
addAllExtension
public Gnmi.CapabilityResponse.Builder addAllExtension(java.lang.Iterable<? extends GnmiExt.Extension> values)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
-
clearExtension
public Gnmi.CapabilityResponse.Builder clearExtension()
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
-
removeExtension
public Gnmi.CapabilityResponse.Builder removeExtension(int index)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
-
getExtensionBuilder
public GnmiExt.Extension.Builder getExtensionBuilder(int index)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
-
getExtensionOrBuilder
public GnmiExt.ExtensionOrBuilder getExtensionOrBuilder(int index)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
- Specified by:
getExtensionOrBuilder
in interfaceGnmi.CapabilityResponseOrBuilder
-
getExtensionOrBuilderList
public java.util.List<? extends GnmiExt.ExtensionOrBuilder> getExtensionOrBuilderList()
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
- Specified by:
getExtensionOrBuilderList
in interfaceGnmi.CapabilityResponseOrBuilder
-
addExtensionBuilder
public GnmiExt.Extension.Builder addExtensionBuilder()
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
-
addExtensionBuilder
public GnmiExt.Extension.Builder addExtensionBuilder(int index)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
-
getExtensionBuilderList
public java.util.List<GnmiExt.Extension.Builder> getExtensionBuilderList()
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;
-
setUnknownFields
public final Gnmi.CapabilityResponse.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.CapabilityResponse.Builder>
-
mergeUnknownFields
public final Gnmi.CapabilityResponse.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.CapabilityResponse.Builder>
-
-