public final class EkmConnection extends GeneratedMessageV3 implements EkmConnectionOrBuilder
An EkmConnection represents an
individual EKM connection. It can be used for creating
CryptoKeys and
CryptoKeyVersions with a
ProtectionLevel of
EXTERNAL_VPC, as well as
performing cryptographic operations using keys created within the
EkmConnection.
Protobuf type google.cloud.kms.v1.EkmConnection
Static Fields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
SERVICE_RESOLVERS_FIELD_NUMBER
public static final int SERVICE_RESOLVERS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static EkmConnection getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static EkmConnection.Builder newBuilder()
Returns
newBuilder(EkmConnection prototype)
public static EkmConnection.Builder newBuilder(EkmConnection prototype)
Parameter
Returns
public static EkmConnection parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static EkmConnection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static EkmConnection parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EkmConnection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static EkmConnection parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EkmConnection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EkmConnection parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static EkmConnection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EkmConnection parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static EkmConnection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static EkmConnection parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EkmConnection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<EkmConnection> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCreateTime()
public 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
getCreateTimeOrBuilder()
public 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
getDefaultInstanceForType()
public EkmConnection getDefaultInstanceForType()
Returns
getEtag()
Optional. Etag of the currently stored
EkmConnection.
string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The etag.
|
getEtagBytes()
public ByteString getEtagBytes()
Optional. Etag of the currently stored
EkmConnection.
string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
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
Type | Description |
String | The name.
|
getNameBytes()
public 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
getParserForType()
public Parser<EkmConnection> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getServiceResolvers(int index)
public 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
Returns
getServiceResolversCount()
public 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
getServiceResolversList()
public 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
getServiceResolversOrBuilder(int index)
public 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
Returns
getServiceResolversOrBuilderList()
public 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
Type | Description |
List<? extends com.google.cloud.kms.v1.EkmConnection.ServiceResolverOrBuilder> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasCreateTime()
public 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
Type | Description |
boolean | Whether the createTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public EkmConnection.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EkmConnection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public EkmConnection.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions