public final class InitializeEncryptionSpecRequest extends GeneratedMessageV3 implements InitializeEncryptionSpecRequestOrBuilder
The request to initialize a location-level encryption specification.
Protobuf type google.cloud.dialogflow.v2.InitializeEncryptionSpecRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ENCRYPTION_SPEC_FIELD_NUMBER
public static final int ENCRYPTION_SPEC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static InitializeEncryptionSpecRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InitializeEncryptionSpecRequest.Builder newBuilder()
newBuilder(InitializeEncryptionSpecRequest prototype)
public static InitializeEncryptionSpecRequest.Builder newBuilder(InitializeEncryptionSpecRequest prototype)
public static InitializeEncryptionSpecRequest parseDelimitedFrom(InputStream input)
public static InitializeEncryptionSpecRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InitializeEncryptionSpecRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InitializeEncryptionSpecRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InitializeEncryptionSpecRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InitializeEncryptionSpecRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InitializeEncryptionSpecRequest parseFrom(CodedInputStream input)
public static InitializeEncryptionSpecRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InitializeEncryptionSpecRequest parseFrom(InputStream input)
public static InitializeEncryptionSpecRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InitializeEncryptionSpecRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InitializeEncryptionSpecRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InitializeEncryptionSpecRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public InitializeEncryptionSpecRequest getDefaultInstanceForType()
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.v2.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.v2.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
getParserForType()
public Parser<InitializeEncryptionSpecRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.v2.EncryptionSpec encryption_spec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the encryptionSpec field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InitializeEncryptionSpecRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InitializeEncryptionSpecRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public InitializeEncryptionSpecRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides