Interface PortTypeMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PortTypeMetadata, PortTypeMetadata.Builder
@Generated
public interface PortTypeMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()Display color for this port type (hex color code, e.g., "#22c55e").com.google.protobuf.ByteStringDisplay color for this port type (hex color code, e.g., "#22c55e").getCompatibleFrom(int index) List of port types that can be implicitly converted to this type.intList of port types that can be implicitly converted to this type.List of port types that can be implicitly converted to this type.intgetCompatibleFromValue(int index) List of port types that can be implicitly converted to this type.List of port types that can be implicitly converted to this type.Human-readable name for this port type.com.google.protobuf.ByteStringHuman-readable name for this port type.Visual style for edges of this port type.intVisual style for edges of this port type.Shape of the handle for this port type in the visual editor.intShape of the handle for this port type in the visual editor.The port type this metadata applies to.intThe port type this metadata applies to.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPortTypeValue
int getPortTypeValue()The port type this metadata applies to.
.soulfire.v1.PortType port_type = 1;- Returns:
- The enum numeric value on the wire for portType.
-
getPortType
PortType getPortType()The port type this metadata applies to.
.soulfire.v1.PortType port_type = 1;- Returns:
- The portType.
-
getColor
String getColor()Display color for this port type (hex color code, e.g., "#22c55e").
string color = 2;- Returns:
- The color.
-
getColorBytes
com.google.protobuf.ByteString getColorBytes()Display color for this port type (hex color code, e.g., "#22c55e").
string color = 2;- Returns:
- The bytes for color.
-
getDisplayName
String getDisplayName()Human-readable name for this port type.
string display_name = 3;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Human-readable name for this port type.
string display_name = 3;- Returns:
- The bytes for displayName.
-
getCompatibleFromList
-
getCompatibleFromCount
int getCompatibleFromCount()List of port types that can be implicitly converted to this type. Used for connection validation. Empty means only exact matches allowed.
repeated .soulfire.v1.PortType compatible_from = 4;- Returns:
- The count of compatibleFrom.
-
getCompatibleFrom
List of port types that can be implicitly converted to this type. Used for connection validation. Empty means only exact matches allowed.
repeated .soulfire.v1.PortType compatible_from = 4;- Parameters:
index- The index of the element to return.- Returns:
- The compatibleFrom at the given index.
-
getCompatibleFromValueList
List of port types that can be implicitly converted to this type. Used for connection validation. Empty means only exact matches allowed.
repeated .soulfire.v1.PortType compatible_from = 4;- Returns:
- A list containing the enum numeric values on the wire for compatibleFrom.
-
getCompatibleFromValue
int getCompatibleFromValue(int index) List of port types that can be implicitly converted to this type. Used for connection validation. Empty means only exact matches allowed.
repeated .soulfire.v1.PortType compatible_from = 4;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of compatibleFrom at the given index.
-
getHandleShapeValue
int getHandleShapeValue()Shape of the handle for this port type in the visual editor.
.soulfire.v1.HandleShape handle_shape = 5;- Returns:
- The enum numeric value on the wire for handleShape.
-
getHandleShape
HandleShape getHandleShape()Shape of the handle for this port type in the visual editor.
.soulfire.v1.HandleShape handle_shape = 5;- Returns:
- The handleShape.
-
getEdgeStyleValue
int getEdgeStyleValue()Visual style for edges of this port type.
.soulfire.v1.EdgeStyle edge_style = 6;- Returns:
- The enum numeric value on the wire for edgeStyle.
-
getEdgeStyle
EdgeStyle getEdgeStyle()Visual style for edges of this port type.
.soulfire.v1.EdgeStyle edge_style = 6;- Returns:
- The edgeStyle.
-