Interface GcsFileSpecOrBuilder (1.8.2)

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SystemTimestampsOrBuilder

getSizeBytes()

public abstract long getSizeBytes()

Output only. File size in bytes.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the gcsTimestamps field is set.