Package com.google.cloud.visionai.v1
Class Analysis.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Analysis.Builder>
com.google.cloud.visionai.v1.Analysis.Builder
- All Implemented Interfaces:
AnalysisOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Analysis
public static final class Analysis.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Analysis.Builder>
implements AnalysisOrBuilder
Message describing the Analysis object.Protobuf type
google.cloud.visionai.v1.Analysis-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The definition of the analysis.Output only.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.The name of resource.Output only.booleanMap from the input parameter in the definition to the real stream.booleancontainsLabels(String key) Labels as key value pairs.booleanMap from the output parameter in the definition to the real stream.The definition of the analysis.The definition of the analysis.The definition of the analysis.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanBoolean flag to indicate whether you would like to disable the ability to automatically start a Process when new event happening in the input Stream.Deprecated.intMap from the input parameter in the definition to the real stream.Map from the input parameter in the definition to the real stream.getInputStreamsMappingOrDefault(String key, String defaultValue) Map from the input parameter in the definition to the real stream.Map from the input parameter in the definition to the real stream.Deprecated.intLabels as key value pairs.Labels as key value pairs.getLabelsOrDefault(String key, String defaultValue) Labels as key value pairs.getLabelsOrThrow(String key) Labels as key value pairs.Deprecated.Deprecated.Deprecated.getName()The name of resource.com.google.protobuf.ByteStringThe name of resource.Deprecated.intMap from the output parameter in the definition to the real stream.Map from the output parameter in the definition to the real stream.getOutputStreamsMappingOrDefault(String key, String defaultValue) Map from the output parameter in the definition to the real stream.Map from the output parameter in the definition to the real stream.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanThe definition of the analysis.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanThe definition of the analysis.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllInputStreamsMapping(Map<String, String> values) Map from the input parameter in the definition to the real stream.putAllLabels(Map<String, String> values) Labels as key value pairs.putAllOutputStreamsMapping(Map<String, String> values) Map from the output parameter in the definition to the real stream.putInputStreamsMapping(String key, String value) Map from the input parameter in the definition to the real stream.Labels as key value pairs.putOutputStreamsMapping(String key, String value) Map from the output parameter in the definition to the real stream.Map from the input parameter in the definition to the real stream.removeLabels(String key) Labels as key value pairs.Map from the output parameter in the definition to the real stream.The definition of the analysis.setAnalysisDefinition(AnalysisDefinition.Builder builderForValue) The definition of the analysis.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.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.The name of resource.setNameBytes(com.google.protobuf.ByteString value) The name of resource.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Analysis.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Analysis.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Analysis.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Analysis.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Analysis.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Analysis.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Analysis.Builder>
-
mergeFrom
public Analysis.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Analysis.Builder>- Throws:
IOException
-
getName
The name of resource.
string name = 1;- Specified by:
getNamein interfaceAnalysisOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of resource.
string name = 1;- Specified by:
getNameBytesin interfaceAnalysisOrBuilder- Returns:
- The bytes for name.
-
setName
The name of resource.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of resource.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The name of resource.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceAnalysisOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceAnalysisOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceAnalysisOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceAnalysisOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceAnalysisOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceAnalysisOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:AnalysisOrBuilderLabels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceAnalysisOrBuilder
-
containsLabels
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceAnalysisOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceAnalysisOrBuilder
-
getLabelsMap
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceAnalysisOrBuilder
-
getLabelsOrDefault
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceAnalysisOrBuilder
-
getLabelsOrThrow
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceAnalysisOrBuilder
-
clearLabels
-
removeLabels
Labels as key value pairs.
map<string, string> labels = 4; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels as key value pairs.
map<string, string> labels = 4; -
putAllLabels
Labels as key value pairs.
map<string, string> labels = 4; -
hasAnalysisDefinition
public boolean hasAnalysisDefinition()The definition of the analysis.
.google.cloud.visionai.v1.AnalysisDefinition analysis_definition = 5;- Specified by:
hasAnalysisDefinitionin interfaceAnalysisOrBuilder- Returns:
- Whether the analysisDefinition field is set.
-
getAnalysisDefinition
The definition of the analysis.
.google.cloud.visionai.v1.AnalysisDefinition analysis_definition = 5;- Specified by:
getAnalysisDefinitionin interfaceAnalysisOrBuilder- Returns:
- The analysisDefinition.
-
setAnalysisDefinition
The definition of the analysis.
.google.cloud.visionai.v1.AnalysisDefinition analysis_definition = 5; -
setAnalysisDefinition
The definition of the analysis.
.google.cloud.visionai.v1.AnalysisDefinition analysis_definition = 5; -
mergeAnalysisDefinition
The definition of the analysis.
.google.cloud.visionai.v1.AnalysisDefinition analysis_definition = 5; -
clearAnalysisDefinition
The definition of the analysis.
.google.cloud.visionai.v1.AnalysisDefinition analysis_definition = 5; -
getAnalysisDefinitionBuilder
The definition of the analysis.
.google.cloud.visionai.v1.AnalysisDefinition analysis_definition = 5; -
getAnalysisDefinitionOrBuilder
The definition of the analysis.
.google.cloud.visionai.v1.AnalysisDefinition analysis_definition = 5;- Specified by:
getAnalysisDefinitionOrBuilderin interfaceAnalysisOrBuilder
-
getInputStreamsMappingCount
public int getInputStreamsMappingCount()Description copied from interface:AnalysisOrBuilderMap 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;- Specified by:
getInputStreamsMappingCountin interfaceAnalysisOrBuilder
-
containsInputStreamsMapping
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;- Specified by:
containsInputStreamsMappingin interfaceAnalysisOrBuilder
-
getInputStreamsMapping
Deprecated.UsegetInputStreamsMappingMap()instead.- Specified by:
getInputStreamsMappingin interfaceAnalysisOrBuilder
-
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;- Specified by:
getInputStreamsMappingMapin interfaceAnalysisOrBuilder
-
getInputStreamsMappingOrDefault
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;- Specified by:
getInputStreamsMappingOrDefaultin interfaceAnalysisOrBuilder
-
getInputStreamsMappingOrThrow
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;- Specified by:
getInputStreamsMappingOrThrowin interfaceAnalysisOrBuilder
-
clearInputStreamsMapping
-
removeInputStreamsMapping
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; -
getMutableInputStreamsMapping
Deprecated.Use alternate mutation accessors instead. -
putInputStreamsMapping
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; -
putAllInputStreamsMapping
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; -
getOutputStreamsMappingCount
public int getOutputStreamsMappingCount()Description copied from interface:AnalysisOrBuilderMap 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;- Specified by:
getOutputStreamsMappingCountin interfaceAnalysisOrBuilder
-
containsOutputStreamsMapping
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;- Specified by:
containsOutputStreamsMappingin interfaceAnalysisOrBuilder
-
getOutputStreamsMapping
Deprecated.UsegetOutputStreamsMappingMap()instead.- Specified by:
getOutputStreamsMappingin interfaceAnalysisOrBuilder
-
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;- Specified by:
getOutputStreamsMappingMapin interfaceAnalysisOrBuilder
-
getOutputStreamsMappingOrDefault
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;- Specified by:
getOutputStreamsMappingOrDefaultin interfaceAnalysisOrBuilder
-
getOutputStreamsMappingOrThrow
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;- Specified by:
getOutputStreamsMappingOrThrowin interfaceAnalysisOrBuilder
-
clearOutputStreamsMapping
-
removeOutputStreamsMapping
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; -
getMutableOutputStreamsMapping
Deprecated.Use alternate mutation accessors instead. -
putOutputStreamsMapping
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; -
putAllOutputStreamsMapping
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; -
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;- Specified by:
getDisableEventWatchin interfaceAnalysisOrBuilder- Returns:
- The disableEventWatch.
-
setDisableEventWatch
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;- Parameters:
value- The disableEventWatch to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-