Interface CreateKeyRingRequestOrBuilder (2.22.0)

public interface CreateKeyRingRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKeyRing()

public abstract KeyRing getKeyRing()

Required. A KeyRing with initial field values.

.google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KeyRing

The keyRing.

getKeyRingId()

public abstract String getKeyRingId()

Required. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}

string key_ring_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The keyRingId.

getKeyRingIdBytes()

public abstract ByteString getKeyRingIdBytes()

Required. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}

string key_ring_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for keyRingId.

getKeyRingOrBuilder()

public abstract KeyRingOrBuilder getKeyRingOrBuilder()

Required. A KeyRing with initial field values.

.google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KeyRingOrBuilder

getParent()

public abstract String getParent()

Required. The resource name of the location associated with the KeyRings, in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The resource name of the location associated with the KeyRings, in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasKeyRing()

public abstract boolean hasKeyRing()

Required. A KeyRing with initial field values.

.google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the keyRing field is set.