Class PortTypeMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.PortTypeMetadata
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, PortTypeMetadataOrBuilder, Serializable
@Generated
public final class PortTypeMetadata
extends com.google.protobuf.GeneratedMessage
implements PortTypeMetadataOrBuilder
Metadata for a port type, enabling data-driven port rendering.Protobuf type
soulfire.v1.PortTypeMetadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMetadata for a port type, enabling data-driven port rendering.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetColor()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.static PortTypeMetadatastatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHuman-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.com.google.protobuf.Parser<PortTypeMetadata> The port type this metadata applies to.intThe port type this metadata applies to.intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic PortTypeMetadata.Builderstatic PortTypeMetadata.BuildernewBuilder(PortTypeMetadata prototype) protected PortTypeMetadata.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static PortTypeMetadataparseDelimitedFrom(InputStream input) static PortTypeMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PortTypeMetadataparseFrom(byte[] data) static PortTypeMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PortTypeMetadataparseFrom(com.google.protobuf.ByteString data) static PortTypeMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PortTypeMetadataparseFrom(com.google.protobuf.CodedInputStream input) static PortTypeMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PortTypeMetadataparseFrom(InputStream input) static PortTypeMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PortTypeMetadataparseFrom(ByteBuffer data) static PortTypeMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PortTypeMetadata> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PORT_TYPE_FIELD_NUMBER
public static final int PORT_TYPE_FIELD_NUMBER- See Also:
-
COLOR_FIELD_NUMBER
public static final int COLOR_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
COMPATIBLE_FROM_FIELD_NUMBER
public static final int COMPATIBLE_FROM_FIELD_NUMBER- See Also:
-
HANDLE_SHAPE_FIELD_NUMBER
public static final int HANDLE_SHAPE_FIELD_NUMBER- See Also:
-
EDGE_STYLE_FIELD_NUMBER
public static final int EDGE_STYLE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getPortTypeValue
public int getPortTypeValue()The port type this metadata applies to.
.soulfire.v1.PortType port_type = 1;- Specified by:
getPortTypeValuein interfacePortTypeMetadataOrBuilder- Returns:
- The enum numeric value on the wire for portType.
-
getPortType
The port type this metadata applies to.
.soulfire.v1.PortType port_type = 1;- Specified by:
getPortTypein interfacePortTypeMetadataOrBuilder- Returns:
- The portType.
-
getColor
Display color for this port type (hex color code, e.g., "#22c55e").
string color = 2;- Specified by:
getColorin interfacePortTypeMetadataOrBuilder- Returns:
- The color.
-
getColorBytes
public com.google.protobuf.ByteString getColorBytes()Display color for this port type (hex color code, e.g., "#22c55e").
string color = 2;- Specified by:
getColorBytesin interfacePortTypeMetadataOrBuilder- Returns:
- The bytes for color.
-
getDisplayName
Human-readable name for this port type.
string display_name = 3;- Specified by:
getDisplayNamein interfacePortTypeMetadataOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Human-readable name for this port type.
string display_name = 3;- Specified by:
getDisplayNameBytesin interfacePortTypeMetadataOrBuilder- Returns:
- The bytes for displayName.
-
getCompatibleFromList
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;- Specified by:
getCompatibleFromListin interfacePortTypeMetadataOrBuilder- Returns:
- A list containing the compatibleFrom.
-
getCompatibleFromCount
public 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;- Specified by:
getCompatibleFromCountin interfacePortTypeMetadataOrBuilder- 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;- Specified by:
getCompatibleFromin interfacePortTypeMetadataOrBuilder- 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;- Specified by:
getCompatibleFromValueListin interfacePortTypeMetadataOrBuilder- Returns:
- A list containing the enum numeric values on the wire for compatibleFrom.
-
getCompatibleFromValue
public 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;- Specified by:
getCompatibleFromValuein interfacePortTypeMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of compatibleFrom at the given index.
-
getHandleShapeValue
public int getHandleShapeValue()Shape of the handle for this port type in the visual editor.
.soulfire.v1.HandleShape handle_shape = 5;- Specified by:
getHandleShapeValuein interfacePortTypeMetadataOrBuilder- Returns:
- The enum numeric value on the wire for handleShape.
-
getHandleShape
Shape of the handle for this port type in the visual editor.
.soulfire.v1.HandleShape handle_shape = 5;- Specified by:
getHandleShapein interfacePortTypeMetadataOrBuilder- Returns:
- The handleShape.
-
getEdgeStyleValue
public int getEdgeStyleValue()Visual style for edges of this port type.
.soulfire.v1.EdgeStyle edge_style = 6;- Specified by:
getEdgeStyleValuein interfacePortTypeMetadataOrBuilder- Returns:
- The enum numeric value on the wire for edgeStyle.
-
getEdgeStyle
Visual style for edges of this port type.
.soulfire.v1.EdgeStyle edge_style = 6;- Specified by:
getEdgeStylein interfacePortTypeMetadataOrBuilder- Returns:
- The edgeStyle.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PortTypeMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PortTypeMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PortTypeMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PortTypeMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PortTypeMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PortTypeMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PortTypeMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PortTypeMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PortTypeMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PortTypeMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PortTypeMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-