Class BotInventoryClickResponse.Builder

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

public static final class BotInventoryClickResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<BotInventoryClickResponse.Builder> implements BotInventoryClickResponseOrBuilder
Response for inventory click action.
Protobuf type soulfire.v1.BotInventoryClickResponse
  • 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<BotInventoryClickResponse.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<BotInventoryClickResponse.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<BotInventoryClickResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public BotInventoryClickResponse.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<BotInventoryClickResponse.Builder>
      Throws:
      IOException
    • getSuccess

      public boolean getSuccess()
      Whether the click action was successfully sent to the server.
      Note: This indicates the action was sent, not that the server accepted it.
      
      bool success = 1;
      Specified by:
      getSuccess in interface BotInventoryClickResponseOrBuilder
      Returns:
      The success.
    • setSuccess

      public BotInventoryClickResponse.Builder setSuccess(boolean value)
      Whether the click action was successfully sent to the server.
      Note: This indicates the action was sent, not that the server accepted it.
      
      bool success = 1;
      Parameters:
      value - The success to set.
      Returns:
      This builder for chaining.
    • clearSuccess

      public BotInventoryClickResponse.Builder clearSuccess()
      Whether the click action was successfully sent to the server.
      Note: This indicates the action was sent, not that the server accepted it.
      
      bool success = 1;
      Returns:
      This builder for chaining.
    • hasError

      public boolean hasError()
      Error message if success is false.
      Possible errors: "Invalid click type"
      
      optional string error = 2;
      Specified by:
      hasError in interface BotInventoryClickResponseOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public String getError()
      Error message if success is false.
      Possible errors: "Invalid click type"
      
      optional string error = 2;
      Specified by:
      getError in interface BotInventoryClickResponseOrBuilder
      Returns:
      The error.
    • getErrorBytes

      public com.google.protobuf.ByteString getErrorBytes()
      Error message if success is false.
      Possible errors: "Invalid click type"
      
      optional string error = 2;
      Specified by:
      getErrorBytes in interface BotInventoryClickResponseOrBuilder
      Returns:
      The bytes for error.
    • setError

      public BotInventoryClickResponse.Builder setError(String value)
      Error message if success is false.
      Possible errors: "Invalid click type"
      
      optional string error = 2;
      Parameters:
      value - The error to set.
      Returns:
      This builder for chaining.
    • clearError

      public BotInventoryClickResponse.Builder clearError()
      Error message if success is false.
      Possible errors: "Invalid click type"
      
      optional string error = 2;
      Returns:
      This builder for chaining.
    • setErrorBytes

      public BotInventoryClickResponse.Builder setErrorBytes(com.google.protobuf.ByteString value)
      Error message if success is false.
      Possible errors: "Invalid click type"
      
      optional string error = 2;
      Parameters:
      value - The bytes for error to set.
      Returns:
      This builder for chaining.