Class EkmMetadata.Builder (0.10.0)

public static final class EkmMetadata.Builder extends GeneratedMessageV3.Builder<EkmMetadata.Builder> implements EkmMetadataOrBuilder

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

Protobuf type google.cloud.cloudcontrolspartner.v1beta.EkmMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EkmMetadata build()
Returns
Type Description
EkmMetadata

buildPartial()

public EkmMetadata buildPartial()
Returns
Type Description
EkmMetadata

clear()

public EkmMetadata.Builder clear()
Returns
Type Description
EkmMetadata.Builder
Overrides

clearEkmEndpointUri()

public EkmMetadata.Builder clearEkmEndpointUri()

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

string ekm_endpoint_uri = 2;

Returns
Type Description
EkmMetadata.Builder

This builder for chaining.

clearEkmSolution()

public EkmMetadata.Builder clearEkmSolution()

The Cloud EKM partner.

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

Returns
Type Description
EkmMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public EkmMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EkmMetadata.Builder
Overrides

clone()

public EkmMetadata.Builder clone()
Returns
Type Description
EkmMetadata.Builder
Overrides

getDefaultInstanceForType()

public EkmMetadata getDefaultInstanceForType()
Returns
Type Description
EkmMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EkmMetadata other)

public EkmMetadata.Builder mergeFrom(EkmMetadata other)
Parameter
Name Description
other EkmMetadata
Returns
Type Description
EkmMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EkmMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EkmMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EkmMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EkmMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEkmEndpointUri(String value)

public EkmMetadata.Builder setEkmEndpointUri(String value)

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

string ekm_endpoint_uri = 2;

Parameter
Name Description
value String

The ekmEndpointUri to set.

Returns
Type Description
EkmMetadata.Builder

This builder for chaining.

setEkmEndpointUriBytes(ByteString value)

public EkmMetadata.Builder setEkmEndpointUriBytes(ByteString value)

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

string ekm_endpoint_uri = 2;

Parameter
Name Description
value ByteString

The bytes for ekmEndpointUri to set.

Returns
Type Description
EkmMetadata.Builder

This builder for chaining.

setEkmSolution(EkmMetadata.EkmSolution value)

public EkmMetadata.Builder setEkmSolution(EkmMetadata.EkmSolution value)

The Cloud EKM partner.

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

Parameter
Name Description
value EkmMetadata.EkmSolution

The ekmSolution to set.

Returns
Type Description
EkmMetadata.Builder

This builder for chaining.

setEkmSolutionValue(int value)

public EkmMetadata.Builder setEkmSolutionValue(int value)

The Cloud EKM partner.

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

Parameter
Name Description
value int

The enum numeric value on the wire for ekmSolution to set.

Returns
Type Description
EkmMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EkmMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EkmMetadata.Builder
Overrides

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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