Package org.apache.bookkeeper.proto
Interface DataFormats.UnderreplicatedLedgerFormatOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataFormats.UnderreplicatedLedgerFormat,DataFormats.UnderreplicatedLedgerFormat.Builder
- Enclosing class:
- DataFormats
public static interface DataFormats.UnderreplicatedLedgerFormatOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetCtime()optional int64 ctime = 2;getReplica(int index) repeated string replica = 1;com.google.protobuf.ByteStringgetReplicaBytes(int index) repeated string replica = 1;intrepeated string replica = 1;repeated string replica = 1;booleanhasCtime()optional int64 ctime = 2;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getReplicaList
repeated string replica = 1;- Returns:
- A list containing the replica.
-
getReplicaCount
int getReplicaCount()repeated string replica = 1;- Returns:
- The count of replica.
-
getReplica
repeated string replica = 1;- Parameters:
index- The index of the element to return.- Returns:
- The replica at the given index.
-
getReplicaBytes
com.google.protobuf.ByteString getReplicaBytes(int index) repeated string replica = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the replica at the given index.
-
hasCtime
boolean hasCtime()optional int64 ctime = 2;- Returns:
- Whether the ctime field is set.
-
getCtime
long getCtime()optional int64 ctime = 2;- Returns:
- The ctime.
-