Class EkmConnection.Builder

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

public static final class EkmConnection.Builder extends com.google.protobuf.GeneratedMessage.Builder<EkmConnection.Builder> implements EkmConnectionOrBuilder
 An [EkmConnection][google.cloud.kms.v1.EkmConnection] represents an
 individual EKM connection. It can be used for creating
 [CryptoKeys][google.cloud.kms.v1.CryptoKey] and
 [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] with a
 [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
 [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC], as well as
 performing cryptographic operations using keys created within the
 [EkmConnection][google.cloud.kms.v1.EkmConnection].
 
Protobuf type google.cloud.kms.v1.EkmConnection
  • 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<EkmConnection.Builder>
    • clear

      public EkmConnection.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<EkmConnection.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<EkmConnection.Builder>
    • getDefaultInstanceForType

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

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

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

      public EkmConnection.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<EkmConnection.Builder>
    • mergeFrom

      public EkmConnection.Builder mergeFrom(EkmConnection other)
    • isInitialized

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

      public EkmConnection.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<EkmConnection.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. The resource name for the
       [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format
       `projects/*/locations/*/ekmConnections/*`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface EkmConnectionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The resource name for the
       [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format
       `projects/*/locations/*/ekmConnections/*`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface EkmConnectionOrBuilder
      Returns:
      The bytes for name.
    • setName

      public EkmConnection.Builder setName(String value)
       Output only. The resource name for the
       [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format
       `projects/*/locations/*/ekmConnections/*`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public EkmConnection.Builder clearName()
       Output only. The resource name for the
       [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format
       `projects/*/locations/*/ekmConnections/*`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public EkmConnection.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The resource name for the
       [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format
       `projects/*/locations/*/ekmConnections/*`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time at which the
       [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface EkmConnectionOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time at which the
       [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface EkmConnectionOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public EkmConnection.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the
       [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public EkmConnection.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time at which the
       [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public EkmConnection.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the
       [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public EkmConnection.Builder clearCreateTime()
       Output only. The time at which the
       [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time at which the
       [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time at which the
       [EkmConnection][google.cloud.kms.v1.EkmConnection] was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface EkmConnectionOrBuilder
    • getServiceResolversList

      public List<EkmConnection.ServiceResolver> getServiceResolversList()
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceResolversList in interface EkmConnectionOrBuilder
    • getServiceResolversCount

      public int getServiceResolversCount()
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceResolversCount in interface EkmConnectionOrBuilder
    • getServiceResolvers

      public EkmConnection.ServiceResolver getServiceResolvers(int index)
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceResolvers in interface EkmConnectionOrBuilder
    • setServiceResolvers

      public EkmConnection.Builder setServiceResolvers(int index, EkmConnection.ServiceResolver value)
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setServiceResolvers

      public EkmConnection.Builder setServiceResolvers(int index, EkmConnection.ServiceResolver.Builder builderForValue)
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addServiceResolvers

      public EkmConnection.Builder addServiceResolvers(EkmConnection.ServiceResolver value)
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addServiceResolvers

      public EkmConnection.Builder addServiceResolvers(int index, EkmConnection.ServiceResolver value)
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addServiceResolvers

      public EkmConnection.Builder addServiceResolvers(EkmConnection.ServiceResolver.Builder builderForValue)
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addServiceResolvers

      public EkmConnection.Builder addServiceResolvers(int index, EkmConnection.ServiceResolver.Builder builderForValue)
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAllServiceResolvers

      public EkmConnection.Builder addAllServiceResolvers(Iterable<? extends EkmConnection.ServiceResolver> values)
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearServiceResolvers

      public EkmConnection.Builder clearServiceResolvers()
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
    • removeServiceResolvers

      public EkmConnection.Builder removeServiceResolvers(int index)
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getServiceResolversBuilder

      public EkmConnection.ServiceResolver.Builder getServiceResolversBuilder(int index)
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getServiceResolversOrBuilder

      public EkmConnection.ServiceResolverOrBuilder getServiceResolversOrBuilder(int index)
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceResolversOrBuilder in interface EkmConnectionOrBuilder
    • getServiceResolversOrBuilderList

      public List<? extends EkmConnection.ServiceResolverOrBuilder> getServiceResolversOrBuilderList()
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceResolversOrBuilderList in interface EkmConnectionOrBuilder
    • addServiceResolversBuilder

      public EkmConnection.ServiceResolver.Builder addServiceResolversBuilder()
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addServiceResolversBuilder

      public EkmConnection.ServiceResolver.Builder addServiceResolversBuilder(int index)
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getServiceResolversBuilderList

      public List<EkmConnection.ServiceResolver.Builder> getServiceResolversBuilderList()
       Optional. A list of
       [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
       the EKM can be reached. There should be one ServiceResolver per EKM
       replica. Currently, only a single
       [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
       supported.
       
      repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getEtag

      public String getEtag()
       Optional. Etag of the currently stored
       [EkmConnection][google.cloud.kms.v1.EkmConnection].
       
      string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtag in interface EkmConnectionOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Optional. Etag of the currently stored
       [EkmConnection][google.cloud.kms.v1.EkmConnection].
       
      string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtagBytes in interface EkmConnectionOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public EkmConnection.Builder setEtag(String value)
       Optional. Etag of the currently stored
       [EkmConnection][google.cloud.kms.v1.EkmConnection].
       
      string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public EkmConnection.Builder clearEtag()
       Optional. Etag of the currently stored
       [EkmConnection][google.cloud.kms.v1.EkmConnection].
       
      string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public EkmConnection.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Optional. Etag of the currently stored
       [EkmConnection][google.cloud.kms.v1.EkmConnection].
       
      string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • getKeyManagementModeValue

      public int getKeyManagementModeValue()
       Optional. Describes who can perform control plane operations on the EKM. If
       unset, this defaults to
       [MANUAL][google.cloud.kms.v1.EkmConnection.KeyManagementMode.MANUAL].
       
      .google.cloud.kms.v1.EkmConnection.KeyManagementMode key_management_mode = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeyManagementModeValue in interface EkmConnectionOrBuilder
      Returns:
      The enum numeric value on the wire for keyManagementMode.
    • setKeyManagementModeValue

      public EkmConnection.Builder setKeyManagementModeValue(int value)
       Optional. Describes who can perform control plane operations on the EKM. If
       unset, this defaults to
       [MANUAL][google.cloud.kms.v1.EkmConnection.KeyManagementMode.MANUAL].
       
      .google.cloud.kms.v1.EkmConnection.KeyManagementMode key_management_mode = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for keyManagementMode to set.
      Returns:
      This builder for chaining.
    • getKeyManagementMode

      public EkmConnection.KeyManagementMode getKeyManagementMode()
       Optional. Describes who can perform control plane operations on the EKM. If
       unset, this defaults to
       [MANUAL][google.cloud.kms.v1.EkmConnection.KeyManagementMode.MANUAL].
       
      .google.cloud.kms.v1.EkmConnection.KeyManagementMode key_management_mode = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeyManagementMode in interface EkmConnectionOrBuilder
      Returns:
      The keyManagementMode.
    • setKeyManagementMode

      public EkmConnection.Builder setKeyManagementMode(EkmConnection.KeyManagementMode value)
       Optional. Describes who can perform control plane operations on the EKM. If
       unset, this defaults to
       [MANUAL][google.cloud.kms.v1.EkmConnection.KeyManagementMode.MANUAL].
       
      .google.cloud.kms.v1.EkmConnection.KeyManagementMode key_management_mode = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The keyManagementMode to set.
      Returns:
      This builder for chaining.
    • clearKeyManagementMode

      public EkmConnection.Builder clearKeyManagementMode()
       Optional. Describes who can perform control plane operations on the EKM. If
       unset, this defaults to
       [MANUAL][google.cloud.kms.v1.EkmConnection.KeyManagementMode.MANUAL].
       
      .google.cloud.kms.v1.EkmConnection.KeyManagementMode key_management_mode = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getCryptoSpacePath

      public String getCryptoSpacePath()
       Optional. Identifies the EKM Crypto Space that this
       [EkmConnection][google.cloud.kms.v1.EkmConnection] maps to. Note: This
       field is required if
       [KeyManagementMode][google.cloud.kms.v1.EkmConnection.KeyManagementMode] is
       [CLOUD_KMS][google.cloud.kms.v1.EkmConnection.KeyManagementMode.CLOUD_KMS].
       
      string crypto_space_path = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCryptoSpacePath in interface EkmConnectionOrBuilder
      Returns:
      The cryptoSpacePath.
    • getCryptoSpacePathBytes

      public com.google.protobuf.ByteString getCryptoSpacePathBytes()
       Optional. Identifies the EKM Crypto Space that this
       [EkmConnection][google.cloud.kms.v1.EkmConnection] maps to. Note: This
       field is required if
       [KeyManagementMode][google.cloud.kms.v1.EkmConnection.KeyManagementMode] is
       [CLOUD_KMS][google.cloud.kms.v1.EkmConnection.KeyManagementMode.CLOUD_KMS].
       
      string crypto_space_path = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCryptoSpacePathBytes in interface EkmConnectionOrBuilder
      Returns:
      The bytes for cryptoSpacePath.
    • setCryptoSpacePath

      public EkmConnection.Builder setCryptoSpacePath(String value)
       Optional. Identifies the EKM Crypto Space that this
       [EkmConnection][google.cloud.kms.v1.EkmConnection] maps to. Note: This
       field is required if
       [KeyManagementMode][google.cloud.kms.v1.EkmConnection.KeyManagementMode] is
       [CLOUD_KMS][google.cloud.kms.v1.EkmConnection.KeyManagementMode.CLOUD_KMS].
       
      string crypto_space_path = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The cryptoSpacePath to set.
      Returns:
      This builder for chaining.
    • clearCryptoSpacePath

      public EkmConnection.Builder clearCryptoSpacePath()
       Optional. Identifies the EKM Crypto Space that this
       [EkmConnection][google.cloud.kms.v1.EkmConnection] maps to. Note: This
       field is required if
       [KeyManagementMode][google.cloud.kms.v1.EkmConnection.KeyManagementMode] is
       [CLOUD_KMS][google.cloud.kms.v1.EkmConnection.KeyManagementMode.CLOUD_KMS].
       
      string crypto_space_path = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setCryptoSpacePathBytes

      public EkmConnection.Builder setCryptoSpacePathBytes(com.google.protobuf.ByteString value)
       Optional. Identifies the EKM Crypto Space that this
       [EkmConnection][google.cloud.kms.v1.EkmConnection] maps to. Note: This
       field is required if
       [KeyManagementMode][google.cloud.kms.v1.EkmConnection.KeyManagementMode] is
       [CLOUD_KMS][google.cloud.kms.v1.EkmConnection.KeyManagementMode.CLOUD_KMS].
       
      string crypto_space_path = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for cryptoSpacePath to set.
      Returns:
      This builder for chaining.