Package org.apache.bookkeeper.proto
Class BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
-
- org.apache.bookkeeper.proto.BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,BookkeeperProtocol.GetListOfEntriesOfLedgerResponseOrBuilder
- Enclosing class:
- BookkeeperProtocol.GetListOfEntriesOfLedgerResponse
public static final class BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder> implements BookkeeperProtocol.GetListOfEntriesOfLedgerResponseOrBuilder
Protobuf typeGetListOfEntriesOfLedgerResponse
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
-
clear
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
-
getDefaultInstanceForType
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
-
setField
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
-
clearField
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
-
clearOneof
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
-
setRepeatedField
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
-
addRepeatedField
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
-
mergeFrom
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
-
mergeFrom
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder mergeFrom(BookkeeperProtocol.GetListOfEntriesOfLedgerResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
-
mergeFrom
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
- Throws:
java.io.IOException
-
hasStatus
public boolean hasStatus()
required .StatusCode status = 1;
- Specified by:
hasStatus
in interfaceBookkeeperProtocol.GetListOfEntriesOfLedgerResponseOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public BookkeeperProtocol.StatusCode getStatus()
required .StatusCode status = 1;
- Specified by:
getStatus
in interfaceBookkeeperProtocol.GetListOfEntriesOfLedgerResponseOrBuilder
- Returns:
- The status.
-
setStatus
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder setStatus(BookkeeperProtocol.StatusCode value)
required .StatusCode status = 1;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder clearStatus()
required .StatusCode status = 1;
- Returns:
- This builder for chaining.
-
hasLedgerId
public boolean hasLedgerId()
required int64 ledgerId = 2;
- Specified by:
hasLedgerId
in interfaceBookkeeperProtocol.GetListOfEntriesOfLedgerResponseOrBuilder
- Returns:
- Whether the ledgerId field is set.
-
getLedgerId
public long getLedgerId()
required int64 ledgerId = 2;
- Specified by:
getLedgerId
in interfaceBookkeeperProtocol.GetListOfEntriesOfLedgerResponseOrBuilder
- Returns:
- The ledgerId.
-
setLedgerId
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder setLedgerId(long value)
required int64 ledgerId = 2;
- Parameters:
value
- The ledgerId to set.- Returns:
- This builder for chaining.
-
clearLedgerId
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder clearLedgerId()
required int64 ledgerId = 2;
- Returns:
- This builder for chaining.
-
hasAvailabilityOfEntriesOfLedger
public boolean hasAvailabilityOfEntriesOfLedger()
condensed encoded format representing availability of entries of ledger
optional bytes availabilityOfEntriesOfLedger = 3;
- Specified by:
hasAvailabilityOfEntriesOfLedger
in interfaceBookkeeperProtocol.GetListOfEntriesOfLedgerResponseOrBuilder
- Returns:
- Whether the availabilityOfEntriesOfLedger field is set.
-
getAvailabilityOfEntriesOfLedger
public com.google.protobuf.ByteString getAvailabilityOfEntriesOfLedger()
condensed encoded format representing availability of entries of ledger
optional bytes availabilityOfEntriesOfLedger = 3;
- Specified by:
getAvailabilityOfEntriesOfLedger
in interfaceBookkeeperProtocol.GetListOfEntriesOfLedgerResponseOrBuilder
- Returns:
- The availabilityOfEntriesOfLedger.
-
setAvailabilityOfEntriesOfLedger
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder setAvailabilityOfEntriesOfLedger(com.google.protobuf.ByteString value)
condensed encoded format representing availability of entries of ledger
optional bytes availabilityOfEntriesOfLedger = 3;
- Parameters:
value
- The availabilityOfEntriesOfLedger to set.- Returns:
- This builder for chaining.
-
clearAvailabilityOfEntriesOfLedger
public BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder clearAvailabilityOfEntriesOfLedger()
condensed encoded format representing availability of entries of ledger
optional bytes availabilityOfEntriesOfLedger = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
-
mergeUnknownFields
public final BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder>
-
-