public static final class WriteStorageObject.Builder extends com.google.protobuf.GeneratedMessage.Builder<WriteStorageObject.Builder> implements WriteStorageObjectOrBuilder
The object to store.Protobuf type
nakama.api.WriteStorageObject| Modifier and Type | Method and Description |
|---|---|
WriteStorageObject |
build() |
WriteStorageObject |
buildPartial() |
WriteStorageObject.Builder |
clear() |
WriteStorageObject.Builder |
clearCollection()
The collection to store the object.
|
WriteStorageObject.Builder |
clearKey()
The key for the object within the collection.
|
WriteStorageObject.Builder |
clearPermissionRead()
The read access permissions for the object.
|
WriteStorageObject.Builder |
clearPermissionWrite()
The write access permissions for the object.
|
WriteStorageObject.Builder |
clearValue()
The value of the object.
|
WriteStorageObject.Builder |
clearVersion()
The version hash of the object to check.
|
java.lang.String |
getCollection()
The collection to store the object.
|
com.google.protobuf.ByteString |
getCollectionBytes()
The collection to store the object.
|
WriteStorageObject |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getKey()
The key for the object within the collection.
|
com.google.protobuf.ByteString |
getKeyBytes()
The key for the object within the collection.
|
com.google.protobuf.Int32Value |
getPermissionRead()
The read access permissions for the object.
|
com.google.protobuf.Int32Value.Builder |
getPermissionReadBuilder()
The read access permissions for the object.
|
com.google.protobuf.Int32ValueOrBuilder |
getPermissionReadOrBuilder()
The read access permissions for the object.
|
com.google.protobuf.Int32Value |
getPermissionWrite()
The write access permissions for the object.
|
com.google.protobuf.Int32Value.Builder |
getPermissionWriteBuilder()
The write access permissions for the object.
|
com.google.protobuf.Int32ValueOrBuilder |
getPermissionWriteOrBuilder()
The write access permissions for the object.
|
java.lang.String |
getValue()
The value of the object.
|
com.google.protobuf.ByteString |
getValueBytes()
The value of the object.
|
java.lang.String |
getVersion()
The version hash of the object to check.
|
com.google.protobuf.ByteString |
getVersionBytes()
The version hash of the object to check.
|
boolean |
hasPermissionRead()
The read access permissions for the object.
|
boolean |
hasPermissionWrite()
The write access permissions for the object.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WriteStorageObject.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WriteStorageObject.Builder |
mergeFrom(com.google.protobuf.Message other) |
WriteStorageObject.Builder |
mergeFrom(WriteStorageObject other) |
WriteStorageObject.Builder |
mergePermissionRead(com.google.protobuf.Int32Value value)
The read access permissions for the object.
|
WriteStorageObject.Builder |
mergePermissionWrite(com.google.protobuf.Int32Value value)
The write access permissions for the object.
|
WriteStorageObject.Builder |
setCollection(java.lang.String value)
The collection to store the object.
|
WriteStorageObject.Builder |
setCollectionBytes(com.google.protobuf.ByteString value)
The collection to store the object.
|
WriteStorageObject.Builder |
setKey(java.lang.String value)
The key for the object within the collection.
|
WriteStorageObject.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
The key for the object within the collection.
|
WriteStorageObject.Builder |
setPermissionRead(com.google.protobuf.Int32Value.Builder builderForValue)
The read access permissions for the object.
|
WriteStorageObject.Builder |
setPermissionRead(com.google.protobuf.Int32Value value)
The read access permissions for the object.
|
WriteStorageObject.Builder |
setPermissionWrite(com.google.protobuf.Int32Value.Builder builderForValue)
The write access permissions for the object.
|
WriteStorageObject.Builder |
setPermissionWrite(com.google.protobuf.Int32Value value)
The write access permissions for the object.
|
WriteStorageObject.Builder |
setValue(java.lang.String value)
The value of the object.
|
WriteStorageObject.Builder |
setValueBytes(com.google.protobuf.ByteString value)
The value of the object.
|
WriteStorageObject.Builder |
setVersion(java.lang.String value)
The version hash of the object to check.
|
WriteStorageObject.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
The version hash of the object to check.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<WriteStorageObject.Builder>public WriteStorageObject.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<WriteStorageObject.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<WriteStorageObject.Builder>public WriteStorageObject getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic WriteStorageObject build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic WriteStorageObject buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic WriteStorageObject.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WriteStorageObject.Builder>public WriteStorageObject.Builder mergeFrom(WriteStorageObject other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<WriteStorageObject.Builder>public WriteStorageObject.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WriteStorageObject.Builder>java.io.IOExceptionpublic java.lang.String getCollection()
The collection to store the object.
string collection = 1 [json_name = "collection"];getCollection in interface WriteStorageObjectOrBuilderpublic com.google.protobuf.ByteString getCollectionBytes()
The collection to store the object.
string collection = 1 [json_name = "collection"];getCollectionBytes in interface WriteStorageObjectOrBuilderpublic WriteStorageObject.Builder setCollection(java.lang.String value)
The collection to store the object.
string collection = 1 [json_name = "collection"];value - The collection to set.public WriteStorageObject.Builder clearCollection()
The collection to store the object.
string collection = 1 [json_name = "collection"];public WriteStorageObject.Builder setCollectionBytes(com.google.protobuf.ByteString value)
The collection to store the object.
string collection = 1 [json_name = "collection"];value - The bytes for collection to set.public java.lang.String getKey()
The key for the object within the collection.
string key = 2 [json_name = "key"];getKey in interface WriteStorageObjectOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
The key for the object within the collection.
string key = 2 [json_name = "key"];getKeyBytes in interface WriteStorageObjectOrBuilderpublic WriteStorageObject.Builder setKey(java.lang.String value)
The key for the object within the collection.
string key = 2 [json_name = "key"];value - The key to set.public WriteStorageObject.Builder clearKey()
The key for the object within the collection.
string key = 2 [json_name = "key"];public WriteStorageObject.Builder setKeyBytes(com.google.protobuf.ByteString value)
The key for the object within the collection.
string key = 2 [json_name = "key"];value - The bytes for key to set.public java.lang.String getValue()
The value of the object.
string value = 3 [json_name = "value"];getValue in interface WriteStorageObjectOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
The value of the object.
string value = 3 [json_name = "value"];getValueBytes in interface WriteStorageObjectOrBuilderpublic WriteStorageObject.Builder setValue(java.lang.String value)
The value of the object.
string value = 3 [json_name = "value"];value - The value to set.public WriteStorageObject.Builder clearValue()
The value of the object.
string value = 3 [json_name = "value"];public WriteStorageObject.Builder setValueBytes(com.google.protobuf.ByteString value)
The value of the object.
string value = 3 [json_name = "value"];value - The bytes for value to set.public java.lang.String getVersion()
The version hash of the object to check. Possible values are: ["", "*", "#hash#"].
string version = 4 [json_name = "version"];getVersion in interface WriteStorageObjectOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
The version hash of the object to check. Possible values are: ["", "*", "#hash#"].
string version = 4 [json_name = "version"];getVersionBytes in interface WriteStorageObjectOrBuilderpublic WriteStorageObject.Builder setVersion(java.lang.String value)
The version hash of the object to check. Possible values are: ["", "*", "#hash#"].
string version = 4 [json_name = "version"];value - The version to set.public WriteStorageObject.Builder clearVersion()
The version hash of the object to check. Possible values are: ["", "*", "#hash#"].
string version = 4 [json_name = "version"];public WriteStorageObject.Builder setVersionBytes(com.google.protobuf.ByteString value)
The version hash of the object to check. Possible values are: ["", "*", "#hash#"].
string version = 4 [json_name = "version"];value - The bytes for version to set.public boolean hasPermissionRead()
The read access permissions for the object.
.google.protobuf.Int32Value permission_read = 5 [json_name = "permissionRead"];hasPermissionRead in interface WriteStorageObjectOrBuilderpublic com.google.protobuf.Int32Value getPermissionRead()
The read access permissions for the object.
.google.protobuf.Int32Value permission_read = 5 [json_name = "permissionRead"];getPermissionRead in interface WriteStorageObjectOrBuilderpublic WriteStorageObject.Builder setPermissionRead(com.google.protobuf.Int32Value value)
The read access permissions for the object.
.google.protobuf.Int32Value permission_read = 5 [json_name = "permissionRead"];public WriteStorageObject.Builder setPermissionRead(com.google.protobuf.Int32Value.Builder builderForValue)
The read access permissions for the object.
.google.protobuf.Int32Value permission_read = 5 [json_name = "permissionRead"];public WriteStorageObject.Builder mergePermissionRead(com.google.protobuf.Int32Value value)
The read access permissions for the object.
.google.protobuf.Int32Value permission_read = 5 [json_name = "permissionRead"];public WriteStorageObject.Builder clearPermissionRead()
The read access permissions for the object.
.google.protobuf.Int32Value permission_read = 5 [json_name = "permissionRead"];public com.google.protobuf.Int32Value.Builder getPermissionReadBuilder()
The read access permissions for the object.
.google.protobuf.Int32Value permission_read = 5 [json_name = "permissionRead"];public com.google.protobuf.Int32ValueOrBuilder getPermissionReadOrBuilder()
The read access permissions for the object.
.google.protobuf.Int32Value permission_read = 5 [json_name = "permissionRead"];getPermissionReadOrBuilder in interface WriteStorageObjectOrBuilderpublic boolean hasPermissionWrite()
The write access permissions for the object.
.google.protobuf.Int32Value permission_write = 6 [json_name = "permissionWrite"];hasPermissionWrite in interface WriteStorageObjectOrBuilderpublic com.google.protobuf.Int32Value getPermissionWrite()
The write access permissions for the object.
.google.protobuf.Int32Value permission_write = 6 [json_name = "permissionWrite"];getPermissionWrite in interface WriteStorageObjectOrBuilderpublic WriteStorageObject.Builder setPermissionWrite(com.google.protobuf.Int32Value value)
The write access permissions for the object.
.google.protobuf.Int32Value permission_write = 6 [json_name = "permissionWrite"];public WriteStorageObject.Builder setPermissionWrite(com.google.protobuf.Int32Value.Builder builderForValue)
The write access permissions for the object.
.google.protobuf.Int32Value permission_write = 6 [json_name = "permissionWrite"];public WriteStorageObject.Builder mergePermissionWrite(com.google.protobuf.Int32Value value)
The write access permissions for the object.
.google.protobuf.Int32Value permission_write = 6 [json_name = "permissionWrite"];public WriteStorageObject.Builder clearPermissionWrite()
The write access permissions for the object.
.google.protobuf.Int32Value permission_write = 6 [json_name = "permissionWrite"];public com.google.protobuf.Int32Value.Builder getPermissionWriteBuilder()
The write access permissions for the object.
.google.protobuf.Int32Value permission_write = 6 [json_name = "permissionWrite"];public com.google.protobuf.Int32ValueOrBuilder getPermissionWriteOrBuilder()
The write access permissions for the object.
.google.protobuf.Int32Value permission_write = 6 [json_name = "permissionWrite"];getPermissionWriteOrBuilder in interface WriteStorageObjectOrBuilder