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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<WriteStorageObject.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<WriteStorageObject.Builder>
public WriteStorageObject getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public WriteStorageObject build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public WriteStorageObject buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public WriteStorageObject.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WriteStorageObject.Builder>
java.io.IOException
public java.lang.String getCollection()
The collection to store the object.
string collection = 1 [json_name = "collection"];
getCollection
in interface WriteStorageObjectOrBuilder
public com.google.protobuf.ByteString getCollectionBytes()
The collection to store the object.
string collection = 1 [json_name = "collection"];
getCollectionBytes
in interface WriteStorageObjectOrBuilder
public 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 WriteStorageObjectOrBuilder
public com.google.protobuf.ByteString getKeyBytes()
The key for the object within the collection.
string key = 2 [json_name = "key"];
getKeyBytes
in interface WriteStorageObjectOrBuilder
public 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 WriteStorageObjectOrBuilder
public com.google.protobuf.ByteString getValueBytes()
The value of the object.
string value = 3 [json_name = "value"];
getValueBytes
in interface WriteStorageObjectOrBuilder
public 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 WriteStorageObjectOrBuilder
public 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 WriteStorageObjectOrBuilder
public 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 WriteStorageObjectOrBuilder
public com.google.protobuf.Int32Value getPermissionRead()
The read access permissions for the object.
.google.protobuf.Int32Value permission_read = 5 [json_name = "permissionRead"];
getPermissionRead
in interface WriteStorageObjectOrBuilder
public 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 WriteStorageObjectOrBuilder
public boolean hasPermissionWrite()
The write access permissions for the object.
.google.protobuf.Int32Value permission_write = 6 [json_name = "permissionWrite"];
hasPermissionWrite
in interface WriteStorageObjectOrBuilder
public com.google.protobuf.Int32Value getPermissionWrite()
The write access permissions for the object.
.google.protobuf.Int32Value permission_write = 6 [json_name = "permissionWrite"];
getPermissionWrite
in interface WriteStorageObjectOrBuilder
public 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