Interface EntryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Entry,Entry.Builder
public interface EntryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampTimestamp when this entry was created.com.google.protobuf.TimestampOrBuilderTimestamp when this entry was created.com.google.protobuf.ValuegetData()The data payload of the entry.com.google.protobuf.ValueOrBuilderThe data payload of the entry.com.google.protobuf.TimestampTimestamp when the entry should be deleted from the database.com.google.protobuf.TimestampOrBuilderTimestamp when the entry should be deleted from the database.com.google.protobuf.TimestampTimestamp when the entry expires and should no longer be visible to clients.com.google.protobuf.TimestampOrBuilderTimestamp when the entry expires and should no longer be visible to clients.getKey()Unique key identifying the entry.com.google.protobuf.ByteStringUnique key identifying the entry.com.google.protobuf.TimestampTimestamp of the last update.com.google.protobuf.TimestampOrBuilderTimestamp of the last update.booleanTimestamp when this entry was created.booleanhasData()The data payload of the entry.booleanTimestamp when the entry should be deleted from the database.booleanTimestamp when the entry expires and should no longer be visible to clients.booleanTimestamp of the last update.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
-
getKey
String getKey()Unique key identifying the entry.
string key = 1 [json_name = "key"];- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()Unique key identifying the entry.
string key = 1 [json_name = "key"];- Returns:
- The bytes for key.
-
hasData
boolean hasData()The data payload of the entry.
.google.protobuf.Value data = 2 [json_name = "data"];- Returns:
- Whether the data field is set.
-
getData
com.google.protobuf.Value getData()The data payload of the entry.
.google.protobuf.Value data = 2 [json_name = "data"];- Returns:
- The data.
-
getDataOrBuilder
com.google.protobuf.ValueOrBuilder getDataOrBuilder()The data payload of the entry.
.google.protobuf.Value data = 2 [json_name = "data"]; -
hasCreatedAt
boolean hasCreatedAt()Timestamp when this entry was created.
.google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"];- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
com.google.protobuf.Timestamp getCreatedAt()Timestamp when this entry was created.
.google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"];- Returns:
- The createdAt.
-
getCreatedAtOrBuilder
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()Timestamp when this entry was created.
.google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; -
hasUpdatedAt
boolean hasUpdatedAt()Timestamp of the last update.
optional .google.protobuf.Timestamp updated_at = 4 [json_name = "updatedAt"];- Returns:
- Whether the updatedAt field is set.
-
getUpdatedAt
com.google.protobuf.Timestamp getUpdatedAt()Timestamp of the last update.
optional .google.protobuf.Timestamp updated_at = 4 [json_name = "updatedAt"];- Returns:
- The updatedAt.
-
getUpdatedAtOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder()Timestamp of the last update.
optional .google.protobuf.Timestamp updated_at = 4 [json_name = "updatedAt"]; -
hasExpiredAt
boolean hasExpiredAt()Timestamp when the entry expires and should no longer be visible to clients.
optional .google.protobuf.Timestamp expired_at = 5 [json_name = "expiredAt"];- Returns:
- Whether the expiredAt field is set.
-
getExpiredAt
com.google.protobuf.Timestamp getExpiredAt()Timestamp when the entry expires and should no longer be visible to clients.
optional .google.protobuf.Timestamp expired_at = 5 [json_name = "expiredAt"];- Returns:
- The expiredAt.
-
getExpiredAtOrBuilder
com.google.protobuf.TimestampOrBuilder getExpiredAtOrBuilder()Timestamp when the entry expires and should no longer be visible to clients.
optional .google.protobuf.Timestamp expired_at = 5 [json_name = "expiredAt"]; -
hasDeletedAt
boolean hasDeletedAt()Timestamp when the entry should be deleted from the database.
optional .google.protobuf.Timestamp deleted_at = 6 [json_name = "deletedAt"];- Returns:
- Whether the deletedAt field is set.
-
getDeletedAt
com.google.protobuf.Timestamp getDeletedAt()Timestamp when the entry should be deleted from the database.
optional .google.protobuf.Timestamp deleted_at = 6 [json_name = "deletedAt"];- Returns:
- The deletedAt.
-
getDeletedAtOrBuilder
com.google.protobuf.TimestampOrBuilder getDeletedAtOrBuilder()Timestamp when the entry should be deleted from the database.
optional .google.protobuf.Timestamp deleted_at = 6 [json_name = "deletedAt"];
-