Interface CreateKeyRingRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateKeyRingRequest, CreateKeyRingRequest.Builder

@Generated public interface CreateKeyRingRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getParent

      String getParent()
       Required. The resource name of the location associated with the
       [KeyRings][google.cloud.kms.v1.KeyRing], in the format
       `projects/*/locations/*`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the location associated with the
       [KeyRings][google.cloud.kms.v1.KeyRing], in the format
       `projects/*/locations/*`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getKeyRingId

      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:
      The keyRingId.
    • getKeyRingIdBytes

      com.google.protobuf.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:
      The bytes for keyRingId.
    • hasKeyRing

      boolean hasKeyRing()
       Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
       values.
       
      .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the keyRing field is set.
    • getKeyRing

      KeyRing getKeyRing()
       Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
       values.
       
      .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The keyRing.
    • getKeyRingOrBuilder

      KeyRingOrBuilder getKeyRingOrBuilder()
       Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
       values.
       
      .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED];