Class InitializeEncryptionSpecRequest (4.57.0)

public final class InitializeEncryptionSpecRequest extends GeneratedMessageV3 implements InitializeEncryptionSpecRequestOrBuilder

The request to initialize a location-level encryption specification.

Protobuf type google.cloud.dialogflow.v2.InitializeEncryptionSpecRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InitializeEncryptionSpecRequest

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()
Returns
Type Description
InitializeEncryptionSpecRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static InitializeEncryptionSpecRequest.Builder newBuilder()
Returns
Type Description
InitializeEncryptionSpecRequest.Builder

newBuilder(InitializeEncryptionSpecRequest prototype)

public static InitializeEncryptionSpecRequest.Builder newBuilder(InitializeEncryptionSpecRequest prototype)
Parameter
Name Description
prototype InitializeEncryptionSpecRequest
Returns
Type Description
InitializeEncryptionSpecRequest.Builder

parseDelimitedFrom(InputStream input)

public static InitializeEncryptionSpecRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InitializeEncryptionSpecRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InitializeEncryptionSpecRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InitializeEncryptionSpecRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InitializeEncryptionSpecRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InitializeEncryptionSpecRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InitializeEncryptionSpecRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InitializeEncryptionSpecRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InitializeEncryptionSpecRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InitializeEncryptionSpecRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InitializeEncryptionSpecRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InitializeEncryptionSpecRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InitializeEncryptionSpecRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InitializeEncryptionSpecRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InitializeEncryptionSpecRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InitializeEncryptionSpecRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InitializeEncryptionSpecRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InitializeEncryptionSpecRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InitializeEncryptionSpecRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InitializeEncryptionSpecRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InitializeEncryptionSpecRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InitializeEncryptionSpecRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InitializeEncryptionSpecRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InitializeEncryptionSpecRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InitializeEncryptionSpecRequest> parser()
Returns
Type Description
Parser<InitializeEncryptionSpecRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public InitializeEncryptionSpecRequest getDefaultInstanceForType()
Returns
Type Description
InitializeEncryptionSpecRequest

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];

Returns
Type Description
EncryptionSpec

The encryptionSpec.

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];

Returns
Type Description
EncryptionSpecOrBuilder

getParserForType()

public Parser<InitializeEncryptionSpecRequest> getParserForType()
Returns
Type Description
Parser<InitializeEncryptionSpecRequest>
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InitializeEncryptionSpecRequest.Builder newBuilderForType()
Returns
Type Description
InitializeEncryptionSpecRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InitializeEncryptionSpecRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InitializeEncryptionSpecRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InitializeEncryptionSpecRequest.Builder toBuilder()
Returns
Type Description
InitializeEncryptionSpecRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException