Class ProcessorIOSpec (0.14.1)

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

GRAPH_OUTPUT_CHANNEL_SPECS_FIELD_NUMBER

public static final int GRAPH_OUTPUT_CHANNEL_SPECS_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCE_RESOURCE_INPUT_BINDING_SPECS_FIELD_NUMBER

public static final int INSTANCE_RESOURCE_INPUT_BINDING_SPECS_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCE_RESOURCE_OUTPUT_BINDING_SPECS_FIELD_NUMBER

public static final int INSTANCE_RESOURCE_OUTPUT_BINDING_SPECS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProcessorIOSpec getDefaultInstance()
Returns
TypeDescription
ProcessorIOSpec

getDescriptor()

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

newBuilder()

public static ProcessorIOSpec.Builder newBuilder()
Returns
TypeDescription
ProcessorIOSpec.Builder

newBuilder(ProcessorIOSpec prototype)

public static ProcessorIOSpec.Builder newBuilder(ProcessorIOSpec prototype)
Parameter
NameDescription
prototypeProcessorIOSpec
Returns
TypeDescription
ProcessorIOSpec.Builder

parseDelimitedFrom(InputStream input)

public static ProcessorIOSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProcessorIOSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ProcessorIOSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProcessorIOSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ProcessorIOSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProcessorIOSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ProcessorIOSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProcessorIOSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ProcessorIOSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProcessorIOSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ProcessorIOSpec> parser()
Returns
TypeDescription
Parser<ProcessorIOSpec>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ProcessorIOSpec getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpecOrBuilder>

getParserForType()

public Parser<ProcessorIOSpec> getParserForType()
Returns
TypeDescription
Parser<ProcessorIOSpec>
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 ProcessorIOSpec.Builder newBuilderForType()
Returns
TypeDescription
ProcessorIOSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ProcessorIOSpec.Builder toBuilder()
Returns
TypeDescription
ProcessorIOSpec.Builder

writeTo(CodedOutputStream output)

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