Class CommonUsageStats.Builder (1.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CommonUsageStats build()
Returns
TypeDescription
CommonUsageStats

buildPartial()

public CommonUsageStats buildPartial()
Returns
TypeDescription
CommonUsageStats

clear()

public CommonUsageStats.Builder clear()
Returns
TypeDescription
CommonUsageStats.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CommonUsageStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CommonUsageStats.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CommonUsageStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CommonUsageStats.Builder
Overrides

clearViewCount()

public CommonUsageStats.Builder clearViewCount()

View count in source system.

optional int64 view_count = 1;

Returns
TypeDescription
CommonUsageStats.Builder

This builder for chaining.

clone()

public CommonUsageStats.Builder clone()
Returns
TypeDescription
CommonUsageStats.Builder
Overrides

getDefaultInstanceForType()

public CommonUsageStats getDefaultInstanceForType()
Returns
TypeDescription
CommonUsageStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getViewCount()

public long getViewCount()

View count in source system.

optional int64 view_count = 1;

Returns
TypeDescription
long

The viewCount.

hasViewCount()

public boolean hasViewCount()

View count in source system.

optional int64 view_count = 1;

Returns
TypeDescription
boolean

Whether the viewCount field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CommonUsageStats other)

public CommonUsageStats.Builder mergeFrom(CommonUsageStats other)
Parameter
NameDescription
otherCommonUsageStats
Returns
TypeDescription
CommonUsageStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CommonUsageStats.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CommonUsageStats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CommonUsageStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CommonUsageStats.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CommonUsageStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CommonUsageStats.Builder
Overrides

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

public CommonUsageStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CommonUsageStats.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CommonUsageStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CommonUsageStats.Builder
Overrides

setViewCount(long value)

public CommonUsageStats.Builder setViewCount(long value)

View count in source system.

optional int64 view_count = 1;

Parameter
NameDescription
valuelong

The viewCount to set.

Returns
TypeDescription
CommonUsageStats.Builder

This builder for chaining.