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, 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<StorageObjectAck.Builder>
public StorageObjectAck.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<StorageObjectAck.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<StorageObjectAck.Builder>
public StorageObjectAck getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StorageObjectAck build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StorageObjectAck buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StorageObjectAck.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StorageObjectAck.Builder>
java.io.IOException
public java.lang.String getCollection()
The collection which stores the object.
string collection = 1 [json_name = "collection"];
getCollection
in interface StorageObjectAckOrBuilder
public com.google.protobuf.ByteString getCollectionBytes()
The collection which stores the object.
string collection = 1 [json_name = "collection"];
getCollectionBytes
in interface StorageObjectAckOrBuilder
public 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 StorageObjectAckOrBuilder
public com.google.protobuf.ByteString getKeyBytes()
The key of the object within the collection.
string key = 2 [json_name = "key"];
getKeyBytes
in interface StorageObjectAckOrBuilder
public 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 StorageObjectAckOrBuilder
public com.google.protobuf.ByteString getVersionBytes()
The version hash of the object.
string version = 3 [json_name = "version"];
getVersionBytes
in interface StorageObjectAckOrBuilder
public 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 StorageObjectAckOrBuilder
public com.google.protobuf.ByteString getUserIdBytes()
The owner of the object.
string user_id = 4 [json_name = "userId"];
getUserIdBytes
in interface StorageObjectAckOrBuilder
public 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 StorageObjectAckOrBuilder
public 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 StorageObjectAckOrBuilder
public 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 StorageObjectAckOrBuilder
public 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 StorageObjectAckOrBuilder
public 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 StorageObjectAckOrBuilder
public 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