Interface LockDocumentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LockDocumentRequest
,LockDocumentRequest.Builder
public interface LockDocumentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCollectionId()
The collection the document connects to.com.google.protobuf.ByteString
getCollectionIdBytes()
The collection the document connects to.UserInfo
getLockingUser()
The user information who locks the document.UserInfoOrBuilder
getLockingUserOrBuilder()
The user information who locks the document.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.boolean
hasLockingUser()
The user information who locks the document.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getCollectionId
String getCollectionId()
The collection the document connects to.
string collection_id = 2;
- Returns:
- The collectionId.
-
getCollectionIdBytes
com.google.protobuf.ByteString getCollectionIdBytes()
The collection the document connects to.
string collection_id = 2;
- Returns:
- The bytes for collectionId.
-
hasLockingUser
boolean hasLockingUser()
The user information who locks the document.
.google.cloud.contentwarehouse.v1.UserInfo locking_user = 3;
- Returns:
- Whether the lockingUser field is set.
-
getLockingUser
UserInfo getLockingUser()
The user information who locks the document.
.google.cloud.contentwarehouse.v1.UserInfo locking_user = 3;
- Returns:
- The lockingUser.
-
getLockingUserOrBuilder
UserInfoOrBuilder getLockingUserOrBuilder()
The user information who locks the document.
.google.cloud.contentwarehouse.v1.UserInfo locking_user = 3;
-
-