Class ImportJob.WrappingPublicKey (2.15.0)

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

PEM_FIELD_NUMBER

public static final int PEM_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportJob.WrappingPublicKey getDefaultInstance()
Returns
TypeDescription
ImportJob.WrappingPublicKey

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ImportJob.WrappingPublicKey.Builder newBuilder()
Returns
TypeDescription
ImportJob.WrappingPublicKey.Builder

newBuilder(ImportJob.WrappingPublicKey prototype)

public static ImportJob.WrappingPublicKey.Builder newBuilder(ImportJob.WrappingPublicKey prototype)
Parameter
NameDescription
prototypeImportJob.WrappingPublicKey
Returns
TypeDescription
ImportJob.WrappingPublicKey.Builder

parseDelimitedFrom(InputStream input)

public static ImportJob.WrappingPublicKey parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportJob.WrappingPublicKey
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportJob.WrappingPublicKey parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportJob.WrappingPublicKey
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportJob.WrappingPublicKey parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportJob.WrappingPublicKey
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportJob.WrappingPublicKey parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportJob.WrappingPublicKey
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportJob.WrappingPublicKey parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportJob.WrappingPublicKey
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportJob.WrappingPublicKey parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportJob.WrappingPublicKey
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportJob.WrappingPublicKey parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportJob.WrappingPublicKey
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportJob.WrappingPublicKey parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportJob.WrappingPublicKey
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportJob.WrappingPublicKey parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportJob.WrappingPublicKey
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportJob.WrappingPublicKey parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportJob.WrappingPublicKey
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportJob.WrappingPublicKey parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportJob.WrappingPublicKey
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportJob.WrappingPublicKey parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportJob.WrappingPublicKey
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportJob.WrappingPublicKey> parser()
Returns
TypeDescription
Parser<WrappingPublicKey>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ImportJob.WrappingPublicKey getDefaultInstanceForType()
Returns
TypeDescription
ImportJob.WrappingPublicKey

getParserForType()

public Parser<ImportJob.WrappingPublicKey> getParserForType()
Returns
TypeDescription
Parser<WrappingPublicKey>
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pem.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImportJob.WrappingPublicKey.Builder newBuilderForType()
Returns
TypeDescription
ImportJob.WrappingPublicKey.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportJob.WrappingPublicKey.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportJob.WrappingPublicKey.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImportJob.WrappingPublicKey.Builder toBuilder()
Returns
TypeDescription
ImportJob.WrappingPublicKey.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException