Class LockInfo (0.22.0)

public final class LockInfo extends GeneratedMessageV3 implements LockInfoOrBuilder

Details about the lock which locked the deployment.

Protobuf type google.cloud.config.v1.LockInfo

Implements

LockInfoOrBuilder

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()
Returns
Type Description
LockInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static LockInfo.Builder newBuilder()
Returns
Type Description
LockInfo.Builder

newBuilder(LockInfo prototype)

public static LockInfo.Builder newBuilder(LockInfo prototype)
Parameter
Name Description
prototype LockInfo
Returns
Type Description
LockInfo.Builder

parseDelimitedFrom(InputStream input)

public static LockInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LockInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LockInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LockInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static LockInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LockInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LockInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LockInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LockInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LockInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LockInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LockInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static LockInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LockInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LockInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LockInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static LockInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LockInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<LockInfo> parser()
Returns
Type Description
Parser<LockInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public LockInfo getDefaultInstanceForType()
Returns
Type Description
LockInfo

getInfo()

public String 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()

public long 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()
Returns
Type Description
Parser<LockInfo>
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()

public String 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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public LockInfo.Builder newBuilderForType()
Returns
Type Description
LockInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LockInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LockInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public LockInfo.Builder toBuilder()
Returns
Type Description
LockInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException