Class CreateKeyHandleMetadata (2.50.0)

public final class CreateKeyHandleMetadata extends GeneratedMessageV3 implements CreateKeyHandleMetadataOrBuilder

Metadata message for CreateKeyHandle long-running operation response.

Protobuf type google.cloud.kms.v1.CreateKeyHandleMetadata

Static Methods

getDefaultInstance()

public static CreateKeyHandleMetadata getDefaultInstance()
Returns
Type Description
CreateKeyHandleMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(CreateKeyHandleMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateKeyHandleMetadata getDefaultInstanceForType()
Returns
Type Description
CreateKeyHandleMetadata

getParserForType()

public Parser<CreateKeyHandleMetadata> getParserForType()
Returns
Type Description
Parser<CreateKeyHandleMetadata>
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 CreateKeyHandleMetadata.Builder newBuilderForType()
Returns
Type Description
CreateKeyHandleMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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