Interface SubResourceOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Specifies where the resource is created.
    com.google.protobuf.ByteString
    Specifies where the resource is created.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    Optional.

    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

    • getResourceType

      String getResourceType()
       Optional. Resource type associated with the sub resource where backup
       settings are configured. E.g. "spanner.googleapis.com/Database" for Spanner
       where backup retention is configured on database within an instance
       OPTIONAL
       
      string resource_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The resourceType.
    • getResourceTypeBytes

      com.google.protobuf.ByteString getResourceTypeBytes()
       Optional. Resource type associated with the sub resource where backup
       settings are configured. E.g. "spanner.googleapis.com/Database" for Spanner
       where backup retention is configured on database within an instance
       OPTIONAL
       
      string resource_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for resourceType.
    • getFullResourceName

      String getFullResourceName()
       Optional. Resource name associated with the sub resource where backup
       settings are configured.
       E.g."//spanner.googleapis.com/projects/project1/instances/inst1/databases/db1"
       for Spanner where backup retention is configured on database within
       an instance
       OPTIONAL
       
      string full_resource_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The fullResourceName.
    • getFullResourceNameBytes

      com.google.protobuf.ByteString getFullResourceNameBytes()
       Optional. Resource name associated with the sub resource where backup
       settings are configured.
       E.g."//spanner.googleapis.com/projects/project1/instances/inst1/databases/db1"
       for Spanner where backup retention is configured on database within
       an instance
       OPTIONAL
       
      string full_resource_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for fullResourceName.
    • hasProduct

      boolean hasProduct()
       Optional. Product information associated with the sub resource where
       backup retention settings are configured.
       e.g.
       ```
       product: {
       type   : PRODUCT_TYPE_SPANNER
       engine : ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT
       }
       ```
       for Spanner where backup is configured on database within
       an instance
       OPTIONAL
       
      .google.cloud.databasecenter.v1beta.Product product = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the product field is set.
    • getProduct

      Product getProduct()
       Optional. Product information associated with the sub resource where
       backup retention settings are configured.
       e.g.
       ```
       product: {
       type   : PRODUCT_TYPE_SPANNER
       engine : ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT
       }
       ```
       for Spanner where backup is configured on database within
       an instance
       OPTIONAL
       
      .google.cloud.databasecenter.v1beta.Product product = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The product.
    • getProductOrBuilder

      ProductOrBuilder getProductOrBuilder()
       Optional. Product information associated with the sub resource where
       backup retention settings are configured.
       e.g.
       ```
       product: {
       type   : PRODUCT_TYPE_SPANNER
       engine : ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT
       }
       ```
       for Spanner where backup is configured on database within
       an instance
       OPTIONAL
       
      .google.cloud.databasecenter.v1beta.Product product = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getContainer

      String getContainer()
       Specifies where the resource is created. For Google Cloud resources, it is
       the full name of the project.
       
      string container = 4;
      Returns:
      The container.
    • getContainerBytes

      com.google.protobuf.ByteString getContainerBytes()
       Specifies where the resource is created. For Google Cloud resources, it is
       the full name of the project.
       
      string container = 4;
      Returns:
      The bytes for container.