public static final class InitializeEncryptionSpecRequest.Builder extends GeneratedMessageV3.Builder<InitializeEncryptionSpecRequest.Builder> implements InitializeEncryptionSpecRequestOrBuilder
The request to initialize a location-level encryption specification.
Protobuf type google.cloud.contactcenterinsights.v1.InitializeEncryptionSpecRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public InitializeEncryptionSpecRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InitializeEncryptionSpecRequest build()
public InitializeEncryptionSpecRequest buildPartial()
public InitializeEncryptionSpecRequest.Builder clear()
Overrides
public InitializeEncryptionSpecRequest.Builder clearEncryptionSpec()
Required. The encryption spec used for CMEK encryption. It is required that
the kms key is in the same region as the endpoint. The same key will be
used for all provisioned resources, if encryption is available. If the
kms_key_name is left empty, no encryption will be enforced.
.google.cloud.contactcenterinsights.v1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public InitializeEncryptionSpecRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public InitializeEncryptionSpecRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public InitializeEncryptionSpecRequest.Builder clone()
Overrides
public InitializeEncryptionSpecRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public EncryptionSpec getEncryptionSpec()
Required. The encryption spec used for CMEK encryption. It is required that
the kms key is in the same region as the endpoint. The same key will be
used for all provisioned resources, if encryption is available. If the
kms_key_name is left empty, no encryption will be enforced.
.google.cloud.contactcenterinsights.v1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public EncryptionSpec.Builder getEncryptionSpecBuilder()
Required. The encryption spec used for CMEK encryption. It is required that
the kms key is in the same region as the endpoint. The same key will be
used for all provisioned resources, if encryption is available. If the
kms_key_name is left empty, no encryption will be enforced.
.google.cloud.contactcenterinsights.v1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()
Required. The encryption spec used for CMEK encryption. It is required that
the kms key is in the same region as the endpoint. The same key will be
used for all provisioned resources, if encryption is available. If the
kms_key_name is left empty, no encryption will be enforced.
.google.cloud.contactcenterinsights.v1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public boolean hasEncryptionSpec()
Required. The encryption spec used for CMEK encryption. It is required that
the kms key is in the same region as the endpoint. The same key will be
used for all provisioned resources, if encryption is available. If the
kms_key_name is left empty, no encryption will be enforced.
.google.cloud.contactcenterinsights.v1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the encryptionSpec field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public InitializeEncryptionSpecRequest.Builder mergeEncryptionSpec(EncryptionSpec value)
Required. The encryption spec used for CMEK encryption. It is required that
the kms key is in the same region as the endpoint. The same key will be
used for all provisioned resources, if encryption is available. If the
kms_key_name is left empty, no encryption will be enforced.
.google.cloud.contactcenterinsights.v1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public InitializeEncryptionSpecRequest.Builder mergeFrom(InitializeEncryptionSpecRequest other)
public InitializeEncryptionSpecRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public InitializeEncryptionSpecRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final InitializeEncryptionSpecRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public InitializeEncryptionSpecRequest.Builder setEncryptionSpec(EncryptionSpec value)
Required. The encryption spec used for CMEK encryption. It is required that
the kms key is in the same region as the endpoint. The same key will be
used for all provisioned resources, if encryption is available. If the
kms_key_name is left empty, no encryption will be enforced.
.google.cloud.contactcenterinsights.v1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public InitializeEncryptionSpecRequest.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)
Required. The encryption spec used for CMEK encryption. It is required that
the kms key is in the same region as the endpoint. The same key will be
used for all provisioned resources, if encryption is available. If the
kms_key_name is left empty, no encryption will be enforced.
.google.cloud.contactcenterinsights.v1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public InitializeEncryptionSpecRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InitializeEncryptionSpecRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final InitializeEncryptionSpecRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides