Interface LockDocumentRequestOrBuilder (0.47.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
Type Description
String

The collectionId.

getCollectionIdBytes()

public abstract ByteString getCollectionIdBytes()

The collection the document connects to.

string collection_id = 2;

Returns
Type Description
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
Type Description
UserInfo

The lockingUser.

getLockingUserOrBuilder()

public abstract UserInfoOrBuilder getLockingUserOrBuilder()

The user information who locks the document.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the lockingUser field is set.