Package org.apache.bookkeeper.proto
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 informationProtobuf type
CookieFormat- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Cookie format for storing cookie informationNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanrequired string bookieHost = 1;com.google.protobuf.ByteStringrequired string bookieHost = 1;static DataFormats.CookieFormatstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptoroptional string indexDirs = 5;com.google.protobuf.ByteStringoptional string indexDirs = 5;optional string instanceId = 4;com.google.protobuf.ByteStringoptional string instanceId = 4;required string journalDir = 2;com.google.protobuf.ByteStringrequired string journalDir = 2;required string ledgerDirs = 3;com.google.protobuf.ByteStringrequired string ledgerDirs = 3;com.google.protobuf.Parser<DataFormats.CookieFormat>intbooleanrequired string bookieHost = 1;inthashCode()booleanoptional string indexDirs = 5;booleanoptional string instanceId = 4;booleanrequired string journalDir = 2;booleanrequired string ledgerDirs = 3;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(DataFormats.CookieFormat prototype) protected DataFormats.CookieFormat.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DataFormats.CookieFormatparseDelimitedFrom(InputStream input) static DataFormats.CookieFormatparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataFormats.CookieFormatparseFrom(byte[] data) static DataFormats.CookieFormatparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataFormats.CookieFormatparseFrom(com.google.protobuf.ByteString data) static DataFormats.CookieFormatparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataFormats.CookieFormatparseFrom(com.google.protobuf.CodedInputStream input) static DataFormats.CookieFormatparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataFormats.CookieFormatparseFrom(InputStream input) static DataFormats.CookieFormatparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataFormats.CookieFormatparseFrom(ByteBuffer data) static DataFormats.CookieFormatparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DataFormats.CookieFormat>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasBookieHost
public boolean hasBookieHost()required string bookieHost = 1;- Specified by:
hasBookieHostin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- Whether the bookieHost field is set.
-
getBookieHost
required string bookieHost = 1;- Specified by:
getBookieHostin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- The bookieHost.
-
getBookieHostBytes
public com.google.protobuf.ByteString getBookieHostBytes()required string bookieHost = 1;- Specified by:
getBookieHostBytesin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- The bytes for bookieHost.
-
hasJournalDir
public boolean hasJournalDir()required string journalDir = 2;- Specified by:
hasJournalDirin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- Whether the journalDir field is set.
-
getJournalDir
required string journalDir = 2;- Specified by:
getJournalDirin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- The journalDir.
-
getJournalDirBytes
public com.google.protobuf.ByteString getJournalDirBytes()required string journalDir = 2;- Specified by:
getJournalDirBytesin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- The bytes for journalDir.
-
hasLedgerDirs
public boolean hasLedgerDirs()required string ledgerDirs = 3;- Specified by:
hasLedgerDirsin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- Whether the ledgerDirs field is set.
-
getLedgerDirs
required string ledgerDirs = 3;- Specified by:
getLedgerDirsin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- The ledgerDirs.
-
getLedgerDirsBytes
public com.google.protobuf.ByteString getLedgerDirsBytes()required string ledgerDirs = 3;- Specified by:
getLedgerDirsBytesin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- The bytes for ledgerDirs.
-
hasInstanceId
public boolean hasInstanceId()optional string instanceId = 4;- Specified by:
hasInstanceIdin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- Whether the instanceId field is set.
-
getInstanceId
optional string instanceId = 4;- Specified by:
getInstanceIdin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()optional string instanceId = 4;- Specified by:
getInstanceIdBytesin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- The bytes for instanceId.
-
hasIndexDirs
public boolean hasIndexDirs()optional string indexDirs = 5;- Specified by:
hasIndexDirsin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- Whether the indexDirs field is set.
-
getIndexDirs
optional string indexDirs = 5;- Specified by:
getIndexDirsin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- The indexDirs.
-
getIndexDirsBytes
public com.google.protobuf.ByteString getIndexDirsBytes()optional string indexDirs = 5;- Specified by:
getIndexDirsBytesin interfaceDataFormats.CookieFormatOrBuilder- Returns:
- The bytes for indexDirs.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static DataFormats.CookieFormat parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataFormats.CookieFormat.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-