Class GetNodeTypesResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.GetNodeTypesResponse
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GetNodeTypesResponseOrBuilder, Serializable

@Generated public final class GetNodeTypesResponse extends com.google.protobuf.GeneratedMessage implements GetNodeTypesResponseOrBuilder
Response containing all available node types.
Protobuf type soulfire.v1.GetNodeTypesResponse
See Also:
  • Field Details

    • NODE_TYPES_FIELD_NUMBER

      public static final int NODE_TYPES_FIELD_NUMBER
      See Also:
    • CATEGORIES_FIELD_NUMBER

      public static final int CATEGORIES_FIELD_NUMBER
      See Also:
    • PORT_TYPE_METADATA_FIELD_NUMBER

      public static final int PORT_TYPE_METADATA_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:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getNodeTypesList

      public List<NodeTypeDefinition> getNodeTypesList()
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
      Specified by:
      getNodeTypesList in interface GetNodeTypesResponseOrBuilder
    • getNodeTypesOrBuilderList

      public List<? extends NodeTypeDefinitionOrBuilder> getNodeTypesOrBuilderList()
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
      Specified by:
      getNodeTypesOrBuilderList in interface GetNodeTypesResponseOrBuilder
    • getNodeTypesCount

      public int getNodeTypesCount()
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
      Specified by:
      getNodeTypesCount in interface GetNodeTypesResponseOrBuilder
    • getNodeTypes

      public NodeTypeDefinition getNodeTypes(int index)
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
      Specified by:
      getNodeTypes in interface GetNodeTypesResponseOrBuilder
    • getNodeTypesOrBuilder

      public NodeTypeDefinitionOrBuilder getNodeTypesOrBuilder(int index)
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
      Specified by:
      getNodeTypesOrBuilder in interface GetNodeTypesResponseOrBuilder
    • getCategoriesList

      public List<CategoryDefinition> getCategoriesList()
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
      Specified by:
      getCategoriesList in interface GetNodeTypesResponseOrBuilder
    • getCategoriesOrBuilderList

      public List<? extends CategoryDefinitionOrBuilder> getCategoriesOrBuilderList()
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
      Specified by:
      getCategoriesOrBuilderList in interface GetNodeTypesResponseOrBuilder
    • getCategoriesCount

      public int getCategoriesCount()
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
      Specified by:
      getCategoriesCount in interface GetNodeTypesResponseOrBuilder
    • getCategories

      public CategoryDefinition getCategories(int index)
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
      Specified by:
      getCategories in interface GetNodeTypesResponseOrBuilder
    • getCategoriesOrBuilder

      public CategoryDefinitionOrBuilder getCategoriesOrBuilder(int index)
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
      Specified by:
      getCategoriesOrBuilder in interface GetNodeTypesResponseOrBuilder
    • getPortTypeMetadataList

      public List<PortTypeMetadata> getPortTypeMetadataList()
      Metadata for each port type including colors and compatibility.
      Clients should use this instead of hardcoded port type info.
      
      repeated .soulfire.v1.PortTypeMetadata port_type_metadata = 3;
      Specified by:
      getPortTypeMetadataList in interface GetNodeTypesResponseOrBuilder
    • getPortTypeMetadataOrBuilderList

      public List<? extends PortTypeMetadataOrBuilder> getPortTypeMetadataOrBuilderList()
      Metadata for each port type including colors and compatibility.
      Clients should use this instead of hardcoded port type info.
      
      repeated .soulfire.v1.PortTypeMetadata port_type_metadata = 3;
      Specified by:
      getPortTypeMetadataOrBuilderList in interface GetNodeTypesResponseOrBuilder
    • getPortTypeMetadataCount

      public int getPortTypeMetadataCount()
      Metadata for each port type including colors and compatibility.
      Clients should use this instead of hardcoded port type info.
      
      repeated .soulfire.v1.PortTypeMetadata port_type_metadata = 3;
      Specified by:
      getPortTypeMetadataCount in interface GetNodeTypesResponseOrBuilder
    • getPortTypeMetadata

      public PortTypeMetadata getPortTypeMetadata(int index)
      Metadata for each port type including colors and compatibility.
      Clients should use this instead of hardcoded port type info.
      
      repeated .soulfire.v1.PortTypeMetadata port_type_metadata = 3;
      Specified by:
      getPortTypeMetadata in interface GetNodeTypesResponseOrBuilder
    • getPortTypeMetadataOrBuilder

      public PortTypeMetadataOrBuilder getPortTypeMetadataOrBuilder(int index)
      Metadata for each port type including colors and compatibility.
      Clients should use this instead of hardcoded port type info.
      
      repeated .soulfire.v1.PortTypeMetadata port_type_metadata = 3;
      Specified by:
      getPortTypeMetadataOrBuilder in interface GetNodeTypesResponseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static GetNodeTypesResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetNodeTypesResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetNodeTypesResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetNodeTypesResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetNodeTypesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetNodeTypesResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetNodeTypesResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetNodeTypesResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetNodeTypesResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetNodeTypesResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetNodeTypesResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetNodeTypesResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public GetNodeTypesResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GetNodeTypesResponse.Builder newBuilder()
    • newBuilder

      public static GetNodeTypesResponse.Builder newBuilder(GetNodeTypesResponse prototype)
    • toBuilder

      public GetNodeTypesResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GetNodeTypesResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static GetNodeTypesResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GetNodeTypesResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<GetNodeTypesResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public GetNodeTypesResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder