Class WorkflowTemplate.EncryptionConfig (4.51.0)

public static final class WorkflowTemplate.EncryptionConfig extends GeneratedMessageV3 implements WorkflowTemplate.EncryptionConfigOrBuilder

Encryption settings for encrypting workflow template job arguments.

Protobuf type google.cloud.dataproc.v1.WorkflowTemplate.EncryptionConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > WorkflowTemplate.EncryptionConfig

Static Fields

KMS_KEY_FIELD_NUMBER

public static final int KMS_KEY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WorkflowTemplate.EncryptionConfig getDefaultInstance()
Returns
Type Description
WorkflowTemplate.EncryptionConfig

getDescriptor()

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

newBuilder()

public static WorkflowTemplate.EncryptionConfig.Builder newBuilder()
Returns
Type Description
WorkflowTemplate.EncryptionConfig.Builder

newBuilder(WorkflowTemplate.EncryptionConfig prototype)

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

parseDelimitedFrom(InputStream input)

public static WorkflowTemplate.EncryptionConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WorkflowTemplate.EncryptionConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static WorkflowTemplate.EncryptionConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WorkflowTemplate.EncryptionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static WorkflowTemplate.EncryptionConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WorkflowTemplate.EncryptionConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static WorkflowTemplate.EncryptionConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WorkflowTemplate.EncryptionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static WorkflowTemplate.EncryptionConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WorkflowTemplate.EncryptionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<WorkflowTemplate.EncryptionConfig> parser()
Returns
Type Description
Parser<EncryptionConfig>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public WorkflowTemplate.EncryptionConfig getDefaultInstanceForType()
Returns
Type Description
WorkflowTemplate.EncryptionConfig

getKmsKey()

public String getKmsKey()

Optional. The Cloud KMS key name to use for encrypting workflow template job arguments.

When this this key is provided, the following workflow template job arguments, if present, are CMEK encrypted:

string kms_key = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The kmsKey.

getKmsKeyBytes()

public ByteString getKmsKeyBytes()

Optional. The Cloud KMS key name to use for encrypting workflow template job arguments.

When this this key is provided, the following workflow template job arguments, if present, are CMEK encrypted:

string kms_key = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for kmsKey.

getParserForType()

public Parser<WorkflowTemplate.EncryptionConfig> getParserForType()
Returns
Type Description
Parser<EncryptionConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 WorkflowTemplate.EncryptionConfig.Builder newBuilderForType()
Returns
Type Description
WorkflowTemplate.EncryptionConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public WorkflowTemplate.EncryptionConfig.Builder toBuilder()
Returns
Type Description
WorkflowTemplate.EncryptionConfig.Builder

writeTo(CodedOutputStream output)

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