Class ImportJob.WrappingPublicKey.Builder (2.86.0)

public static final class ImportJob.WrappingPublicKey.Builder extends GeneratedMessage.Builder<ImportJob.WrappingPublicKey.Builder> implements ImportJob.WrappingPublicKeyOrBuilder

The public key component of the wrapping key. For details of the type of key this public key corresponds to, see the ImportMethod.

Protobuf type google.cloud.kms.v1.ImportJob.WrappingPublicKey

Static Methods

getDescriptor()

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

Methods

build()

public ImportJob.WrappingPublicKey build()
Returns
Type Description
ImportJob.WrappingPublicKey

buildPartial()

public ImportJob.WrappingPublicKey buildPartial()
Returns
Type Description
ImportJob.WrappingPublicKey

clear()

public ImportJob.WrappingPublicKey.Builder clear()
Returns
Type Description
ImportJob.WrappingPublicKey.Builder
Overrides

clearPem()

public ImportJob.WrappingPublicKey.Builder clearPem()

The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.

string pem = 1;

Returns
Type Description
ImportJob.WrappingPublicKey.Builder

This builder for chaining.

getDefaultInstanceForType()

public ImportJob.WrappingPublicKey getDefaultInstanceForType()
Returns
Type Description
ImportJob.WrappingPublicKey

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPem()

public String getPem()

The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.

string pem = 1;

Returns
Type Description
String

The pem.

getPemBytes()

public ByteString getPemBytes()

The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.

string pem = 1;

Returns
Type Description
ByteString

The bytes for pem.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportJob.WrappingPublicKey other)

public ImportJob.WrappingPublicKey.Builder mergeFrom(ImportJob.WrappingPublicKey other)
Parameter
Name Description
other ImportJob.WrappingPublicKey
Returns
Type Description
ImportJob.WrappingPublicKey.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportJob.WrappingPublicKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportJob.WrappingPublicKey.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportJob.WrappingPublicKey.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportJob.WrappingPublicKey.Builder
Overrides

setPem(String value)

public ImportJob.WrappingPublicKey.Builder setPem(String value)

The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.

string pem = 1;

Parameter
Name Description
value String

The pem to set.

Returns
Type Description
ImportJob.WrappingPublicKey.Builder

This builder for chaining.

setPemBytes(ByteString value)

public ImportJob.WrappingPublicKey.Builder setPemBytes(ByteString value)

The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.

string pem = 1;

Parameter
Name Description
value ByteString

The bytes for pem to set.

Returns
Type Description
ImportJob.WrappingPublicKey.Builder

This builder for chaining.