Class DataFormats.CookieFormat

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.apache.bookkeeper.proto.DataFormats.CookieFormat
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, DataFormats.CookieFormatOrBuilder
Enclosing class:
DataFormats

public static final class DataFormats.CookieFormat extends com.google.protobuf.GeneratedMessage implements DataFormats.CookieFormatOrBuilder
 *
 Cookie format for storing cookie information
 
Protobuf type CookieFormat
See Also:
  • Field Details

    • BOOKIEHOST_FIELD_NUMBER

      public static final int BOOKIEHOST_FIELD_NUMBER
      See Also:
    • JOURNALDIR_FIELD_NUMBER

      public static final int JOURNALDIR_FIELD_NUMBER
      See Also:
    • LEDGERDIRS_FIELD_NUMBER

      public static final int LEDGERDIRS_FIELD_NUMBER
      See Also:
    • INSTANCEID_FIELD_NUMBER

      public static final int INSTANCEID_FIELD_NUMBER
      See Also:
    • INDEXDIRS_FIELD_NUMBER

      public static final int INDEXDIRS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasBookieHost

      public boolean hasBookieHost()
      required string bookieHost = 1;
      Specified by:
      hasBookieHost in interface DataFormats.CookieFormatOrBuilder
      Returns:
      Whether the bookieHost field is set.
    • getBookieHost

      public String getBookieHost()
      required string bookieHost = 1;
      Specified by:
      getBookieHost in interface DataFormats.CookieFormatOrBuilder
      Returns:
      The bookieHost.
    • getBookieHostBytes

      public com.google.protobuf.ByteString getBookieHostBytes()
      required string bookieHost = 1;
      Specified by:
      getBookieHostBytes in interface DataFormats.CookieFormatOrBuilder
      Returns:
      The bytes for bookieHost.
    • hasJournalDir

      public boolean hasJournalDir()
      required string journalDir = 2;
      Specified by:
      hasJournalDir in interface DataFormats.CookieFormatOrBuilder
      Returns:
      Whether the journalDir field is set.
    • getJournalDir

      public String getJournalDir()
      required string journalDir = 2;
      Specified by:
      getJournalDir in interface DataFormats.CookieFormatOrBuilder
      Returns:
      The journalDir.
    • getJournalDirBytes

      public com.google.protobuf.ByteString getJournalDirBytes()
      required string journalDir = 2;
      Specified by:
      getJournalDirBytes in interface DataFormats.CookieFormatOrBuilder
      Returns:
      The bytes for journalDir.
    • hasLedgerDirs

      public boolean hasLedgerDirs()
      required string ledgerDirs = 3;
      Specified by:
      hasLedgerDirs in interface DataFormats.CookieFormatOrBuilder
      Returns:
      Whether the ledgerDirs field is set.
    • getLedgerDirs

      public String getLedgerDirs()
      required string ledgerDirs = 3;
      Specified by:
      getLedgerDirs in interface DataFormats.CookieFormatOrBuilder
      Returns:
      The ledgerDirs.
    • getLedgerDirsBytes

      public com.google.protobuf.ByteString getLedgerDirsBytes()
      required string ledgerDirs = 3;
      Specified by:
      getLedgerDirsBytes in interface DataFormats.CookieFormatOrBuilder
      Returns:
      The bytes for ledgerDirs.
    • hasInstanceId

      public boolean hasInstanceId()
      optional string instanceId = 4;
      Specified by:
      hasInstanceId in interface DataFormats.CookieFormatOrBuilder
      Returns:
      Whether the instanceId field is set.
    • getInstanceId

      public String getInstanceId()
      optional string instanceId = 4;
      Specified by:
      getInstanceId in interface DataFormats.CookieFormatOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

      public com.google.protobuf.ByteString getInstanceIdBytes()
      optional string instanceId = 4;
      Specified by:
      getInstanceIdBytes in interface DataFormats.CookieFormatOrBuilder
      Returns:
      The bytes for instanceId.
    • hasIndexDirs

      public boolean hasIndexDirs()
      optional string indexDirs = 5;
      Specified by:
      hasIndexDirs in interface DataFormats.CookieFormatOrBuilder
      Returns:
      Whether the indexDirs field is set.
    • getIndexDirs

      public String getIndexDirs()
      optional string indexDirs = 5;
      Specified by:
      getIndexDirs in interface DataFormats.CookieFormatOrBuilder
      Returns:
      The indexDirs.
    • getIndexDirsBytes

      public com.google.protobuf.ByteString getIndexDirsBytes()
      optional string indexDirs = 5;
      Specified by:
      getIndexDirsBytes in interface DataFormats.CookieFormatOrBuilder
      Returns:
      The bytes for indexDirs.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DataFormats.CookieFormat parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataFormats.CookieFormat parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataFormats.CookieFormat parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataFormats.CookieFormat parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataFormats.CookieFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataFormats.CookieFormat parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataFormats.CookieFormat parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataFormats.CookieFormat parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataFormats.CookieFormat parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataFormats.CookieFormat parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataFormats.CookieFormat parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataFormats.CookieFormat parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DataFormats.CookieFormat.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DataFormats.CookieFormat.Builder newBuilder()
    • newBuilder

      public static DataFormats.CookieFormat.Builder newBuilder(DataFormats.CookieFormat prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DataFormats.CookieFormat.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DataFormats.CookieFormat getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DataFormats.CookieFormat> parser()
    • getParserForType

      public com.google.protobuf.Parser<DataFormats.CookieFormat> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DataFormats.CookieFormat getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder