Package com.heroiclabs.nakama.api
Interface WriteStorageObjectOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WriteStorageObject
,WriteStorageObject.Builder
public interface WriteStorageObjectOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe collection to store the object.com.google.protobuf.ByteString
The collection to store the object.getKey()
The key for the object within the collection.com.google.protobuf.ByteString
The key for the object within the collection.The read access permissions for the object.The read access permissions for the object.The write access permissions for the object.The write access permissions for the object.getValue()
The value of the object.com.google.protobuf.ByteString
The value of the object.The version hash of the object to check.com.google.protobuf.ByteString
The version hash of the object to check.boolean
The read access permissions for the object.boolean
The write access permissions for the object.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCollection
String getCollection()The collection to store the object.
string collection = 1;
- Returns:
- The collection.
-
getCollectionBytes
com.google.protobuf.ByteString getCollectionBytes()The collection to store the object.
string collection = 1;
- Returns:
- The bytes for collection.
-
getKey
String getKey()The key for the object within the collection.
string key = 2;
- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()The key for the object within the collection.
string key = 2;
- Returns:
- The bytes for key.
-
getValue
String getValue()The value of the object.
string value = 3;
- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()The value of the object.
string value = 3;
- Returns:
- The bytes for value.
-
getVersion
String getVersion()The version hash of the object to check. Possible values are: ["", "*", "#hash#"].
string version = 4;
- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()The version hash of the object to check. Possible values are: ["", "*", "#hash#"].
string version = 4;
- Returns:
- The bytes for version.
-
hasPermissionRead
boolean hasPermissionRead()The read access permissions for the object.
.google.protobuf.Int32Value permission_read = 5;
- Returns:
- Whether the permissionRead field is set.
-
getPermissionRead
Int32Value getPermissionRead()The read access permissions for the object.
.google.protobuf.Int32Value permission_read = 5;
- Returns:
- The permissionRead.
-
getPermissionReadOrBuilder
Int32ValueOrBuilder getPermissionReadOrBuilder()The read access permissions for the object.
.google.protobuf.Int32Value permission_read = 5;
-
hasPermissionWrite
boolean hasPermissionWrite()The write access permissions for the object.
.google.protobuf.Int32Value permission_write = 6;
- Returns:
- Whether the permissionWrite field is set.
-
getPermissionWrite
Int32Value getPermissionWrite()The write access permissions for the object.
.google.protobuf.Int32Value permission_write = 6;
- Returns:
- The permissionWrite.
-
getPermissionWriteOrBuilder
Int32ValueOrBuilder getPermissionWriteOrBuilder()The write access permissions for the object.
.google.protobuf.Int32Value permission_write = 6;
-