Class CategoryDefinition.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CategoryDefinition.Builder>
com.google.protobuf.GeneratedMessage.Builder<CategoryDefinition.Builder>
com.soulfiremc.grpc.generated.CategoryDefinition.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CategoryDefinitionOrBuilder, Cloneable
- Enclosing class:
CategoryDefinition
public static final class CategoryDefinition.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CategoryDefinition.Builder>
implements CategoryDefinitionOrBuilder
Definition of a node category for organizing the node palette.Protobuf type
soulfire.v1.CategoryDefinition-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional description of this category.Human-readable name displayed in the UI.Icon identifier for the category.clearId()The unique identifier for this category.Sort order for displaying categories (lower = earlier).Optional description of this category.com.google.protobuf.ByteStringOptional description of this category.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHuman-readable name displayed in the UI.com.google.protobuf.ByteStringHuman-readable name displayed in the UI.getIcon()Icon identifier for the category.com.google.protobuf.ByteStringIcon identifier for the category.getId()The unique identifier for this category.com.google.protobuf.ByteStringThe unique identifier for this category.intSort order for displaying categories (lower = earlier).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CategoryDefinition other) setDescription(String value) Optional description of this category.setDescriptionBytes(com.google.protobuf.ByteString value) Optional description of this category.setDisplayName(String value) Human-readable name displayed in the UI.setDisplayNameBytes(com.google.protobuf.ByteString value) Human-readable name displayed in the UI.Icon identifier for the category.setIconBytes(com.google.protobuf.ByteString value) Icon identifier for the category.The unique identifier for this category.setIdBytes(com.google.protobuf.ByteString value) The unique identifier for this category.setSortOrder(int value) Sort order for displaying categories (lower = earlier).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CategoryDefinition.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CategoryDefinition.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CategoryDefinition.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CategoryDefinition.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CategoryDefinition.Builder>
-
mergeFrom
public CategoryDefinition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CategoryDefinition.Builder>- Throws:
IOException
-
getId
The unique identifier for this category. Examples: "triggers", "actions", "math", "logic".
string id = 1;- Specified by:
getIdin interfaceCategoryDefinitionOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The unique identifier for this category. Examples: "triggers", "actions", "math", "logic".
string id = 1;- Specified by:
getIdBytesin interfaceCategoryDefinitionOrBuilder- Returns:
- The bytes for id.
-
setId
The unique identifier for this category. Examples: "triggers", "actions", "math", "logic".
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
The unique identifier for this category. Examples: "triggers", "actions", "math", "logic".
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
The unique identifier for this category. Examples: "triggers", "actions", "math", "logic".
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getDisplayName
Human-readable name displayed in the UI. Examples: "Triggers", "Actions", "Math", "Logic".
string display_name = 2;- Specified by:
getDisplayNamein interfaceCategoryDefinitionOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Human-readable name displayed in the UI. Examples: "Triggers", "Actions", "Math", "Logic".
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceCategoryDefinitionOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Human-readable name displayed in the UI. Examples: "Triggers", "Actions", "Math", "Logic".
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Human-readable name displayed in the UI. Examples: "Triggers", "Actions", "Math", "Logic".
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Human-readable name displayed in the UI. Examples: "Triggers", "Actions", "Math", "Logic".
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getIcon
Icon identifier for the category. Examples: "zap", "play", "calculator", "git-branch".
string icon = 3;- Specified by:
getIconin interfaceCategoryDefinitionOrBuilder- Returns:
- The icon.
-
getIconBytes
public com.google.protobuf.ByteString getIconBytes()Icon identifier for the category. Examples: "zap", "play", "calculator", "git-branch".
string icon = 3;- Specified by:
getIconBytesin interfaceCategoryDefinitionOrBuilder- Returns:
- The bytes for icon.
-
setIcon
Icon identifier for the category. Examples: "zap", "play", "calculator", "git-branch".
string icon = 3;- Parameters:
value- The icon to set.- Returns:
- This builder for chaining.
-
clearIcon
Icon identifier for the category. Examples: "zap", "play", "calculator", "git-branch".
string icon = 3;- Returns:
- This builder for chaining.
-
setIconBytes
Icon identifier for the category. Examples: "zap", "play", "calculator", "git-branch".
string icon = 3;- Parameters:
value- The bytes for icon to set.- Returns:
- This builder for chaining.
-
getDescription
Optional description of this category.
string description = 4;- Specified by:
getDescriptionin interfaceCategoryDefinitionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional description of this category.
string description = 4;- Specified by:
getDescriptionBytesin interfaceCategoryDefinitionOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional description of this category.
string description = 4;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional description of this category.
string description = 4;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional description of this category.
string description = 4;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getSortOrder
public int getSortOrder()Sort order for displaying categories (lower = earlier).
int32 sort_order = 5;- Specified by:
getSortOrderin interfaceCategoryDefinitionOrBuilder- Returns:
- The sortOrder.
-
setSortOrder
Sort order for displaying categories (lower = earlier).
int32 sort_order = 5;- Parameters:
value- The sortOrder to set.- Returns:
- This builder for chaining.
-
clearSortOrder
Sort order for displaying categories (lower = earlier).
int32 sort_order = 5;- Returns:
- This builder for chaining.
-