Class 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 type gnmi.CapabilityRequest
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
      • clear

        public Gnmi.CapabilityRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
      • getDefaultInstanceForType

        public Gnmi.CapabilityRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Gnmi.CapabilityRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Gnmi.CapabilityRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Gnmi.CapabilityRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
      • clearField

        public Gnmi.CapabilityRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
      • clearOneof

        public Gnmi.CapabilityRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Gnmi.CapabilityRequest.Builder>
        Throws:
        IOException
      • 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 interface Gnmi.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 interface Gnmi.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;
      • 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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>
      • mergeUnknownFields

        public final Gnmi.CapabilityRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.CapabilityRequest.Builder>