Class RpcPluginInfo

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, RpcPluginInfoOrBuilder

    public final class RpcPluginInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements RpcPluginInfoOrBuilder
    
     Message that is used to describe the extraction plugin,
     used as reply in the the info() call.
     
    Protobuf type org.hansken.extraction.plugin.grpc.RpcPluginInfo
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getTypeValue

        public int getTypeValue()
        .org.hansken.extraction.plugin.grpc.RpcPluginType type = 1;
        Specified by:
        getTypeValue in interface RpcPluginInfoOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • getApiVersionBytes

        public com.google.protobuf.ByteString getApiVersionBytes()
        string apiVersion = 2;
        Specified by:
        getApiVersionBytes in interface RpcPluginInfoOrBuilder
        Returns:
        The bytes for apiVersion.
      • getName

        @Deprecated
        public String getName()
        Deprecated.
        org.hansken.extraction.plugin.grpc.RpcPluginInfo.name is deprecated. See hansken_extraction_plugin/framework/DataMessages.proto;l=44
        
         The name of the plugin.
         @deprecated since version 0.3.1: use id instead.
         
        string name = 3 [deprecated = true];
        Specified by:
        getName in interface RpcPluginInfoOrBuilder
        Returns:
        The name.
      • getNameBytes

        @Deprecated
        public com.google.protobuf.ByteString getNameBytes()
        Deprecated.
        org.hansken.extraction.plugin.grpc.RpcPluginInfo.name is deprecated. See hansken_extraction_plugin/framework/DataMessages.proto;l=44
        
         The name of the plugin.
         @deprecated since version 0.3.1: use id instead.
         
        string name = 3 [deprecated = true];
        Specified by:
        getNameBytes in interface RpcPluginInfoOrBuilder
        Returns:
        The bytes for name.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
        string version = 4;
        Specified by:
        getVersionBytes in interface RpcPluginInfoOrBuilder
        Returns:
        The bytes for version.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
        string description = 5;
        Specified by:
        getDescriptionBytes in interface RpcPluginInfoOrBuilder
        Returns:
        The bytes for description.
      • hasAuthor

        public boolean hasAuthor()
        .org.hansken.extraction.plugin.grpc.RpcAuthor author = 6;
        Specified by:
        hasAuthor in interface RpcPluginInfoOrBuilder
        Returns:
        Whether the author field is set.
      • getMaturityValue

        public int getMaturityValue()
        .org.hansken.extraction.plugin.grpc.RpcMaturity maturity = 7;
        Specified by:
        getMaturityValue in interface RpcPluginInfoOrBuilder
        Returns:
        The enum numeric value on the wire for maturity.
      • getMatcher

        public String getMatcher()
        
         A Matcher specifies which traces can be processed by an extraction plugin.
         A Matcher is written in HQL-Lite syntax.
         
        string matcher = 8;
        Specified by:
        getMatcher in interface RpcPluginInfoOrBuilder
        Returns:
        The matcher.
      • getMatcherBytes

        public com.google.protobuf.ByteString getMatcherBytes()
        
         A Matcher specifies which traces can be processed by an extraction plugin.
         A Matcher is written in HQL-Lite syntax.
         
        string matcher = 8;
        Specified by:
        getMatcherBytes in interface RpcPluginInfoOrBuilder
        Returns:
        The bytes for matcher.
      • getWebpageUrl

        public String getWebpageUrl()
         URL to a webpage that belongs to this plugin. This can also be a link to a webpage of the git repository of the remote plugin. 
         
        string webpageUrl = 9;
        Specified by:
        getWebpageUrl in interface RpcPluginInfoOrBuilder
        Returns:
        The webpageUrl.
      • getWebpageUrlBytes

        public com.google.protobuf.ByteString getWebpageUrlBytes()
         URL to a webpage that belongs to this plugin. This can also be a link to a webpage of the git repository of the remote plugin. 
         
        string webpageUrl = 9;
        Specified by:
        getWebpageUrlBytes in interface RpcPluginInfoOrBuilder
        Returns:
        The bytes for webpageUrl.
      • getDeferredIterations

        public int getDeferredIterations()
        
         When using a deferred extraction plugin, this number indicates the maximum number of iterations the process step is deferred.
         This value should be between 1 and 20. It is ignored for other types of extraction plugins.
         
        int32 deferredIterations = 10;
        Specified by:
        getDeferredIterations in interface RpcPluginInfoOrBuilder
        Returns:
        The deferredIterations.
      • hasId

        public boolean hasId()
        .org.hansken.extraction.plugin.grpc.RpcPluginIdentifier id = 11;
        Specified by:
        hasId in interface RpcPluginInfoOrBuilder
        Returns:
        Whether the id field is set.
      • getLicense

        public String getLicense()
        
         The licence name of the plugin. For example 'Apache License 2.0'.
         
        string license = 13;
        Specified by:
        getLicense in interface RpcPluginInfoOrBuilder
        Returns:
        The license.
      • getLicenseBytes

        public com.google.protobuf.ByteString getLicenseBytes()
        
         The licence name of the plugin. For example 'Apache License 2.0'.
         
        string license = 13;
        Specified by:
        getLicenseBytes in interface RpcPluginInfoOrBuilder
        Returns:
        The bytes for license.
      • hasResources

        public boolean hasResources()
        .org.hansken.extraction.plugin.grpc.RpcPluginResources resources = 14;
        Specified by:
        hasResources in interface RpcPluginInfoOrBuilder
        Returns:
        Whether the resources field is set.
      • getTransformersCount

        public int getTransformersCount()
        
         Available transformers.
         
        repeated .org.hansken.extraction.plugin.grpc.RpcTransformer transformers = 15;
        Specified by:
        getTransformersCount in interface RpcPluginInfoOrBuilder
      • getModelBytes

        public com.google.protobuf.ByteString getModelBytes()
        
         Model used by the plugin.
         
        string model = 16;
        Specified by:
        getModelBytes in interface RpcPluginInfoOrBuilder
        Returns:
        The bytes for model.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static RpcPluginInfo parseFrom​(ByteBuffer data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RpcPluginInfo parseFrom​(ByteBuffer data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RpcPluginInfo parseFrom​(com.google.protobuf.ByteString data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RpcPluginInfo parseFrom​(com.google.protobuf.ByteString data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RpcPluginInfo parseFrom​(byte[] data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RpcPluginInfo parseFrom​(byte[] data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RpcPluginInfo parseFrom​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
        Throws:
        IOException
      • newBuilderForType

        public RpcPluginInfo.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public RpcPluginInfo.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected RpcPluginInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static RpcPluginInfo getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<RpcPluginInfo> parser()
      • getParserForType

        public com.google.protobuf.Parser<RpcPluginInfo> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public RpcPluginInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder