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.events.cloud.visionai.v1.AnalyzerDefinition.StreamInput
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzerDefinition.StreamInput.BuilderImplements
AnalyzerDefinition.StreamInputOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzerDefinition.StreamInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder |
build()
public AnalyzerDefinition.StreamInput build()
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput |
buildPartial()
public AnalyzerDefinition.StreamInput buildPartial()
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput |
clear()
public AnalyzerDefinition.StreamInput.Builder clear()
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder |
clearField(Descriptors.FieldDescriptor field)
public AnalyzerDefinition.StreamInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder |
clearInput()
public AnalyzerDefinition.StreamInput.Builder clearInput()
The name of the stream input (as discussed above).
string input = 1;
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzerDefinition.StreamInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder |
clone()
public AnalyzerDefinition.StreamInput.Builder clone()
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder |
getDefaultInstanceForType()
public AnalyzerDefinition.StreamInput getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInput()
public String getInput()
The name of the stream input (as discussed above).
string input = 1;
Returns | |
---|---|
Type | Description |
String | The input. |
getInputBytes()
public ByteString getInputBytes()
The name of the stream input (as discussed above).
string input = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for input. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AnalyzerDefinition.StreamInput other)
public AnalyzerDefinition.StreamInput.Builder mergeFrom(AnalyzerDefinition.StreamInput other)
Parameter | |
---|---|
Name | Description |
other | AnalyzerDefinition.StreamInput |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalyzerDefinition.StreamInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AnalyzerDefinition.StreamInput.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzerDefinition.StreamInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzerDefinition.StreamInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder |
setInput(String value)
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. |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder | This builder for chaining. |
setInputBytes(ByteString value)
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. |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzerDefinition.StreamInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzerDefinition.StreamInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.StreamInput.Builder |