Interface LockDocumentRequestOrBuilder (0.33.0)

public interface LockDocumentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCollectionId()

public abstract String getCollectionId()

The collection the document connects to.

string collection_id = 2;

Returns
TypeDescription
String

The collectionId.

getCollectionIdBytes()

public abstract ByteString getCollectionIdBytes()

The collection the document connects to.

string collection_id = 2;

Returns
TypeDescription
ByteString

The bytes for collectionId.

getLockingUser()

public abstract UserInfo getLockingUser()

The user information who locks the document.

.google.cloud.contentwarehouse.v1.UserInfo locking_user = 3;

Returns
TypeDescription
UserInfo

The lockingUser.

getLockingUserOrBuilder()

public abstract UserInfoOrBuilder getLockingUserOrBuilder()

The user information who locks the document.

.google.cloud.contentwarehouse.v1.UserInfo locking_user = 3;

Returns
TypeDescription
UserInfoOrBuilder

getName()

public abstract String getName()

Required. The name of the document to lock. Format: projects/{project_number}/locations/{location}/documents/{document}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the document to lock. Format: projects/{project_number}/locations/{location}/documents/{document}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

hasLockingUser()

public abstract boolean hasLockingUser()

The user information who locks the document.

.google.cloud.contentwarehouse.v1.UserInfo locking_user = 3;

Returns
TypeDescription
boolean

Whether the lockingUser field is set.