Class DialogDynamicCustomAction.Builder

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

public static final class DialogDynamicCustomAction.Builder extends com.google.protobuf.GeneratedMessage.Builder<DialogDynamicCustomAction.Builder> implements DialogDynamicCustomActionOrBuilder
Dynamic custom action with additional NBT data.
Protobuf type soulfire.v1.DialogDynamicCustomAction
  • 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<DialogDynamicCustomAction.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<DialogDynamicCustomAction.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<DialogDynamicCustomAction.Builder>
    • getDefaultInstanceForType

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

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

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

      public DialogDynamicCustomAction.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<DialogDynamicCustomAction.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<DialogDynamicCustomAction.Builder>
    • mergeFrom

      public DialogDynamicCustomAction.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<DialogDynamicCustomAction.Builder>
      Throws:
      IOException
    • getId

      public String getId()
      Custom action identifier.
      
      string id = 1;
      Specified by:
      getId in interface DialogDynamicCustomActionOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      Custom action identifier.
      
      string id = 1;
      Specified by:
      getIdBytes in interface DialogDynamicCustomActionOrBuilder
      Returns:
      The bytes for id.
    • setId

      Custom action identifier.
      
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      Custom action identifier.
      
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public DialogDynamicCustomAction.Builder setIdBytes(com.google.protobuf.ByteString value)
      Custom action identifier.
      
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getAdditions

      public String getAdditions()
      Additional NBT data as JSON string.
      
      string additions = 2;
      Specified by:
      getAdditions in interface DialogDynamicCustomActionOrBuilder
      Returns:
      The additions.
    • getAdditionsBytes

      public com.google.protobuf.ByteString getAdditionsBytes()
      Additional NBT data as JSON string.
      
      string additions = 2;
      Specified by:
      getAdditionsBytes in interface DialogDynamicCustomActionOrBuilder
      Returns:
      The bytes for additions.
    • setAdditions

      public DialogDynamicCustomAction.Builder setAdditions(String value)
      Additional NBT data as JSON string.
      
      string additions = 2;
      Parameters:
      value - The additions to set.
      Returns:
      This builder for chaining.
    • clearAdditions

      public DialogDynamicCustomAction.Builder clearAdditions()
      Additional NBT data as JSON string.
      
      string additions = 2;
      Returns:
      This builder for chaining.
    • setAdditionsBytes

      public DialogDynamicCustomAction.Builder setAdditionsBytes(com.google.protobuf.ByteString value)
      Additional NBT data as JSON string.
      
      string additions = 2;
      Parameters:
      value - The bytes for additions to set.
      Returns:
      This builder for chaining.