Send feedback
Class ProcessorIOSpec.GraphInputChannelSpec (0.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.5.0 keyboard_arrow_down
public static final class ProcessorIOSpec . GraphInputChannelSpec extends GeneratedMessageV3 implements ProcessorIOSpec . GraphInputChannelSpecOrBuilder
Message for input channel specification.
Protobuf type google.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec
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 ACCEPTED_DATA_TYPE_URIS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DATA_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int MAX_CONNECTION_ALLOWED_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int REQUIRED_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static ProcessorIOSpec . GraphInputChannelSpec getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ProcessorIOSpec . GraphInputChannelSpec . Builder newBuilder ()
public static ProcessorIOSpec . GraphInputChannelSpec . Builder newBuilder ( ProcessorIOSpec . GraphInputChannelSpec prototype )
public static ProcessorIOSpec . GraphInputChannelSpec parseDelimitedFrom ( InputStream input )
public static ProcessorIOSpec . GraphInputChannelSpec parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ProcessorIOSpec . GraphInputChannelSpec parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static ProcessorIOSpec . GraphInputChannelSpec parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ProcessorIOSpec . GraphInputChannelSpec parseFrom ( ByteString data )
public static ProcessorIOSpec . GraphInputChannelSpec parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ProcessorIOSpec . GraphInputChannelSpec parseFrom ( CodedInputStream input )
public static ProcessorIOSpec . GraphInputChannelSpec parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ProcessorIOSpec . GraphInputChannelSpec parseFrom ( InputStream input )
public static ProcessorIOSpec . GraphInputChannelSpec parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ProcessorIOSpec . GraphInputChannelSpec parseFrom ( ByteBuffer data )
public static ProcessorIOSpec . GraphInputChannelSpec parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ProcessorIOSpec . GraphInputChannelSpec> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public String getAcceptedDataTypeUris ( int index )
If specified, only those detailed data types can be connected to the
processor. For example, jpeg stream for MEDIA, or PredictionResult proto
for PROTO type. If unspecified, then any proto is accepted.
repeated string accepted_data_type_uris = 5;
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The acceptedDataTypeUris at the given index.
public ByteString getAcceptedDataTypeUrisBytes ( int index )
If specified, only those detailed data types can be connected to the
processor. For example, jpeg stream for MEDIA, or PredictionResult proto
for PROTO type. If unspecified, then any proto is accepted.
repeated string accepted_data_type_uris = 5;
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the acceptedDataTypeUris at the given index.
public int getAcceptedDataTypeUrisCount ()
If specified, only those detailed data types can be connected to the
processor. For example, jpeg stream for MEDIA, or PredictionResult proto
for PROTO type. If unspecified, then any proto is accepted.
repeated string accepted_data_type_uris = 5;
Returns
Type
Description
int
The count of acceptedDataTypeUris.
public ProtocolStringList getAcceptedDataTypeUrisList ()
If specified, only those detailed data types can be connected to the
processor. For example, jpeg stream for MEDIA, or PredictionResult proto
for PROTO type. If unspecified, then any proto is accepted.
repeated string accepted_data_type_uris = 5;
public DataType getDataType ()
The data types of the current input channel.
When this field has more than 1 value, it means this input channel can be
connected to either of these different data types.
.google.cloud.visionai.v1.DataType data_type = 2;
Returns
Type
Description
DataType
The dataType.
public int getDataTypeValue ()
The data types of the current input channel.
When this field has more than 1 value, it means this input channel can be
connected to either of these different data types.
.google.cloud.visionai.v1.DataType data_type = 2;
Returns
Type
Description
int
The enum numeric value on the wire for dataType.
public ProcessorIOSpec . GraphInputChannelSpec getDefaultInstanceForType ()
public long getMaxConnectionAllowed ()
How many input edges can be connected to this input channel. 0 means
unlimited.
int64 max_connection_allowed = 4;
Returns
Type
Description
long
The maxConnectionAllowed.
The name of the current input channel.
string name = 1;
Returns
Type
Description
String
The name.
public ByteString getNameBytes ()
The name of the current input channel.
string name = 1;
Returns
Type
Description
ByteString
The bytes for name.
public Parser<ProcessorIOSpec . GraphInputChannelSpec> getParserForType ()
Overrides
public boolean getRequired ()
Whether the current input channel is required by the processor.
For example, for a processor with required video input and optional audio
input, if video input is missing, the application will be rejected while
the audio input can be missing as long as the video input exists.
bool required = 3;
Returns
Type
Description
boolean
The required.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ProcessorIOSpec . GraphInputChannelSpec . Builder newBuilderForType ()
protected ProcessorIOSpec . GraphInputChannelSpec . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ProcessorIOSpec . GraphInputChannelSpec . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-24 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-24 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-24 UTC."]]