Class FilesystemEntryMetadata.Builder (0.90.0)

public static final class FilesystemEntryMetadata.Builder extends GeneratedMessage.Builder<FilesystemEntryMetadata.Builder> implements FilesystemEntryMetadataOrBuilder

Represents metadata for a single entry in a filesystem.

Protobuf type google.cloud.dataform.v1.FilesystemEntryMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public FilesystemEntryMetadata build()
Returns
Type Description
FilesystemEntryMetadata

buildPartial()

public FilesystemEntryMetadata buildPartial()
Returns
Type Description
FilesystemEntryMetadata

clear()

public FilesystemEntryMetadata.Builder clear()
Returns
Type Description
FilesystemEntryMetadata.Builder
Overrides

clearSizeBytes()

public FilesystemEntryMetadata.Builder clearSizeBytes()

Output only. Provides the size of the entry in bytes. For directories, this will be 0.

int64 size_bytes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FilesystemEntryMetadata.Builder

This builder for chaining.

clearUpdateTime()

public FilesystemEntryMetadata.Builder clearUpdateTime()

Output only. Represents the time of the last modification of the entry.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FilesystemEntryMetadata.Builder

getDefaultInstanceForType()

public FilesystemEntryMetadata getDefaultInstanceForType()
Returns
Type Description
FilesystemEntryMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSizeBytes()

public long getSizeBytes()

Output only. Provides the size of the entry in bytes. For directories, this will be 0.

int64 size_bytes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The sizeBytes.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Represents the time of the last modification of the entry.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Represents the time of the last modification of the entry.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Represents the time of the last modification of the entry.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Represents the time of the last modification of the entry.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FilesystemEntryMetadata other)

public FilesystemEntryMetadata.Builder mergeFrom(FilesystemEntryMetadata other)
Parameter
Name Description
other FilesystemEntryMetadata
Returns
Type Description
FilesystemEntryMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FilesystemEntryMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FilesystemEntryMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FilesystemEntryMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FilesystemEntryMetadata.Builder
Overrides

mergeUpdateTime(Timestamp value)

public FilesystemEntryMetadata.Builder mergeUpdateTime(Timestamp value)

Output only. Represents the time of the last modification of the entry.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
FilesystemEntryMetadata.Builder

setSizeBytes(long value)

public FilesystemEntryMetadata.Builder setSizeBytes(long value)

Output only. Provides the size of the entry in bytes. For directories, this will be 0.

int64 size_bytes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The sizeBytes to set.

Returns
Type Description
FilesystemEntryMetadata.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public FilesystemEntryMetadata.Builder setUpdateTime(Timestamp value)

Output only. Represents the time of the last modification of the entry.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
FilesystemEntryMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public FilesystemEntryMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Represents the time of the last modification of the entry.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FilesystemEntryMetadata.Builder