Class EkmMetadata.Builder (0.5.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EkmMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EkmMetadata.Builder
Overrides

build()

public EkmMetadata build()
Returns
TypeDescription
EkmMetadata

buildPartial()

public EkmMetadata buildPartial()
Returns
TypeDescription
EkmMetadata

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EkmMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EkmMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EkmMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EkmMetadata.Builder
Overrides

clone()

public EkmMetadata.Builder clone()
Returns
TypeDescription
EkmMetadata.Builder
Overrides

getDefaultInstanceForType()

public EkmMetadata getDefaultInstanceForType()
Returns
TypeDescription
EkmMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.v1beta.EkmMetadata.EkmSolution ekm_solution = 1;

Returns
TypeDescription
EkmMetadata.EkmSolution

The ekmSolution.

getEkmSolutionValue()

public int getEkmSolutionValue()

The Cloud EKM partner.

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

Returns
TypeDescription
int

The enum numeric value on the wire for ekmSolution.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EkmMetadata other)

public EkmMetadata.Builder mergeFrom(EkmMetadata other)
Parameter
NameDescription
otherEkmMetadata
Returns
TypeDescription
EkmMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EkmMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EkmMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EkmMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EkmMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The ekmEndpointUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for ekmEndpointUri to set.

Returns
TypeDescription
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
NameDescription
valueEkmMetadata.EkmSolution

The ekmSolution to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
EkmMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EkmMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EkmMetadata.Builder
Overrides

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

public EkmMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EkmMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EkmMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EkmMetadata.Builder
Overrides