public static final class GcsFileSpec.Builder extends GeneratedMessage.Builder<GcsFileSpec.Builder> implements GcsFileSpecOrBuilderSpecifications of a single file in Cloud Storage.
Protobuf type google.cloud.datacatalog.v1beta1.GcsFileSpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GcsFileSpec.BuilderImplements
GcsFileSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GcsFileSpec build()| Returns | |
|---|---|
| Type | Description |
GcsFileSpec |
|
buildPartial()
public GcsFileSpec buildPartial()| Returns | |
|---|---|
| Type | Description |
GcsFileSpec |
|
clear()
public GcsFileSpec.Builder clear()| Returns | |
|---|---|
| Type | Description |
GcsFileSpec.Builder |
|
clearFilePath()
public GcsFileSpec.Builder clearFilePath() Required. The full file path. Example: gs://bucket_name/a/b.txt.
string file_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GcsFileSpec.Builder |
This builder for chaining. |
clearGcsTimestamps()
public GcsFileSpec.Builder clearGcsTimestamps()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 |
GcsFileSpec.Builder |
|
clearSizeBytes()
public GcsFileSpec.Builder clearSizeBytes()Output only. The size of the file, in bytes.
int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
GcsFileSpec.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GcsFileSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GcsFileSpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilePath()
public 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 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 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. |
getGcsTimestampsBuilder()
public SystemTimestamps.Builder getGcsTimestampsBuilder()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.Builder |
|
getGcsTimestampsOrBuilder()
public 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GcsFileSpec other)
public GcsFileSpec.Builder mergeFrom(GcsFileSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
GcsFileSpec |
| Returns | |
|---|---|
| Type | Description |
GcsFileSpec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GcsFileSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GcsFileSpec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GcsFileSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GcsFileSpec.Builder |
|
mergeGcsTimestamps(SystemTimestamps value)
public GcsFileSpec.Builder mergeGcsTimestamps(SystemTimestamps value)Output only. Timestamps about the Cloud Storage file.
.google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SystemTimestamps |
| Returns | |
|---|---|
| Type | Description |
GcsFileSpec.Builder |
|
setFilePath(String value)
public GcsFileSpec.Builder setFilePath(String value) Required. The full file path. Example: gs://bucket_name/a/b.txt.
string file_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filePath to set. |
| Returns | |
|---|---|
| Type | Description |
GcsFileSpec.Builder |
This builder for chaining. |
setFilePathBytes(ByteString value)
public GcsFileSpec.Builder setFilePathBytes(ByteString value) Required. The full file path. Example: gs://bucket_name/a/b.txt.
string file_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filePath to set. |
| Returns | |
|---|---|
| Type | Description |
GcsFileSpec.Builder |
This builder for chaining. |
setGcsTimestamps(SystemTimestamps value)
public GcsFileSpec.Builder setGcsTimestamps(SystemTimestamps value)Output only. Timestamps about the Cloud Storage file.
.google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SystemTimestamps |
| Returns | |
|---|---|
| Type | Description |
GcsFileSpec.Builder |
|
setGcsTimestamps(SystemTimestamps.Builder builderForValue)
public GcsFileSpec.Builder setGcsTimestamps(SystemTimestamps.Builder builderForValue)Output only. Timestamps about the Cloud Storage file.
.google.cloud.datacatalog.v1beta1.SystemTimestamps gcs_timestamps = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SystemTimestamps.Builder |
| Returns | |
|---|---|
| Type | Description |
GcsFileSpec.Builder |
|
setSizeBytes(long value)
public GcsFileSpec.Builder setSizeBytes(long value)Output only. The size of the file, in bytes.
int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe sizeBytes to set. |
| Returns | |
|---|---|
| Type | Description |
GcsFileSpec.Builder |
This builder for chaining. |