Class GetNodeTypesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetNodeTypesResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<GetNodeTypesResponse.Builder>
com.soulfiremc.grpc.generated.GetNodeTypesResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GetNodeTypesResponseOrBuilder, Cloneable
Enclosing class:
GetNodeTypesResponse

public static final class GetNodeTypesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetNodeTypesResponse.Builder> implements GetNodeTypesResponseOrBuilder
Response containing all available node types.
Protobuf type soulfire.v1.GetNodeTypesResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GetNodeTypesResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<GetNodeTypesResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GetNodeTypesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public GetNodeTypesResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetNodeTypesResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<GetNodeTypesResponse.Builder>
    • mergeFrom

      public GetNodeTypesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetNodeTypesResponse.Builder>
      Throws:
      IOException
    • 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
    • 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
    • setNodeTypes

      public GetNodeTypesResponse.Builder setNodeTypes(int index, NodeTypeDefinition value)
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
    • setNodeTypes

      public GetNodeTypesResponse.Builder setNodeTypes(int index, NodeTypeDefinition.Builder builderForValue)
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
    • addNodeTypes

      public GetNodeTypesResponse.Builder addNodeTypes(NodeTypeDefinition value)
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
    • addNodeTypes

      public GetNodeTypesResponse.Builder addNodeTypes(int index, NodeTypeDefinition value)
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
    • addNodeTypes

      public GetNodeTypesResponse.Builder addNodeTypes(NodeTypeDefinition.Builder builderForValue)
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
    • addNodeTypes

      public GetNodeTypesResponse.Builder addNodeTypes(int index, NodeTypeDefinition.Builder builderForValue)
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
    • addAllNodeTypes

      public GetNodeTypesResponse.Builder addAllNodeTypes(Iterable<? extends NodeTypeDefinition> values)
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
    • clearNodeTypes

      public GetNodeTypesResponse.Builder clearNodeTypes()
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
    • removeNodeTypes

      public GetNodeTypesResponse.Builder removeNodeTypes(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;
    • getNodeTypesBuilder

      public NodeTypeDefinition.Builder getNodeTypesBuilder(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;
    • 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
    • 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
    • addNodeTypesBuilder

      public NodeTypeDefinition.Builder addNodeTypesBuilder()
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
    • addNodeTypesBuilder

      public NodeTypeDefinition.Builder addNodeTypesBuilder(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;
    • getNodeTypesBuilderList

      public List<NodeTypeDefinition.Builder> getNodeTypesBuilderList()
      List of all node type definitions.
      Clients can use this to render any node and validate connections.
      
      repeated .soulfire.v1.NodeTypeDefinition node_types = 1;
    • 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
    • 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
    • setCategories

      public GetNodeTypesResponse.Builder setCategories(int index, CategoryDefinition value)
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
    • setCategories

      public GetNodeTypesResponse.Builder setCategories(int index, CategoryDefinition.Builder builderForValue)
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
    • addCategories

      public GetNodeTypesResponse.Builder addCategories(CategoryDefinition value)
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
    • addCategories

      public GetNodeTypesResponse.Builder addCategories(int index, CategoryDefinition value)
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
    • addCategories

      public GetNodeTypesResponse.Builder addCategories(CategoryDefinition.Builder builderForValue)
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
    • addCategories

      public GetNodeTypesResponse.Builder addCategories(int index, CategoryDefinition.Builder builderForValue)
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
    • addAllCategories

      public GetNodeTypesResponse.Builder addAllCategories(Iterable<? extends CategoryDefinition> values)
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
    • clearCategories

      public GetNodeTypesResponse.Builder clearCategories()
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
    • removeCategories

      public GetNodeTypesResponse.Builder removeCategories(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;
    • getCategoriesBuilder

      public CategoryDefinition.Builder getCategoriesBuilder(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;
    • 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
    • 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
    • addCategoriesBuilder

      public CategoryDefinition.Builder addCategoriesBuilder()
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
    • addCategoriesBuilder

      public CategoryDefinition.Builder addCategoriesBuilder(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;
    • getCategoriesBuilderList

      public List<CategoryDefinition.Builder> getCategoriesBuilderList()
      List of all categories with their metadata.
      Useful for building category filters and palette sections in the UI.
      
      repeated .soulfire.v1.CategoryDefinition categories = 2;
    • 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
    • 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
    • setPortTypeMetadata

      public GetNodeTypesResponse.Builder setPortTypeMetadata(int index, PortTypeMetadata value)
      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;
    • setPortTypeMetadata

      public GetNodeTypesResponse.Builder setPortTypeMetadata(int index, PortTypeMetadata.Builder builderForValue)
      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;
    • addPortTypeMetadata

      public GetNodeTypesResponse.Builder addPortTypeMetadata(PortTypeMetadata value)
      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;
    • addPortTypeMetadata

      public GetNodeTypesResponse.Builder addPortTypeMetadata(int index, PortTypeMetadata value)
      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;
    • addPortTypeMetadata

      public GetNodeTypesResponse.Builder addPortTypeMetadata(PortTypeMetadata.Builder builderForValue)
      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;
    • addPortTypeMetadata

      public GetNodeTypesResponse.Builder addPortTypeMetadata(int index, PortTypeMetadata.Builder builderForValue)
      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;
    • addAllPortTypeMetadata

      public GetNodeTypesResponse.Builder addAllPortTypeMetadata(Iterable<? extends PortTypeMetadata> values)
      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;
    • clearPortTypeMetadata

      public GetNodeTypesResponse.Builder clearPortTypeMetadata()
      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;
    • removePortTypeMetadata

      public GetNodeTypesResponse.Builder removePortTypeMetadata(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;
    • getPortTypeMetadataBuilder

      public PortTypeMetadata.Builder getPortTypeMetadataBuilder(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;
    • 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
    • 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
    • addPortTypeMetadataBuilder

      public PortTypeMetadata.Builder addPortTypeMetadataBuilder()
      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;
    • addPortTypeMetadataBuilder

      public PortTypeMetadata.Builder addPortTypeMetadataBuilder(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;
    • getPortTypeMetadataBuilderList

      public List<PortTypeMetadata.Builder> getPortTypeMetadataBuilderList()
      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;