public final class AnalyzerDefinition extends GeneratedMessageV3 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.events.cloud.visionai.v1.AnalyzerDefinition
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ANALYZER_FIELD_NUMBER
public static final int ANALYZER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ATTRS_FIELD_NUMBER
public static final int ATTRS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DEBUG_OPTIONS_FIELD_NUMBER
public static final int DEBUG_OPTIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int INPUTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OPERATOR_FIELD_NUMBER
public static final int OPERATOR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AnalyzerDefinition getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AnalyzerDefinition.Builder newBuilder()
newBuilder(AnalyzerDefinition prototype)
public static AnalyzerDefinition.Builder newBuilder(AnalyzerDefinition prototype)
public static AnalyzerDefinition parseDelimitedFrom(InputStream input)
public static AnalyzerDefinition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AnalyzerDefinition parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnalyzerDefinition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AnalyzerDefinition parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalyzerDefinition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalyzerDefinition parseFrom(CodedInputStream input)
public static AnalyzerDefinition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AnalyzerDefinition parseFrom(InputStream input)
public static AnalyzerDefinition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AnalyzerDefinition parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnalyzerDefinition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AnalyzerDefinition> parser()
Methods
containsAttrs(String key)
public boolean containsAttrs(String key)
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.events.cloud.visionai.v1.AttributeValue> attrs = 4;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAnalyzer()
public String getAnalyzer()
The name of this analyzer.
Tentatively a-z(_[a-z0-9]+).
string analyzer = 1;
Returns |
Type |
Description |
String |
The analyzer.
|
getAnalyzerBytes()
public ByteString getAnalyzerBytes()
The name of this analyzer.
Tentatively a-z(_[a-z0-9]+).
string analyzer = 1;
Returns |
Type |
Description |
ByteString |
The bytes for analyzer.
|
getAttrs()
public Map<String,AttributeValue> getAttrs()
getAttrsCount()
public int getAttrsCount()
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.events.cloud.visionai.v1.AttributeValue> attrs = 4;
Returns |
Type |
Description |
int |
|
getAttrsMap()
public Map<String,AttributeValue> 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.events.cloud.visionai.v1.AttributeValue> attrs = 4;
getAttrsOrDefault(String key, AttributeValue defaultValue)
public AttributeValue getAttrsOrDefault(String key, AttributeValue defaultValue)
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.events.cloud.visionai.v1.AttributeValue> attrs = 4;
getAttrsOrThrow(String key)
public AttributeValue getAttrsOrThrow(String key)
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.events.cloud.visionai.v1.AttributeValue> attrs = 4;
Parameter |
Name |
Description |
key |
String
|
getDebugOptions()
public AnalyzerDefinition.DebugOptions getDebugOptions()
Debug options.
.google.events.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;
getDebugOptionsOrBuilder()
public AnalyzerDefinition.DebugOptionsOrBuilder getDebugOptionsOrBuilder()
Debug options.
.google.events.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;
getDefaultInstanceForType()
public AnalyzerDefinition getDefaultInstanceForType()
public AnalyzerDefinition.StreamInput getInputs(int index)
Input streams.
repeated .google.events.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;
Parameter |
Name |
Description |
index |
int
|
public int getInputsCount()
Input streams.
repeated .google.events.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;
Returns |
Type |
Description |
int |
|
public List<AnalyzerDefinition.StreamInput> getInputsList()
Input streams.
repeated .google.events.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;
public AnalyzerDefinition.StreamInputOrBuilder getInputsOrBuilder(int index)
Input streams.
repeated .google.events.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;
Parameter |
Name |
Description |
index |
int
|
public List<? extends AnalyzerDefinition.StreamInputOrBuilder> getInputsOrBuilderList()
Input streams.
repeated .google.events.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;
Returns |
Type |
Description |
List<? extends com.google.events.cloud.visionai.v1.AnalyzerDefinition.StreamInputOrBuilder> |
|
getOperator()
public String getOperator()
The name of the operator that this analyzer runs.
Must match the name of a supported operator.
string operator = 2;
Returns |
Type |
Description |
String |
The operator.
|
getOperatorBytes()
public ByteString getOperatorBytes()
The name of the operator that this analyzer runs.
Must match the name of a supported operator.
string operator = 2;
Returns |
Type |
Description |
ByteString |
The bytes for operator.
|
getParserForType()
public Parser<AnalyzerDefinition> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasDebugOptions()
public boolean hasDebugOptions()
Debug options.
.google.events.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;
Returns |
Type |
Description |
boolean |
Whether the debugOptions field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AnalyzerDefinition.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnalyzerDefinition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AnalyzerDefinition.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides