Class CommonUsageStats.Builder (1.49.0)

public static final class CommonUsageStats.Builder extends GeneratedMessageV3.Builder<CommonUsageStats.Builder> implements CommonUsageStatsOrBuilder

Common statistics on the entry's usage.

They can be set on any system.

Protobuf type google.cloud.datacatalog.v1.CommonUsageStats

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CommonUsageStats build()
Returns
Type Description
CommonUsageStats

buildPartial()

public CommonUsageStats buildPartial()
Returns
Type Description
CommonUsageStats

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CommonUsageStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CommonUsageStats.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CommonUsageStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CommonUsageStats.Builder
Overrides

clearViewCount()

public CommonUsageStats.Builder clearViewCount()

View count in source system.

optional int64 view_count = 1;

Returns
Type Description
CommonUsageStats.Builder

This builder for chaining.

clone()

public CommonUsageStats.Builder clone()
Returns
Type Description
CommonUsageStats.Builder
Overrides

getDefaultInstanceForType()

public CommonUsageStats getDefaultInstanceForType()
Returns
Type Description
CommonUsageStats

getDescriptorForType()

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

getViewCount()

public long getViewCount()

View count in source system.

optional int64 view_count = 1;

Returns
Type Description
long

The viewCount.

hasViewCount()

public boolean hasViewCount()

View count in source system.

optional int64 view_count = 1;

Returns
Type Description
boolean

Whether the viewCount field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CommonUsageStats other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CommonUsageStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CommonUsageStats.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final CommonUsageStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CommonUsageStats.Builder
Overrides

setViewCount(long value)

public CommonUsageStats.Builder setViewCount(long value)

View count in source system.

optional int64 view_count = 1;

Parameter
Name Description
value long

The viewCount to set.

Returns
Type Description
CommonUsageStats.Builder

This builder for chaining.