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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCtime()
optional int64 ctime = 2;
java.lang.String
getReplica(int index)
repeated string replica = 1;
com.google.protobuf.ByteString
getReplicaBytes(int index)
repeated string replica = 1;
int
getReplicaCount()
repeated string replica = 1;
java.util.List<java.lang.String>
getReplicaList()
repeated string replica = 1;
boolean
hasCtime()
optional int64 ctime = 2;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getReplicaList
java.util.List<java.lang.String> getReplicaList()
repeated string replica = 1;
- Returns:
- A list containing the replica.
-
getReplicaCount
int getReplicaCount()
repeated string replica = 1;
- Returns:
- The count of replica.
-
getReplica
java.lang.String getReplica(int index)
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.
-
-