Class AnalyzerDefinition.StreamInput.Builder (0.14.1)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzerDefinition.StreamInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder
Overrides

build()

public AnalyzerDefinition.StreamInput build()
Returns
TypeDescription
AnalyzerDefinition.StreamInput

buildPartial()

public AnalyzerDefinition.StreamInput buildPartial()
Returns
TypeDescription
AnalyzerDefinition.StreamInput

clear()

public AnalyzerDefinition.StreamInput.Builder clear()
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AnalyzerDefinition.StreamInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder
Overrides

clearInput()

public AnalyzerDefinition.StreamInput.Builder clearInput()

The name of the stream input (as discussed above).

string input = 1;

Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzerDefinition.StreamInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder
Overrides

clone()

public AnalyzerDefinition.StreamInput.Builder clone()
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder
Overrides

getDefaultInstanceForType()

public AnalyzerDefinition.StreamInput getDefaultInstanceForType()
Returns
TypeDescription
AnalyzerDefinition.StreamInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInput()

public String getInput()

The name of the stream input (as discussed above).

string input = 1;

Returns
TypeDescription
String

The input.

getInputBytes()

public ByteString getInputBytes()

The name of the stream input (as discussed above).

string input = 1;

Returns
TypeDescription
ByteString

The bytes for input.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnalyzerDefinition.StreamInput other)

public AnalyzerDefinition.StreamInput.Builder mergeFrom(AnalyzerDefinition.StreamInput other)
Parameter
NameDescription
otherAnalyzerDefinition.StreamInput
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalyzerDefinition.StreamInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AnalyzerDefinition.StreamInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzerDefinition.StreamInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzerDefinition.StreamInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder
Overrides

setInput(String value)

public AnalyzerDefinition.StreamInput.Builder setInput(String value)

The name of the stream input (as discussed above).

string input = 1;

Parameter
NameDescription
valueString

The input to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for input to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzerDefinition.StreamInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder
Overrides