Package org.apache.bookkeeper.proto
Interface BookkeeperProtocol.GetBookieInfoResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BookkeeperProtocol.GetBookieInfoResponse
,BookkeeperProtocol.GetBookieInfoResponse.Builder
- Enclosing class:
- BookkeeperProtocol
public static interface BookkeeperProtocol.GetBookieInfoResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getFreeDiskSpace()
optional int64 freeDiskSpace = 3;
BookkeeperProtocol.StatusCode
getStatus()
required .StatusCode status = 1;
long
getTotalDiskCapacity()
optional int64 totalDiskCapacity = 2;
boolean
hasFreeDiskSpace()
optional int64 freeDiskSpace = 3;
boolean
hasStatus()
required .StatusCode status = 1;
boolean
hasTotalDiskCapacity()
optional int64 totalDiskCapacity = 2;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStatus
boolean hasStatus()
required .StatusCode status = 1;
- Returns:
- Whether the status field is set.
-
getStatus
BookkeeperProtocol.StatusCode getStatus()
required .StatusCode status = 1;
- Returns:
- The status.
-
hasTotalDiskCapacity
boolean hasTotalDiskCapacity()
optional int64 totalDiskCapacity = 2;
- Returns:
- Whether the totalDiskCapacity field is set.
-
getTotalDiskCapacity
long getTotalDiskCapacity()
optional int64 totalDiskCapacity = 2;
- Returns:
- The totalDiskCapacity.
-
hasFreeDiskSpace
boolean hasFreeDiskSpace()
optional int64 freeDiskSpace = 3;
- Returns:
- Whether the freeDiskSpace field is set.
-
getFreeDiskSpace
long getFreeDiskSpace()
optional int64 freeDiskSpace = 3;
- Returns:
- The freeDiskSpace.
-
-