Interface GcsFileSpecOrBuilder (1.59.0)

public interface GcsFileSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFilePath()

public abstract String getFilePath()

Required. The 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. The 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. Timestamps about the Cloud Storage file.

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

Returns
Type Description
SystemTimestamps

The gcsTimestamps.

getGcsTimestampsOrBuilder()

public abstract SystemTimestampsOrBuilder getGcsTimestampsOrBuilder()

Output only. Timestamps about the Cloud Storage file.

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

Returns
Type Description
SystemTimestampsOrBuilder

getSizeBytes()

public abstract long getSizeBytes()

Output only. The size of the file, 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. Timestamps about the Cloud Storage file.

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

Returns
Type Description
boolean

Whether the gcsTimestamps field is set.