Package com.google.bigtable.admin.v2
Class EncryptionInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>
com.google.bigtable.admin.v2.EncryptionInfo.Builder
- All Implemented Interfaces:
EncryptionInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EncryptionInfo
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-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Output only.Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Output only.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.rpc.StatusOutput only.com.google.rpc.Status.BuilderOutput only.com.google.rpc.StatusOrBuilderOutput only.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeEncryptionStatus(com.google.rpc.Status value) Output only.mergeFrom(EncryptionInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final EncryptionInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setEncryptionStatus(com.google.rpc.Status value) Output only.setEncryptionStatus(com.google.rpc.Status.Builder builderForValue) Output only.Output only.setEncryptionTypeValue(int value) Output only.setKmsKeyVersion(String value) Output only.setKmsKeyVersionBytes(com.google.protobuf.ByteString value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final EncryptionInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>
-
setField
public EncryptionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>
-
setRepeatedField
public EncryptionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>
-
addRepeatedField
public EncryptionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EncryptionInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>
-
mergeFrom
public EncryptionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EncryptionInfo.Builder>- Throws:
IOException
-
getEncryptionTypeValue
public 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];- Specified by:
getEncryptionTypeValuein interfaceEncryptionInfoOrBuilder- Returns:
- The enum numeric value on the wire for encryptionType.
-
setEncryptionTypeValue
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];- Parameters:
value- The enum numeric value on the wire for encryptionType to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getEncryptionTypein interfaceEncryptionInfoOrBuilder- Returns:
- The encryptionType.
-
setEncryptionType
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];- Parameters:
value- The encryptionType to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
hasEncryptionStatus
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];- Specified by:
hasEncryptionStatusin interfaceEncryptionInfoOrBuilder- Returns:
- Whether the encryptionStatus field is set.
-
getEncryptionStatus
public 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];- Specified by:
getEncryptionStatusin interfaceEncryptionInfoOrBuilder- Returns:
- The encryptionStatus.
-
setEncryptionStatus
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]; -
setEncryptionStatus
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]; -
mergeEncryptionStatus
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]; -
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]; -
getEncryptionStatusBuilder
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]; -
getEncryptionStatusOrBuilder
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];- Specified by:
getEncryptionStatusOrBuilderin interfaceEncryptionInfoOrBuilder
-
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) = { ... }- Specified by:
getKmsKeyVersionin interfaceEncryptionInfoOrBuilder- Returns:
- The kmsKeyVersion.
-
getKmsKeyVersionBytes
public 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) = { ... }- Specified by:
getKmsKeyVersionBytesin interfaceEncryptionInfoOrBuilder- Returns:
- The bytes for kmsKeyVersion.
-
setKmsKeyVersion
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) = { ... }- Parameters:
value- The kmsKeyVersion to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Returns:
- This builder for chaining.
-
setKmsKeyVersionBytes
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) = { ... }- Parameters:
value- The bytes for kmsKeyVersion to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final EncryptionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>
-
mergeUnknownFields
public final EncryptionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EncryptionInfo.Builder>
-