public static final class EncryptionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder> implements EncryptionInfoOrBuilder
Encryption information for a given resource. If this resource is protected with customer managed encryption, the in-use Cloud Key Management Service (Cloud KMS) key version is specified along with its status.Protobuf type
google.bigtable.admin.v2.EncryptionInfo| Modifier and Type | Method and Description |
|---|---|
EncryptionInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EncryptionInfo |
build() |
EncryptionInfo |
buildPartial() |
EncryptionInfo.Builder |
clear() |
EncryptionInfo.Builder |
clearEncryptionStatus()
Output only.
|
EncryptionInfo.Builder |
clearEncryptionType()
Output only.
|
EncryptionInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EncryptionInfo.Builder |
clearKmsKeyVersion()
Output only.
|
EncryptionInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EncryptionInfo.Builder |
clone() |
EncryptionInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.rpc.Status |
getEncryptionStatus()
Output only.
|
com.google.rpc.Status.Builder |
getEncryptionStatusBuilder()
Output only.
|
com.google.rpc.StatusOrBuilder |
getEncryptionStatusOrBuilder()
Output only.
|
EncryptionInfo.EncryptionType |
getEncryptionType()
Output only.
|
int |
getEncryptionTypeValue()
Output only.
|
String |
getKmsKeyVersion()
Output only.
|
com.google.protobuf.ByteString |
getKmsKeyVersionBytes()
Output only.
|
boolean |
hasEncryptionStatus()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EncryptionInfo.Builder |
mergeEncryptionStatus(com.google.rpc.Status value)
Output only.
|
EncryptionInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EncryptionInfo.Builder |
mergeFrom(EncryptionInfo other) |
EncryptionInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
EncryptionInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EncryptionInfo.Builder |
setEncryptionStatus(com.google.rpc.Status.Builder builderForValue)
Output only.
|
EncryptionInfo.Builder |
setEncryptionStatus(com.google.rpc.Status value)
Output only.
|
EncryptionInfo.Builder |
setEncryptionType(EncryptionInfo.EncryptionType value)
Output only.
|
EncryptionInfo.Builder |
setEncryptionTypeValue(int value)
Output only.
|
EncryptionInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EncryptionInfo.Builder |
setKmsKeyVersion(String value)
Output only.
|
EncryptionInfo.Builder |
setKmsKeyVersionBytes(com.google.protobuf.ByteString value)
Output only.
|
EncryptionInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
EncryptionInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>public EncryptionInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>public EncryptionInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EncryptionInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EncryptionInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EncryptionInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>public EncryptionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>public EncryptionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>public EncryptionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>public EncryptionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>public EncryptionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>public EncryptionInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EncryptionInfo.Builder>public EncryptionInfo.Builder mergeFrom(EncryptionInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>public EncryptionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EncryptionInfo.Builder>IOExceptionpublic int getEncryptionTypeValue()
Output only. The type of encryption used to protect this resource.
.google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionTypeValue in interface EncryptionInfoOrBuilderpublic EncryptionInfo.Builder setEncryptionTypeValue(int value)
Output only. The type of encryption used to protect this resource.
.google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for encryptionType to set.public EncryptionInfo.EncryptionType getEncryptionType()
Output only. The type of encryption used to protect this resource.
.google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionType in interface EncryptionInfoOrBuilderpublic EncryptionInfo.Builder setEncryptionType(EncryptionInfo.EncryptionType value)
Output only. The type of encryption used to protect this resource.
.google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The encryptionType to set.public EncryptionInfo.Builder clearEncryptionType()
Output only. The type of encryption used to protect this resource.
.google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasEncryptionStatus()
Output only. The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEncryptionStatus in interface EncryptionInfoOrBuilderpublic com.google.rpc.Status getEncryptionStatus()
Output only. The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionStatus in interface EncryptionInfoOrBuilderpublic EncryptionInfo.Builder setEncryptionStatus(com.google.rpc.Status value)
Output only. The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public EncryptionInfo.Builder setEncryptionStatus(com.google.rpc.Status.Builder builderForValue)
Output only. The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public EncryptionInfo.Builder mergeEncryptionStatus(com.google.rpc.Status value)
Output only. The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public EncryptionInfo.Builder clearEncryptionStatus()
Output only. The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.rpc.Status.Builder getEncryptionStatusBuilder()
Output only. The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder()
Output only. The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionStatusOrBuilder in interface EncryptionInfoOrBuilderpublic String getKmsKeyVersion()
Output only. The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.
string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getKmsKeyVersion in interface EncryptionInfoOrBuilderpublic com.google.protobuf.ByteString getKmsKeyVersionBytes()
Output only. The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.
string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getKmsKeyVersionBytes in interface EncryptionInfoOrBuilderpublic EncryptionInfo.Builder setKmsKeyVersion(String value)
Output only. The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.
string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The kmsKeyVersion to set.public EncryptionInfo.Builder clearKmsKeyVersion()
Output only. The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.
string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public EncryptionInfo.Builder setKmsKeyVersionBytes(com.google.protobuf.ByteString value)
Output only. The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.
string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for kmsKeyVersion to set.public final EncryptionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>public final EncryptionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>Copyright © 2023 Google LLC. All rights reserved.