Interface EkmConnectionOrBuilder (2.34.0)

public interface EkmConnectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time at which the EkmConnection was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which the EkmConnection was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getCryptoSpacePath()

public abstract String getCryptoSpacePath()

Optional. Identifies the EKM Crypto Space that this EkmConnection maps to. Note: This field is required if KeyManagementMode is CLOUD_KMS.

string crypto_space_path = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The cryptoSpacePath.

getCryptoSpacePathBytes()

public abstract ByteString getCryptoSpacePathBytes()

Optional. Identifies the EKM Crypto Space that this EkmConnection maps to. Note: This field is required if KeyManagementMode is CLOUD_KMS.

string crypto_space_path = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for cryptoSpacePath.

getEtag()

public abstract String getEtag()

Optional. Etag of the currently stored EkmConnection.

string etag = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

Optional. Etag of the currently stored EkmConnection.

string etag = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for etag.

getKeyManagementMode()

public abstract 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 key_management_mode = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EkmConnection.KeyManagementMode

The keyManagementMode.

getKeyManagementModeValue()

public abstract 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 key_management_mode = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for keyManagementMode.

getName()

public abstract String getName()

Output only. The resource name for the EkmConnection in the format projects/*/locations/*/ekmConnections/*.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The resource name for the EkmConnection in the format projects/*/locations/*/ekmConnections/*.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getServiceResolvers(int index)

public abstract EkmConnection.ServiceResolver getServiceResolvers(int index)

A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported.

repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
EkmConnection.ServiceResolver

getServiceResolversCount()

public abstract int getServiceResolversCount()

A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported.

repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3;

Returns
TypeDescription
int

getServiceResolversList()

public abstract List<EkmConnection.ServiceResolver> getServiceResolversList()

A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported.

repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3;

Returns
TypeDescription
List<ServiceResolver>

getServiceResolversOrBuilder(int index)

public abstract EkmConnection.ServiceResolverOrBuilder getServiceResolversOrBuilder(int index)

A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported.

repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
EkmConnection.ServiceResolverOrBuilder

getServiceResolversOrBuilderList()

public abstract List<? extends EkmConnection.ServiceResolverOrBuilder> getServiceResolversOrBuilderList()

A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported.

repeated .google.cloud.kms.v1.EkmConnection.ServiceResolver service_resolvers = 3;

Returns
TypeDescription
List<? extends com.google.cloud.kms.v1.EkmConnection.ServiceResolverOrBuilder>

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time at which the EkmConnection was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.