Interface GcsFileSpecOrBuilder (1.9.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the gcsTimestamps field is set.