public final class EkmConnection extends 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 |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
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 |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Timestamp |
getCreateTime()
Output only.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static EkmConnection |
getDefaultInstance() |
EkmConnection |
getDefaultInstanceForType() |
static 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.
|
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.
|
ByteString |
getNameBytes()
Output only.
|
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.
|
UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static EkmConnection.Builder |
newBuilder() |
static EkmConnection.Builder |
newBuilder(EkmConnection prototype) |
EkmConnection.Builder |
newBuilderForType() |
protected EkmConnection.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static EkmConnection |
parseDelimitedFrom(InputStream input) |
static EkmConnection |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static EkmConnection |
parseFrom(byte[] data) |
static EkmConnection |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static EkmConnection |
parseFrom(ByteBuffer data) |
static EkmConnection |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static EkmConnection |
parseFrom(ByteString data) |
static EkmConnection |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static EkmConnection |
parseFrom(CodedInputStream input) |
static EkmConnection |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static EkmConnection |
parseFrom(InputStream input) |
static EkmConnection |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<EkmConnection> |
parser() |
EkmConnection.Builder |
toBuilder() |
void |
writeTo(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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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];
getName
in interface EkmConnectionOrBuilder
public 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 EkmConnectionOrBuilder
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];
hasCreateTime
in interface EkmConnectionOrBuilder
public 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 EkmConnectionOrBuilder
public 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 EkmConnectionOrBuilder
public 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 EkmConnectionOrBuilder
public 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 EkmConnectionOrBuilder
public 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 EkmConnectionOrBuilder
public 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 EkmConnectionOrBuilder
public 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 EkmConnectionOrBuilder
public 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 EkmConnectionOrBuilder
public 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 EkmConnectionOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static EkmConnection parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EkmConnection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EkmConnection parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EkmConnection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EkmConnection parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EkmConnection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EkmConnection parseFrom(InputStream input) throws IOException
IOException
public static EkmConnection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EkmConnection parseDelimitedFrom(InputStream input) throws IOException
IOException
public static EkmConnection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EkmConnection parseFrom(CodedInputStream input) throws IOException
IOException
public static EkmConnection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public EkmConnection.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static EkmConnection.Builder newBuilder()
public static EkmConnection.Builder newBuilder(EkmConnection prototype)
public EkmConnection.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected EkmConnection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static EkmConnection getDefaultInstance()
public static Parser<EkmConnection> parser()
public Parser<EkmConnection> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public EkmConnection getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.