Package xyz.block.ftl.lease.v1
Interface AcquireLeaseRequestOrBuilder
-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
public interface AcquireLeaseRequestOrBuilder implements MessageOrBuilder
-
-
Method Summary
Modifier and Type Method Description abstract List<String>getKeyList()repeated string key = 1;abstract intgetKeyCount()repeated string key = 1;abstract StringgetKey(int index)repeated string key = 1;abstract ByteStringgetKeyBytes(int index)repeated string key = 1;abstract booleanhasTtl().google.protobuf.Duration ttl = 3;abstract DurationgetTtl().google.protobuf.Duration ttl = 3;abstract DurationOrBuildergetTtlOrBuilder().google.protobuf.Duration ttl = 3;-
Methods inherited from class com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getKeyList
abstract List<String> getKeyList()
repeated string key = 1;- Returns:
A list containing the key.
-
getKeyCount
abstract int getKeyCount()
repeated string key = 1;- Returns:
The count of key.
-
getKey
abstract String getKey(int index)
repeated string key = 1;- Parameters:
index- The index of the element to return.- Returns:
The key at the given index.
-
getKeyBytes
abstract ByteString getKeyBytes(int index)
repeated string key = 1;- Parameters:
index- The index of the value to return.- Returns:
The bytes of the key at the given index.
-
hasTtl
abstract boolean hasTtl()
.google.protobuf.Duration ttl = 3;- Returns:
Whether the ttl field is set.
-
getTtl
abstract Duration getTtl()
.google.protobuf.Duration ttl = 3;- Returns:
The ttl.
-
getTtlOrBuilder
abstract DurationOrBuilder getTtlOrBuilder()
.google.protobuf.Duration ttl = 3;
-
-
-
-