Package com.google.cloud.datacatalog.v1
Interface GcsFileSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GcsFileSpec
,GcsFileSpec.Builder
public interface GcsFileSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFilePath()
Required.com.google.protobuf.ByteString
getFilePathBytes()
Required.SystemTimestamps
getGcsTimestamps()
Output only.SystemTimestampsOrBuilder
getGcsTimestampsOrBuilder()
Output only.long
getSizeBytes()
Output only.boolean
hasGcsTimestamps()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFilePath
String getFilePath()
Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
string file_path = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The filePath.
-
getFilePathBytes
com.google.protobuf.ByteString getFilePathBytes()
Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
string file_path = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for filePath.
-
hasGcsTimestamps
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:
- Whether the gcsTimestamps field is set.
-
getGcsTimestamps
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:
- The gcsTimestamps.
-
getGcsTimestampsOrBuilder
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];
-
getSizeBytes
long getSizeBytes()
Output only. File size in bytes.
int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The sizeBytes.
-
-