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.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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
ETAG_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.
|
static EkmConnection |
getDefaultInstance() |
EkmConnection |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEtag()
This checksum is computed by the server based on the value of other fields,
and may be sent on update requests to ensure the client has an up-to-date
value before proceeding.
|
com.google.protobuf.ByteString |
getEtagBytes()
This checksum is computed by the server based on the value of other fields,
and may be sent on update requests to ensure the client has an up-to-date
value before proceeding.
|
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields 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()
This checksum is computed by the server based on the value of other fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
string etag = 5;getEtag in interface EkmConnectionOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
This checksum is computed by the server based on the value of other fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
string etag = 5;getEtagBytes 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 © 2022 Google LLC. All rights reserved.