Interface AnalyzerDefinitionOrBuilder (0.6.0)

public interface AnalyzerDefinitionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAttrs(String key)

public abstract 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.cloud.visionai.v1.AttributeValue> attrs = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAnalyzer()

public abstract String getAnalyzer()

The name of this analyzer.

Tentatively a-z(_[a-z0-9]+).

string analyzer = 1;

Returns
Type Description
String

The analyzer.

getAnalyzerBytes()

public abstract 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() (deprecated)

public abstract Map<String,AttributeValue> getAttrs()

Use #getAttrsMap() instead.

Returns
Type Description
Map<String,AttributeValue>

getAttrsCount()

public abstract 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.cloud.visionai.v1.AttributeValue> attrs = 4;

Returns
Type Description
int

getAttrsMap()

public abstract 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.cloud.visionai.v1.AttributeValue> attrs = 4;

Returns
Type Description
Map<String,AttributeValue>

getAttrsOrDefault(String key, AttributeValue defaultValue)

public abstract 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.cloud.visionai.v1.AttributeValue> attrs = 4;

Parameters
Name Description
key String
defaultValue AttributeValue
Returns
Type Description
AttributeValue

getAttrsOrThrow(String key)

public abstract 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.cloud.visionai.v1.AttributeValue> attrs = 4;

Parameter
Name Description
key String
Returns
Type Description
AttributeValue

getDebugOptions()

public abstract AnalyzerDefinition.DebugOptions getDebugOptions()

Debug options.

.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;

Returns
Type Description
AnalyzerDefinition.DebugOptions

The debugOptions.

getDebugOptionsOrBuilder()

public abstract AnalyzerDefinition.DebugOptionsOrBuilder getDebugOptionsOrBuilder()

Debug options.

.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;

Returns
Type Description
AnalyzerDefinition.DebugOptionsOrBuilder

getInputs(int index)

public abstract AnalyzerDefinition.StreamInput getInputs(int index)

Input streams.

repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;

Parameter
Name Description
index int
Returns
Type Description
AnalyzerDefinition.StreamInput

getInputsCount()

public abstract int getInputsCount()

Input streams.

repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;

Returns
Type Description
int

getInputsList()

public abstract List<AnalyzerDefinition.StreamInput> getInputsList()

Input streams.

repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;

Returns
Type Description
List<StreamInput>

getInputsOrBuilder(int index)

public abstract AnalyzerDefinition.StreamInputOrBuilder getInputsOrBuilder(int index)

Input streams.

repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;

Parameter
Name Description
index int
Returns
Type Description
AnalyzerDefinition.StreamInputOrBuilder

getInputsOrBuilderList()

public abstract List<? extends AnalyzerDefinition.StreamInputOrBuilder> getInputsOrBuilderList()

Input streams.

repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.AnalyzerDefinition.StreamInputOrBuilder>

getOperator()

public abstract 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 abstract 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.

getOperatorOption()

public abstract AnalyzerDefinition.OperatorOption getOperatorOption()

Operator option.

.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6;

Returns
Type Description
AnalyzerDefinition.OperatorOption

The operatorOption.

getOperatorOptionOrBuilder()

public abstract AnalyzerDefinition.OperatorOptionOrBuilder getOperatorOptionOrBuilder()

Operator option.

.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6;

Returns
Type Description
AnalyzerDefinition.OperatorOptionOrBuilder

hasDebugOptions()

public abstract boolean hasDebugOptions()

Debug options.

.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;

Returns
Type Description
boolean

Whether the debugOptions field is set.

hasOperatorOption()

public abstract boolean hasOperatorOption()

Operator option.

.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6;

Returns
Type Description
boolean

Whether the operatorOption field is set.