public static final class AnalyzerDefinition.StreamInput.Builder extends GeneratedMessageV3.Builder<AnalyzerDefinition.StreamInput.Builder> implements AnalyzerDefinition.StreamInputOrBuilder
The inputs to this analyzer.
We accept input name references of the following form:
<analyzer-name>:<output-argument-name>
Example:
Suppose you had an operator named "SomeOp" that has 2 output
arguments, the first of which is named "foo" and the second of which is
named "bar", and an operator named "MyOp" that accepts 2 inputs.
Also suppose that there is an analyzer named "some-analyzer" that is
running "SomeOp" and another analyzer named "my-analyzer" running "MyOp".
To indicate that "my-analyzer" is to consume "some-analyzer"'s "foo"
output as its first input and "some-analyzer"'s "bar" output as its
second input, you can set this field to the following:
input = ["some-analyzer:foo", "some-analyzer:bar"]
Protobuf type google.cloud.visionai.v1.AnalyzerDefinition.StreamInput
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public AnalyzerDefinition.StreamInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnalyzerDefinition.StreamInput build()
public AnalyzerDefinition.StreamInput buildPartial()
public AnalyzerDefinition.StreamInput.Builder clear()
Overrides
public AnalyzerDefinition.StreamInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AnalyzerDefinition.StreamInput.Builder clearInput()
The name of the stream input (as discussed above).
string input = 1;
public AnalyzerDefinition.StreamInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AnalyzerDefinition.StreamInput.Builder clone()
Overrides
public AnalyzerDefinition.StreamInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
The name of the stream input (as discussed above).
string input = 1;
Returns |
Type |
Description |
String |
The input.
|
public ByteString getInputBytes()
The name of the stream input (as discussed above).
string input = 1;
Returns |
Type |
Description |
ByteString |
The bytes for input.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AnalyzerDefinition.StreamInput.Builder mergeFrom(AnalyzerDefinition.StreamInput other)
public AnalyzerDefinition.StreamInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AnalyzerDefinition.StreamInput.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final AnalyzerDefinition.StreamInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AnalyzerDefinition.StreamInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnalyzerDefinition.StreamInput.Builder setInput(String value)
The name of the stream input (as discussed above).
string input = 1;
Parameter |
Name |
Description |
value |
String
The input to set.
|
public AnalyzerDefinition.StreamInput.Builder setInputBytes(ByteString value)
The name of the stream input (as discussed above).
string input = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for input to set.
|
public AnalyzerDefinition.StreamInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AnalyzerDefinition.StreamInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides