Class ProcessorIOSpec (0.15.0)

public final class ProcessorIOSpec extends GeneratedMessageV3 implements ProcessorIOSpecOrBuilder

Message describing the input / output specifications of a processor.

Protobuf type google.events.cloud.visionai.v1.ProcessorIOSpec

Static Fields

GRAPH_INPUT_CHANNEL_SPECS_FIELD_NUMBER

public static final int GRAPH_INPUT_CHANNEL_SPECS_FIELD_NUMBER
Field Value
Type Description
int

GRAPH_OUTPUT_CHANNEL_SPECS_FIELD_NUMBER

public static final int GRAPH_OUTPUT_CHANNEL_SPECS_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_RESOURCE_INPUT_BINDING_SPECS_FIELD_NUMBER

public static final int INSTANCE_RESOURCE_INPUT_BINDING_SPECS_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_RESOURCE_OUTPUT_BINDING_SPECS_FIELD_NUMBER

public static final int INSTANCE_RESOURCE_OUTPUT_BINDING_SPECS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProcessorIOSpec getDefaultInstance()
Returns
Type Description
ProcessorIOSpec

getDescriptor()

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

newBuilder()

public static ProcessorIOSpec.Builder newBuilder()
Returns
Type Description
ProcessorIOSpec.Builder

newBuilder(ProcessorIOSpec prototype)

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

parseDelimitedFrom(InputStream input)

public static ProcessorIOSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProcessorIOSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ProcessorIOSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProcessorIOSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ProcessorIOSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProcessorIOSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ProcessorIOSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProcessorIOSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ProcessorIOSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProcessorIOSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ProcessorIOSpec> parser()
Returns
Type Description
Parser<ProcessorIOSpec>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ProcessorIOSpec getDefaultInstanceForType()
Returns
Type Description
ProcessorIOSpec

getGraphInputChannelSpecs(int index)

public ProcessorIOSpec.GraphInputChannelSpec getGraphInputChannelSpecs(int index)

For processors with input_channel_specs, the processor must be explicitly connected to another processor.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;

Parameter
Name Description
index int
Returns
Type Description
ProcessorIOSpec.GraphInputChannelSpec

getGraphInputChannelSpecsCount()

public int getGraphInputChannelSpecsCount()

For processors with input_channel_specs, the processor must be explicitly connected to another processor.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;

Returns
Type Description
int

getGraphInputChannelSpecsList()

public List<ProcessorIOSpec.GraphInputChannelSpec> getGraphInputChannelSpecsList()

For processors with input_channel_specs, the processor must be explicitly connected to another processor.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;

Returns
Type Description
List<GraphInputChannelSpec>

getGraphInputChannelSpecsOrBuilder(int index)

public ProcessorIOSpec.GraphInputChannelSpecOrBuilder getGraphInputChannelSpecsOrBuilder(int index)

For processors with input_channel_specs, the processor must be explicitly connected to another processor.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;

Parameter
Name Description
index int
Returns
Type Description
ProcessorIOSpec.GraphInputChannelSpecOrBuilder

getGraphInputChannelSpecsOrBuilderList()

public List<? extends ProcessorIOSpec.GraphInputChannelSpecOrBuilder> getGraphInputChannelSpecsOrBuilderList()

For processors with input_channel_specs, the processor must be explicitly connected to another processor.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;

Returns
Type Description
List<? extends com.google.events.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpecOrBuilder>

getGraphOutputChannelSpecs(int index)

public ProcessorIOSpec.GraphOutputChannelSpec getGraphOutputChannelSpecs(int index)

The output artifact specifications for the current processor.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec graph_output_channel_specs = 4;

Parameter
Name Description
index int
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpec

getGraphOutputChannelSpecsCount()

public int getGraphOutputChannelSpecsCount()

The output artifact specifications for the current processor.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec graph_output_channel_specs = 4;

Returns
Type Description
int

getGraphOutputChannelSpecsList()

public List<ProcessorIOSpec.GraphOutputChannelSpec> getGraphOutputChannelSpecsList()

The output artifact specifications for the current processor.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec graph_output_channel_specs = 4;

Returns
Type Description
List<GraphOutputChannelSpec>

getGraphOutputChannelSpecsOrBuilder(int index)

public ProcessorIOSpec.GraphOutputChannelSpecOrBuilder getGraphOutputChannelSpecsOrBuilder(int index)

The output artifact specifications for the current processor.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec graph_output_channel_specs = 4;

Parameter
Name Description
index int
Returns
Type Description
ProcessorIOSpec.GraphOutputChannelSpecOrBuilder

