public final class ServiceLockInfo extends GeneratedMessageV3 implements ServiceLockInfoOrBuilder
ServiceLockInfo represents the details of a lock taken by the service on a
Backup resource.
Protobuf type google.cloud.backupdr.v1.ServiceLockInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ServiceLockInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ServiceLockInfo.Builder newBuilder()
newBuilder(ServiceLockInfo prototype)
public static ServiceLockInfo.Builder newBuilder(ServiceLockInfo prototype)
public static ServiceLockInfo parseDelimitedFrom(InputStream input)
public static ServiceLockInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ServiceLockInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServiceLockInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ServiceLockInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServiceLockInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServiceLockInfo parseFrom(CodedInputStream input)
public static ServiceLockInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ServiceLockInfo parseFrom(InputStream input)
public static ServiceLockInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ServiceLockInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServiceLockInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ServiceLockInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ServiceLockInfo getDefaultInstanceForType()
getOperation()
public String getOperation()
Output only. The name of the operation that created this lock.
The lock will automatically be released when the operation completes.
string operation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The operation.
|
getOperationBytes()
public ByteString getOperationBytes()
Output only. The name of the operation that created this lock.
The lock will automatically be released when the operation completes.
string operation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for operation.
|
getParserForType()
public Parser<ServiceLockInfo> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ServiceLockInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServiceLockInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ServiceLockInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides