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 type
org.hansken.extraction.plugin.grpc.RpcPluginInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMessage 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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstring apiVersion = 2;com.google.protobuf.ByteStringstring apiVersion = 2;.org.hansken.extraction.plugin.grpc.RpcAuthor author = 6;.org.hansken.extraction.plugin.grpc.RpcAuthor author = 6;static RpcPluginInfointWhen using a deferred extraction plugin, this number indicates the maximum number of iterations the process step is deferred.string description = 5;com.google.protobuf.ByteStringstring description = 5;static final com.google.protobuf.Descriptors.DescriptorgetId().org.hansken.extraction.plugin.grpc.RpcPluginIdentifier id = 11;.org.hansken.extraction.plugin.grpc.RpcPluginIdentifier id = 11;The licence name of the plugin.com.google.protobuf.ByteStringThe licence name of the plugin.A Matcher specifies which traces can be processed by an extraction plugin.com.google.protobuf.ByteStringA Matcher specifies which traces can be processed by an extraction plugin..org.hansken.extraction.plugin.grpc.RpcMaturity maturity = 7;int.org.hansken.extraction.plugin.grpc.RpcMaturity maturity = 7;getModel()Model used by the plugin.com.google.protobuf.ByteStringModel used by the plugin.getName()Deprecated.org.hansken.extraction.plugin.grpc.RpcPluginInfo.name is deprecated.com.google.protobuf.ByteStringDeprecated.org.hansken.extraction.plugin.grpc.RpcPluginInfo.name is deprecated.com.google.protobuf.Parser<RpcPluginInfo> .org.hansken.extraction.plugin.grpc.RpcPluginResources resources = 14;.org.hansken.extraction.plugin.grpc.RpcPluginResources resources = 14;intgetTransformers(int index) Available transformers.intAvailable transformers.Available transformers.getTransformersOrBuilder(int index) Available transformers.List<? extends RpcTransformerOrBuilder> Available transformers.getType().org.hansken.extraction.plugin.grpc.RpcPluginType type = 1;int.org.hansken.extraction.plugin.grpc.RpcPluginType type = 1;string version = 4;com.google.protobuf.ByteStringstring version = 4;URL to a webpage that belongs to this plugin.com.google.protobuf.ByteStringURL to a webpage that belongs to this plugin.boolean.org.hansken.extraction.plugin.grpc.RpcAuthor author = 6;inthashCode()booleanhasId().org.hansken.extraction.plugin.grpc.RpcPluginIdentifier id = 11;boolean.org.hansken.extraction.plugin.grpc.RpcPluginResources resources = 14;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic RpcPluginInfo.Builderstatic RpcPluginInfo.BuildernewBuilder(RpcPluginInfo prototype) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
APIVERSION_FIELD_NUMBER
public static final int APIVERSION_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
AUTHOR_FIELD_NUMBER
public static final int AUTHOR_FIELD_NUMBER- See Also:
-
MATURITY_FIELD_NUMBER
public static final int MATURITY_FIELD_NUMBER- See Also:
-
MATCHER_FIELD_NUMBER
public static final int MATCHER_FIELD_NUMBER- See Also:
-
WEBPAGEURL_FIELD_NUMBER
public static final int WEBPAGEURL_FIELD_NUMBER- See Also:
-
DEFERREDITERATIONS_FIELD_NUMBER
public static final int DEFERREDITERATIONS_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
LICENSE_FIELD_NUMBER
public static final int LICENSE_FIELD_NUMBER- See Also:
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER- See Also:
-
TRANSFORMERS_FIELD_NUMBER
public static final int TRANSFORMERS_FIELD_NUMBER- See Also:
-
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
.org.hansken.extraction.plugin.grpc.RpcPluginType type = 1;- Specified by:
getTypein interfaceRpcPluginInfoOrBuilder- Returns:
- The type.
-
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.org.hansken.extraction.plugin.grpc.RpcPluginInfo.name is deprecated. See hansken_extraction_plugin/framework/DataMessages.proto;l=44The 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.org.hansken.extraction.plugin.grpc.RpcPluginInfo.name is deprecated. See hansken_extraction_plugin/framework/DataMessages.proto;l=44The 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
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
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
.org.hansken.extraction.plugin.grpc.RpcAuthor author = 6;- Specified by:
getAuthorin interfaceRpcPluginInfoOrBuilder- Returns:
- The author.
-
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
.org.hansken.extraction.plugin.grpc.RpcMaturity maturity = 7;- Specified by:
getMaturityin interfaceRpcPluginInfoOrBuilder- Returns:
- The maturity.
-
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
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
.org.hansken.extraction.plugin.grpc.RpcPluginIdentifier id = 11;- Specified by:
getIdin interfaceRpcPluginInfoOrBuilder- Returns:
- The id.
-
getIdOrBuilder
.org.hansken.extraction.plugin.grpc.RpcPluginIdentifier id = 11;- Specified by:
getIdOrBuilderin interfaceRpcPluginInfoOrBuilder
-
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
.org.hansken.extraction.plugin.grpc.RpcPluginResources resources = 14;- Specified by:
getResourcesin interfaceRpcPluginInfoOrBuilder- Returns:
- The resources.
-
getResourcesOrBuilder
.org.hansken.extraction.plugin.grpc.RpcPluginResources resources = 14;- Specified by:
getResourcesOrBuilderin interfaceRpcPluginInfoOrBuilder
-
getTransformersList
Available transformers.
repeated .org.hansken.extraction.plugin.grpc.RpcTransformer transformers = 15;- Specified by:
getTransformersListin interfaceRpcPluginInfoOrBuilder
-
getTransformersOrBuilderList
Available transformers.
repeated .org.hansken.extraction.plugin.grpc.RpcTransformer transformers = 15;- Specified by:
getTransformersOrBuilderListin interfaceRpcPluginInfoOrBuilder
-
getTransformersCount
public int getTransformersCount()Available transformers.
repeated .org.hansken.extraction.plugin.grpc.RpcTransformer transformers = 15;- Specified by:
getTransformersCountin interfaceRpcPluginInfoOrBuilder
-
getTransformers
Available transformers.
repeated .org.hansken.extraction.plugin.grpc.RpcTransformer transformers = 15;- Specified by:
getTransformersin interfaceRpcPluginInfoOrBuilder
-
getTransformersOrBuilder
Available transformers.
repeated .org.hansken.extraction.plugin.grpc.RpcTransformer transformers = 15;- Specified by:
getTransformersOrBuilderin interfaceRpcPluginInfoOrBuilder
-
getModel
Model used by the plugin.
string model = 16;- Specified by:
getModelin interfaceRpcPluginInfoOrBuilder- Returns:
- The model.
-
getModelBytes
public com.google.protobuf.ByteString getModelBytes()Model used by the plugin.
string model = 16;- Specified by:
getModelBytesin interfaceRpcPluginInfoOrBuilder- Returns:
- The bytes for model.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- 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
- 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
- Throws:
IOException
-
parseFrom
public static RpcPluginInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-