Class Analysis.Builder (0.14.1)

public static final class Analysis.Builder extends GeneratedMessageV3.Builder<Analysis.Builder> implements AnalysisOrBuilder

Message describing the Analysis object.

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

Implements

AnalysisOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Analysis build()
Returns
TypeDescription
Analysis

buildPartial()

public Analysis buildPartial()
Returns
TypeDescription
Analysis

clear()

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

clearAnalysisDefinition()

public Analysis.Builder clearAnalysisDefinition()

The definition of the analysis.

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

Returns
TypeDescription
Analysis.Builder

clearCreateTime()

public Analysis.Builder clearCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Analysis.Builder

clearDisableEventWatch()

public Analysis.Builder clearDisableEventWatch()

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
Analysis.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearInputStreamsMapping()

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

clearLabels()

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

clearName()

public Analysis.Builder clearName()

The name of resource.

string name = 1;

Returns
TypeDescription
Analysis.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputStreamsMapping()

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

clearUpdateTime()

public Analysis.Builder clearUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Analysis.Builder

clone()

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

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

getAnalysisDefinition()

public AnalysisDefinition getAnalysisDefinition()

The definition of the analysis.

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

Returns
TypeDescription
AnalysisDefinition

The analysisDefinition.

getAnalysisDefinitionBuilder()

public AnalysisDefinition.Builder getAnalysisDefinitionBuilder()

The definition of the analysis.

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

Returns
TypeDescription
AnalysisDefinition.Builder

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.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getMutableInputStreamsMapping()

public Map<String,String> getMutableInputStreamsMapping()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getMutableOutputStreamsMapping()

public Map<String,String> getMutableOutputStreamsMapping()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,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

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

internalGetMutableMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAnalysisDefinition(AnalysisDefinition value)

public Analysis.Builder mergeAnalysisDefinition(AnalysisDefinition value)

The definition of the analysis.

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

Parameter
NameDescription
valueAnalysisDefinition
Returns
TypeDescription
Analysis.Builder

mergeCreateTime(Timestamp value)

public Analysis.Builder mergeCreateTime(Timestamp value)

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Analysis.Builder

mergeFrom(Analysis other)

public Analysis.Builder mergeFrom(Analysis other)
Parameter
NameDescription
otherAnalysis
Returns
TypeDescription
Analysis.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public Analysis.Builder mergeUpdateTime(Timestamp value)

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Analysis.Builder

putAllInputStreamsMapping(Map<String,String> values)

public Analysis.Builder putAllInputStreamsMapping(Map<String,String> values)

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
valuesMap<String,String>
Returns
TypeDescription
Analysis.Builder

putAllLabels(Map<String,String> values)

public Analysis.Builder putAllLabels(Map<String,String> values)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Analysis.Builder

putAllOutputStreamsMapping(Map<String,String> values)

public Analysis.Builder putAllOutputStreamsMapping(Map<String,String> values)

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
valuesMap<String,String>
Returns
TypeDescription
Analysis.Builder

putInputStreamsMapping(String key, String value)

public Analysis.Builder putInputStreamsMapping(String key, String value)

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
valueString
Returns
TypeDescription
Analysis.Builder

putLabels(String key, String value)

public Analysis.Builder putLabels(String key, String value)

Labels as key value pairs.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Analysis.Builder

putOutputStreamsMapping(String key, String value)

public Analysis.Builder putOutputStreamsMapping(String key, String value)

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
valueString
Returns
TypeDescription
Analysis.Builder

removeInputStreamsMapping(String key)

public Analysis.Builder removeInputStreamsMapping(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
Analysis.Builder

removeLabels(String key)

public Analysis.Builder removeLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
Analysis.Builder

removeOutputStreamsMapping(String key)

public Analysis.Builder removeOutputStreamsMapping(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
Analysis.Builder

setAnalysisDefinition(AnalysisDefinition value)

public Analysis.Builder setAnalysisDefinition(AnalysisDefinition value)

The definition of the analysis.

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

Parameter
NameDescription
valueAnalysisDefinition
Returns
TypeDescription
Analysis.Builder

setAnalysisDefinition(AnalysisDefinition.Builder builderForValue)

public Analysis.Builder setAnalysisDefinition(AnalysisDefinition.Builder builderForValue)

The definition of the analysis.

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

Parameter
NameDescription
builderForValueAnalysisDefinition.Builder
Returns
TypeDescription
Analysis.Builder

setCreateTime(Timestamp value)

public Analysis.Builder setCreateTime(Timestamp value)

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Analysis.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Analysis.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Analysis.Builder

setDisableEventWatch(boolean value)

public Analysis.Builder setDisableEventWatch(boolean value)

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;

Parameter
NameDescription
valueboolean

The disableEventWatch to set.

Returns
TypeDescription
Analysis.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Analysis.Builder setName(String value)

The name of resource.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Analysis.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Analysis.Builder setNameBytes(ByteString value)

The name of resource.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Analysis.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Analysis.Builder setUpdateTime(Timestamp value)

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Analysis.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Analysis.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Analysis.Builder