Package io.atomix.api.runtime.lock.v1
Interface LockRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LockRequest,LockRequest.Builder
public interface LockRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetId().atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];.atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];com.google.protobuf.Duration.google.protobuf.Duration timeout = 2 [(.gogoproto.stdduration) = true];com.google.protobuf.DurationOrBuilder.google.protobuf.Duration timeout = 2 [(.gogoproto.stdduration) = true];booleanhasId().atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];boolean.google.protobuf.Duration timeout = 2 [(.gogoproto.stdduration) = true];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasId
boolean hasId().atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];- Returns:
- Whether the id field is set.
-
getId
PrimitiveId getId().atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];- Returns:
- The id.
-
getIdOrBuilder
PrimitiveIdOrBuilder getIdOrBuilder().atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"]; -
hasTimeout
boolean hasTimeout().google.protobuf.Duration timeout = 2 [(.gogoproto.stdduration) = true];- Returns:
- Whether the timeout field is set.
-
getTimeout
com.google.protobuf.Duration getTimeout().google.protobuf.Duration timeout = 2 [(.gogoproto.stdduration) = true];- Returns:
- The timeout.
-
getTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder().google.protobuf.Duration timeout = 2 [(.gogoproto.stdduration) = true];
-