Package com.elide.model
Interface SubmessageOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SubmessageOptions,SubmessageOptions.Builder
public interface SubmessageOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionConcrete type name for this sub-message type.com.google.protobuf.ByteStringConcrete type name for this sub-message type.booleangetEmbed()If the persistence node is in `COLLECTION` mode, this flag will embed it in the parent entity anyway.getMode()Collection storage mode for the given sub-message field.intCollection storage mode for the given sub-message field.getPath()Data path for the given sub-message field.com.google.protobuf.ByteStringData path for the given sub-message field.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
-
getModeValue
int getModeValue()Collection storage mode for the given sub-message field.
.elide.model.CollectionMode mode = 1 [json_name = "mode"];- Returns:
- The enum numeric value on the wire for mode.
-
getMode
CollectionMode getMode()Collection storage mode for the given sub-message field.
.elide.model.CollectionMode mode = 1 [json_name = "mode"];- Returns:
- The mode.
-
getConcrete
String getConcrete()Concrete type name for this sub-message type.
string concrete = 2 [json_name = "concrete"];- Returns:
- The concrete.
-
getConcreteBytes
com.google.protobuf.ByteString getConcreteBytes()Concrete type name for this sub-message type.
string concrete = 2 [json_name = "concrete"];- Returns:
- The bytes for concrete.
-
getPath
String getPath()Data path for the given sub-message field.
string path = 3 [json_name = "path"];- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()Data path for the given sub-message field.
string path = 3 [json_name = "path"];- Returns:
- The bytes for path.
-
getEmbed
boolean getEmbed()If the persistence node is in `COLLECTION` mode, this flag will embed it in the parent entity anyway. Useful in some circumstances where sub-listed data is for indexing, and fetching it repeatedly would be inefficient.
bool embed = 4 [json_name = "embed"];- Returns:
- The embed.
-