Interface ResourceOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.Struct
    The content of the resource, in which some sensitive fields are removed and may not be present.
    com.google.protobuf.StructOrBuilder
    The content of the resource, in which some sensitive fields are removed and may not be present.
    The URL of the discovery document containing the resource's JSON schema.
    com.google.protobuf.ByteString
    The URL of the discovery document containing the resource's JSON schema.
    The JSON schema name listed in the discovery document.
    com.google.protobuf.ByteString
    The JSON schema name listed in the discovery document.
    The location of the resource in Google Cloud, such as its zone and region.
    com.google.protobuf.ByteString
    The location of the resource in Google Cloud, such as its zone and region.
    The full name of the immediate parent of this resource.
    com.google.protobuf.ByteString
    The full name of the immediate parent of this resource.
    The REST URL for accessing the resource.
    com.google.protobuf.ByteString
    The REST URL for accessing the resource.
    The API version.
    com.google.protobuf.ByteString
    The API version.
    boolean
    The content of the resource, in which some sensitive fields are removed and may not be present.

    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

    • getVersion

      String getVersion()
       The API version. Example: `v1`
       
      string version = 1;
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       The API version. Example: `v1`
       
      string version = 1;
      Returns:
      The bytes for version.
    • getDiscoveryDocumentUri

      String getDiscoveryDocumentUri()
       The URL of the discovery document containing the resource's JSON schema.
       Example:
       `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
      
       This value is unspecified for resources that do not have an API based on a
       discovery document, such as Cloud Bigtable.
       
      string discovery_document_uri = 2;
      Returns:
      The discoveryDocumentUri.
    • getDiscoveryDocumentUriBytes

      com.google.protobuf.ByteString getDiscoveryDocumentUriBytes()
       The URL of the discovery document containing the resource's JSON schema.
       Example:
       `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
      
       This value is unspecified for resources that do not have an API based on a
       discovery document, such as Cloud Bigtable.
       
      string discovery_document_uri = 2;
      Returns:
      The bytes for discoveryDocumentUri.
    • getDiscoveryName

      String getDiscoveryName()
       The JSON schema name listed in the discovery document. Example:
       `Project`
      
       This value is unspecified for resources that do not have an API based on a
       discovery document, such as Cloud Bigtable.
       
      string discovery_name = 3;
      Returns:
      The discoveryName.
    • getDiscoveryNameBytes

      com.google.protobuf.ByteString getDiscoveryNameBytes()
       The JSON schema name listed in the discovery document. Example:
       `Project`
      
       This value is unspecified for resources that do not have an API based on a
       discovery document, such as Cloud Bigtable.
       
      string discovery_name = 3;
      Returns:
      The bytes for discoveryName.
    • getResourceUrl

      String getResourceUrl()
       The REST URL for accessing the resource. An HTTP `GET` request using this
       URL returns the resource itself. Example:
       `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
      
       This value is unspecified for resources without a REST API.
       
      string resource_url = 4;
      Returns:
      The resourceUrl.
    • getResourceUrlBytes

      com.google.protobuf.ByteString getResourceUrlBytes()
       The REST URL for accessing the resource. An HTTP `GET` request using this
       URL returns the resource itself. Example:
       `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
      
       This value is unspecified for resources without a REST API.
       
      string resource_url = 4;
      Returns:
      The bytes for resourceUrl.
    • getParent

      String getParent()
       The full name of the immediate parent of this resource. See
       [Resource
       Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
       for more information.
      
       For Google Cloud assets, this value is the parent resource defined in the
       [IAM policy
       hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
       Example:
       `//cloudresourcemanager.googleapis.com/projects/my_project_123`
       
      string parent = 5;
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       The full name of the immediate parent of this resource. See
       [Resource
       Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
       for more information.
      
       For Google Cloud assets, this value is the parent resource defined in the
       [IAM policy
       hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
       Example:
       `//cloudresourcemanager.googleapis.com/projects/my_project_123`
       
      string parent = 5;
      Returns:
      The bytes for parent.
    • hasData

      boolean hasData()
       The content of the resource, in which some sensitive fields are removed
       and may not be present.
       
      .google.protobuf.Struct data = 6;
      Returns:
      Whether the data field is set.
    • getData

      com.google.protobuf.Struct getData()
       The content of the resource, in which some sensitive fields are removed
       and may not be present.
       
      .google.protobuf.Struct data = 6;
      Returns:
      The data.
    • getDataOrBuilder

      com.google.protobuf.StructOrBuilder getDataOrBuilder()
       The content of the resource, in which some sensitive fields are removed
       and may not be present.
       
      .google.protobuf.Struct data = 6;
    • getLocation

      String getLocation()
       The location of the resource in Google Cloud, such as its zone and region.
       For more information, see https://cloud.google.com/about/locations/.
       
      string location = 8;
      Returns:
      The location.
    • getLocationBytes

      com.google.protobuf.ByteString getLocationBytes()
       The location of the resource in Google Cloud, such as its zone and region.
       For more information, see https://cloud.google.com/about/locations/.
       
      string location = 8;
      Returns:
      The bytes for location.