public static final class GcsFileSpec.Builder extends GeneratedMessageV3.Builder<GcsFileSpec.Builder> implements GcsFileSpecOrBuilder
Specification of a single file in Cloud Storage.
Protobuf type google.cloud.datacatalog.v1.GcsFileSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcsFileSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GcsFileSpec build()
buildPartial()
public GcsFileSpec buildPartial()
clear()
public GcsFileSpec.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GcsFileSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFilePath()
public GcsFileSpec.Builder clearFilePath()
Required. Full file path. Example: gs://bucket_name/a/b.txt
.
string file_path = 1 [(.google.api.field_behavior) = REQUIRED];
clearGcsTimestamps()
public GcsFileSpec.Builder clearGcsTimestamps()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public GcsFileSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSizeBytes()
public GcsFileSpec.Builder clearSizeBytes()
Output only. File size in bytes.
int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public GcsFileSpec.Builder clone()
Overrides
getDefaultInstanceForType()
public GcsFileSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFilePath()
public 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 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 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];
getGcsTimestampsBuilder()
public SystemTimestamps.Builder getGcsTimestampsBuilder()
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];
getGcsTimestampsOrBuilder()
public 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()
public 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GcsFileSpec other)
public GcsFileSpec.Builder mergeFrom(GcsFileSpec other)
public GcsFileSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GcsFileSpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeGcsTimestamps(SystemTimestamps value)
public GcsFileSpec.Builder mergeGcsTimestamps(SystemTimestamps value)
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcsFileSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GcsFileSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFilePath(String value)
public GcsFileSpec.Builder setFilePath(String value)
Required. Full file path. Example: gs://bucket_name/a/b.txt
.
string file_path = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The filePath to set.
|
setFilePathBytes(ByteString value)
public GcsFileSpec.Builder setFilePathBytes(ByteString value)
Required. Full file path. Example: gs://bucket_name/a/b.txt
.
string file_path = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for filePath to set.
|
setGcsTimestamps(SystemTimestamps value)
public GcsFileSpec.Builder setGcsTimestamps(SystemTimestamps value)
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];
setGcsTimestamps(SystemTimestamps.Builder builderForValue)
public GcsFileSpec.Builder setGcsTimestamps(SystemTimestamps.Builder builderForValue)
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcsFileSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSizeBytes(long value)
public GcsFileSpec.Builder setSizeBytes(long value)
Output only. File size in bytes.
int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | long
The sizeBytes to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final GcsFileSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides