Class AnalyzerDefinition.StreamInput (0.14.1)

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.events.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnalyzerDefinition.StreamInput getDefaultInstance()
Returns
TypeDescription
AnalyzerDefinition.StreamInput

getDescriptor()

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

newBuilder()

public static AnalyzerDefinition.StreamInput.Builder newBuilder()
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder

newBuilder(AnalyzerDefinition.StreamInput prototype)

public static AnalyzerDefinition.StreamInput.Builder newBuilder(AnalyzerDefinition.StreamInput prototype)
Parameter
NameDescription
prototypeAnalyzerDefinition.StreamInput
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder

parseDelimitedFrom(InputStream input)

public static AnalyzerDefinition.StreamInput parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalyzerDefinition.StreamInput
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzerDefinition.StreamInput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzerDefinition.StreamInput
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AnalyzerDefinition.StreamInput parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AnalyzerDefinition.StreamInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnalyzerDefinition.StreamInput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzerDefinition.StreamInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnalyzerDefinition.StreamInput parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnalyzerDefinition.StreamInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalyzerDefinition.StreamInput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzerDefinition.StreamInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalyzerDefinition.StreamInput parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnalyzerDefinition.StreamInput
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzerDefinition.StreamInput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzerDefinition.StreamInput
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AnalyzerDefinition.StreamInput parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalyzerDefinition.StreamInput
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzerDefinition.StreamInput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzerDefinition.StreamInput
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AnalyzerDefinition.StreamInput parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnalyzerDefinition.StreamInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalyzerDefinition.StreamInput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzerDefinition.StreamInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AnalyzerDefinition.StreamInput.Builder newBuilderForType()
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalyzerDefinition.StreamInput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AnalyzerDefinition.StreamInput.Builder toBuilder()
Returns
TypeDescription
AnalyzerDefinition.StreamInput.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException