Class AnalysisDefinition.Builder (0.14.1)

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.events.cloud.visionai.v1.AnalysisDefinition

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAnalyzers(Iterable<? extends AnalyzerDefinition> values)

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

Analyzer definitions.

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

Parameter
NameDescription
valuesIterable<? extends com.google.events.cloud.visionai.v1.AnalyzerDefinition>
Returns
TypeDescription
AnalysisDefinition.Builder

addAnalyzers(AnalyzerDefinition value)

public AnalysisDefinition.Builder addAnalyzers(AnalyzerDefinition value)

Analyzer definitions.

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

Parameter
NameDescription
valueAnalyzerDefinition
Returns
TypeDescription
AnalysisDefinition.Builder

addAnalyzers(AnalyzerDefinition.Builder builderForValue)

public AnalysisDefinition.Builder addAnalyzers(AnalyzerDefinition.Builder builderForValue)

Analyzer definitions.

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

Parameter
NameDescription
builderForValueAnalyzerDefinition.Builder
Returns
TypeDescription
AnalysisDefinition.Builder

addAnalyzers(int index, AnalyzerDefinition value)

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

Analyzer definitions.

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

Parameters
NameDescription
indexint
valueAnalyzerDefinition
Returns
TypeDescription
AnalysisDefinition.Builder

addAnalyzers(int index, AnalyzerDefinition.Builder builderForValue)

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

Analyzer definitions.

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

Parameters
NameDescription
indexint
builderForValueAnalyzerDefinition.Builder
Returns
TypeDescription
AnalysisDefinition.Builder

addAnalyzersBuilder()

public AnalyzerDefinition.Builder addAnalyzersBuilder()

Analyzer definitions.

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

Returns
TypeDescription
AnalyzerDefinition.Builder

addAnalyzersBuilder(int index)

public AnalyzerDefinition.Builder addAnalyzersBuilder(int index)

Analyzer definitions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalyzerDefinition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalysisDefinition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AnalysisDefinition.Builder
Overrides

build()

public AnalysisDefinition build()
Returns
TypeDescription
AnalysisDefinition

buildPartial()

public AnalysisDefinition buildPartial()
Returns
TypeDescription
AnalysisDefinition

clear()

public AnalysisDefinition.Builder clear()
Returns
TypeDescription
AnalysisDefinition.Builder
Overrides

clearAnalyzers()

public AnalysisDefinition.Builder clearAnalyzers()

Analyzer definitions.

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

Returns
TypeDescription
AnalysisDefinition.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalysisDefinition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AnalysisDefinition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalysisDefinition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AnalysisDefinition.Builder
Overrides

clone()

public AnalysisDefinition.Builder clone()
Returns
TypeDescription
AnalysisDefinition.Builder
Overrides

getAnalyzers(int index)

public AnalyzerDefinition getAnalyzers(int index)

Analyzer definitions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalyzerDefinition

getAnalyzersBuilder(int index)

public AnalyzerDefinition.Builder getAnalyzersBuilder(int index)

Analyzer definitions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalyzerDefinition.Builder

getAnalyzersBuilderList()

public List<AnalyzerDefinition.Builder> getAnalyzersBuilderList()

Analyzer definitions.

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

Returns
TypeDescription
List<Builder>

getAnalyzersCount()

public int getAnalyzersCount()

Analyzer definitions.

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

Returns
TypeDescription
int

getAnalyzersList()

public List<AnalyzerDefinition> getAnalyzersList()

Analyzer definitions.

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

Returns
TypeDescription
List<AnalyzerDefinition>

getAnalyzersOrBuilder(int index)

public AnalyzerDefinitionOrBuilder getAnalyzersOrBuilder(int index)

Analyzer definitions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalyzerDefinitionOrBuilder

getAnalyzersOrBuilderList()

public List<? extends AnalyzerDefinitionOrBuilder> getAnalyzersOrBuilderList()

Analyzer definitions.

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

Returns
TypeDescription
List<? extends com.google.events.cloud.visionai.v1.AnalyzerDefinitionOrBuilder>

getDefaultInstanceForType()

public AnalysisDefinition getDefaultInstanceForType()
Returns
TypeDescription
AnalysisDefinition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnalysisDefinition other)

public AnalysisDefinition.Builder mergeFrom(AnalysisDefinition other)
Parameter
NameDescription
otherAnalysisDefinition
Returns
TypeDescription
AnalysisDefinition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalysisDefinition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisDefinition.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AnalysisDefinition.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AnalysisDefinition.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalysisDefinition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AnalysisDefinition.Builder
Overrides

removeAnalyzers(int index)

public AnalysisDefinition.Builder removeAnalyzers(int index)

Analyzer definitions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalysisDefinition.Builder

setAnalyzers(int index, AnalyzerDefinition value)

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

Analyzer definitions.

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

Parameters
NameDescription
indexint
valueAnalyzerDefinition
Returns
TypeDescription
AnalysisDefinition.Builder

setAnalyzers(int index, AnalyzerDefinition.Builder builderForValue)

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

Analyzer definitions.

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

Parameters
NameDescription
indexint
builderForValueAnalyzerDefinition.Builder
Returns
TypeDescription
AnalysisDefinition.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalysisDefinition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AnalysisDefinition.Builder
Overrides

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

public AnalysisDefinition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AnalysisDefinition.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalysisDefinition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AnalysisDefinition.Builder
Overrides