Class AnalysisDefinition (0.14.1)

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

Static Fields

ANALYZERS_FIELD_NUMBER

public static final int ANALYZERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnalysisDefinition getDefaultInstance()
Returns
TypeDescription
AnalysisDefinition

getDescriptor()

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

newBuilder()

public static AnalysisDefinition.Builder newBuilder()
Returns
TypeDescription
AnalysisDefinition.Builder

newBuilder(AnalysisDefinition prototype)

public static AnalysisDefinition.Builder newBuilder(AnalysisDefinition prototype)
Parameter
NameDescription
prototypeAnalysisDefinition
Returns
TypeDescription
AnalysisDefinition.Builder

parseDelimitedFrom(InputStream input)

public static AnalysisDefinition parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalysisDefinition
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisDefinition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisDefinition
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AnalysisDefinition parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AnalysisDefinition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnalysisDefinition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisDefinition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnalysisDefinition parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnalysisDefinition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalysisDefinition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisDefinition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalysisDefinition parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnalysisDefinition
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisDefinition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisDefinition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AnalysisDefinition parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalysisDefinition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalysisDefinition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisDefinition
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AnalysisDefinition parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnalysisDefinition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalysisDefinition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalysisDefinition
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AnalysisDefinition> parser()
Returns
TypeDescription
Parser<AnalysisDefinition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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

getParserForType()

public Parser<AnalysisDefinition> getParserForType()
Returns
TypeDescription
Parser<AnalysisDefinition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AnalysisDefinition.Builder newBuilderForType()
Returns
TypeDescription
AnalysisDefinition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalysisDefinition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AnalysisDefinition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AnalysisDefinition.Builder toBuilder()
Returns
TypeDescription
AnalysisDefinition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException