Class BookkeeperProtocol.AuthMessage.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BookkeeperProtocol.AuthMessage.Builder>
org.apache.bookkeeper.proto.BookkeeperProtocol.AuthMessage.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, BookkeeperProtocol.AuthMessageOrBuilder
Enclosing class:
BookkeeperProtocol.AuthMessage

public static final class BookkeeperProtocol.AuthMessage.Builder extends com.google.protobuf.GeneratedMessage.Builder<BookkeeperProtocol.AuthMessage.Builder> implements BookkeeperProtocol.AuthMessageOrBuilder
Protobuf type AuthMessage
  • 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<BookkeeperProtocol.AuthMessage.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<BookkeeperProtocol.AuthMessage.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<BookkeeperProtocol.AuthMessage.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public BookkeeperProtocol.AuthMessage.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<BookkeeperProtocol.AuthMessage.Builder>
      Throws:
      IOException
    • hasAuthPluginName

      public boolean hasAuthPluginName()
      required string authPluginName = 1;
      Specified by:
      hasAuthPluginName in interface BookkeeperProtocol.AuthMessageOrBuilder
      Returns:
      Whether the authPluginName field is set.
    • getAuthPluginName

      public String getAuthPluginName()
      required string authPluginName = 1;
      Specified by:
      getAuthPluginName in interface BookkeeperProtocol.AuthMessageOrBuilder
      Returns:
      The authPluginName.
    • getAuthPluginNameBytes

      public com.google.protobuf.ByteString getAuthPluginNameBytes()
      required string authPluginName = 1;
      Specified by:
      getAuthPluginNameBytes in interface BookkeeperProtocol.AuthMessageOrBuilder
      Returns:
      The bytes for authPluginName.
    • setAuthPluginName

      public BookkeeperProtocol.AuthMessage.Builder setAuthPluginName(String value)
      required string authPluginName = 1;
      Parameters:
      value - The authPluginName to set.
      Returns:
      This builder for chaining.
    • clearAuthPluginName

      public BookkeeperProtocol.AuthMessage.Builder clearAuthPluginName()
      required string authPluginName = 1;
      Returns:
      This builder for chaining.
    • setAuthPluginNameBytes

      public BookkeeperProtocol.AuthMessage.Builder setAuthPluginNameBytes(com.google.protobuf.ByteString value)
      required string authPluginName = 1;
      Parameters:
      value - The bytes for authPluginName to set.
      Returns:
      This builder for chaining.
    • hasPayload

      public boolean hasPayload()
      required bytes payload = 2;
      Specified by:
      hasPayload in interface BookkeeperProtocol.AuthMessageOrBuilder
      Returns:
      Whether the payload field is set.
    • getPayload

      public com.google.protobuf.ByteString getPayload()
      required bytes payload = 2;
      Specified by:
      getPayload in interface BookkeeperProtocol.AuthMessageOrBuilder
      Returns:
      The payload.
    • setPayload

      public BookkeeperProtocol.AuthMessage.Builder setPayload(com.google.protobuf.ByteString value)
      required bytes payload = 2;
      Parameters:
      value - The payload to set.
      Returns:
      This builder for chaining.
    • clearPayload

      required bytes payload = 2;
      Returns:
      This builder for chaining.