Interface ContainerOrBuilder

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

    public interface ContainerOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getFullPath()
      A string representation of the full container name.
      com.google.protobuf.ByteString getFullPathBytes()
      A string representation of the full container name.
      String getProjectId()
      Project where the finding was found.
      com.google.protobuf.ByteString getProjectIdBytes()
      Project where the finding was found.
      String getRelativePath()
      The rest of the path after the root.
      com.google.protobuf.ByteString getRelativePathBytes()
      The rest of the path after the root.
      String getRootPath()
      The root of the container.
      com.google.protobuf.ByteString getRootPathBytes()
      The root of the container.
      String getType()
      Container type, for example BigQuery or Cloud Storage.
      com.google.protobuf.ByteString getTypeBytes()
      Container type, for example BigQuery or Cloud Storage.
      com.google.protobuf.Timestamp getUpdateTime()
      Findings container modification timestamp, if applicable.
      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
      Findings container modification timestamp, if applicable.
      String getVersion()
      Findings container version, if available ("generation" for Cloud Storage).
      com.google.protobuf.ByteString getVersionBytes()
      Findings container version, if available ("generation" for Cloud Storage).
      boolean hasUpdateTime()
      Findings container modification timestamp, if applicable.
      • 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

      • getType

        String getType()
         Container type, for example BigQuery or Cloud Storage.
         
        string type = 1;
        Returns:
        The type.
      • getTypeBytes

        com.google.protobuf.ByteString getTypeBytes()
         Container type, for example BigQuery or Cloud Storage.
         
        string type = 1;
        Returns:
        The bytes for type.
      • getProjectId

        String getProjectId()
         Project where the finding was found.
         Can be different from the project that owns the finding.
         
        string project_id = 2;
        Returns:
        The projectId.
      • getProjectIdBytes

        com.google.protobuf.ByteString getProjectIdBytes()
         Project where the finding was found.
         Can be different from the project that owns the finding.
         
        string project_id = 2;
        Returns:
        The bytes for projectId.
      • getFullPath

        String getFullPath()
         A string representation of the full container name.
         Examples:
         - BigQuery: 'Project:DataSetId.TableId'
         - Cloud Storage: 'gs://Bucket/folders/filename.txt'
         
        string full_path = 3;
        Returns:
        The fullPath.
      • getFullPathBytes

        com.google.protobuf.ByteString getFullPathBytes()
         A string representation of the full container name.
         Examples:
         - BigQuery: 'Project:DataSetId.TableId'
         - Cloud Storage: 'gs://Bucket/folders/filename.txt'
         
        string full_path = 3;
        Returns:
        The bytes for fullPath.
      • getRootPath

        String getRootPath()
         The root of the container.
         Examples:
        
         - For BigQuery table `project_id:dataset_id.table_id`, the root is
          `dataset_id`
         - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root
          is `gs://bucket`
         
        string root_path = 4;
        Returns:
        The rootPath.
      • getRootPathBytes

        com.google.protobuf.ByteString getRootPathBytes()
         The root of the container.
         Examples:
        
         - For BigQuery table `project_id:dataset_id.table_id`, the root is
          `dataset_id`
         - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root
          is `gs://bucket`
         
        string root_path = 4;
        Returns:
        The bytes for rootPath.
      • getRelativePath

        String getRelativePath()
         The rest of the path after the root.
         Examples:
        
         - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
          `table_id`
         - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
          path is `folder/filename.txt`
         
        string relative_path = 5;
        Returns:
        The relativePath.
      • getRelativePathBytes

        com.google.protobuf.ByteString getRelativePathBytes()
         The rest of the path after the root.
         Examples:
        
         - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
          `table_id`
         - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
          path is `folder/filename.txt`
         
        string relative_path = 5;
        Returns:
        The bytes for relativePath.
      • hasUpdateTime

        boolean hasUpdateTime()
         Findings container modification timestamp, if applicable. For Cloud
         Storage, this field contains the last file modification timestamp. For a
         BigQuery table, this field contains the last_modified_time property. For
         Datastore, this field isn't populated.
         
        .google.protobuf.Timestamp update_time = 6;
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         Findings container modification timestamp, if applicable. For Cloud
         Storage, this field contains the last file modification timestamp. For a
         BigQuery table, this field contains the last_modified_time property. For
         Datastore, this field isn't populated.
         
        .google.protobuf.Timestamp update_time = 6;
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Findings container modification timestamp, if applicable. For Cloud
         Storage, this field contains the last file modification timestamp. For a
         BigQuery table, this field contains the last_modified_time property. For
         Datastore, this field isn't populated.
         
        .google.protobuf.Timestamp update_time = 6;
      • getVersion

        String getVersion()
         Findings container version, if available
         ("generation" for Cloud Storage).
         
        string version = 7;
        Returns:
        The version.
      • getVersionBytes

        com.google.protobuf.ByteString getVersionBytes()
         Findings container version, if available
         ("generation" for Cloud Storage).
         
        string version = 7;
        Returns:
        The bytes for version.