public static final class StorageObjectAck.Builder extends com.google.protobuf.GeneratedMessage.Builder<StorageObjectAck.Builder> implements StorageObjectAckOrBuilder
A storage acknowledgement.Protobuf type
nakama.api.StorageObjectAck| Modifier and Type | Method and Description |
|---|---|
StorageObjectAck |
build() |
StorageObjectAck |
buildPartial() |
StorageObjectAck.Builder |
clear() |
StorageObjectAck.Builder |
clearCollection()
The collection which stores the object.
|
StorageObjectAck.Builder |
clearCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
|
StorageObjectAck.Builder |
clearKey()
The key of the object within the collection.
|
StorageObjectAck.Builder |
clearUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
|
StorageObjectAck.Builder |
clearUserId()
The owner of the object.
|
StorageObjectAck.Builder |
clearVersion()
The version hash of the object.
|
java.lang.String |
getCollection()
The collection which stores the object.
|
com.google.protobuf.ByteString |
getCollectionBytes()
The collection which stores the object.
|
com.google.protobuf.Timestamp |
getCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
|
StorageObjectAck |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getKey()
The key of the object within the collection.
|
com.google.protobuf.ByteString |
getKeyBytes()
The key of the object within the collection.
|
com.google.protobuf.Timestamp |
getUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
|
java.lang.String |
getUserId()
The owner of the object.
|
com.google.protobuf.ByteString |
getUserIdBytes()
The owner of the object.
|
java.lang.String |
getVersion()
The version hash of the object.
|
com.google.protobuf.ByteString |
getVersionBytes()
The version hash of the object.
|
boolean |
hasCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
|
boolean |
hasUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StorageObjectAck.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
|
StorageObjectAck.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StorageObjectAck.Builder |
mergeFrom(com.google.protobuf.Message other) |
StorageObjectAck.Builder |
mergeFrom(StorageObjectAck other) |
StorageObjectAck.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
|
StorageObjectAck.Builder |
setCollection(java.lang.String value)
The collection which stores the object.
|
StorageObjectAck.Builder |
setCollectionBytes(com.google.protobuf.ByteString value)
The collection which stores the object.
|
StorageObjectAck.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
|
StorageObjectAck.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
|
StorageObjectAck.Builder |
setKey(java.lang.String value)
The key of the object within the collection.
|
StorageObjectAck.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
The key of the object within the collection.
|
StorageObjectAck.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
|
StorageObjectAck.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
|
StorageObjectAck.Builder |
setUserId(java.lang.String value)
The owner of the object.
|
StorageObjectAck.Builder |
setUserIdBytes(com.google.protobuf.ByteString value)
The owner of the object.
|
StorageObjectAck.Builder |
setVersion(java.lang.String value)
The version hash of the object.
|
StorageObjectAck.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
The version hash of the object.
|
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<StorageObjectAck.Builder>public StorageObjectAck.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<StorageObjectAck.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<StorageObjectAck.Builder>public StorageObjectAck getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StorageObjectAck build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StorageObjectAck buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StorageObjectAck.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StorageObjectAck.Builder>public StorageObjectAck.Builder mergeFrom(StorageObjectAck other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<StorageObjectAck.Builder>public StorageObjectAck.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<StorageObjectAck.Builder>java.io.IOExceptionpublic java.lang.String getCollection()
The collection which stores the object.
string collection = 1 [json_name = "collection"];getCollection in interface StorageObjectAckOrBuilderpublic com.google.protobuf.ByteString getCollectionBytes()
The collection which stores the object.
string collection = 1 [json_name = "collection"];getCollectionBytes in interface StorageObjectAckOrBuilderpublic StorageObjectAck.Builder setCollection(java.lang.String value)
The collection which stores the object.
string collection = 1 [json_name = "collection"];value - The collection to set.public StorageObjectAck.Builder clearCollection()
The collection which stores the object.
string collection = 1 [json_name = "collection"];public StorageObjectAck.Builder setCollectionBytes(com.google.protobuf.ByteString value)
The collection which stores the object.
string collection = 1 [json_name = "collection"];value - The bytes for collection to set.public java.lang.String getKey()
The key of the object within the collection.
string key = 2 [json_name = "key"];getKey in interface StorageObjectAckOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
The key of the object within the collection.
string key = 2 [json_name = "key"];getKeyBytes in interface StorageObjectAckOrBuilderpublic StorageObjectAck.Builder setKey(java.lang.String value)
The key of the object within the collection.
string key = 2 [json_name = "key"];value - The key to set.public StorageObjectAck.Builder clearKey()
The key of the object within the collection.
string key = 2 [json_name = "key"];public StorageObjectAck.Builder setKeyBytes(com.google.protobuf.ByteString value)
The key of the object within the collection.
string key = 2 [json_name = "key"];value - The bytes for key to set.public java.lang.String getVersion()
The version hash of the object.
string version = 3 [json_name = "version"];getVersion in interface StorageObjectAckOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
The version hash of the object.
string version = 3 [json_name = "version"];getVersionBytes in interface StorageObjectAckOrBuilderpublic StorageObjectAck.Builder setVersion(java.lang.String value)
The version hash of the object.
string version = 3 [json_name = "version"];value - The version to set.public StorageObjectAck.Builder clearVersion()
The version hash of the object.
string version = 3 [json_name = "version"];public StorageObjectAck.Builder setVersionBytes(com.google.protobuf.ByteString value)
The version hash of the object.
string version = 3 [json_name = "version"];value - The bytes for version to set.public java.lang.String getUserId()
The owner of the object.
string user_id = 4 [json_name = "userId"];getUserId in interface StorageObjectAckOrBuilderpublic com.google.protobuf.ByteString getUserIdBytes()
The owner of the object.
string user_id = 4 [json_name = "userId"];getUserIdBytes in interface StorageObjectAckOrBuilderpublic StorageObjectAck.Builder setUserId(java.lang.String value)
The owner of the object.
string user_id = 4 [json_name = "userId"];value - The userId to set.public StorageObjectAck.Builder clearUserId()
The owner of the object.
string user_id = 4 [json_name = "userId"];public StorageObjectAck.Builder setUserIdBytes(com.google.protobuf.ByteString value)
The owner of the object.
string user_id = 4 [json_name = "userId"];value - The bytes for userId to set.public boolean hasCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];hasCreateTime in interface StorageObjectAckOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];getCreateTime in interface StorageObjectAckOrBuilderpublic StorageObjectAck.Builder setCreateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];public StorageObjectAck.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];public StorageObjectAck.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];public StorageObjectAck.Builder clearCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];getCreateTimeOrBuilder in interface StorageObjectAckOrBuilderpublic boolean hasUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
.google.protobuf.Timestamp update_time = 6 [json_name = "updateTime"];hasUpdateTime in interface StorageObjectAckOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
.google.protobuf.Timestamp update_time = 6 [json_name = "updateTime"];getUpdateTime in interface StorageObjectAckOrBuilderpublic StorageObjectAck.Builder setUpdateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
.google.protobuf.Timestamp update_time = 6 [json_name = "updateTime"];public StorageObjectAck.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
.google.protobuf.Timestamp update_time = 6 [json_name = "updateTime"];public StorageObjectAck.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
.google.protobuf.Timestamp update_time = 6 [json_name = "updateTime"];public StorageObjectAck.Builder clearUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
.google.protobuf.Timestamp update_time = 6 [json_name = "updateTime"];public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
.google.protobuf.Timestamp update_time = 6 [json_name = "updateTime"];public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
.google.protobuf.Timestamp update_time = 6 [json_name = "updateTime"];getUpdateTimeOrBuilder in interface StorageObjectAckOrBuilder