Class Analysis (0.14.1)

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
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DISABLE_EVENT_WATCH_FIELD_NUMBER

public static final int DISABLE_EVENT_WATCH_FIELD_NUMBER
Field Value
TypeDescription
int

INPUT_STREAMS_MAPPING_FIELD_NUMBER

public static final int INPUT_STREAMS_MAPPING_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

OUTPUT_STREAMS_MAPPING_FIELD_NUMBER

public static final int OUTPUT_STREAMS_MAPPING_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Analysis getDefaultInstance()
Returns
TypeDescription
Analysis

getDescriptor()

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

newBuilder()

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

newBuilder(Analysis prototype)

public static Analysis.Builder newBuilder(Analysis prototype)
Parameter
NameDescription
prototypeAnalysis
Returns
TypeDescription
Analysis.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Analysis> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

containsLabels(String key)

public boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAnalysisDefinition()

public AnalysisDefinition getAnalysisDefinition()

The definition of the analysis.

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

Returns
TypeDescription
AnalysisDefinition

The analysisDefinition.

getAnalysisDefinitionOrBuilder()

public AnalysisDefinitionOrBuilder getAnalysisDefinitionOrBuilder()

The definition of the analysis.

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

Returns
TypeDescription
AnalysisDefinitionOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Analysis getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
boolean

The disableEventWatch.

getInputStreamsMapping()

public Map<String,String> getInputStreamsMapping()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getName()

public String getName()

The name of resource.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of resource.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getOutputStreamsMapping()

public Map<String,String> getOutputStreamsMapping()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasAnalysisDefinition()

public boolean hasAnalysisDefinition()

The definition of the analysis.

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

Returns
TypeDescription
boolean

Whether the analysisDefinition field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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