Class AcquireLeaseRequest.Builder
-
- All Implemented Interfaces:
-
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,xyz.block.ftl.lease.v1.AcquireLeaseRequestOrBuilder
public final class AcquireLeaseRequest.Builder extends GeneratedMessageV3.Builder<BuilderT> implements AcquireLeaseRequestOrBuilder
Protobuf type
xyz.block.ftl.lease.v1.AcquireLeaseRequest
-
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()AcquireLeaseRequest.Builderclear()Descriptors.DescriptorgetDescriptorForType()AcquireLeaseRequestgetDefaultInstanceForType()AcquireLeaseRequestbuild()AcquireLeaseRequestbuildPartial()AcquireLeaseRequest.Builderclone()AcquireLeaseRequest.BuildersetField(Descriptors.FieldDescriptor field, Object value)AcquireLeaseRequest.BuilderclearField(Descriptors.FieldDescriptor field)AcquireLeaseRequest.BuilderclearOneof(Descriptors.OneofDescriptor oneof)AcquireLeaseRequest.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)AcquireLeaseRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, Object value)AcquireLeaseRequest.BuildermergeFrom(Message other)AcquireLeaseRequest.BuildermergeFrom(AcquireLeaseRequest other)final booleanisInitialized()AcquireLeaseRequest.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)ProtocolStringListgetKeyList()repeated string key = 1;intgetKeyCount()repeated string key = 1;StringgetKey(int index)repeated string key = 1;ByteStringgetKeyBytes(int index)repeated string key = 1;AcquireLeaseRequest.BuildersetKey(int index, String value)repeated string key = 1;AcquireLeaseRequest.BuilderaddKey(String value)repeated string key = 1;AcquireLeaseRequest.BuilderaddAllKey(Iterable<String> values)repeated string key = 1;AcquireLeaseRequest.BuilderclearKey()repeated string key = 1;AcquireLeaseRequest.BuilderaddKeyBytes(ByteString value)repeated string key = 1;booleanhasTtl().google.protobuf.Duration ttl = 3;DurationgetTtl().google.protobuf.Duration ttl = 3;AcquireLeaseRequest.BuildersetTtl(Duration value).google.protobuf.Duration ttl = 3;AcquireLeaseRequest.BuildersetTtl(Duration.Builder builderForValue).google.protobuf.Duration ttl = 3;AcquireLeaseRequest.BuildermergeTtl(Duration value).google.protobuf.Duration ttl = 3;AcquireLeaseRequest.BuilderclearTtl().google.protobuf.Duration ttl = 3;Duration.BuildergetTtlBuilder().google.protobuf.Duration ttl = 3;DurationOrBuildergetTtlOrBuilder().google.protobuf.Duration ttl = 3;final AcquireLeaseRequest.BuildersetUnknownFields(UnknownFieldSet unknownFields)final AcquireLeaseRequest.BuildermergeUnknownFields(UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField -
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
clear, clearOneof, clone, findInitializationErrors, getInitializationErrorString, mergeUnknownFields, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.Message.Builder
addRepeatedField, clear, clearField, clearOneof, clone, mergeFrom, mergeUnknownFields, setField, setRepeatedField, setUnknownFields -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial -
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()
-
clear
AcquireLeaseRequest.Builder clear()
-
getDescriptorForType
Descriptors.Descriptor getDescriptorForType()
-
getDefaultInstanceForType
AcquireLeaseRequest getDefaultInstanceForType()
-
build
AcquireLeaseRequest build()
-
buildPartial
AcquireLeaseRequest buildPartial()
-
clone
AcquireLeaseRequest.Builder clone()
-
setField
AcquireLeaseRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
-
clearField
AcquireLeaseRequest.Builder clearField(Descriptors.FieldDescriptor field)
-
clearOneof
AcquireLeaseRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
-
setRepeatedField
AcquireLeaseRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
-
addRepeatedField
AcquireLeaseRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
-
mergeFrom
AcquireLeaseRequest.Builder mergeFrom(Message other)
-
mergeFrom
AcquireLeaseRequest.Builder mergeFrom(AcquireLeaseRequest other)
-
isInitialized
final boolean isInitialized()
-
mergeFrom
AcquireLeaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
getKeyList
ProtocolStringList getKeyList()
repeated string key = 1;- Returns:
A list containing the key.
-
getKeyCount
int getKeyCount()
repeated string key = 1;- Returns:
The count of key.
-
getKey
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
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.
-
setKey
AcquireLeaseRequest.Builder setKey(int index, String value)
repeated string key = 1;- Parameters:
index- The index to set the value at.value- The key to set.- Returns:
This builder for chaining.
-
addKey
AcquireLeaseRequest.Builder addKey(String value)
repeated string key = 1;- Parameters:
value- The key to add.- Returns:
This builder for chaining.
-
addAllKey
AcquireLeaseRequest.Builder addAllKey(Iterable<String> values)
repeated string key = 1;- Parameters:
values- The key to add.- Returns:
This builder for chaining.
-
clearKey
AcquireLeaseRequest.Builder clearKey()
repeated string key = 1;- Returns:
This builder for chaining.
-
addKeyBytes
AcquireLeaseRequest.Builder addKeyBytes(ByteString value)
repeated string key = 1;- Parameters:
value- The bytes of the key to add.- Returns:
This builder for chaining.
-
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.
-
setTtl
AcquireLeaseRequest.Builder setTtl(Duration value)
.google.protobuf.Duration ttl = 3;
-
setTtl
AcquireLeaseRequest.Builder setTtl(Duration.Builder builderForValue)
.google.protobuf.Duration ttl = 3;
-
mergeTtl
AcquireLeaseRequest.Builder mergeTtl(Duration value)
.google.protobuf.Duration ttl = 3;
-
clearTtl
AcquireLeaseRequest.Builder clearTtl()
.google.protobuf.Duration ttl = 3;
-
getTtlBuilder
Duration.Builder getTtlBuilder()
.google.protobuf.Duration ttl = 3;
-
getTtlOrBuilder
DurationOrBuilder getTtlOrBuilder()
.google.protobuf.Duration ttl = 3;
-
setUnknownFields
final AcquireLeaseRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
-
mergeUnknownFields
final AcquireLeaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
-
-
-
-