Class Asset.DiscoveryStatus.Stats.Builder (1.42.0)

public static final class Asset.DiscoveryStatus.Stats.Builder extends GeneratedMessageV3.Builder<Asset.DiscoveryStatus.Stats.Builder> implements Asset.DiscoveryStatus.StatsOrBuilder

The aggregated data statistics for the asset reported by discovery.

Protobuf type google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Asset.DiscoveryStatus.Stats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder
Overrides

build()

public Asset.DiscoveryStatus.Stats build()
Returns
Type Description
Asset.DiscoveryStatus.Stats

buildPartial()

public Asset.DiscoveryStatus.Stats buildPartial()
Returns
Type Description
Asset.DiscoveryStatus.Stats

clear()

public Asset.DiscoveryStatus.Stats.Builder clear()
Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder
Overrides

clearDataItems()

public Asset.DiscoveryStatus.Stats.Builder clearDataItems()

The count of data items within the referenced resource.

int64 data_items = 1;

Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder

This builder for chaining.

clearDataSize()

public Asset.DiscoveryStatus.Stats.Builder clearDataSize()

The number of stored data bytes within the referenced resource.

int64 data_size = 2;

Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Asset.DiscoveryStatus.Stats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder
Overrides

clearFilesets()

public Asset.DiscoveryStatus.Stats.Builder clearFilesets()

The count of fileset entities within the referenced resource.

int64 filesets = 4;

Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Asset.DiscoveryStatus.Stats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder
Overrides

clearTables()

public Asset.DiscoveryStatus.Stats.Builder clearTables()

The count of table entities within the referenced resource.

int64 tables = 3;

Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder

This builder for chaining.

clone()

public Asset.DiscoveryStatus.Stats.Builder clone()
Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder
Overrides

getDataItems()

public long getDataItems()

The count of data items within the referenced resource.

int64 data_items = 1;

Returns
Type Description
long

The dataItems.

getDataSize()

public long getDataSize()

The number of stored data bytes within the referenced resource.

int64 data_size = 2;

Returns
Type Description
long

The dataSize.

getDefaultInstanceForType()

public Asset.DiscoveryStatus.Stats getDefaultInstanceForType()
Returns
Type Description
Asset.DiscoveryStatus.Stats

getDescriptorForType()

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

getFilesets()

public long getFilesets()

The count of fileset entities within the referenced resource.

int64 filesets = 4;

Returns
Type Description
long

The filesets.

getTables()

public long getTables()

The count of table entities within the referenced resource.

int64 tables = 3;

Returns
Type Description
long

The tables.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Asset.DiscoveryStatus.Stats other)

public Asset.DiscoveryStatus.Stats.Builder mergeFrom(Asset.DiscoveryStatus.Stats other)
Parameter
Name Description
other Asset.DiscoveryStatus.Stats
Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Asset.DiscoveryStatus.Stats.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Asset.DiscoveryStatus.Stats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder
Overrides

setDataItems(long value)

public Asset.DiscoveryStatus.Stats.Builder setDataItems(long value)

The count of data items within the referenced resource.

int64 data_items = 1;

Parameter
Name Description
value long

The dataItems to set.

Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder

This builder for chaining.

setDataSize(long value)

public Asset.DiscoveryStatus.Stats.Builder setDataSize(long value)

The number of stored data bytes within the referenced resource.

int64 data_size = 2;

Parameter
Name Description
value long

The dataSize to set.

Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Asset.DiscoveryStatus.Stats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder
Overrides

setFilesets(long value)

public Asset.DiscoveryStatus.Stats.Builder setFilesets(long value)

The count of fileset entities within the referenced resource.

int64 filesets = 4;

Parameter
Name Description
value long

The filesets to set.

Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Asset.DiscoveryStatus.Stats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder
Overrides

setTables(long value)

public Asset.DiscoveryStatus.Stats.Builder setTables(long value)

The count of table entities within the referenced resource.

int64 tables = 3;

Parameter
Name Description
value long

The tables to set.

Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Asset.DiscoveryStatus.Stats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder
Overrides