public final class LockInfo extends GeneratedMessageV3 implements LockInfoOrBuilder
Details about the lock which locked the deployment.
Protobuf type google.cloud.config.v1.LockInfo
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
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
INFO_FIELD_NUMBER
public static final int INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LOCK_ID_FIELD_NUMBER
public static final int LOCK_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
WHO_FIELD_NUMBER
public static final int WHO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static LockInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LockInfo.Builder newBuilder()
newBuilder(LockInfo prototype)
public static LockInfo.Builder newBuilder(LockInfo prototype)
Parameter |
Name |
Description |
prototype |
LockInfo
|
public static LockInfo parseDelimitedFrom(InputStream input)
public static LockInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LockInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LockInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LockInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LockInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LockInfo parseFrom(CodedInputStream input)
public static LockInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LockInfo parseFrom(InputStream input)
public static LockInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LockInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LockInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LockInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCreateTime()
public Timestamp getCreateTime()
Time that the lock was taken.
.google.protobuf.Timestamp create_time = 6;
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Time that the lock was taken.
.google.protobuf.Timestamp create_time = 6;
getDefaultInstanceForType()
public LockInfo getDefaultInstanceForType()
getInfo()
Extra information to store with the lock, provided by the caller.
string info = 3;
Returns |
Type |
Description |
String |
The info.
|
getInfoBytes()
public ByteString getInfoBytes()
Extra information to store with the lock, provided by the caller.
string info = 3;
Returns |
Type |
Description |
ByteString |
The bytes for info.
|
getLockId()
Unique ID for the lock to be overridden with generation ID in the backend.
int64 lock_id = 1;
Returns |
Type |
Description |
long |
The lockId.
|
getOperation()
public String getOperation()
Terraform operation, provided by the caller.
string operation = 2;
Returns |
Type |
Description |
String |
The operation.
|
getOperationBytes()
public ByteString getOperationBytes()
Terraform operation, provided by the caller.
string operation = 2;
Returns |
Type |
Description |
ByteString |
The bytes for operation.
|
getParserForType()
public Parser<LockInfo> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getVersion()
public String getVersion()
Terraform version
string version = 5;
Returns |
Type |
Description |
String |
The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Terraform version
string version = 5;
Returns |
Type |
Description |
ByteString |
The bytes for version.
|
getWho()
user@hostname when available
string who = 4;
Returns |
Type |
Description |
String |
The who.
|
getWhoBytes()
public ByteString getWhoBytes()
user@hostname when available
string who = 4;
Returns |
Type |
Description |
ByteString |
The bytes for who.
|
hasCreateTime()
public boolean hasCreateTime()
Time that the lock was taken.
.google.protobuf.Timestamp create_time = 6;
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LockInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LockInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public LockInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides