Interface GcsFileSpecOrBuilder (1.61.0)

public interface GcsFileSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFilePath()

public abstract String getFilePath()

Required. Full file path. Example: gs://bucket_name/a/b.txt.

string file_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The filePath.

getFilePathBytes()

public abstract ByteString getFilePathBytes()

Required. Full file path. Example: gs://bucket_name/a/b.txt.

string file_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for filePath.

getGcsTimestamps()

public abstract SystemTimestamps getGcsTimestamps()

Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.

.google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SystemTimestamps

The gcsTimestamps.

getGcsTimestampsOrBuilder()

public abstract SystemTimestampsOrBuilder getGcsTimestampsOrBuilder()

Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.

.google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SystemTimestampsOrBuilder

getSizeBytes()

public abstract long getSizeBytes()

Output only. File size in bytes.

int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The sizeBytes.

hasGcsTimestamps()

public abstract boolean hasGcsTimestamps()

Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.

.google.cloud.datacatalog.v1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the gcsTimestamps field is set.