@Generated public final class CmekConfig extends com.google.protobuf.GeneratedMessage implements CmekConfigOrBuilder
Configurations used to enable CMEK data encryption with Cloud KMS keys.Protobuf type
google.cloud.discoveryengine.v1.CmekConfig| Modifier and Type | Class and Description |
|---|---|
static class |
CmekConfig.Builder
Configurations used to enable CMEK data encryption with Cloud KMS keys.
|
static class |
CmekConfig.NotebookLMState
States of NotebookLM.
|
static class |
CmekConfig.State
States of the CmekConfig.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
IS_DEFAULT_FIELD_NUMBER |
static int |
KMS_KEY_FIELD_NUMBER |
static int |
KMS_KEY_VERSION_FIELD_NUMBER |
static int |
LAST_ROTATION_TIMESTAMP_MICROS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NOTEBOOKLM_STATE_FIELD_NUMBER |
static int |
SINGLE_REGION_KEYS_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CmekConfig |
getDefaultInstance() |
CmekConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getIsDefault()
Output only.
|
String |
getKmsKey()
KMS key resource name which will be used to encrypt resources
`projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
|
com.google.protobuf.ByteString |
getKmsKeyBytes()
KMS key resource name which will be used to encrypt resources
`projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
|
String |
getKmsKeyVersion()
KMS key version resource name which will be used to encrypt resources
`<kms_key>/cryptoKeyVersions/{keyVersion}`.
|
com.google.protobuf.ByteString |
getKmsKeyVersionBytes()
KMS key version resource name which will be used to encrypt resources
`<kms_key>/cryptoKeyVersions/{keyVersion}`.
|
long |
getLastRotationTimestampMicros()
Output only.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
CmekConfig.NotebookLMState |
getNotebooklmState()
Output only.
|
int |
getNotebooklmStateValue()
Output only.
|
com.google.protobuf.Parser<CmekConfig> |
getParserForType() |
int |
getSerializedSize() |
SingleRegionKey |
getSingleRegionKeys(int index)
Optional.
|
int |
getSingleRegionKeysCount()
Optional.
|
List<SingleRegionKey> |
getSingleRegionKeysList()
Optional.
|
SingleRegionKeyOrBuilder |
getSingleRegionKeysOrBuilder(int index)
Optional.
|
List<? extends SingleRegionKeyOrBuilder> |
getSingleRegionKeysOrBuilderList()
Optional.
|
CmekConfig.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CmekConfig.Builder |
newBuilder() |
static CmekConfig.Builder |
newBuilder(CmekConfig prototype) |
CmekConfig.Builder |
newBuilderForType() |
protected CmekConfig.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static CmekConfig |
parseDelimitedFrom(InputStream input) |
static CmekConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CmekConfig |
parseFrom(byte[] data) |
static CmekConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CmekConfig |
parseFrom(ByteBuffer data) |
static CmekConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CmekConfig |
parseFrom(com.google.protobuf.ByteString data) |
static CmekConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CmekConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CmekConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CmekConfig |
parseFrom(InputStream input) |
static CmekConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CmekConfig> |
parser() |
CmekConfig.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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int KMS_KEY_FIELD_NUMBER
public static final int KMS_KEY_VERSION_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int IS_DEFAULT_FIELD_NUMBER
public static final int LAST_ROTATION_TIMESTAMP_MICROS_FIELD_NUMBER
public static final int SINGLE_REGION_KEYS_FIELD_NUMBER
public static final int NOTEBOOKLM_STATE_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic String getName()
Required. The name of the CmekConfig of the form
`projects/{project}/locations/{location}/cmekConfig` or
`projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getName in interface CmekConfigOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The name of the CmekConfig of the form
`projects/{project}/locations/{location}/cmekConfig` or
`projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getNameBytes in interface CmekConfigOrBuilderpublic String getKmsKey()
KMS key resource name which will be used to encrypt resources
`projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
string kms_key = 2 [(.google.api.resource_reference) = { ... }getKmsKey in interface CmekConfigOrBuilderpublic com.google.protobuf.ByteString getKmsKeyBytes()
KMS key resource name which will be used to encrypt resources
`projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
string kms_key = 2 [(.google.api.resource_reference) = { ... }getKmsKeyBytes in interface CmekConfigOrBuilderpublic String getKmsKeyVersion()
KMS key version resource name which will be used to encrypt resources
`<kms_key>/cryptoKeyVersions/{keyVersion}`.
string kms_key_version = 6 [(.google.api.resource_reference) = { ... }getKmsKeyVersion in interface CmekConfigOrBuilderpublic com.google.protobuf.ByteString getKmsKeyVersionBytes()
KMS key version resource name which will be used to encrypt resources
`<kms_key>/cryptoKeyVersions/{keyVersion}`.
string kms_key_version = 6 [(.google.api.resource_reference) = { ... }getKmsKeyVersionBytes in interface CmekConfigOrBuilderpublic int getStateValue()
Output only. The states of the CmekConfig.
.google.cloud.discoveryengine.v1.CmekConfig.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface CmekConfigOrBuilderpublic CmekConfig.State getState()
Output only. The states of the CmekConfig.
.google.cloud.discoveryengine.v1.CmekConfig.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface CmekConfigOrBuilderpublic boolean getIsDefault()
Output only. The default CmekConfig for the Customer.
bool is_default = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getIsDefault in interface CmekConfigOrBuilderpublic long getLastRotationTimestampMicros()
Output only. The timestamp of the last key rotation.
int64 last_rotation_timestamp_micros = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastRotationTimestampMicros in interface CmekConfigOrBuilderpublic List<SingleRegionKey> getSingleRegionKeysList()
Optional. Single-regional CMEKs that are required for some VAIS features.
repeated .google.cloud.discoveryengine.v1.SingleRegionKey single_region_keys = 7 [(.google.api.field_behavior) = OPTIONAL];
getSingleRegionKeysList in interface CmekConfigOrBuilderpublic List<? extends SingleRegionKeyOrBuilder> getSingleRegionKeysOrBuilderList()
Optional. Single-regional CMEKs that are required for some VAIS features.
repeated .google.cloud.discoveryengine.v1.SingleRegionKey single_region_keys = 7 [(.google.api.field_behavior) = OPTIONAL];
getSingleRegionKeysOrBuilderList in interface CmekConfigOrBuilderpublic int getSingleRegionKeysCount()
Optional. Single-regional CMEKs that are required for some VAIS features.
repeated .google.cloud.discoveryengine.v1.SingleRegionKey single_region_keys = 7 [(.google.api.field_behavior) = OPTIONAL];
getSingleRegionKeysCount in interface CmekConfigOrBuilderpublic SingleRegionKey getSingleRegionKeys(int index)
Optional. Single-regional CMEKs that are required for some VAIS features.
repeated .google.cloud.discoveryengine.v1.SingleRegionKey single_region_keys = 7 [(.google.api.field_behavior) = OPTIONAL];
getSingleRegionKeys in interface CmekConfigOrBuilderpublic SingleRegionKeyOrBuilder getSingleRegionKeysOrBuilder(int index)
Optional. Single-regional CMEKs that are required for some VAIS features.
repeated .google.cloud.discoveryengine.v1.SingleRegionKey single_region_keys = 7 [(.google.api.field_behavior) = OPTIONAL];
getSingleRegionKeysOrBuilder in interface CmekConfigOrBuilderpublic int getNotebooklmStateValue()
Output only. Whether the NotebookLM Corpus is ready to be used.
.google.cloud.discoveryengine.v1.CmekConfig.NotebookLMState notebooklm_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNotebooklmStateValue in interface CmekConfigOrBuilderpublic CmekConfig.NotebookLMState getNotebooklmState()
Output only. Whether the NotebookLM Corpus is ready to be used.
.google.cloud.discoveryengine.v1.CmekConfig.NotebookLMState notebooklm_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNotebooklmState in interface CmekConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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 CmekConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CmekConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CmekConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CmekConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CmekConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CmekConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CmekConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static CmekConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CmekConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CmekConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CmekConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CmekConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CmekConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CmekConfig.Builder newBuilder()
public static CmekConfig.Builder newBuilder(CmekConfig prototype)
public CmekConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CmekConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static CmekConfig getDefaultInstance()
public static com.google.protobuf.Parser<CmekConfig> parser()
public com.google.protobuf.Parser<CmekConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic CmekConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.