Interface Instance.ConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Instance.Config, Instance.Config.Builder
    Enclosing class:
    Instance

    public static interface Instance.ConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getCmekKeyName()
      Required.
      com.google.protobuf.ByteString getCmekKeyNameBytes()
      Required.
      String getLocation()
      Output only.
      com.google.protobuf.ByteString getLocationBytes()
      Output only.
      • 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 Detail

      • getLocation

        String getLocation()
         Output only. The GCP location where the Instance resides.
         
        string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The location.
      • getLocationBytes

        com.google.protobuf.ByteString getLocationBytes()
         Output only. The GCP location where the Instance resides.
         
        string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for location.
      • getCmekKeyName

        String getCmekKeyName()
         Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
         The CMEK name should follow the format of
         `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`,
         where the `location` must match InstanceConfig.location.
         
        string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The cmekKeyName.
      • getCmekKeyNameBytes

        com.google.protobuf.ByteString getCmekKeyNameBytes()
         Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
         The CMEK name should follow the format of
         `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`,
         where the `location` must match InstanceConfig.location.
         
        string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for cmekKeyName.