Class AnalyzerDefinition.StreamInput (0.12.0)

public static final class AnalyzerDefinition.StreamInput extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AnalyzerDefinition.StreamInput

Static Fields

INPUT_FIELD_NUMBER

public static final int INPUT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnalyzerDefinition.StreamInput getDefaultInstance()
Returns
Type Description
AnalyzerDefinition.StreamInput

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AnalyzerDefinition.StreamInput.Builder newBuilder()
Returns
Type Description
AnalyzerDefinition.StreamInput.Builder

newBuilder(AnalyzerDefinition.StreamInput prototype)

public static AnalyzerDefinition.StreamInput.Builder newBuilder(AnalyzerDefinition.StreamInput prototype)
Parameter
Name Description
prototype AnalyzerDefinition.StreamInput
Returns
Type Description
AnalyzerDefinition.StreamInput.Builder

parseDelimitedFrom(InputStream input)

public static AnalyzerDefinition.StreamInput parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyzerDefinition.StreamInput
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzerDefinition.StreamInput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzerDefinition.StreamInput
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AnalyzerDefinition.StreamInput parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AnalyzerDefinition.StreamInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnalyzerDefinition.StreamInput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzerDefinition.StreamInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnalyzerDefinition.StreamInput parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AnalyzerDefinition.StreamInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalyzerDefinition.StreamInput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzerDefinition.StreamInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalyzerDefinition.StreamInput parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnalyzerDefinition.StreamInput
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzerDefinition.StreamInput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzerDefinition.StreamInput
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AnalyzerDefinition.StreamInput parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyzerDefinition.StreamInput
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzerDefinition.StreamInput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzerDefinition.StreamInput
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AnalyzerDefinition.StreamInput parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnalyzerDefinition.StreamInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalyzerDefinition.StreamInput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzerDefinition.StreamInput
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AnalyzerDefinition.StreamInput> parser()
Returns
Type Description
Parser<StreamInput>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AnalyzerDefinition.StreamInput getDefaultInstanceForType()
Returns
Type Description
AnalyzerDefinition.StreamInput

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.

getParserForType()

public Parser<AnalyzerDefinition.StreamInput> getParserForType()
Returns
Type Description
Parser<StreamInput>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AnalyzerDefinition.StreamInput.Builder newBuilderForType()
Returns
Type Description
AnalyzerDefinition.StreamInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalyzerDefinition.StreamInput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnalyzerDefinition.StreamInput.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AnalyzerDefinition.StreamInput.Builder toBuilder()
Returns
Type Description
AnalyzerDefinition.StreamInput.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException