Class Asset.DiscoveryStatus.Stats.Builder (1.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Asset.DiscoveryStatus.Stats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Asset.DiscoveryStatus.Stats.Builder
Overrides

build()

public Asset.DiscoveryStatus.Stats build()
Returns
TypeDescription
Asset.DiscoveryStatus.Stats

buildPartial()

public Asset.DiscoveryStatus.Stats buildPartial()
Returns
TypeDescription
Asset.DiscoveryStatus.Stats

clear()

public Asset.DiscoveryStatus.Stats.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Asset.DiscoveryStatus.Stats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Asset.DiscoveryStatus.Stats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Asset.DiscoveryStatus.Stats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Asset.DiscoveryStatus.Stats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Asset.DiscoveryStatus.Stats.Builder

This builder for chaining.

clone()

public Asset.DiscoveryStatus.Stats.Builder clone()
Returns
TypeDescription
Asset.DiscoveryStatus.Stats.Builder
Overrides

getDataItems()

public long getDataItems()

The count of data items within the referenced resource.

int64 data_items = 1;

Returns
TypeDescription
long

The dataItems.

getDataSize()

public long getDataSize()

The number of stored data bytes within the referenced resource.

int64 data_size = 2;

Returns
TypeDescription
long

The dataSize.

getDefaultInstanceForType()

public Asset.DiscoveryStatus.Stats getDefaultInstanceForType()
Returns
TypeDescription
Asset.DiscoveryStatus.Stats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilesets()

public long getFilesets()

The count of fileset entities within the referenced resource.

int64 filesets = 4;

Returns
TypeDescription
long

The filesets.

getTables()

public long getTables()

The count of table entities within the referenced resource.

int64 tables = 3;

Returns
TypeDescription
long

The tables.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Asset.DiscoveryStatus.Stats other)

public Asset.DiscoveryStatus.Stats.Builder mergeFrom(Asset.DiscoveryStatus.Stats other)
Parameter
NameDescription
otherAsset.DiscoveryStatus.Stats
Returns
TypeDescription
Asset.DiscoveryStatus.Stats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Asset.DiscoveryStatus.Stats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Asset.DiscoveryStatus.Stats.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Asset.DiscoveryStatus.Stats.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Asset.DiscoveryStatus.Stats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Asset.DiscoveryStatus.Stats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The dataItems to set.

Returns
TypeDescription
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
NameDescription
valuelong

The dataSize to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The filesets to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The tables to set.

Returns
TypeDescription
Asset.DiscoveryStatus.Stats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Asset.DiscoveryStatus.Stats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Asset.DiscoveryStatus.Stats.Builder
Overrides