Class AnalysisDefinition (0.8.0)

public final class AnalysisDefinition extends GeneratedMessageV3 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 Fields

ANALYZERS_FIELD_NUMBER

public static final int ANALYZERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnalysisDefinition getDefaultInstance()
Returns
Type Description
AnalysisDefinition

getDescriptor()

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

newBuilder()

public static AnalysisDefinition.Builder newBuilder()
Returns
Type Description
AnalysisDefinition.Builder

newBuilder(AnalysisDefinition prototype)

public static AnalysisDefinition.Builder newBuilder(AnalysisDefinition prototype)
Parameter
Name Description
prototype AnalysisDefinition
Returns
Type Description
AnalysisDefinition.Builder

parseDelimitedFrom(InputStream input)

public static AnalysisDefinition parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalysisDefinition
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisDefinition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisDefinition
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AnalysisDefinition parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AnalysisDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnalysisDefinition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnalysisDefinition parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AnalysisDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalysisDefinition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalysisDefinition parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnalysisDefinition
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisDefinition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisDefinition
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AnalysisDefinition parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalysisDefinition
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisDefinition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisDefinition
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AnalysisDefinition parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnalysisDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalysisDefinition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalysisDefinition
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AnalysisDefinition> parser()
Returns
Type Description
Parser<AnalysisDefinition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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

getParserForType()

public Parser<AnalysisDefinition> getParserForType()
Returns
Type Description
Parser<AnalysisDefinition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AnalysisDefinition.Builder newBuilderForType()
Returns
Type Description
AnalysisDefinition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalysisDefinition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnalysisDefinition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AnalysisDefinition.Builder toBuilder()
Returns
Type Description
AnalysisDefinition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException