Package xyz.block.ftl.v1
Class AcquireLeaseRequest
-
- All Implemented Interfaces:
-
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,xyz.block.ftl.v1.AcquireLeaseRequestOrBuilder
public final class AcquireLeaseRequest extends GeneratedMessageV3 implements AcquireLeaseRequestOrBuilder
Protobuf type
xyz.block.ftl.v1.AcquireLeaseRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAcquireLeaseRequest.BuilderProtobuf type
xyz.block.ftl.v1.AcquireLeaseRequest
-
Field Summary
Fields Modifier and Type Field Description public final static intMODULE_FIELD_NUMBERpublic final static intKEY_FIELD_NUMBERpublic final static intTTL_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()StringgetModule()string module = 1;ByteStringgetModuleBytes()string module = 1;ProtocolStringListgetKeyList()repeated string key = 2;intgetKeyCount()repeated string key = 2;StringgetKey(int index)repeated string key = 2;ByteStringgetKeyBytes(int index)repeated string key = 2;booleanhasTtl().google.protobuf.Duration ttl = 3;DurationgetTtl().google.protobuf.Duration ttl = 3;DurationOrBuildergetTtlOrBuilder().google.protobuf.Duration ttl = 3;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static AcquireLeaseRequestparseFrom(ByteBuffer data)static AcquireLeaseRequestparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static AcquireLeaseRequestparseFrom(ByteString data)static AcquireLeaseRequestparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static AcquireLeaseRequestparseFrom(Array<byte> data)static AcquireLeaseRequestparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static AcquireLeaseRequestparseFrom(InputStream input)static AcquireLeaseRequestparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static AcquireLeaseRequestparseDelimitedFrom(InputStream input)static AcquireLeaseRequestparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static AcquireLeaseRequestparseFrom(CodedInputStream input)static AcquireLeaseRequestparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)AcquireLeaseRequest.BuildernewBuilderForType()static AcquireLeaseRequest.BuildernewBuilder()static AcquireLeaseRequest.BuildernewBuilder(AcquireLeaseRequest prototype)AcquireLeaseRequest.BuildertoBuilder()static AcquireLeaseRequestgetDefaultInstance()static Parser<AcquireLeaseRequest>parser()Parser<AcquireLeaseRequest>getParserForType()AcquireLeaseRequestgetDefaultInstanceForType()-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof -
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.Message
getParserForType -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDescriptor
final static Descriptors.Descriptor getDescriptor()
-
getModuleBytes
ByteString getModuleBytes()
string module = 1;- Returns:
The bytes for module.
-
getKeyList
ProtocolStringList getKeyList()
repeated string key = 2;- Returns:
A list containing the key.
-
getKeyCount
int getKeyCount()
repeated string key = 2;- Returns:
The count of key.
-
getKey
String getKey(int index)
repeated string key = 2;- Parameters:
index- The index of the element to return.- Returns:
The key at the given index.
-
getKeyBytes
ByteString getKeyBytes(int index)
repeated string key = 2;- Parameters:
index- The index of the value to return.- Returns:
The bytes of the key at the given index.
-
hasTtl
boolean hasTtl()
.google.protobuf.Duration ttl = 3;- Returns:
Whether the ttl field is set.
-
getTtl
Duration getTtl()
.google.protobuf.Duration ttl = 3;- Returns:
The ttl.
-
getTtlOrBuilder
DurationOrBuilder getTtlOrBuilder()
.google.protobuf.Duration ttl = 3;
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static AcquireLeaseRequest parseFrom(ByteBuffer data)
-
parseFrom
static AcquireLeaseRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static AcquireLeaseRequest parseFrom(ByteString data)
-
parseFrom
static AcquireLeaseRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static AcquireLeaseRequest parseFrom(Array<byte> data)
-
parseFrom
static AcquireLeaseRequest parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static AcquireLeaseRequest parseFrom(InputStream input)
-
parseFrom
static AcquireLeaseRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static AcquireLeaseRequest parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static AcquireLeaseRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static AcquireLeaseRequest parseFrom(CodedInputStream input)
-
parseFrom
static AcquireLeaseRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
AcquireLeaseRequest.Builder newBuilderForType()
-
newBuilder
static AcquireLeaseRequest.Builder newBuilder()
-
newBuilder
static AcquireLeaseRequest.Builder newBuilder(AcquireLeaseRequest prototype)
-
toBuilder
AcquireLeaseRequest.Builder toBuilder()
-
getDefaultInstance
static AcquireLeaseRequest getDefaultInstance()
-
parser
static Parser<AcquireLeaseRequest> parser()
-
getParserForType
Parser<AcquireLeaseRequest> getParserForType()
-
getDefaultInstanceForType
AcquireLeaseRequest getDefaultInstanceForType()
-
-
-
-