Class LockInfo.Builder (0.1.0)

public static final class LockInfo.Builder extends GeneratedMessageV3.Builder<LockInfo.Builder> implements LockInfoOrBuilder

Details about the lock which locked the deployment.

Protobuf type google.cloud.config.v1.LockInfo

Implements

LockInfoOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LockInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LockInfo.Builder
Overrides

build()

public LockInfo build()
Returns
TypeDescription
LockInfo

buildPartial()

public LockInfo buildPartial()
Returns
TypeDescription
LockInfo

clear()

public LockInfo.Builder clear()
Returns
TypeDescription
LockInfo.Builder
Overrides

clearCreateTime()

public LockInfo.Builder clearCreateTime()

Time that the lock was taken.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
LockInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public LockInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LockInfo.Builder
Overrides

clearInfo()

public LockInfo.Builder clearInfo()

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

string info = 3;

Returns
TypeDescription
LockInfo.Builder

This builder for chaining.

clearLockId()

public LockInfo.Builder clearLockId()

Unique ID for the lock to be overridden with generation ID in the backend.

int64 lock_id = 1;

Returns
TypeDescription
LockInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LockInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LockInfo.Builder
Overrides

clearOperation()

public LockInfo.Builder clearOperation()

Terraform operation, provided by the caller.

string operation = 2;

Returns
TypeDescription
LockInfo.Builder

This builder for chaining.

clearVersion()

public LockInfo.Builder clearVersion()

Terraform version

string version = 5;

Returns
TypeDescription
LockInfo.Builder

This builder for chaining.

clearWho()

public LockInfo.Builder clearWho()

user@hostname when available

string who = 4;

Returns
TypeDescription
LockInfo.Builder

This builder for chaining.

clone()

public LockInfo.Builder clone()
Returns
TypeDescription
LockInfo.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Time that the lock was taken.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Time that the lock was taken.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public LockInfo.Builder mergeCreateTime(Timestamp value)

Time that the lock was taken.

.google.protobuf.Timestamp create_time = 6;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
LockInfo.Builder

mergeFrom(LockInfo other)

public LockInfo.Builder mergeFrom(LockInfo other)
Parameter
NameDescription
otherLockInfo
Returns
TypeDescription
LockInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LockInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LockInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LockInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LockInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LockInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LockInfo.Builder
Overrides

setCreateTime(Timestamp value)

public LockInfo.Builder setCreateTime(Timestamp value)

Time that the lock was taken.

.google.protobuf.Timestamp create_time = 6;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
LockInfo.Builder

setCreateTime(Timestamp.Builder builderForValue)

public LockInfo.Builder setCreateTime(Timestamp.Builder builderForValue)

Time that the lock was taken.

.google.protobuf.Timestamp create_time = 6;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
LockInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LockInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LockInfo.Builder
Overrides

setInfo(String value)

public LockInfo.Builder setInfo(String value)

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

string info = 3;

Parameter
NameDescription
valueString

The info to set.

Returns
TypeDescription
LockInfo.Builder

This builder for chaining.

setInfoBytes(ByteString value)

public LockInfo.Builder setInfoBytes(ByteString value)

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

string info = 3;

Parameter
NameDescription
valueByteString

The bytes for info to set.

Returns
TypeDescription
LockInfo.Builder

This builder for chaining.

setLockId(long value)

public LockInfo.Builder setLockId(long value)

Unique ID for the lock to be overridden with generation ID in the backend.

int64 lock_id = 1;

Parameter
NameDescription
valuelong

The lockId to set.

Returns
TypeDescription
LockInfo.Builder

This builder for chaining.

setOperation(String value)

public LockInfo.Builder setOperation(String value)

Terraform operation, provided by the caller.

string operation = 2;

Parameter
NameDescription
valueString

The operation to set.

Returns
TypeDescription
LockInfo.Builder

This builder for chaining.

setOperationBytes(ByteString value)

public LockInfo.Builder setOperationBytes(ByteString value)

Terraform operation, provided by the caller.

string operation = 2;

Parameter
NameDescription
valueByteString

The bytes for operation to set.

Returns
TypeDescription
LockInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LockInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LockInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LockInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LockInfo.Builder
Overrides

setVersion(String value)

public LockInfo.Builder setVersion(String value)

Terraform version

string version = 5;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
LockInfo.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public LockInfo.Builder setVersionBytes(ByteString value)

Terraform version

string version = 5;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
LockInfo.Builder

This builder for chaining.

setWho(String value)

public LockInfo.Builder setWho(String value)

user@hostname when available

string who = 4;

Parameter
NameDescription
valueString

The who to set.

Returns
TypeDescription
LockInfo.Builder

This builder for chaining.

setWhoBytes(ByteString value)

public LockInfo.Builder setWhoBytes(ByteString value)

user@hostname when available

string who = 4;

Parameter
NameDescription
valueByteString

The bytes for who to set.

Returns
TypeDescription
LockInfo.Builder

This builder for chaining.