Class LockInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LockInfo.Builder>
com.google.cloud.config.v1.LockInfo.Builder
All Implemented Interfaces:
LockInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
LockInfo

public static final class LockInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<LockInfo.Builder> implements LockInfoOrBuilder
 Details about the lock which locked the deployment.
 
Protobuf type google.cloud.config.v1.LockInfo
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Time that the lock was taken.
    Extra information to store with the lock, provided by the caller.
    Unique ID for the lock to be overridden with generation ID in the backend.
    Terraform operation, provided by the caller.
    Terraform version
    user@hostname when available
    com.google.protobuf.Timestamp
    Time that the lock was taken.
    com.google.protobuf.Timestamp.Builder
    Time that the lock was taken.
    com.google.protobuf.TimestampOrBuilder
    Time that the lock was taken.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Extra information to store with the lock, provided by the caller.
    com.google.protobuf.ByteString
    Extra information to store with the lock, provided by the caller.
    long
    Unique ID for the lock to be overridden with generation ID in the backend.
    Terraform operation, provided by the caller.
    com.google.protobuf.ByteString
    Terraform operation, provided by the caller.
    Terraform version
    com.google.protobuf.ByteString
    Terraform version
    user@hostname when available
    com.google.protobuf.ByteString
    user@hostname when available
    boolean
    Time that the lock was taken.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeCreateTime(com.google.protobuf.Timestamp value)
    Time that the lock was taken.
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    setCreateTime(com.google.protobuf.Timestamp value)
    Time that the lock was taken.
    setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
    Time that the lock was taken.
    setInfo(String value)
    Extra information to store with the lock, provided by the caller.
    setInfoBytes(com.google.protobuf.ByteString value)
    Extra information to store with the lock, provided by the caller.
    setLockId(long value)
    Unique ID for the lock to be overridden with generation ID in the backend.
    Terraform operation, provided by the caller.
    setOperationBytes(com.google.protobuf.ByteString value)
    Terraform operation, provided by the caller.
    Terraform version
    setVersionBytes(com.google.protobuf.ByteString value)
    Terraform version
    setWho(String value)
    user@hostname when available
    setWhoBytes(com.google.protobuf.ByteString value)
    user@hostname when available

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<LockInfo.Builder>
    • clear

      public LockInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<LockInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<LockInfo.Builder>
    • getDefaultInstanceForType

      public LockInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public LockInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public LockInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public LockInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LockInfo.Builder>
    • mergeFrom

      public LockInfo.Builder mergeFrom(LockInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<LockInfo.Builder>
    • mergeFrom

      public LockInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LockInfo.Builder>
      Throws:
      IOException
    • getLockId

      public long getLockId()
       Unique ID for the lock to be overridden with generation ID in the backend.
       
      int64 lock_id = 1;
      Specified by:
      getLockId in interface LockInfoOrBuilder
      Returns:
      The lockId.
    • setLockId

      public LockInfo.Builder setLockId(long value)
       Unique ID for the lock to be overridden with generation ID in the backend.
       
      int64 lock_id = 1;
      Parameters:
      value - The lockId to set.
      Returns:
      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:
      This builder for chaining.
    • getOperation

      public String getOperation()
       Terraform operation, provided by the caller.
       
      string operation = 2;
      Specified by:
      getOperation in interface LockInfoOrBuilder
      Returns:
      The operation.
    • getOperationBytes

      public com.google.protobuf.ByteString getOperationBytes()
       Terraform operation, provided by the caller.
       
      string operation = 2;
      Specified by:
      getOperationBytes in interface LockInfoOrBuilder
      Returns:
      The bytes for operation.
    • setOperation

      public LockInfo.Builder setOperation(String value)
       Terraform operation, provided by the caller.
       
      string operation = 2;
      Parameters:
      value - The operation to set.
      Returns:
      This builder for chaining.
    • clearOperation

      public LockInfo.Builder clearOperation()
       Terraform operation, provided by the caller.
       
      string operation = 2;
      Returns:
      This builder for chaining.
    • setOperationBytes

      public LockInfo.Builder setOperationBytes(com.google.protobuf.ByteString value)
       Terraform operation, provided by the caller.
       
      string operation = 2;
      Parameters:
      value - The bytes for operation to set.
      Returns:
      This builder for chaining.
    • getInfo

      public String getInfo()
       Extra information to store with the lock, provided by the caller.
       
      string info = 3;
      Specified by:
      getInfo in interface LockInfoOrBuilder
      Returns:
      The info.
    • getInfoBytes

      public com.google.protobuf.ByteString getInfoBytes()
       Extra information to store with the lock, provided by the caller.
       
      string info = 3;
      Specified by:
      getInfoBytes in interface LockInfoOrBuilder
      Returns:
      The bytes for info.
    • setInfo

      public LockInfo.Builder setInfo(String value)
       Extra information to store with the lock, provided by the caller.
       
      string info = 3;
      Parameters:
      value - The info to set.
      Returns:
      This builder for chaining.
    • clearInfo

      public LockInfo.Builder clearInfo()
       Extra information to store with the lock, provided by the caller.
       
      string info = 3;
      Returns:
      This builder for chaining.
    • setInfoBytes

      public LockInfo.Builder setInfoBytes(com.google.protobuf.ByteString value)
       Extra information to store with the lock, provided by the caller.
       
      string info = 3;
      Parameters:
      value - The bytes for info to set.
      Returns:
      This builder for chaining.
    • getWho

      public String getWho()
       user@hostname when available
       
      string who = 4;
      Specified by:
      getWho in interface LockInfoOrBuilder
      Returns:
      The who.
    • getWhoBytes

      public com.google.protobuf.ByteString getWhoBytes()
       user@hostname when available
       
      string who = 4;
      Specified by:
      getWhoBytes in interface LockInfoOrBuilder
      Returns:
      The bytes for who.
    • setWho

      public LockInfo.Builder setWho(String value)
       user@hostname when available
       
      string who = 4;
      Parameters:
      value - The who to set.
      Returns:
      This builder for chaining.
    • clearWho

      public LockInfo.Builder clearWho()
       user@hostname when available
       
      string who = 4;
      Returns:
      This builder for chaining.
    • setWhoBytes

      public LockInfo.Builder setWhoBytes(com.google.protobuf.ByteString value)
       user@hostname when available
       
      string who = 4;
      Parameters:
      value - The bytes for who to set.
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
       Terraform version
       
      string version = 5;
      Specified by:
      getVersion in interface LockInfoOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Terraform version
       
      string version = 5;
      Specified by:
      getVersionBytes in interface LockInfoOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public LockInfo.Builder setVersion(String value)
       Terraform version
       
      string version = 5;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public LockInfo.Builder clearVersion()
       Terraform version
       
      string version = 5;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public LockInfo.Builder setVersionBytes(com.google.protobuf.ByteString value)
       Terraform version
       
      string version = 5;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Time that the lock was taken.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      hasCreateTime in interface LockInfoOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Time that the lock was taken.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      getCreateTime in interface LockInfoOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public LockInfo.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Time that the lock was taken.
       
      .google.protobuf.Timestamp create_time = 6;
    • setCreateTime

      public LockInfo.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Time that the lock was taken.
       
      .google.protobuf.Timestamp create_time = 6;
    • mergeCreateTime

      public LockInfo.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Time that the lock was taken.
       
      .google.protobuf.Timestamp create_time = 6;
    • clearCreateTime

      public LockInfo.Builder clearCreateTime()
       Time that the lock was taken.
       
      .google.protobuf.Timestamp create_time = 6;
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Time that the lock was taken.
       
      .google.protobuf.Timestamp create_time = 6;
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Time that the lock was taken.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      getCreateTimeOrBuilder in interface LockInfoOrBuilder