- 2.79.0 (latest)
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.73.0
- 2.71.0
- 2.70.0
- 2.67.0
- 2.66.0
- 2.65.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.8
- 2.5.3
- 2.4.4
- 2.3.1
public static final class EkmConnection.Builder extends GeneratedMessageV3.Builder<EkmConnection.Builder> implements EkmConnectionOrBuilderAn 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EkmConnection.BuilderImplements
EkmConnectionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllServiceResolvers(Iterable<? extends EkmConnection.ServiceResolver> values)
public EkmConnection.Builder addAllServiceResolvers(Iterable<? extends EkmConnection.ServiceResolver> values)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.kms.v1.EkmConnection.ServiceResolver> |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EkmConnection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
addServiceResolvers(EkmConnection.ServiceResolver value)
public EkmConnection.Builder addServiceResolvers(EkmConnection.ServiceResolver value)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
EkmConnection.ServiceResolver |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
addServiceResolvers(EkmConnection.ServiceResolver.Builder builderForValue)
public EkmConnection.Builder addServiceResolvers(EkmConnection.ServiceResolver.Builder builderForValue)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EkmConnection.ServiceResolver.Builder |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
addServiceResolvers(int index, EkmConnection.ServiceResolver value)
public EkmConnection.Builder addServiceResolvers(int index, EkmConnection.ServiceResolver value)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EkmConnection.ServiceResolver |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
addServiceResolvers(int index, EkmConnection.ServiceResolver.Builder builderForValue)
public EkmConnection.Builder addServiceResolvers(int index, EkmConnection.ServiceResolver.Builder builderForValue)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EkmConnection.ServiceResolver.Builder |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
addServiceResolversBuilder()
public EkmConnection.ServiceResolver.Builder addServiceResolversBuilder()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EkmConnection.ServiceResolver.Builder |
|
addServiceResolversBuilder(int index)
public EkmConnection.ServiceResolver.Builder addServiceResolversBuilder(int index)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.ServiceResolver.Builder |
|
build()
public EkmConnection build()| Returns | |
|---|---|
| Type | Description |
EkmConnection |
|
buildPartial()
public EkmConnection buildPartial()| Returns | |
|---|---|
| Type | Description |
EkmConnection |
|
clear()
public EkmConnection.Builder clear()| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
clearCreateTime()
public EkmConnection.Builder clearCreateTime()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 |
EkmConnection.Builder |
|
clearCryptoSpacePath()
public EkmConnection.Builder clearCryptoSpacePath()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 | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
clearEtag()
public EkmConnection.Builder clearEtag()Optional. Etag of the currently stored EkmConnection.
string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public EkmConnection.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
clearKeyManagementMode()
public EkmConnection.Builder clearKeyManagementMode()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 | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
clearName()
public EkmConnection.Builder clearName() 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 |
EkmConnection.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public EkmConnection.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
clearServiceResolvers()
public EkmConnection.Builder clearServiceResolvers()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
clone()
public EkmConnection.Builder clone()| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
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 | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()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 |
Builder |
|
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 | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getCryptoSpacePath()
public 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 | |
|---|---|
| Type | Description |
String |
The cryptoSpacePath. |
getCryptoSpacePathBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for cryptoSpacePath. |
getDefaultInstanceForType()
public EkmConnection getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EkmConnection |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEtag()
public String 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for etag. |
getKeyManagementMode()
public 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 | |
|---|---|
| Type | Description |
EkmConnection.KeyManagementMode |
The keyManagementMode. |
getKeyManagementModeValue()
public 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 | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for keyManagementMode. |
getName()
public 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 | |
|---|---|
| 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getServiceResolvers(int index)
public EkmConnection.ServiceResolver getServiceResolvers(int index)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.ServiceResolver |
|
getServiceResolversBuilder(int index)
public EkmConnection.ServiceResolver.Builder getServiceResolversBuilder(int index)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.ServiceResolver.Builder |
|
getServiceResolversBuilderList()
public List<EkmConnection.ServiceResolver.Builder> getServiceResolversBuilderList()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getServiceResolversCount()
public int getServiceResolversCount()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getServiceResolversList()
public List<EkmConnection.ServiceResolver> getServiceResolversList()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<ServiceResolver> |
|
getServiceResolversOrBuilder(int index)
public EkmConnection.ServiceResolverOrBuilder getServiceResolversOrBuilder(int index)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.ServiceResolverOrBuilder |
|
getServiceResolversOrBuilderList()
public List<? extends EkmConnection.ServiceResolverOrBuilder> getServiceResolversOrBuilderList()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.kms.v1.EkmConnection.ServiceResolverOrBuilder> |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public EkmConnection.Builder mergeCreateTime(Timestamp value)Output only. The time at which the EkmConnection was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
mergeFrom(EkmConnection other)
public EkmConnection.Builder mergeFrom(EkmConnection other)| Parameter | |
|---|---|
| Name | Description |
other |
EkmConnection |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EkmConnection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EkmConnection.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EkmConnection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
removeServiceResolvers(int index)
public EkmConnection.Builder removeServiceResolvers(int index)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
setCreateTime(Timestamp value)
public EkmConnection.Builder setCreateTime(Timestamp value)Output only. The time at which the EkmConnection was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public EkmConnection.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The time at which the EkmConnection was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
setCryptoSpacePath(String value)
public EkmConnection.Builder setCryptoSpacePath(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe cryptoSpacePath to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
setCryptoSpacePathBytes(ByteString value)
public EkmConnection.Builder setCryptoSpacePathBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for cryptoSpacePath to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
setEtag(String value)
public EkmConnection.Builder setEtag(String value)Optional. Etag of the currently stored EkmConnection.
string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe etag to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public EkmConnection.Builder setEtagBytes(ByteString value)Optional. Etag of the currently stored EkmConnection.
string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for etag to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public EkmConnection.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
setKeyManagementMode(EkmConnection.KeyManagementMode value)
public EkmConnection.Builder setKeyManagementMode(EkmConnection.KeyManagementMode value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
EkmConnection.KeyManagementModeThe keyManagementMode to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
setKeyManagementModeValue(int value)
public EkmConnection.Builder setKeyManagementModeValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for keyManagementMode to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
setName(String value)
public EkmConnection.Builder setName(String value) Output only. The resource name for the
EkmConnection in the format
projects/*/locations/*/ekmConnections/*.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public EkmConnection.Builder setNameBytes(ByteString value) Output only. The resource name for the
EkmConnection in the format
projects/*/locations/*/ekmConnections/*.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EkmConnection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
setServiceResolvers(int index, EkmConnection.ServiceResolver value)
public EkmConnection.Builder setServiceResolvers(int index, EkmConnection.ServiceResolver value)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EkmConnection.ServiceResolver |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
setServiceResolvers(int index, EkmConnection.ServiceResolver.Builder builderForValue)
public EkmConnection.Builder setServiceResolvers(int index, EkmConnection.ServiceResolver.Builder builderForValue)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EkmConnection.ServiceResolver.Builder |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final EkmConnection.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|