Class EkmMetadata (0.1.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.v1.EkmMetadata

Static Fields

EKM_ENDPOINT_URI_FIELD_NUMBER

public static final int EKM_ENDPOINT_URI_FIELD_NUMBER
Field Value
TypeDescription
int

EKM_SOLUTION_FIELD_NUMBER

public static final int EKM_SOLUTION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EkmMetadata getDefaultInstance()
Returns
TypeDescription
EkmMetadata

getDescriptor()

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

newBuilder()

public static EkmMetadata.Builder newBuilder()
Returns
TypeDescription
EkmMetadata.Builder

newBuilder(EkmMetadata prototype)

public static EkmMetadata.Builder newBuilder(EkmMetadata prototype)
Parameter
NameDescription
prototypeEkmMetadata
Returns
TypeDescription
EkmMetadata.Builder

parseDelimitedFrom(InputStream input)

public static EkmMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EkmMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static EkmMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EkmMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static EkmMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EkmMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static EkmMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EkmMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static EkmMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EkmMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<EkmMetadata> parser()
Returns
TypeDescription
Parser<EkmMetadata>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public EkmMetadata getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for ekmEndpointUri.

getEkmSolution()

public EkmMetadata.EkmSolution getEkmSolution()

The Cloud EKM partner.

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

Returns
TypeDescription
EkmMetadata.EkmSolution

The ekmSolution.

getEkmSolutionValue()

public int getEkmSolutionValue()

The Cloud EKM partner.

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

Returns
TypeDescription
int

The enum numeric value on the wire for ekmSolution.

getParserForType()

public Parser<EkmMetadata> getParserForType()
Returns
TypeDescription
Parser<EkmMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 EkmMetadata.Builder newBuilderForType()
Returns
TypeDescription
EkmMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public EkmMetadata.Builder toBuilder()
Returns
TypeDescription
EkmMetadata.Builder

writeTo(CodedOutputStream output)

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