Package com.google.cloud.visionai.v1
Class AnalyzerDefinition
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.AnalyzerDefinition
- All Implemented Interfaces:
AnalyzerDefinitionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AnalyzerDefinition
extends com.google.protobuf.GeneratedMessage
implements AnalyzerDefinitionOrBuilder
Defines an Analyzer. An analyzer processes data from its input streams using the logic defined in the Operator that it represents. Of course, it produces data for the output streams declared in the Operator.Protobuf type
google.cloud.visionai.v1.AnalyzerDefinition- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefines an Analyzer.static final classOptions available for debugging purposes only.static interfacestatic final classOption related to the operator.static interfacestatic final classThe inputs to this analyzer.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested 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 intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsAttrs(String key) The attribute values that this analyzer applies to the operator.booleanThe name of this analyzer.com.google.protobuf.ByteStringThe name of this analyzer.getAttrs()Deprecated.intThe attribute values that this analyzer applies to the operator.The attribute values that this analyzer applies to the operator.getAttrsOrDefault(String key, AttributeValue defaultValue) The attribute values that this analyzer applies to the operator.getAttrsOrThrow(String key) The attribute values that this analyzer applies to the operator.Debug options.Debug options.static AnalyzerDefinitionstatic final com.google.protobuf.Descriptors.DescriptorgetInputs(int index) Input streams.intInput streams.Input streams.getInputsOrBuilder(int index) Input streams.List<? extends AnalyzerDefinition.StreamInputOrBuilder>Input streams.The name of the operator that this analyzer runs.com.google.protobuf.ByteStringThe name of the operator that this analyzer runs.Operator option.Operator option.com.google.protobuf.Parser<AnalyzerDefinition>intbooleanDebug options.inthashCode()booleanOperator option.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic AnalyzerDefinition.Builderstatic AnalyzerDefinition.BuildernewBuilder(AnalyzerDefinition prototype) protected AnalyzerDefinition.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AnalyzerDefinitionparseDelimitedFrom(InputStream input) static AnalyzerDefinitionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnalyzerDefinitionparseFrom(byte[] data) static AnalyzerDefinitionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnalyzerDefinitionparseFrom(com.google.protobuf.ByteString data) static AnalyzerDefinitionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnalyzerDefinitionparseFrom(com.google.protobuf.CodedInputStream input) static AnalyzerDefinitionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnalyzerDefinitionparseFrom(InputStream input) static AnalyzerDefinitionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnalyzerDefinitionparseFrom(ByteBuffer data) static AnalyzerDefinitionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AnalyzerDefinition>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
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
-
ANALYZER_FIELD_NUMBER
public static final int ANALYZER_FIELD_NUMBER- See Also:
-
OPERATOR_FIELD_NUMBER
public static final int OPERATOR_FIELD_NUMBER- See Also:
-
INPUTS_FIELD_NUMBER
public static final int INPUTS_FIELD_NUMBER- See Also:
-
ATTRS_FIELD_NUMBER
public static final int ATTRS_FIELD_NUMBER- See Also:
-
DEBUG_OPTIONS_FIELD_NUMBER
public static final int DEBUG_OPTIONS_FIELD_NUMBER- See Also:
-
OPERATOR_OPTION_FIELD_NUMBER
public static final int OPERATOR_OPTION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAnalyzer
The name of this analyzer. Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*.
string analyzer = 1;- Specified by:
getAnalyzerin interfaceAnalyzerDefinitionOrBuilder- Returns:
- The analyzer.
-
getAnalyzerBytes
public com.google.protobuf.ByteString getAnalyzerBytes()The name of this analyzer. Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*.
string analyzer = 1;- Specified by:
getAnalyzerBytesin interfaceAnalyzerDefinitionOrBuilder- Returns:
- The bytes for analyzer.
-
getOperator
The name of the operator that this analyzer runs. Must match the name of a supported operator.
string operator = 2;- Specified by:
getOperatorin interfaceAnalyzerDefinitionOrBuilder- Returns:
- The operator.
-
getOperatorBytes
public com.google.protobuf.ByteString getOperatorBytes()The name of the operator that this analyzer runs. Must match the name of a supported operator.
string operator = 2;- Specified by:
getOperatorBytesin interfaceAnalyzerDefinitionOrBuilder- Returns:
- The bytes for operator.
-
getInputsList
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;- Specified by:
getInputsListin interfaceAnalyzerDefinitionOrBuilder
-
getInputsOrBuilderList
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;- Specified by:
getInputsOrBuilderListin interfaceAnalyzerDefinitionOrBuilder
-
getInputsCount
public int getInputsCount()Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;- Specified by:
getInputsCountin interfaceAnalyzerDefinitionOrBuilder
-
getInputs
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;- Specified by:
getInputsin interfaceAnalyzerDefinitionOrBuilder
-
getInputsOrBuilder
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;- Specified by:
getInputsOrBuilderin interfaceAnalyzerDefinitionOrBuilder
-
getAttrsCount
public int getAttrsCount()Description copied from interface:AnalyzerDefinitionOrBuilderThe attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;- Specified by:
getAttrsCountin interfaceAnalyzerDefinitionOrBuilder
-
containsAttrs
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;- Specified by:
containsAttrsin interfaceAnalyzerDefinitionOrBuilder
-
getAttrs
Deprecated.UsegetAttrsMap()instead.- Specified by:
getAttrsin interfaceAnalyzerDefinitionOrBuilder
-
getAttrsMap
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;- Specified by:
getAttrsMapin interfaceAnalyzerDefinitionOrBuilder
-
getAttrsOrDefault
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;- Specified by:
getAttrsOrDefaultin interfaceAnalyzerDefinitionOrBuilder
-
getAttrsOrThrow
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;- Specified by:
getAttrsOrThrowin interfaceAnalyzerDefinitionOrBuilder
-
hasDebugOptions
public boolean hasDebugOptions()Debug options.
.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;- Specified by:
hasDebugOptionsin interfaceAnalyzerDefinitionOrBuilder- Returns:
- Whether the debugOptions field is set.
-
getDebugOptions
Debug options.
.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;- Specified by:
getDebugOptionsin interfaceAnalyzerDefinitionOrBuilder- Returns:
- The debugOptions.
-
getDebugOptionsOrBuilder
Debug options.
.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;- Specified by:
getDebugOptionsOrBuilderin interfaceAnalyzerDefinitionOrBuilder
-
hasOperatorOption
public boolean hasOperatorOption()Operator option.
.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6;- Specified by:
hasOperatorOptionin interfaceAnalyzerDefinitionOrBuilder- Returns:
- Whether the operatorOption field is set.
-
getOperatorOption
Operator option.
.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6;- Specified by:
getOperatorOptionin interfaceAnalyzerDefinitionOrBuilder- Returns:
- The operatorOption.
-
getOperatorOptionOrBuilder
Operator option.
.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6;- Specified by:
getOperatorOptionOrBuilderin interfaceAnalyzerDefinitionOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
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 AnalyzerDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzerDefinition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzerDefinition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzerDefinition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzerDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzerDefinition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AnalyzerDefinition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AnalyzerDefinition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AnalyzerDefinition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AnalyzerDefinition 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 AnalyzerDefinition.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-