public final class ProcessorIOSpec extends GeneratedMessageV3 implements ProcessorIOSpecOrBuilder
Message describing the input / output specifications of a processor.
Protobuf type google.cloud.visionai.v1.ProcessorIOSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
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 |
|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ProcessorIOSpec.Builder newBuilder()
newBuilder(ProcessorIOSpec prototype)
public static ProcessorIOSpec.Builder newBuilder(ProcessorIOSpec prototype)
public static ProcessorIOSpec parseDelimitedFrom(InputStream input)
public static ProcessorIOSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ProcessorIOSpec parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProcessorIOSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ProcessorIOSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProcessorIOSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProcessorIOSpec parseFrom(CodedInputStream input)
public static ProcessorIOSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProcessorIOSpec parseFrom(InputStream input)
public static ProcessorIOSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ProcessorIOSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProcessorIOSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ProcessorIOSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ProcessorIOSpec getDefaultInstanceForType()
public ProcessorIOSpec.GraphInputChannelSpec getGraphInputChannelSpecs(int index)
For processors with input_channel_specs, the processor must be explicitly
connected to another processor.
repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;
Parameter |
Name |
Description |
index |
int
|
public int getGraphInputChannelSpecsCount()
For processors with input_channel_specs, the processor must be explicitly
connected to another processor.
repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;
Returns |
Type |
Description |
int |
|
public List<ProcessorIOSpec.GraphInputChannelSpec> getGraphInputChannelSpecsList()
For processors with input_channel_specs, the processor must be explicitly
connected to another processor.
repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;
public ProcessorIOSpec.GraphInputChannelSpecOrBuilder getGraphInputChannelSpecsOrBuilder(int index)
For processors with input_channel_specs, the processor must be explicitly
connected to another processor.
repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;
Parameter |
Name |
Description |
index |
int
|
public List<? extends ProcessorIOSpec.GraphInputChannelSpecOrBuilder> getGraphInputChannelSpecsOrBuilderList()
For processors with input_channel_specs, the processor must be explicitly
connected to another processor.
repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpecOrBuilder> |
|
getGraphOutputChannelSpecs(int index)
public ProcessorIOSpec.GraphOutputChannelSpec getGraphOutputChannelSpecs(int index)
The output artifact specifications for the current processor.
repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec graph_output_channel_specs = 4;
Parameter |
Name |
Description |
index |
int
|
getGraphOutputChannelSpecsCount()
public int getGraphOutputChannelSpecsCount()
The output artifact specifications for the current processor.
repeated .google.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.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec graph_output_channel_specs = 4;
getGraphOutputChannelSpecsOrBuilder(int index)
public ProcessorIOSpec.GraphOutputChannelSpecOrBuilder getGraphOutputChannelSpecsOrBuilder(int index)
The output artifact specifications for the current processor.
repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec graph_output_channel_specs = 4;
Parameter |
Name |
Description |
index |
int
|
getGraphOutputChannelSpecsOrBuilderList()
public List<? extends ProcessorIOSpec.GraphOutputChannelSpecOrBuilder> getGraphOutputChannelSpecsOrBuilderList()
The output artifact specifications for the current processor.
repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec graph_output_channel_specs = 4;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpecOrBuilder> |
|
public ProcessorIOSpec.InstanceResourceInputBindingSpec getInstanceResourceInputBindingSpecs(int index)
The input resource that needs to be fed from the application instance.
repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;
Parameter |
Name |
Description |
index |
int
|
public int getInstanceResourceInputBindingSpecsCount()
The input resource that needs to be fed from the application instance.
repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;
Returns |
Type |
Description |
int |
|
public List<ProcessorIOSpec.InstanceResourceInputBindingSpec> getInstanceResourceInputBindingSpecsList()
The input resource that needs to be fed from the application instance.
repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;
public ProcessorIOSpec.InstanceResourceInputBindingSpecOrBuilder getInstanceResourceInputBindingSpecsOrBuilder(int index)
The input resource that needs to be fed from the application instance.
repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;
Parameter |
Name |
Description |
index |
int
|
public List<? extends ProcessorIOSpec.InstanceResourceInputBindingSpecOrBuilder> getInstanceResourceInputBindingSpecsOrBuilderList()
The input resource that needs to be fed from the application instance.
repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;
Returns |
Type |
Description |
List<? extends com.google.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.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6;
Parameter |
Name |
Description |
index |
int
|
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.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.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6;
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.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6;
Parameter |
Name |
Description |
index |
int
|
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.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpecOrBuilder> |
|
getParserForType()
public Parser<ProcessorIOSpec> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ProcessorIOSpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ProcessorIOSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ProcessorIOSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides