Class EkmMetadata (0.17.0)

public final class EkmMetadata extends GeneratedMessageV3 implements EkmMetadataOrBuilder

Holds information needed by Mudbray to use partner EKMs for workloads.

Protobuf type google.cloud.cloudcontrolspartner.v1beta.EkmMetadata

Static Fields

EKM_ENDPOINT_URI_FIELD_NUMBER

public static final int EKM_ENDPOINT_URI_FIELD_NUMBER
Field Value
Type Description
int

EKM_SOLUTION_FIELD_NUMBER

public static final int EKM_SOLUTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EkmMetadata getDefaultInstance()
Returns
Type Description
EkmMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(EkmMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public EkmMetadata getDefaultInstanceForType()
Returns
Type Description
EkmMetadata

getEkmEndpointUri()

public String getEkmEndpointUri()

Endpoint for sending requests to the EKM for key provisioning during Assured Workload creation.

string ekm_endpoint_uri = 2;

Returns
Type Description
String

The ekmEndpointUri.

getEkmEndpointUriBytes()

public ByteString getEkmEndpointUriBytes()

Endpoint for sending requests to the EKM for key provisioning during Assured Workload creation.

string ekm_endpoint_uri = 2;

Returns
Type Description
ByteString

The bytes for ekmEndpointUri.

getEkmSolution()

public EkmMetadata.EkmSolution getEkmSolution()

The Cloud EKM partner.

.google.cloud.cloudcontrolspartner.v1beta.EkmMetadata.EkmSolution ekm_solution = 1;

Returns
Type Description
EkmMetadata.EkmSolution

The ekmSolution.

getEkmSolutionValue()

public int getEkmSolutionValue()

The Cloud EKM partner.

.google.cloud.cloudcontrolspartner.v1beta.EkmMetadata.EkmSolution ekm_solution = 1;

Returns
Type Description
int

The enum numeric value on the wire for ekmSolution.

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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