getGraphOutputChannelSpecsOrBuilderList()

public List<? extends ProcessorIOSpec.GraphOutputChannelSpecOrBuilder> getGraphOutputChannelSpecsOrBuilderList()

The output artifact specifications for the current processor.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec graph_output_channel_specs = 4;

Returns
Type Description
List<? extends com.google.events.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpecOrBuilder>

getInstanceResourceInputBindingSpecs(int index)

public ProcessorIOSpec.InstanceResourceInputBindingSpec getInstanceResourceInputBindingSpecs(int index)

The input resource that needs to be fed from the application instance.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;

Parameter
Name Description
index int
Returns
Type Description
ProcessorIOSpec.InstanceResourceInputBindingSpec

getInstanceResourceInputBindingSpecsCount()

public int getInstanceResourceInputBindingSpecsCount()

The input resource that needs to be fed from the application instance.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;

Returns
Type Description
int

getInstanceResourceInputBindingSpecsList()

public List<ProcessorIOSpec.InstanceResourceInputBindingSpec> getInstanceResourceInputBindingSpecsList()

The input resource that needs to be fed from the application instance.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;

Returns
Type Description
List<InstanceResourceInputBindingSpec>

getInstanceResourceInputBindingSpecsOrBuilder(int index)

public ProcessorIOSpec.InstanceResourceInputBindingSpecOrBuilder getInstanceResourceInputBindingSpecsOrBuilder(int index)

The input resource that needs to be fed from the application instance.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;

Parameter
Name Description
index int
Returns
Type Description
ProcessorIOSpec.InstanceResourceInputBindingSpecOrBuilder

getInstanceResourceInputBindingSpecsOrBuilderList()

public List<? extends ProcessorIOSpec.InstanceResourceInputBindingSpecOrBuilder> getInstanceResourceInputBindingSpecsOrBuilderList()

The input resource that needs to be fed from the application instance.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;

Returns
Type Description
List<? extends com.google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpecOrBuilder>

getInstanceResourceOutputBindingSpecs(int index)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec getInstanceResourceOutputBindingSpecs(int index)

The output resource that the processor will generate per instance. Other than the explicitly listed output bindings here, all the processors' GraphOutputChannels can be binded to stream resource. The bind name then is the same as the GraphOutputChannel's name.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6;

Parameter
Name Description
index int
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec

getInstanceResourceOutputBindingSpecsCount()

public int getInstanceResourceOutputBindingSpecsCount()

The output resource that the processor will generate per instance. Other than the explicitly listed output bindings here, all the processors' GraphOutputChannels can be binded to stream resource. The bind name then is the same as the GraphOutputChannel's name.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6;

Returns
Type Description
int

getInstanceResourceOutputBindingSpecsList()

public List<ProcessorIOSpec.InstanceResourceOutputBindingSpec> getInstanceResourceOutputBindingSpecsList()

The output resource that the processor will generate per instance. Other than the explicitly listed output bindings here, all the processors' GraphOutputChannels can be binded to stream resource. The bind name then is the same as the GraphOutputChannel's name.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6;

Returns
Type Description
List<InstanceResourceOutputBindingSpec>

getInstanceResourceOutputBindingSpecsOrBuilder(int index)

public ProcessorIOSpec.InstanceResourceOutputBindingSpecOrBuilder getInstanceResourceOutputBindingSpecsOrBuilder(int index)

The output resource that the processor will generate per instance. Other than the explicitly listed output bindings here, all the processors' GraphOutputChannels can be binded to stream resource. The bind name then is the same as the GraphOutputChannel's name.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6;

Parameter
Name Description
index int
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpecOrBuilder

getInstanceResourceOutputBindingSpecsOrBuilderList()

public List<? extends ProcessorIOSpec.InstanceResourceOutputBindingSpecOrBuilder> getInstanceResourceOutputBindingSpecsOrBuilderList()

The output resource that the processor will generate per instance. Other than the explicitly listed output bindings here, all the processors' GraphOutputChannels can be binded to stream resource. The bind name then is the same as the GraphOutputChannel's name.

repeated .google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6;

Returns
Type Description
List<? extends com.google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpecOrBuilder>

getParserForType()

public Parser<ProcessorIOSpec> getParserForType()
Returns
Type Description
Parser<ProcessorIOSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
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 ProcessorIOSpec.Builder newBuilderForType()
Returns
Type Description
ProcessorIOSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ProcessorIOSpec.Builder toBuilder()
Returns
Type Description
ProcessorIOSpec.Builder

writeTo(CodedOutputStream output)

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