public static final class InitializeEncryptionSpecRequest.Builder extends GeneratedMessage.Builder<InitializeEncryptionSpecRequest.Builder> implements InitializeEncryptionSpecRequestOrBuilder
The request to initialize a location-level encryption specification.
Protobuf type google.cloud.dialogflow.v2beta1.InitializeEncryptionSpecRequest
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public InitializeEncryptionSpecRequest build()
buildPartial()
public InitializeEncryptionSpecRequest buildPartial()
clear()
public InitializeEncryptionSpecRequest.Builder clear()
Overrides
clearEncryptionSpec()
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.dialogflow.v2beta1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public InitializeEncryptionSpecRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEncryptionSpec()
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.dialogflow.v2beta1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
getEncryptionSpecBuilder()
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.dialogflow.v2beta1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
getEncryptionSpecOrBuilder()
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.dialogflow.v2beta1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
hasEncryptionSpec()
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.dialogflow.v2beta1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the encryptionSpec field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEncryptionSpec(EncryptionSpec value)
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.dialogflow.v2beta1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(InitializeEncryptionSpecRequest other)
public InitializeEncryptionSpecRequest.Builder mergeFrom(InitializeEncryptionSpecRequest other)
public InitializeEncryptionSpecRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InitializeEncryptionSpecRequest.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
setEncryptionSpec(EncryptionSpec value)
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.dialogflow.v2beta1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
setEncryptionSpec(EncryptionSpec.Builder builderForValue)
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.dialogflow.v2beta1.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];