Package com.google.cloud.config.v1
Interface LockInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LockInfo
,LockInfo.Builder
public interface LockInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getCreateTime()
Time that the lock was taken.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Time that the lock was taken.String
getInfo()
Extra information to store with the lock, provided by the caller.com.google.protobuf.ByteString
getInfoBytes()
Extra information to store with the lock, provided by the caller.long
getLockId()
Unique ID for the lock to be overridden with generation ID in the backend.String
getOperation()
Terraform operation, provided by the caller.com.google.protobuf.ByteString
getOperationBytes()
Terraform operation, provided by the caller.String
getVersion()
Terraform versioncom.google.protobuf.ByteString
getVersionBytes()
Terraform versionString
getWho()
user@hostname when availablecom.google.protobuf.ByteString
getWhoBytes()
user@hostname when availableboolean
hasCreateTime()
Time that the lock was taken.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLockId
long getLockId()
Unique ID for the lock to be overridden with generation ID in the backend.
int64 lock_id = 1;
- Returns:
- The lockId.
-
getOperation
String getOperation()
Terraform operation, provided by the caller.
string operation = 2;
- Returns:
- The operation.
-
getOperationBytes
com.google.protobuf.ByteString getOperationBytes()
Terraform operation, provided by the caller.
string operation = 2;
- Returns:
- The bytes for operation.
-
getInfo
String getInfo()
Extra information to store with the lock, provided by the caller.
string info = 3;
- Returns:
- The info.
-
getInfoBytes
com.google.protobuf.ByteString getInfoBytes()
Extra information to store with the lock, provided by the caller.
string info = 3;
- Returns:
- The bytes for info.
-
getWho
String getWho()
user@hostname when available
string who = 4;
- Returns:
- The who.
-
getWhoBytes
com.google.protobuf.ByteString getWhoBytes()
user@hostname when available
string who = 4;
- Returns:
- The bytes for who.
-
getVersion
String getVersion()
Terraform version
string version = 5;
- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()
Terraform version
string version = 5;
- Returns:
- The bytes for version.
-
hasCreateTime
boolean hasCreateTime()
Time that the lock was taken.
.google.protobuf.Timestamp create_time = 6;
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Time that the lock was taken.
.google.protobuf.Timestamp create_time = 6;
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Time that the lock was taken.
.google.protobuf.Timestamp create_time = 6;
-
-