Class LockInfo (0.17.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
TypeDescription
int

INFO_FIELD_NUMBER

public static final int INFO_FIELD_NUMBER
Field Value
TypeDescription
int

LOCK_ID_FIELD_NUMBER

public static final int LOCK_ID_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATION_FIELD_NUMBER

public static final int OPERATION_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

WHO_FIELD_NUMBER

public static final int WHO_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LockInfo getDefaultInstance()
Returns
TypeDescription
LockInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static LockInfo.Builder newBuilder()
Returns
TypeDescription
LockInfo.Builder

newBuilder(LockInfo prototype)

public static LockInfo.Builder newBuilder(LockInfo prototype)
Parameter
NameDescription
prototypeLockInfo
Returns
TypeDescription
LockInfo.Builder

parseDelimitedFrom(InputStream input)

public static LockInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LockInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LockInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LockInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LockInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LockInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LockInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LockInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LockInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LockInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LockInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LockInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LockInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LockInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LockInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LockInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LockInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LockInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LockInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LockInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LockInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LockInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LockInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LockInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LockInfo> parser()
Returns
TypeDescription
Parser<LockInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCreateTime()

public Timestamp getCreateTime()

Time that the lock was taken.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Time that the lock was taken.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public LockInfo getDefaultInstanceForType()
Returns
TypeDescription
LockInfo

getInfo()

public String getInfo()

Extra information to store with the lock, provided by the caller.

string info = 3;

Returns
TypeDescription
String

The info.

getInfoBytes()

public ByteString getInfoBytes()

Extra information to store with the lock, provided by the caller.

string info = 3;

Returns
TypeDescription
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
TypeDescription
long

The lockId.

getOperation()

public String getOperation()

Terraform operation, provided by the caller.

string operation = 2;

Returns
TypeDescription
String

The operation.

getOperationBytes()

public ByteString getOperationBytes()

Terraform operation, provided by the caller.

string operation = 2;

Returns
TypeDescription
ByteString

The bytes for operation.

getParserForType()

public Parser<LockInfo> getParserForType()
Returns
TypeDescription
Parser<LockInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVersion()

public String getVersion()

Terraform version

string version = 5;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Terraform version

string version = 5;

Returns
TypeDescription
ByteString

The bytes for version.

getWho()

public String getWho()

user@hostname when available

string who = 4;

Returns
TypeDescription
String

The who.

getWhoBytes()

public ByteString getWhoBytes()

user@hostname when available

string who = 4;

Returns
TypeDescription
ByteString

The bytes for who.

hasCreateTime()

public boolean hasCreateTime()

Time that the lock was taken.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LockInfo.Builder newBuilderForType()
Returns
TypeDescription
LockInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LockInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LockInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LockInfo.Builder toBuilder()
Returns
TypeDescription
LockInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException