Class Analysis.Builder (0.2.0)

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

Message describing the Analysis object.

Protobuf type google.cloud.visionai.v1.Analysis

Implements

AnalysisOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Analysis.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Analysis.Builder
Overrides

build()

public Analysis build()
Returns
Type Description
Analysis

buildPartial()

public Analysis buildPartial()
Returns
Type Description
Analysis

clear()

public Analysis.Builder clear()
Returns
Type Description
Analysis.Builder
Overrides

clearAnalysisDefinition()

public Analysis.Builder clearAnalysisDefinition()

The definition of the analysis.

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

Returns
Type Description
Analysis.Builder

clearCreateTime()

public Analysis.Builder clearCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
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
Type Description
Analysis.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Analysis.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Analysis.Builder
Overrides

clearInputStreamsMapping()

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

clearLabels()

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

clearName()

public Analysis.Builder clearName()

The name of resource.

string name = 1;

Returns
Type Description
Analysis.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Analysis.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Analysis.Builder
Overrides

clearOutputStreamsMapping()

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

clearUpdateTime()

public Analysis.Builder clearUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Analysis.Builder

clone()

public Analysis.Builder clone()
Returns
Type Description
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
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

getAnalysisDefinition()

public AnalysisDefinition getAnalysisDefinition()

The definition of the analysis.

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

Returns
Type Description
AnalysisDefinition

The analysisDefinition.

getAnalysisDefinitionBuilder()

public AnalysisDefinition.Builder getAnalysisDefinitionBuilder()

The definition of the analysis.

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

Returns
Type Description
AnalysisDefinition.Builder

getAnalysisDefinitionOrBuilder()

public AnalysisDefinitionOrBuilder getAnalysisDefinitionOrBuilder()

The definition of the analysis.

.google.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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Analysis getDefaultInstanceForType()
Returns
Type Description
Analysis

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
boolean

The disableEventWatch.

getInputStreamsMapping() (deprecated)

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() (deprecated)

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

getMutableInputStreamsMapping() (deprecated)

public Map<String,String> getMutableInputStreamsMapping()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getMutableOutputStreamsMapping() (deprecated)

public Map<String,String> getMutableOutputStreamsMapping()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,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() (deprecated)

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

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasAnalysisDefinition()

public boolean hasAnalysisDefinition()

The definition of the analysis.

.google.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 [(.google.api.field_behavior) = OUTPUT_ONLY];

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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnalysisDefinition(AnalysisDefinition value)

public Analysis.Builder mergeAnalysisDefinition(AnalysisDefinition value)

The definition of the analysis.

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

Parameter
Name Description
value AnalysisDefinition
Returns
Type Description
Analysis.Builder

mergeCreateTime(Timestamp value)

public Analysis.Builder mergeCreateTime(Timestamp value)

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Analysis.Builder

mergeFrom(Analysis other)

public Analysis.Builder mergeFrom(Analysis other)
Parameter
Name Description
other Analysis
Returns
Type Description
Analysis.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Analysis.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Analysis.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Analysis.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Analysis.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Analysis.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Analysis.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Analysis.Builder mergeUpdateTime(Timestamp value)

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
Analysis.Builder

removeLabels(String key)

public Analysis.Builder removeLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
Analysis.Builder

setAnalysisDefinition(AnalysisDefinition value)

public Analysis.Builder setAnalysisDefinition(AnalysisDefinition value)

The definition of the analysis.

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

Parameter
Name Description
value AnalysisDefinition
Returns
Type Description
Analysis.Builder

setAnalysisDefinition(AnalysisDefinition.Builder builderForValue)

public Analysis.Builder setAnalysisDefinition(AnalysisDefinition.Builder builderForValue)

The definition of the analysis.

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

Parameter
Name Description
builderForValue AnalysisDefinition.Builder
Returns
Type Description
Analysis.Builder

setCreateTime(Timestamp value)

public Analysis.Builder setCreateTime(Timestamp value)

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Analysis.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Analysis.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value boolean

The disableEventWatch to set.

Returns
Type Description
Analysis.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Analysis.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Analysis.Builder
Overrides

setName(String value)

public Analysis.Builder setName(String value)

The name of resource.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Analysis.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Analysis.Builder setNameBytes(ByteString value)

The name of resource.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Analysis.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Analysis.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Analysis.Builder
Overrides

setUpdateTime(Timestamp value)

public Analysis.Builder setUpdateTime(Timestamp value)

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Analysis.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Analysis.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Analysis.Builder