public final class Node extends GeneratedMessageV3 implements NodeOrBuilder
Message describing node object.
Protobuf type google.cloud.visionai.v1.Node
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
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NODE_CONFIG_FIELD_NUMBER
public static final int NODE_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OUTPUT_ALL_OUTPUT_CHANNELS_TO_STREAM_FIELD_NUMBER
public static final int OUTPUT_ALL_OUTPUT_CHANNELS_TO_STREAM_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PARENTS_FIELD_NUMBER
public static final int PARENTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROCESSOR_FIELD_NUMBER
public static final int PROCESSOR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Node getDefaultInstance()
Returns |
Type |
Description |
Node |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Node.Builder newBuilder()
newBuilder(Node prototype)
public static Node.Builder newBuilder(Node prototype)
Parameter |
Name |
Description |
prototype |
Node
|
public static Node parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Node |
|
public static Node parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Node |
|
parseFrom(byte[] data)
public static Node parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Node |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Node parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Node |
|
parseFrom(ByteString data)
public static Node parseFrom(ByteString data)
Returns |
Type |
Description |
Node |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Node parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Node |
|
public static Node parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Node |
|
public static Node parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Node |
|
public static Node parseFrom(InputStream input)
Returns |
Type |
Description |
Node |
|
public static Node parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Node |
|
parseFrom(ByteBuffer data)
public static Node parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Node |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Node parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Node |
|
parser()
public static Parser<Node> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Node getDefaultInstanceForType()
Returns |
Type |
Description |
Node |
|
getDisplayName()
public String getDisplayName()
A user friendly display name for the node.
string display_name = 2;
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
A user friendly display name for the node.
string display_name = 2;
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
getName()
Required. A unique name for the node.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. A unique name for the node.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getNodeConfig()
public ProcessorConfig getNodeConfig()
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;
getNodeConfigOrBuilder()
public ProcessorConfigOrBuilder getNodeConfigOrBuilder()
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;
getOutputAllOutputChannelsToStream()
public boolean getOutputAllOutputChannelsToStream()
By default, the output of the node will only be available to downstream
nodes. To consume the direct output from the application node, the output
must be sent to Vision AI Streams at first.
By setting output_all_output_channels_to_stream to true, App Platform
will automatically send all the outputs of the current node to Vision AI
Stream resources (one stream per output channel). The output stream
resource will be created by App Platform automatically during deployment
and deleted after application un-deployment.
Note that this config applies to all the Application Instances.
The output stream can be override at instance level by
configuring the output_resources
section of Instance resource.
producer_node
should be current node, output_resource_binding
should
be the output channel name (or leave it blank if there is only 1 output
channel of the processor) and output_resource
should be the target
output stream.
bool output_all_output_channels_to_stream = 6;
Returns |
Type |
Description |
boolean |
The outputAllOutputChannelsToStream.
|
getParents(int index)
public Node.InputEdge getParents(int index)
Parent node. Input node should not have parent node. For V1 Alpha1/Beta
only media warehouse node can have multiple parents, other types of nodes
will only have one parent.
repeated .google.cloud.visionai.v1.Node.InputEdge parents = 5;
Parameter |
Name |
Description |
index |
int
|
getParentsCount()
public int getParentsCount()
Parent node. Input node should not have parent node. For V1 Alpha1/Beta
only media warehouse node can have multiple parents, other types of nodes
will only have one parent.
repeated .google.cloud.visionai.v1.Node.InputEdge parents = 5;
Returns |
Type |
Description |
int |
|
getParentsList()
public List<Node.InputEdge> getParentsList()
Parent node. Input node should not have parent node. For V1 Alpha1/Beta
only media warehouse node can have multiple parents, other types of nodes
will only have one parent.
repeated .google.cloud.visionai.v1.Node.InputEdge parents = 5;
getParentsOrBuilder(int index)
public Node.InputEdgeOrBuilder getParentsOrBuilder(int index)
Parent node. Input node should not have parent node. For V1 Alpha1/Beta
only media warehouse node can have multiple parents, other types of nodes
will only have one parent.
repeated .google.cloud.visionai.v1.Node.InputEdge parents = 5;
Parameter |
Name |
Description |
index |
int
|
getParentsOrBuilderList()
public List<? extends Node.InputEdgeOrBuilder> getParentsOrBuilderList()
Parent node. Input node should not have parent node. For V1 Alpha1/Beta
only media warehouse node can have multiple parents, other types of nodes
will only have one parent.
repeated .google.cloud.visionai.v1.Node.InputEdge parents = 5;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.Node.InputEdgeOrBuilder> |
|
getParserForType()
public Parser<Node> getParserForType()
Overrides
getProcessor()
public String getProcessor()
Processor name refer to the chosen processor resource.
string processor = 4;
Returns |
Type |
Description |
String |
The processor.
|
getProcessorBytes()
public ByteString getProcessorBytes()
Processor name refer to the chosen processor resource.
string processor = 4;
Returns |
Type |
Description |
ByteString |
The bytes for processor.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStreamOutputConfigCase()
public Node.StreamOutputConfigCase getStreamOutputConfigCase()
hasNodeConfig()
public boolean hasNodeConfig()
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;
Returns |
Type |
Description |
boolean |
Whether the nodeConfig field is set.
|
hasOutputAllOutputChannelsToStream()
public boolean hasOutputAllOutputChannelsToStream()
By default, the output of the node will only be available to downstream
nodes. To consume the direct output from the application node, the output
must be sent to Vision AI Streams at first.
By setting output_all_output_channels_to_stream to true, App Platform
will automatically send all the outputs of the current node to Vision AI
Stream resources (one stream per output channel). The output stream
resource will be created by App Platform automatically during deployment
and deleted after application un-deployment.
Note that this config applies to all the Application Instances.
The output stream can be override at instance level by
configuring the output_resources
section of Instance resource.
producer_node
should be current node, output_resource_binding
should
be the output channel name (or leave it blank if there is only 1 output
channel of the processor) and output_resource
should be the target
output stream.
bool output_all_output_channels_to_stream = 6;
Returns |
Type |
Description |
boolean |
Whether the outputAllOutputChannelsToStream field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Node.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Node.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Node.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides