Package com.google.cloud.visionai.v1
Class AnalyzerDefinition.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AnalyzerDefinition.Builder>
com.google.cloud.visionai.v1.AnalyzerDefinition.Builder
- All Implemented Interfaces:
AnalyzerDefinitionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AnalyzerDefinition
public static final class AnalyzerDefinition.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AnalyzerDefinition.Builder>
implements AnalyzerDefinitionOrBuilder
Defines an Analyzer. An analyzer processes data from its input streams using the logic defined in the Operator that it represents. Of course, it produces data for the output streams declared in the Operator.Protobuf type
google.cloud.visionai.v1.AnalyzerDefinition-
Method Summary
Modifier and TypeMethodDescriptionaddAllInputs(Iterable<? extends AnalyzerDefinition.StreamInput> values) Input streams.addInputs(int index, AnalyzerDefinition.StreamInput value) Input streams.addInputs(int index, AnalyzerDefinition.StreamInput.Builder builderForValue) Input streams.Input streams.addInputs(AnalyzerDefinition.StreamInput.Builder builderForValue) Input streams.Input streams.addInputsBuilder(int index) Input streams.build()clear()The name of this analyzer.Debug options.Input streams.The name of the operator that this analyzer runs.Operator option.booleancontainsAttrs(String key) The attribute values that this analyzer applies to the operator.The name of this analyzer.com.google.protobuf.ByteStringThe name of this analyzer.getAttrs()Deprecated.intThe attribute values that this analyzer applies to the operator.The attribute values that this analyzer applies to the operator.getAttrsOrDefault(String key, AttributeValue defaultValue) The attribute values that this analyzer applies to the operator.getAttrsOrThrow(String key) The attribute values that this analyzer applies to the operator.Debug options.Debug options.Debug options.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInputs(int index) Input streams.getInputsBuilder(int index) Input streams.Input streams.intInput streams.Input streams.getInputsOrBuilder(int index) Input streams.List<? extends AnalyzerDefinition.StreamInputOrBuilder>Input streams.Deprecated.The name of the operator that this analyzer runs.com.google.protobuf.ByteStringThe name of the operator that this analyzer runs.Operator option.Operator option.Operator option.booleanDebug options.booleanOperator option.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanDebug options.mergeFrom(AnalyzerDefinition other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Operator option.putAllAttrs(Map<String, AttributeValue> values) The attribute values that this analyzer applies to the operator.putAttrs(String key, AttributeValue value) The attribute values that this analyzer applies to the operator.The attribute values that this analyzer applies to the operator.removeAttrs(String key) The attribute values that this analyzer applies to the operator.removeInputs(int index) Input streams.setAnalyzer(String value) The name of this analyzer.setAnalyzerBytes(com.google.protobuf.ByteString value) The name of this analyzer.Debug options.setDebugOptions(AnalyzerDefinition.DebugOptions.Builder builderForValue) Debug options.setInputs(int index, AnalyzerDefinition.StreamInput value) Input streams.setInputs(int index, AnalyzerDefinition.StreamInput.Builder builderForValue) Input streams.setOperator(String value) The name of the operator that this analyzer runs.setOperatorBytes(com.google.protobuf.ByteString value) The name of the operator that this analyzer runs.Operator option.setOperatorOption(AnalyzerDefinition.OperatorOption.Builder builderForValue) Operator option.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<AnalyzerDefinition.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<AnalyzerDefinition.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AnalyzerDefinition.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<AnalyzerDefinition.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<AnalyzerDefinition.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<AnalyzerDefinition.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AnalyzerDefinition.Builder>
-
mergeFrom
public AnalyzerDefinition.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<AnalyzerDefinition.Builder>- Throws:
IOException
-
getAnalyzer
The name of this analyzer. Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*.
string analyzer = 1;- Specified by:
getAnalyzerin interfaceAnalyzerDefinitionOrBuilder- Returns:
- The analyzer.
-
getAnalyzerBytes
public com.google.protobuf.ByteString getAnalyzerBytes()The name of this analyzer. Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*.
string analyzer = 1;- Specified by:
getAnalyzerBytesin interfaceAnalyzerDefinitionOrBuilder- Returns:
- The bytes for analyzer.
-
setAnalyzer
The name of this analyzer. Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*.
string analyzer = 1;- Parameters:
value- The analyzer to set.- Returns:
- This builder for chaining.
-
clearAnalyzer
The name of this analyzer. Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*.
string analyzer = 1;- Returns:
- This builder for chaining.
-
setAnalyzerBytes
The name of this analyzer. Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*.
string analyzer = 1;- Parameters:
value- The bytes for analyzer to set.- Returns:
- This builder for chaining.
-
getOperator
The name of the operator that this analyzer runs. Must match the name of a supported operator.
string operator = 2;- Specified by:
getOperatorin interfaceAnalyzerDefinitionOrBuilder- Returns:
- The operator.
-
getOperatorBytes
public com.google.protobuf.ByteString getOperatorBytes()The name of the operator that this analyzer runs. Must match the name of a supported operator.
string operator = 2;- Specified by:
getOperatorBytesin interfaceAnalyzerDefinitionOrBuilder- Returns:
- The bytes for operator.
-
setOperator
The name of the operator that this analyzer runs. Must match the name of a supported operator.
string operator = 2;- Parameters:
value- The operator to set.- Returns:
- This builder for chaining.
-
clearOperator
The name of the operator that this analyzer runs. Must match the name of a supported operator.
string operator = 2;- Returns:
- This builder for chaining.
-
setOperatorBytes
The name of the operator that this analyzer runs. Must match the name of a supported operator.
string operator = 2;- Parameters:
value- The bytes for operator to set.- Returns:
- This builder for chaining.
-
getInputsList
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;- Specified by:
getInputsListin interfaceAnalyzerDefinitionOrBuilder
-
getInputsCount
public int getInputsCount()Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;- Specified by:
getInputsCountin interfaceAnalyzerDefinitionOrBuilder
-
getInputs
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;- Specified by:
getInputsin interfaceAnalyzerDefinitionOrBuilder
-
setInputs
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3; -
setInputs
public AnalyzerDefinition.Builder setInputs(int index, AnalyzerDefinition.StreamInput.Builder builderForValue) Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3; -
addInputs
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3; -
addInputs
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3; -
addInputs
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3; -
addInputs
public AnalyzerDefinition.Builder addInputs(int index, AnalyzerDefinition.StreamInput.Builder builderForValue) Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3; -
addAllInputs
public AnalyzerDefinition.Builder addAllInputs(Iterable<? extends AnalyzerDefinition.StreamInput> values) Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3; -
clearInputs
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3; -
removeInputs
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3; -
getInputsBuilder
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3; -
getInputsOrBuilder
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;- Specified by:
getInputsOrBuilderin interfaceAnalyzerDefinitionOrBuilder
-
getInputsOrBuilderList
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;- Specified by:
getInputsOrBuilderListin interfaceAnalyzerDefinitionOrBuilder
-
addInputsBuilder
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3; -
addInputsBuilder
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3; -
getInputsBuilderList
Input streams.
repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3; -
getAttrsCount
public int getAttrsCount()Description copied from interface:AnalyzerDefinitionOrBuilderThe attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;- Specified by:
getAttrsCountin interfaceAnalyzerDefinitionOrBuilder
-
containsAttrs
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;- Specified by:
containsAttrsin interfaceAnalyzerDefinitionOrBuilder
-
getAttrs
Deprecated.UsegetAttrsMap()instead.- Specified by:
getAttrsin interfaceAnalyzerDefinitionOrBuilder
-
getAttrsMap
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;- Specified by:
getAttrsMapin interfaceAnalyzerDefinitionOrBuilder
-
getAttrsOrDefault
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;- Specified by:
getAttrsOrDefaultin interfaceAnalyzerDefinitionOrBuilder
-
getAttrsOrThrow
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;- Specified by:
getAttrsOrThrowin interfaceAnalyzerDefinitionOrBuilder
-
clearAttrs
-
removeAttrs
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4; -
getMutableAttrs
Deprecated.Use alternate mutation accessors instead. -
putAttrs
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4; -
putAllAttrs
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4; -
putAttrsBuilderIfAbsent
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4; -
hasDebugOptions
public boolean hasDebugOptions()Debug options.
.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;- Specified by:
hasDebugOptionsin interfaceAnalyzerDefinitionOrBuilder- Returns:
- Whether the debugOptions field is set.
-
getDebugOptions
Debug options.
.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;- Specified by:
getDebugOptionsin interfaceAnalyzerDefinitionOrBuilder- Returns:
- The debugOptions.
-
setDebugOptions
Debug options.
.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5; -
setDebugOptions
public AnalyzerDefinition.Builder setDebugOptions(AnalyzerDefinition.DebugOptions.Builder builderForValue) Debug options.
.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5; -
mergeDebugOptions
Debug options.
.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5; -
clearDebugOptions
Debug options.
.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5; -
getDebugOptionsBuilder
Debug options.
.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5; -
getDebugOptionsOrBuilder
Debug options.
.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;- Specified by:
getDebugOptionsOrBuilderin interfaceAnalyzerDefinitionOrBuilder
-
hasOperatorOption
public boolean hasOperatorOption()Operator option.
.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6;- Specified by:
hasOperatorOptionin interfaceAnalyzerDefinitionOrBuilder- Returns:
- Whether the operatorOption field is set.
-
getOperatorOption
Operator option.
.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6;- Specified by:
getOperatorOptionin interfaceAnalyzerDefinitionOrBuilder- Returns:
- The operatorOption.
-
setOperatorOption
Operator option.
.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6; -
setOperatorOption
public AnalyzerDefinition.Builder setOperatorOption(AnalyzerDefinition.OperatorOption.Builder builderForValue) Operator option.
.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6; -
mergeOperatorOption
Operator option.
.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6; -
clearOperatorOption
Operator option.
.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6; -
getOperatorOptionBuilder
Operator option.
.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6; -
getOperatorOptionOrBuilder
Operator option.
.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6;- Specified by:
getOperatorOptionOrBuilderin interfaceAnalyzerDefinitionOrBuilder
-