Class AnalysisDefinition.Builder (0.1.0)

public static final class AnalysisDefinition.Builder extends GeneratedMessageV3.Builder<AnalysisDefinition.Builder> implements AnalysisDefinitionOrBuilder

Defines a full analysis.

This is a description of the overall live analytics pipeline. You may think of this as an edge list representation of a multigraph.

This may be directly authored by a human in protobuf textformat, or it may be generated by a programming API (perhaps Python or JavaScript depending on context).

Protobuf type google.cloud.visionai.v1.AnalysisDefinition

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAnalyzers(Iterable<? extends AnalyzerDefinition> values)

public AnalysisDefinition.Builder addAllAnalyzers(Iterable<? extends AnalyzerDefinition> values)

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.AnalyzerDefinition>
Returns
Type Description
AnalysisDefinition.Builder

addAnalyzers(AnalyzerDefinition value)

public AnalysisDefinition.Builder addAnalyzers(AnalyzerDefinition value)

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Parameter
Name Description
value AnalyzerDefinition
Returns
Type Description
AnalysisDefinition.Builder

addAnalyzers(AnalyzerDefinition.Builder builderForValue)

public AnalysisDefinition.Builder addAnalyzers(AnalyzerDefinition.Builder builderForValue)

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Parameter
Name Description
builderForValue AnalyzerDefinition.Builder
Returns
Type Description
AnalysisDefinition.Builder

addAnalyzers(int index, AnalyzerDefinition value)

public AnalysisDefinition.Builder addAnalyzers(int index, AnalyzerDefinition value)

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Parameters
Name Description
index int
value AnalyzerDefinition
Returns
Type Description
AnalysisDefinition.Builder

addAnalyzers(int index, AnalyzerDefinition.Builder builderForValue)

public AnalysisDefinition.Builder addAnalyzers(int index, AnalyzerDefinition.Builder builderForValue)

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Parameters
Name Description
index int
builderForValue AnalyzerDefinition.Builder
Returns
Type Description
AnalysisDefinition.Builder

addAnalyzersBuilder()

public AnalyzerDefinition.Builder addAnalyzersBuilder()

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Returns
Type Description
AnalyzerDefinition.Builder

addAnalyzersBuilder(int index)

public AnalyzerDefinition.Builder addAnalyzersBuilder(int index)

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzerDefinition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalysisDefinition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalysisDefinition.Builder
Overrides

build()

public AnalysisDefinition build()
Returns
Type Description
AnalysisDefinition

buildPartial()

public AnalysisDefinition buildPartial()
Returns
Type Description
AnalysisDefinition

clear()

public AnalysisDefinition.Builder clear()
Returns
Type Description
AnalysisDefinition.Builder
Overrides

clearAnalyzers()

public AnalysisDefinition.Builder clearAnalyzers()

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Returns
Type Description
AnalysisDefinition.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalysisDefinition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnalysisDefinition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalysisDefinition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnalysisDefinition.Builder
Overrides

clone()

public AnalysisDefinition.Builder clone()
Returns
Type Description
AnalysisDefinition.Builder
Overrides

getAnalyzers(int index)

public AnalyzerDefinition getAnalyzers(int index)

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzerDefinition

getAnalyzersBuilder(int index)

public AnalyzerDefinition.Builder getAnalyzersBuilder(int index)

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzerDefinition.Builder

getAnalyzersBuilderList()

public List<AnalyzerDefinition.Builder> getAnalyzersBuilderList()

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Returns
Type Description
List<Builder>

getAnalyzersCount()

public int getAnalyzersCount()

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Returns
Type Description
int

getAnalyzersList()

public List<AnalyzerDefinition> getAnalyzersList()

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Returns
Type Description
List<AnalyzerDefinition>

getAnalyzersOrBuilder(int index)

public AnalyzerDefinitionOrBuilder getAnalyzersOrBuilder(int index)

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzerDefinitionOrBuilder

getAnalyzersOrBuilderList()

public List<? extends AnalyzerDefinitionOrBuilder> getAnalyzersOrBuilderList()

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

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

getDefaultInstanceForType()

public AnalysisDefinition getDefaultInstanceForType()
Returns
Type Description
AnalysisDefinition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnalysisDefinition other)

public AnalysisDefinition.Builder mergeFrom(AnalysisDefinition other)
Parameter
Name Description
other AnalysisDefinition
Returns
Type Description
AnalysisDefinition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalysisDefinition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisDefinition.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AnalysisDefinition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnalysisDefinition.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalysisDefinition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalysisDefinition.Builder
Overrides

removeAnalyzers(int index)

public AnalysisDefinition.Builder removeAnalyzers(int index)

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalysisDefinition.Builder

setAnalyzers(int index, AnalyzerDefinition value)

public AnalysisDefinition.Builder setAnalyzers(int index, AnalyzerDefinition value)

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Parameters
Name Description
index int
value AnalyzerDefinition
Returns
Type Description
AnalysisDefinition.Builder

setAnalyzers(int index, AnalyzerDefinition.Builder builderForValue)

public AnalysisDefinition.Builder setAnalyzers(int index, AnalyzerDefinition.Builder builderForValue)

Analyzer definitions.

repeated .google.cloud.visionai.v1.AnalyzerDefinition analyzers = 1;

Parameters
Name Description
index int
builderForValue AnalyzerDefinition.Builder
Returns
Type Description
AnalysisDefinition.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalysisDefinition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalysisDefinition.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AnalysisDefinition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AnalysisDefinition.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalysisDefinition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalysisDefinition.Builder
Overrides