# Interface AnalyzerDefinitionOrBuilder (0.50.0)

0.50.0 (latest) 0.48.0 0.45.0 0.44.0 0.42.0 0.40.0 0.39.0 0.37.0 0.35.0 0.33.0 0.32.0 0.31.0 0.30.0 0.29.0 0.27.0 0.25.0 0.24.0 0.21.0 0.20.0 0.19.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface AnalyzerDefinitionOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## 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` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getAnalyzer()

    public abstract String getAnalyzer()

The name of this analyzer.

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

`string analyzer = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The analyzer. |

### getAnalyzerBytes()

    public abstract ByteString getAnalyzerBytes()

The name of this analyzer.

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

`string analyzer = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for analyzer. |

### getAttrs() (deprecated)

    public abstract Map<String,AttributeValue> getAttrs()

Use [#getAttrsMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.AnalyzerDefinitionOrBuilder#com_google_cloud_visionai_v1_AnalyzerDefinitionOrBuilder_getAttrsMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.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` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.AttributeValue` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.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` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.AttributeValue` |   |

### getDebugOptions()

    public abstract AnalyzerDefinition.DebugOptions getDebugOptions()

Debug options.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions` | The debugOptions. |

### getDebugOptionsOrBuilder()

    public abstract AnalyzerDefinition.DebugOptionsOrBuilder getDebugOptionsOrBuilder()

Debug options.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.AnalyzerDefinition.StreamInput` |   |

### getInputsCount()

    public abstract int getInputsCount()

Input streams.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getInputsList()

    public abstract List<AnalyzerDefinition.StreamInput> getInputsList()

Input streams.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.AnalyzerDefinition.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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.AnalyzerDefinition.StreamInputOrBuilder` |   |

### getInputsOrBuilderList()

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

Input streams.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for operator. |

### getOperatorOption()

    public abstract AnalyzerDefinition.OperatorOption getOperatorOption()

Operator option.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption` | The operatorOption. |

### getOperatorOptionOrBuilder()

    public abstract AnalyzerDefinition.OperatorOptionOrBuilder getOperatorOptionOrBuilder()

Operator option.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOptionOrBuilder` |   |

### hasDebugOptions()

    public abstract boolean hasDebugOptions()

Debug options.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the operatorOption field is set. |