Interface ContainerOrBuilder (3.8.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'
  • 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'
  • 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
  • For 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
  • For 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 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 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 Cloud Storage.

string type = 1;

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

Container type, for example BigQuery or Cloud Storage.

string type = 1;

Returns
TypeDescription
ByteString

The bytes for type.

getUpdateTime()

public abstract 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
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract 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;

Returns
TypeDescription
TimestampOrBuilder

getVersion()

public abstract String getVersion()

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

string version = 7;

Returns
TypeDescription
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

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

string version = 7;

Returns
TypeDescription
ByteString

The bytes for version.

hasUpdateTime()

public abstract 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
TypeDescription
boolean

Whether the updateTime field is set.