public static final class CapabilityResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CapabilityResponse.Builder> implements CapabilityResponseOrBuilder
CapabilityResponse is used by the target to report its capabilities to the client within the Capabilities RPC. Reference: gNMI Specification Section 3.2.2Protobuf type
gnmi.CapabilityResponse| Modifier and Type | Method and Description |
|---|---|
CapabilityResponse.Builder |
addAllExtension(Iterable<? extends Extension> values)
Extension messages associated with the CapabilityResponse.
|
CapabilityResponse.Builder |
addAllSupportedEncodings(Iterable<? extends Encoding> values)
Supported encodings.
|
CapabilityResponse.Builder |
addAllSupportedEncodingsValue(Iterable<Integer> values)
Supported encodings.
|
CapabilityResponse.Builder |
addAllSupportedModels(Iterable<? extends ModelData> values)
Supported schema models.
|
CapabilityResponse.Builder |
addExtension(Extension.Builder builderForValue)
Extension messages associated with the CapabilityResponse.
|
CapabilityResponse.Builder |
addExtension(Extension value)
Extension messages associated with the CapabilityResponse.
|
CapabilityResponse.Builder |
addExtension(int index,
Extension.Builder builderForValue)
Extension messages associated with the CapabilityResponse.
|
CapabilityResponse.Builder |
addExtension(int index,
Extension value)
Extension messages associated with the CapabilityResponse.
|
Extension.Builder |
addExtensionBuilder()
Extension messages associated with the CapabilityResponse.
|
Extension.Builder |
addExtensionBuilder(int index)
Extension messages associated with the CapabilityResponse.
|
CapabilityResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CapabilityResponse.Builder |
addSupportedEncodings(Encoding value)
Supported encodings.
|
CapabilityResponse.Builder |
addSupportedEncodingsValue(int value)
Supported encodings.
|
CapabilityResponse.Builder |
addSupportedModels(int index,
ModelData.Builder builderForValue)
Supported schema models.
|
CapabilityResponse.Builder |
addSupportedModels(int index,
ModelData value)
Supported schema models.
|
CapabilityResponse.Builder |
addSupportedModels(ModelData.Builder builderForValue)
Supported schema models.
|
CapabilityResponse.Builder |
addSupportedModels(ModelData value)
Supported schema models.
|
ModelData.Builder |
addSupportedModelsBuilder()
Supported schema models.
|
ModelData.Builder |
addSupportedModelsBuilder(int index)
Supported schema models.
|
CapabilityResponse |
build() |
CapabilityResponse |
buildPartial() |
CapabilityResponse.Builder |
clear() |
CapabilityResponse.Builder |
clearExtension()
Extension messages associated with the CapabilityResponse.
|
CapabilityResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CapabilityResponse.Builder |
clearGNMIVersion()
Supported gNMI version.
|
CapabilityResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CapabilityResponse.Builder |
clearSupportedEncodings()
Supported encodings.
|
CapabilityResponse.Builder |
clearSupportedModels()
Supported schema models.
|
CapabilityResponse.Builder |
clone() |
CapabilityResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Extension |
getExtension(int index)
Extension messages associated with the CapabilityResponse.
|
Extension.Builder |
getExtensionBuilder(int index)
Extension messages associated with the CapabilityResponse.
|
List<Extension.Builder> |
getExtensionBuilderList()
Extension messages associated with the CapabilityResponse.
|
int |
getExtensionCount()
Extension messages associated with the CapabilityResponse.
|
List<Extension> |
getExtensionList()
Extension messages associated with the CapabilityResponse.
|
ExtensionOrBuilder |
getExtensionOrBuilder(int index)
Extension messages associated with the CapabilityResponse.
|
List<? extends ExtensionOrBuilder> |
getExtensionOrBuilderList()
Extension messages associated with the CapabilityResponse.
|
String |
getGNMIVersion()
Supported gNMI version.
|
com.google.protobuf.ByteString |
getGNMIVersionBytes()
Supported gNMI version.
|
Encoding |
getSupportedEncodings(int index)
Supported encodings.
|
int |
getSupportedEncodingsCount()
Supported encodings.
|
List<Encoding> |
getSupportedEncodingsList()
Supported encodings.
|
int |
getSupportedEncodingsValue(int index)
Supported encodings.
|
List<Integer> |
getSupportedEncodingsValueList()
Supported encodings.
|
ModelData |
getSupportedModels(int index)
Supported schema models.
|
ModelData.Builder |
getSupportedModelsBuilder(int index)
Supported schema models.
|
List<ModelData.Builder> |
getSupportedModelsBuilderList()
Supported schema models.
|
int |
getSupportedModelsCount()
Supported schema models.
|
List<ModelData> |
getSupportedModelsList()
Supported schema models.
|
ModelDataOrBuilder |
getSupportedModelsOrBuilder(int index)
Supported schema models.
|
List<? extends ModelDataOrBuilder> |
getSupportedModelsOrBuilderList()
Supported schema models.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CapabilityResponse.Builder |
mergeFrom(CapabilityResponse other) |
CapabilityResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CapabilityResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
CapabilityResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CapabilityResponse.Builder |
removeExtension(int index)
Extension messages associated with the CapabilityResponse.
|
CapabilityResponse.Builder |
removeSupportedModels(int index)
Supported schema models.
|
CapabilityResponse.Builder |
setExtension(int index,
Extension.Builder builderForValue)
Extension messages associated with the CapabilityResponse.
|
CapabilityResponse.Builder |
setExtension(int index,
Extension value)
Extension messages associated with the CapabilityResponse.
|
CapabilityResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CapabilityResponse.Builder |
setGNMIVersion(String value)
Supported gNMI version.
|
CapabilityResponse.Builder |
setGNMIVersionBytes(com.google.protobuf.ByteString value)
Supported gNMI version.
|
CapabilityResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CapabilityResponse.Builder |
setSupportedEncodings(int index,
Encoding value)
Supported encodings.
|
CapabilityResponse.Builder |
setSupportedEncodingsValue(int index,
int value)
Supported encodings.
|
CapabilityResponse.Builder |
setSupportedModels(int index,
ModelData.Builder builderForValue)
Supported schema models.
|
CapabilityResponse.Builder |
setSupportedModels(int index,
ModelData value)
Supported schema models.
|
CapabilityResponse.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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityResponse.Builder>public CapabilityResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityResponse.Builder>public CapabilityResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CapabilityResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CapabilityResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CapabilityResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityResponse.Builder>public CapabilityResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityResponse.Builder>public CapabilityResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityResponse.Builder>public CapabilityResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityResponse.Builder>public CapabilityResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityResponse.Builder>public CapabilityResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityResponse.Builder>public CapabilityResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CapabilityResponse.Builder>public CapabilityResponse.Builder mergeFrom(CapabilityResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityResponse.Builder>public CapabilityResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CapabilityResponse.Builder>IOExceptionpublic List<ModelData> getSupportedModelsList()
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;getSupportedModelsList in interface CapabilityResponseOrBuilderpublic int getSupportedModelsCount()
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;getSupportedModelsCount in interface CapabilityResponseOrBuilderpublic ModelData getSupportedModels(int index)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;getSupportedModels in interface CapabilityResponseOrBuilderpublic CapabilityResponse.Builder setSupportedModels(int index, ModelData value)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;public CapabilityResponse.Builder setSupportedModels(int index, ModelData.Builder builderForValue)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;public CapabilityResponse.Builder addSupportedModels(ModelData value)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;public CapabilityResponse.Builder addSupportedModels(int index, ModelData value)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;public CapabilityResponse.Builder addSupportedModels(ModelData.Builder builderForValue)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;public CapabilityResponse.Builder addSupportedModels(int index, ModelData.Builder builderForValue)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;public CapabilityResponse.Builder addAllSupportedModels(Iterable<? extends ModelData> values)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;public CapabilityResponse.Builder clearSupportedModels()
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;public CapabilityResponse.Builder removeSupportedModels(int index)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;public ModelData.Builder getSupportedModelsBuilder(int index)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;public ModelDataOrBuilder getSupportedModelsOrBuilder(int index)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;getSupportedModelsOrBuilder in interface CapabilityResponseOrBuilderpublic List<? extends ModelDataOrBuilder> getSupportedModelsOrBuilderList()
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;getSupportedModelsOrBuilderList in interface CapabilityResponseOrBuilderpublic ModelData.Builder addSupportedModelsBuilder()
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;public ModelData.Builder addSupportedModelsBuilder(int index)
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;public List<ModelData.Builder> getSupportedModelsBuilderList()
Supported schema models.
repeated .gnmi.ModelData supported_models = 1;public List<Encoding> getSupportedEncodingsList()
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;getSupportedEncodingsList in interface CapabilityResponseOrBuilderpublic int getSupportedEncodingsCount()
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;getSupportedEncodingsCount in interface CapabilityResponseOrBuilderpublic Encoding getSupportedEncodings(int index)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;getSupportedEncodings in interface CapabilityResponseOrBuilderpublic CapabilityResponse.Builder setSupportedEncodings(int index, Encoding value)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;public CapabilityResponse.Builder addSupportedEncodings(Encoding value)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;public CapabilityResponse.Builder addAllSupportedEncodings(Iterable<? extends Encoding> values)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;public CapabilityResponse.Builder clearSupportedEncodings()
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;public List<Integer> getSupportedEncodingsValueList()
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;getSupportedEncodingsValueList in interface CapabilityResponseOrBuilderpublic int getSupportedEncodingsValue(int index)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;getSupportedEncodingsValue in interface CapabilityResponseOrBuilderpublic CapabilityResponse.Builder setSupportedEncodingsValue(int index, int value)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;public CapabilityResponse.Builder addSupportedEncodingsValue(int value)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;public CapabilityResponse.Builder addAllSupportedEncodingsValue(Iterable<Integer> values)
Supported encodings.
repeated .gnmi.Encoding supported_encodings = 2;public String getGNMIVersion()
Supported gNMI version.
string gNMI_version = 3;getGNMIVersion in interface CapabilityResponseOrBuilderpublic com.google.protobuf.ByteString getGNMIVersionBytes()
Supported gNMI version.
string gNMI_version = 3;getGNMIVersionBytes in interface CapabilityResponseOrBuilderpublic CapabilityResponse.Builder setGNMIVersion(String value)
Supported gNMI version.
string gNMI_version = 3;public CapabilityResponse.Builder clearGNMIVersion()
Supported gNMI version.
string gNMI_version = 3;public CapabilityResponse.Builder setGNMIVersionBytes(com.google.protobuf.ByteString value)
Supported gNMI version.
string gNMI_version = 3;public List<Extension> getExtensionList()
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;getExtensionList in interface CapabilityResponseOrBuilderpublic int getExtensionCount()
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;getExtensionCount in interface CapabilityResponseOrBuilderpublic Extension getExtension(int index)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;getExtension in interface CapabilityResponseOrBuilderpublic CapabilityResponse.Builder setExtension(int index, Extension value)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;public CapabilityResponse.Builder setExtension(int index, Extension.Builder builderForValue)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;public CapabilityResponse.Builder addExtension(Extension value)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;public CapabilityResponse.Builder addExtension(int index, Extension value)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;public CapabilityResponse.Builder addExtension(Extension.Builder builderForValue)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;public CapabilityResponse.Builder addExtension(int index, Extension.Builder builderForValue)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;public CapabilityResponse.Builder addAllExtension(Iterable<? extends Extension> values)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;public CapabilityResponse.Builder clearExtension()
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;public 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;public 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;public ExtensionOrBuilder getExtensionOrBuilder(int index)
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;getExtensionOrBuilder in interface CapabilityResponseOrBuilderpublic List<? extends ExtensionOrBuilder> getExtensionOrBuilderList()
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;getExtensionOrBuilderList in interface CapabilityResponseOrBuilderpublic Extension.Builder addExtensionBuilder()
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;public 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;public List<Extension.Builder> getExtensionBuilderList()
Extension messages associated with the CapabilityResponse. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 4;public final CapabilityResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityResponse.Builder>public final CapabilityResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityResponse.Builder>Copyright © 2018 OpenDaylight. All rights reserved.