Class ApiHubInstance.Config

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.apihub.v1.ApiHubInstance.Config
All Implemented Interfaces:
ApiHubInstance.ConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
ApiHubInstance

public static final class ApiHubInstance.Config extends com.google.protobuf.GeneratedMessage implements ApiHubInstance.ConfigOrBuilder
 Available configurations to provision an ApiHub Instance.
 
Protobuf type google.cloud.apihub.v1.ApiHubInstance.Config
See Also:
  • Field Details

    • CMEK_KEY_NAME_FIELD_NUMBER

      public static final int CMEK_KEY_NAME_FIELD_NUMBER
      See Also:
    • DISABLE_SEARCH_FIELD_NUMBER

      public static final int DISABLE_SEARCH_FIELD_NUMBER
      See Also:
    • VERTEX_LOCATION_FIELD_NUMBER

      public static final int VERTEX_LOCATION_FIELD_NUMBER
      See Also:
    • ENCRYPTION_TYPE_FIELD_NUMBER

      public static final int ENCRYPTION_TYPE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getCmekKeyName

      public String getCmekKeyName()
       Optional. 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 the instance location.
       If the CMEK is not provided, a GMEK will be created for the instance.
       
      string cmek_key_name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCmekKeyName in interface ApiHubInstance.ConfigOrBuilder
      Returns:
      The cmekKeyName.
    • getCmekKeyNameBytes

      public com.google.protobuf.ByteString getCmekKeyNameBytes()
       Optional. 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 the instance location.
       If the CMEK is not provided, a GMEK will be created for the instance.
       
      string cmek_key_name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCmekKeyNameBytes in interface ApiHubInstance.ConfigOrBuilder
      Returns:
      The bytes for cmekKeyName.
    • getDisableSearch

      public boolean getDisableSearch()
       Optional. If true, the search will be disabled for the instance. The
       default value is false.
       
      bool disable_search = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisableSearch in interface ApiHubInstance.ConfigOrBuilder
      Returns:
      The disableSearch.
    • getVertexLocation

      public String getVertexLocation()
       Optional. The name of the Vertex AI location where the data store is
       stored.
       
      string vertex_location = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVertexLocation in interface ApiHubInstance.ConfigOrBuilder
      Returns:
      The vertexLocation.
    • getVertexLocationBytes

      public com.google.protobuf.ByteString getVertexLocationBytes()
       Optional. The name of the Vertex AI location where the data store is
       stored.
       
      string vertex_location = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVertexLocationBytes in interface ApiHubInstance.ConfigOrBuilder
      Returns:
      The bytes for vertexLocation.
    • getEncryptionTypeValue

      public int getEncryptionTypeValue()
       Optional. Encryption type for the region. If the encryption type is CMEK,
       the cmek_key_name must be provided. If no encryption type is provided,
       GMEK will be used.
       
      .google.cloud.apihub.v1.ApiHubInstance.Config.EncryptionType encryption_type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEncryptionTypeValue in interface ApiHubInstance.ConfigOrBuilder
      Returns:
      The enum numeric value on the wire for encryptionType.
    • getEncryptionType

      public ApiHubInstance.Config.EncryptionType getEncryptionType()
       Optional. Encryption type for the region. If the encryption type is CMEK,
       the cmek_key_name must be provided. If no encryption type is provided,
       GMEK will be used.
       
      .google.cloud.apihub.v1.ApiHubInstance.Config.EncryptionType encryption_type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEncryptionType in interface ApiHubInstance.ConfigOrBuilder
      Returns:
      The encryptionType.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ApiHubInstance.Config parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ApiHubInstance.Config parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ApiHubInstance.Config parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ApiHubInstance.Config parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ApiHubInstance.Config parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ApiHubInstance.Config parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ApiHubInstance.Config parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ApiHubInstance.Config parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ApiHubInstance.Config parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ApiHubInstance.Config parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ApiHubInstance.Config parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ApiHubInstance.Config parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ApiHubInstance.Config.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ApiHubInstance.Config.Builder newBuilder()
    • newBuilder

      public static ApiHubInstance.Config.Builder newBuilder(ApiHubInstance.Config prototype)
    • toBuilder

      public ApiHubInstance.Config.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ApiHubInstance.Config.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ApiHubInstance.Config getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ApiHubInstance.Config> parser()
    • getParserForType

      public com.google.protobuf.Parser<ApiHubInstance.Config> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ApiHubInstance.Config getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder