Interface ContainerOrBuilder (3.4.0)

public interface ContainerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFullPath()

public abstract String getFullPath()

A string representation of the full container name. Examples:

  • BigQuery: 'Project:DataSetId.TableId'
  • Google Cloud Storage: 'gs://Bucket/folders/filename.txt'

string full_path = 3;

Returns
TypeDescription
String

The fullPath.

getFullPathBytes()

public abstract ByteString getFullPathBytes()

A string representation of the full container name. Examples:

  • BigQuery: 'Project:DataSetId.TableId'
  • Google Cloud Storage: 'gs://Bucket/folders/filename.txt'

string full_path = 3;

Returns
TypeDescription
ByteString

The bytes for fullPath.

getProjectId()

public abstract String getProjectId()

Project where the finding was found. Can be different from the project that owns the finding.

string project_id = 2;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

Project where the finding was found. Can be different from the project that owns the finding.

string project_id = 2;

Returns
TypeDescription
ByteString

The bytes for projectId.

getRelativePath()

public abstract 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
  • Google Cloud Storage file gs://bucket/folder/filename.txt, the relative path is folder/filename.txt

string relative_path = 5;

Returns
TypeDescription
String

The relativePath.

getRelativePathBytes()

public abstract 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
  • Google Cloud Storage file gs://bucket/folder/filename.txt, the relative path is folder/filename.txt

string relative_path = 5;

Returns
TypeDescription
ByteString

The bytes for relativePath.

getRootPath()

public abstract String getRootPath()

The root of the container. Examples:

  • For BigQuery table project_id:dataset_id.table_id, the root is dataset_id
  • For Google Cloud Storage file gs://bucket/folder/filename.txt, the root is gs://bucket

string root_path = 4;

Returns
TypeDescription
String

The rootPath.

getRootPathBytes()

public abstract ByteString getRootPathBytes()

The root of the container. Examples:

  • For BigQuery table project_id:dataset_id.table_id, the root is dataset_id
  • For Google Cloud Storage file gs://bucket/folder/filename.txt, the root is gs://bucket

string root_path = 4;

Returns
TypeDescription
ByteString

The bytes for rootPath.

getType()

public abstract String getType()

Container type, for example BigQuery or Google Cloud Storage.

string type = 1;

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

Container type, for example BigQuery or Google Cloud Storage.

string type = 1;

Returns
TypeDescription
ByteString

The bytes for type.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Findings container modification timestamp, if applicable. For Google Cloud Storage contains last file modification timestamp. For BigQuery table contains last_modified_time property. For Datastore - not populated.

.google.protobuf.Timestamp update_time = 6;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Findings container modification timestamp, if applicable. For Google Cloud Storage contains last file modification timestamp. For BigQuery table contains last_modified_time property. For Datastore - not populated.

.google.protobuf.Timestamp update_time = 6;

Returns
TypeDescription
TimestampOrBuilder

getVersion()

public abstract String getVersion()

Findings container version, if available ("generation" for Google Cloud Storage).

string version = 7;

Returns
TypeDescription
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

Findings container version, if available ("generation" for Google Cloud Storage).

string version = 7;

Returns
TypeDescription
ByteString

The bytes for version.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Findings container modification timestamp, if applicable. For Google Cloud Storage contains last file modification timestamp. For BigQuery table contains last_modified_time property. For Datastore - not populated.

.google.protobuf.Timestamp update_time = 6;

Returns
TypeDescription
boolean

Whether the updateTime field is set.