Class ImportJob.WrappingPublicKey.Builder (2.47.0)

public static final class ImportJob.WrappingPublicKey.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportJob.WrappingPublicKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportJob.WrappingPublicKey.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ImportJob.WrappingPublicKey.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportJob.WrappingPublicKey.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportJob.WrappingPublicKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportJob.WrappingPublicKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportJob.WrappingPublicKey.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImportJob.WrappingPublicKey.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportJob.WrappingPublicKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportJob.WrappingPublicKey.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportJob.WrappingPublicKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportJob.WrappingPublicKey.Builder
Overrides