public final class EkmConnection extends com.google.protobuf.GeneratedMessageV3 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][CryptoKeyVersion.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| Modifier and Type | Class and Description |
|---|---|
static class |
EkmConnection.Builder
An [EkmConnection][google.cloud.kms.v1.EkmConnection] represents an
individual EKM connection.
|
static class |
EkmConnection.KeyManagementMode
[KeyManagementMode][google.cloud.kms.v1.EkmConnection.KeyManagementMode]
describes who can perform control plane cryptographic operations using this
[EkmConnection][google.cloud.kms.v1.EkmConnection].
|
static class |
EkmConnection.ServiceResolver
A [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver]
represents an EKM replica that can be reached within an
[EkmConnection][google.cloud.kms.v1.EkmConnection].
|
static interface |
EkmConnection.ServiceResolverOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
CRYPTO_SPACE_PATH_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
KEY_MANAGEMENT_MODE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SERVICE_RESOLVERS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getCryptoSpacePath()
Optional.
|
com.google.protobuf.ByteString |
getCryptoSpacePathBytes()
Optional.
|
static EkmConnection |
getDefaultInstance() |
EkmConnection |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEtag()
Optional.
|
com.google.protobuf.ByteString |
getEtagBytes()
Optional.
|
EkmConnection.KeyManagementMode |
getKeyManagementMode()
Optional.
|
int |
getKeyManagementModeValue()
Optional.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<EkmConnection> |
getParserForType() |
int |
getSerializedSize() |
EkmConnection.ServiceResolver |
getServiceResolvers(int index)
A list of
[ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
the EKM can be reached.
|
int |
getServiceResolversCount()
A list of
[ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
the EKM can be reached.
|
List<EkmConnection.ServiceResolver> |
getServiceResolversList()
A list of
[ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
the EKM can be reached.
|
EkmConnection.ServiceResolverOrBuilder |
getServiceResolversOrBuilder(int index)
A list of
[ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
the EKM can be reached.
|
List<? extends EkmConnection.ServiceResolverOrBuilder> |
getServiceResolversOrBuilderList()
A list of
[ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
the EKM can be reached.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static EkmConnection.Builder |
newBuilder() |
static EkmConnection.Builder |
newBuilder(EkmConnection prototype) |
EkmConnection.Builder |
newBuilderForType() |
protected EkmConnection.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static EkmConnection |
parseDelimitedFrom(InputStream input) |
static EkmConnection |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EkmConnection |
parseFrom(byte[] data) |
static EkmConnection |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EkmConnection |
parseFrom(ByteBuffer data) |
static EkmConnection |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EkmConnection |
parseFrom(com.google.protobuf.ByteString data) |
static EkmConnection |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EkmConnection |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EkmConnection |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EkmConnection |
parseFrom(InputStream input) |
static EkmConnection |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EkmConnection> |
parser() |
EkmConnection.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int SERVICE_RESOLVERS_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
public static final int KEY_MANAGEMENT_MODE_FIELD_NUMBER
public static final int CRYPTO_SPACE_PATH_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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];getName in interface EkmConnectionOrBuilderpublic 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];getNameBytes in interface EkmConnectionOrBuilderpublic 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];
hasCreateTime in interface EkmConnectionOrBuilderpublic 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];
getCreateTime in interface EkmConnectionOrBuilderpublic 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];
getCreateTimeOrBuilder in interface EkmConnectionOrBuilderpublic List<EkmConnection.ServiceResolver> getServiceResolversList()
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;getServiceResolversList in interface EkmConnectionOrBuilderpublic List<? extends EkmConnection.ServiceResolverOrBuilder> getServiceResolversOrBuilderList()
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;getServiceResolversOrBuilderList in interface EkmConnectionOrBuilderpublic int getServiceResolversCount()
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;getServiceResolversCount in interface EkmConnectionOrBuilderpublic EkmConnection.ServiceResolver getServiceResolvers(int index)
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;getServiceResolvers in interface EkmConnectionOrBuilderpublic EkmConnection.ServiceResolverOrBuilder getServiceResolversOrBuilder(int index)
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;getServiceResolversOrBuilder in interface EkmConnectionOrBuilderpublic String getEtag()
Optional. Etag of the currently stored [EkmConnection][google.cloud.kms.v1.EkmConnection].
string etag = 5 [(.google.api.field_behavior) = OPTIONAL];getEtag in interface EkmConnectionOrBuilderpublic 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];getEtagBytes in interface EkmConnectionOrBuilderpublic 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];
getKeyManagementModeValue in interface EkmConnectionOrBuilderpublic 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];
getKeyManagementMode in interface EkmConnectionOrBuilderpublic 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];getCryptoSpacePath in interface EkmConnectionOrBuilderpublic 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];getCryptoSpacePathBytes in interface EkmConnectionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static EkmConnection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EkmConnection parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EkmConnection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EkmConnection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EkmConnection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EkmConnection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EkmConnection parseFrom(InputStream input) throws IOException
IOExceptionpublic static EkmConnection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EkmConnection parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static EkmConnection parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EkmConnection parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static EkmConnection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic EkmConnection.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static EkmConnection.Builder newBuilder()
public static EkmConnection.Builder newBuilder(EkmConnection prototype)
public EkmConnection.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected EkmConnection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static EkmConnection getDefaultInstance()
public static com.google.protobuf.Parser<EkmConnection> parser()
public com.google.protobuf.Parser<EkmConnection> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public EkmConnection getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.