Interface ObjectOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Object, Object.Builder
public interface ObjectOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.StructgetData()Flexible JSON-like data structure.com.google.protobuf.StructOrBuilderFlexible JSON-like data structure.com.google.protobuf.TimestampTimestamp when the object should be permanently deleted.com.google.protobuf.TimestampOrBuilderTimestamp when the object should be permanently deleted.com.google.protobuf.TimestampTimestamp when the object should no longer be visible by default.com.google.protobuf.TimestampOrBuilderTimestamp when the object should no longer be visible by default.getKey()Unique key identifying the object.com.google.protobuf.ByteStringUnique key identifying the object.booleanThis will create a copy of this object and increment the current revision number.booleanhasData()Flexible JSON-like data structure.booleanTimestamp when the object should be permanently deleted.booleanTimestamp when the object should no longer be visible by default.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 object.
string key = 1 [json_name = "key"];- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()Unique key identifying the object.
string key = 1 [json_name = "key"];- Returns:
- The bytes for key.
-
hasData
boolean hasData()Flexible JSON-like data structure.
.google.protobuf.Struct data = 2 [json_name = "data"];- Returns:
- Whether the data field is set.
-
getData
com.google.protobuf.Struct getData()Flexible JSON-like data structure.
.google.protobuf.Struct data = 2 [json_name = "data"];- Returns:
- The data.
-
getDataOrBuilder
com.google.protobuf.StructOrBuilder getDataOrBuilder()Flexible JSON-like data structure.
.google.protobuf.Struct data = 2 [json_name = "data"]; -
getPreservePreviousEntry
boolean getPreservePreviousEntry()This will create a copy of this object and increment the current revision number.
bool preserve_previous_entry = 3 [json_name = "preservePreviousEntry"];- Returns:
- The preservePreviousEntry.
-
hasExpiredAt
boolean hasExpiredAt()Timestamp when the object should no longer be visible by default.
optional .google.protobuf.Timestamp expired_at = 4 [json_name = "expiredAt"];- Returns:
- Whether the expiredAt field is set.
-
getExpiredAt
com.google.protobuf.Timestamp getExpiredAt()Timestamp when the object should no longer be visible by default.
optional .google.protobuf.Timestamp expired_at = 4 [json_name = "expiredAt"];- Returns:
- The expiredAt.
-
getExpiredAtOrBuilder
com.google.protobuf.TimestampOrBuilder getExpiredAtOrBuilder()Timestamp when the object should no longer be visible by default.
optional .google.protobuf.Timestamp expired_at = 4 [json_name = "expiredAt"]; -
hasDeletedAt
boolean hasDeletedAt()Timestamp when the object should be permanently deleted.
optional .google.protobuf.Timestamp deleted_at = 5 [json_name = "deletedAt"];- Returns:
- Whether the deletedAt field is set.
-
getDeletedAt
com.google.protobuf.Timestamp getDeletedAt()Timestamp when the object should be permanently deleted.
optional .google.protobuf.Timestamp deleted_at = 5 [json_name = "deletedAt"];- Returns:
- The deletedAt.
-
getDeletedAtOrBuilder
com.google.protobuf.TimestampOrBuilder getDeletedAtOrBuilder()Timestamp when the object should be permanently deleted.
optional .google.protobuf.Timestamp deleted_at = 5 [json_name = "deletedAt"];
-