Class RpcPluginInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.hansken.extraction.plugin.grpc.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 typeorg.hansken.extraction.plugin.grpc.RpcPluginInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRpcPluginInfo.BuilderMessage that is used to describe the extraction plugin, used as reply in the the info() call.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAPIVERSION_FIELD_NUMBERstatic intAUTHOR_FIELD_NUMBERstatic intDEFERREDITERATIONS_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intLICENSE_FIELD_NUMBERstatic intMATCHER_FIELD_NUMBERstatic intMATURITY_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intRESOURCES_FIELD_NUMBERstatic intTYPE_FIELD_NUMBERstatic intVERSION_FIELD_NUMBERstatic intWEBPAGEURL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)StringgetApiVersion()string apiVersion = 2;com.google.protobuf.ByteStringgetApiVersionBytes()string apiVersion = 2;RpcAuthorgetAuthor().org.hansken.extraction.plugin.grpc.RpcAuthor author = 6;RpcAuthorOrBuildergetAuthorOrBuilder().org.hansken.extraction.plugin.grpc.RpcAuthor author = 6;static RpcPluginInfogetDefaultInstance()RpcPluginInfogetDefaultInstanceForType()intgetDeferredIterations()When using a deferred extraction plugin, this number indicates the maximum number of iterations the process step is deferred.StringgetDescription()string description = 5;com.google.protobuf.ByteStringgetDescriptionBytes()string description = 5;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()RpcPluginIdentifiergetId().org.hansken.extraction.plugin.grpc.RpcPluginIdentifier id = 11;RpcPluginIdentifierOrBuildergetIdOrBuilder().org.hansken.extraction.plugin.grpc.RpcPluginIdentifier id = 11;StringgetLicense()The licence name of the plugin.com.google.protobuf.ByteStringgetLicenseBytes()The licence name of the plugin.StringgetMatcher()A Matcher specifies which traces can be processed by an extraction plugin.com.google.protobuf.ByteStringgetMatcherBytes()A Matcher specifies which traces can be processed by an extraction plugin.RpcMaturitygetMaturity().org.hansken.extraction.plugin.grpc.RpcMaturity maturity = 7;intgetMaturityValue().org.hansken.extraction.plugin.grpc.RpcMaturity maturity = 7;StringgetName()Deprecated.org.hansken.extraction.plugin.grpc.RpcPluginInfo.name is deprecated.com.google.protobuf.ByteStringgetNameBytes()Deprecated.org.hansken.extraction.plugin.grpc.RpcPluginInfo.name is deprecated.com.google.protobuf.Parser<RpcPluginInfo>getParserForType()RpcPluginResourcesgetResources().org.hansken.extraction.plugin.grpc.RpcPluginResources resources = 14;RpcPluginResourcesOrBuildergetResourcesOrBuilder().org.hansken.extraction.plugin.grpc.RpcPluginResources resources = 14;intgetSerializedSize()RpcPluginTypegetType().org.hansken.extraction.plugin.grpc.RpcPluginType type = 1;intgetTypeValue().org.hansken.extraction.plugin.grpc.RpcPluginType type = 1;com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetVersion()string version = 4;com.google.protobuf.ByteStringgetVersionBytes()string version = 4;StringgetWebpageUrl()URL to a webpage that belongs to this plugin.com.google.protobuf.ByteStringgetWebpageUrlBytes()URL to a webpage that belongs to this plugin.booleanhasAuthor().org.hansken.extraction.plugin.grpc.RpcAuthor author = 6;inthashCode()booleanhasId().org.hansken.extraction.plugin.grpc.RpcPluginIdentifier id = 11;booleanhasResources().org.hansken.extraction.plugin.grpc.RpcPluginResources resources = 14;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RpcPluginInfo.BuildernewBuilder()static RpcPluginInfo.BuildernewBuilder(RpcPluginInfo prototype)RpcPluginInfo.BuildernewBuilderForType()protected RpcPluginInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RpcPluginInfoparseDelimitedFrom(InputStream input)static RpcPluginInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcPluginInfoparseFrom(byte[] data)static RpcPluginInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcPluginInfoparseFrom(com.google.protobuf.ByteString data)static RpcPluginInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcPluginInfoparseFrom(com.google.protobuf.CodedInputStream input)static RpcPluginInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcPluginInfoparseFrom(InputStream input)static RpcPluginInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RpcPluginInfoparseFrom(ByteBuffer data)static RpcPluginInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RpcPluginInfo>parser()RpcPluginInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APIVERSION_FIELD_NUMBER
public static final int APIVERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTHOR_FIELD_NUMBER
public static final int AUTHOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MATURITY_FIELD_NUMBER
public static final int MATURITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MATCHER_FIELD_NUMBER
public static final int MATCHER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WEBPAGEURL_FIELD_NUMBER
public static final int WEBPAGEURL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEFERREDITERATIONS_FIELD_NUMBER
public static final int DEFERREDITERATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LICENSE_FIELD_NUMBER
public static final int LICENSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTypeValue
public int getTypeValue()
.org.hansken.extraction.plugin.grpc.RpcPluginType type = 1;- Specified by:
getTypeValuein interfaceRpcPluginInfoOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public RpcPluginType getType()
.org.hansken.extraction.plugin.grpc.RpcPluginType type = 1;- Specified by:
getTypein interfaceRpcPluginInfoOrBuilder- Returns:
- The type.
-
getApiVersion
public String getApiVersion()
string apiVersion = 2;- Specified by:
getApiVersionin interfaceRpcPluginInfoOrBuilder- Returns:
- The apiVersion.
-
getApiVersionBytes
public com.google.protobuf.ByteString getApiVersionBytes()
string apiVersion = 2;- Specified by:
getApiVersionBytesin interfaceRpcPluginInfoOrBuilder- 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=43The name of the plugin. @deprecated since version 0.3.1: use id instead.
string name = 3 [deprecated = true];- Specified by:
getNamein interfaceRpcPluginInfoOrBuilder- 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=43The name of the plugin. @deprecated since version 0.3.1: use id instead.
string name = 3 [deprecated = true];- Specified by:
getNameBytesin interfaceRpcPluginInfoOrBuilder- Returns:
- The bytes for name.
-
getVersion
public String getVersion()
string version = 4;- Specified by:
getVersionin interfaceRpcPluginInfoOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
string version = 4;- Specified by:
getVersionBytesin interfaceRpcPluginInfoOrBuilder- Returns:
- The bytes for version.
-
getDescription
public String getDescription()
string description = 5;- Specified by:
getDescriptionin interfaceRpcPluginInfoOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
string description = 5;- Specified by:
getDescriptionBytesin interfaceRpcPluginInfoOrBuilder- Returns:
- The bytes for description.
-
hasAuthor
public boolean hasAuthor()
.org.hansken.extraction.plugin.grpc.RpcAuthor author = 6;- Specified by:
hasAuthorin interfaceRpcPluginInfoOrBuilder- Returns:
- Whether the author field is set.
-
getAuthor
public RpcAuthor getAuthor()
.org.hansken.extraction.plugin.grpc.RpcAuthor author = 6;- Specified by:
getAuthorin interfaceRpcPluginInfoOrBuilder- Returns:
- The author.
-
getAuthorOrBuilder
public RpcAuthorOrBuilder getAuthorOrBuilder()
.org.hansken.extraction.plugin.grpc.RpcAuthor author = 6;- Specified by:
getAuthorOrBuilderin interfaceRpcPluginInfoOrBuilder
-
getMaturityValue
public int getMaturityValue()
.org.hansken.extraction.plugin.grpc.RpcMaturity maturity = 7;- Specified by:
getMaturityValuein interfaceRpcPluginInfoOrBuilder- Returns:
- The enum numeric value on the wire for maturity.
-
getMaturity
public RpcMaturity getMaturity()
.org.hansken.extraction.plugin.grpc.RpcMaturity maturity = 7;- Specified by:
getMaturityin interfaceRpcPluginInfoOrBuilder- Returns:
- The 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:
getMatcherin interfaceRpcPluginInfoOrBuilder- 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:
getMatcherBytesin interfaceRpcPluginInfoOrBuilder- 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:
getWebpageUrlin interfaceRpcPluginInfoOrBuilder- 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:
getWebpageUrlBytesin interfaceRpcPluginInfoOrBuilder- 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:
getDeferredIterationsin interfaceRpcPluginInfoOrBuilder- Returns:
- The deferredIterations.
-
hasId
public boolean hasId()
.org.hansken.extraction.plugin.grpc.RpcPluginIdentifier id = 11;- Specified by:
hasIdin interfaceRpcPluginInfoOrBuilder- Returns:
- Whether the id field is set.
-
getId
public RpcPluginIdentifier getId()
.org.hansken.extraction.plugin.grpc.RpcPluginIdentifier id = 11;- Specified by:
getIdin interfaceRpcPluginInfoOrBuilder- Returns:
- The id.
-
getIdOrBuilder
public RpcPluginIdentifierOrBuilder getIdOrBuilder()
.org.hansken.extraction.plugin.grpc.RpcPluginIdentifier id = 11;- Specified by:
getIdOrBuilderin interfaceRpcPluginInfoOrBuilder
-
getLicense
public String getLicense()
The licence name of the plugin. For example 'Apache License 2.0'.
string license = 13;- Specified by:
getLicensein interfaceRpcPluginInfoOrBuilder- 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:
getLicenseBytesin interfaceRpcPluginInfoOrBuilder- Returns:
- The bytes for license.
-
hasResources
public boolean hasResources()
.org.hansken.extraction.plugin.grpc.RpcPluginResources resources = 14;- Specified by:
hasResourcesin interfaceRpcPluginInfoOrBuilder- Returns:
- Whether the resources field is set.
-
getResources
public RpcPluginResources getResources()
.org.hansken.extraction.plugin.grpc.RpcPluginResources resources = 14;- Specified by:
getResourcesin interfaceRpcPluginInfoOrBuilder- Returns:
- The resources.
-
getResourcesOrBuilder
public RpcPluginResourcesOrBuilder getResourcesOrBuilder()
.org.hansken.extraction.plugin.grpc.RpcPluginResources resources = 14;- Specified by:
getResourcesOrBuilderin interfaceRpcPluginInfoOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RpcPluginInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RpcPluginInfo parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RpcPluginInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RpcPluginInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RpcPluginInfo.Builder newBuilder()
-
newBuilder
public static RpcPluginInfo.Builder newBuilder(RpcPluginInfo prototype)
-
toBuilder
public RpcPluginInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RpcPluginInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RpcPluginInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-