Class Analysis (0.16.0)

public final class Analysis extends GeneratedMessageV3 implements AnalysisOrBuilder

Message describing the Analysis object.

Protobuf type google.events.cloud.visionai.v1.Analysis

Implements

AnalysisOrBuilder

Static Fields

ANALYSIS_DEFINITION_FIELD_NUMBER

public static final int ANALYSIS_DEFINITION_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DISABLE_EVENT_WATCH_FIELD_NUMBER

public static final int DISABLE_EVENT_WATCH_FIELD_NUMBER
Field Value
Type Description
int

INPUT_STREAMS_MAPPING_FIELD_NUMBER

public static final int INPUT_STREAMS_MAPPING_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_STREAMS_MAPPING_FIELD_NUMBER

public static final int OUTPUT_STREAMS_MAPPING_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Analysis getDefaultInstance()
Returns
Type Description
Analysis

getDescriptor()

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

newBuilder()

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

newBuilder(Analysis prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsInputStreamsMapping(String key)

public boolean containsInputStreamsMapping(String key)

Map from the input parameter in the definition to the real stream. E.g., suppose you had a stream source operator named "input-0" and you try to receive from the real stream "stream-0". You can add the following mapping: [input-0: stream-0].

map<string, string> input_streams_mapping = 6;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsLabels(String key)

public boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsOutputStreamsMapping(String key)

public boolean containsOutputStreamsMapping(String key)

Map from the output parameter in the definition to the real stream. E.g., suppose you had a stream sink operator named "output-0" and you try to send to the real stream "stream-0". You can add the following mapping: [output-0: stream-0].

map<string, string> output_streams_mapping = 7;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnalysisDefinition()

public AnalysisDefinition getAnalysisDefinition()

The definition of the analysis.

.google.events.cloud.visionai.v1.AnalysisDefinition analysis_definition = 5;

Returns
Type Description
AnalysisDefinition

The analysisDefinition.

getAnalysisDefinitionOrBuilder()

public AnalysisDefinitionOrBuilder getAnalysisDefinitionOrBuilder()

The definition of the analysis.

.google.events.cloud.visionai.v1.AnalysisDefinition analysis_definition = 5;

Returns
Type Description
AnalysisDefinitionOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Analysis getDefaultInstanceForType()
Returns
Type Description
Analysis

getDisableEventWatch()

public boolean getDisableEventWatch()

Boolean flag to indicate whether you would like to disable the ability to automatically start a Process when new event happening in the input Stream. If you would like to start a Process manually, the field needs to be set to true.

bool disable_event_watch = 8;

Returns
Type Description
boolean

The disableEventWatch.

getInputStreamsMapping()

public Map<String,String> getInputStreamsMapping()
Returns
Type Description
Map<String,String>

getInputStreamsMappingCount()

public int getInputStreamsMappingCount()

Map from the input parameter in the definition to the real stream. E.g., suppose you had a stream source operator named "input-0" and you try to receive from the real stream "stream-0". You can add the following mapping: [input-0: stream-0].

map<string, string> input_streams_mapping = 6;

Returns
Type Description
int

getInputStreamsMappingMap()

public Map<String,String> getInputStreamsMappingMap()

Map from the input parameter in the definition to the real stream. E.g., suppose you had a stream source operator named "input-0" and you try to receive from the real stream "stream-0". You can add the following mapping: [input-0: stream-0].

map<string, string> input_streams_mapping = 6;

Returns
Type Description
Map<String,String>

getInputStreamsMappingOrDefault(String key, String defaultValue)

public String getInputStreamsMappingOrDefault(String key, String defaultValue)

Map from the input parameter in the definition to the real stream. E.g., suppose you had a stream source operator named "input-0" and you try to receive from the real stream "stream-0". You can add the following mapping: [input-0: stream-0].

map<string, string> input_streams_mapping = 6;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getInputStreamsMappingOrThrow(String key)

public String getInputStreamsMappingOrThrow(String key)

Map from the input parameter in the definition to the real stream. E.g., suppose you had a stream source operator named "input-0" and you try to receive from the real stream "stream-0". You can add the following mapping: [input-0: stream-0].

map<string, string> input_streams_mapping = 6;

Parameter
Name Description
key String
Returns
Type Description
String

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels as key value pairs.

map<string, string> labels = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public String getName()

The name of resource.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of resource.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getOutputStreamsMapping()

public Map<String,String> getOutputStreamsMapping()
Returns
Type Description
Map<String,String>

getOutputStreamsMappingCount()

public int getOutputStreamsMappingCount()

Map from the output parameter in the definition to the real stream. E.g., suppose you had a stream sink operator named "output-0" and you try to send to the real stream "stream-0". You can add the following mapping: [output-0: stream-0].

map<string, string> output_streams_mapping = 7;

Returns
Type Description
int

getOutputStreamsMappingMap()

public Map<String,String> getOutputStreamsMappingMap()

Map from the output parameter in the definition to the real stream. E.g., suppose you had a stream sink operator named "output-0" and you try to send to the real stream "stream-0". You can add the following mapping: [output-0: stream-0].

map<string, string> output_streams_mapping = 7;

Returns
Type Description
Map<String,String>

getOutputStreamsMappingOrDefault(String key, String defaultValue)

public String getOutputStreamsMappingOrDefault(String key, String defaultValue)

Map from the output parameter in the definition to the real stream. E.g., suppose you had a stream sink operator named "output-0" and you try to send to the real stream "stream-0". You can add the following mapping: [output-0: stream-0].

map<string, string> output_streams_mapping = 7;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getOutputStreamsMappingOrThrow(String key)

public String getOutputStreamsMappingOrThrow(String key)

Map from the output parameter in the definition to the real stream. E.g., suppose you had a stream sink operator named "output-0" and you try to send to the real stream "stream-0". You can add the following mapping: [output-0: stream-0].

map<string, string> output_streams_mapping = 7;

Parameter
Name Description
key String
Returns
Type Description
String

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
TimestampOrBuilder

hasAnalysisDefinition()

public boolean hasAnalysisDefinition()

The definition of the analysis.

.google.events.cloud.visionai.v1.AnalysisDefinition analysis_definition = 5;

Returns
Type Description
boolean

Whether the analysisDefinition field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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