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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CommonUsageStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CommonUsageStats build()
buildPartial()
public CommonUsageStats buildPartial()
clear()
public CommonUsageStats.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CommonUsageStats.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CommonUsageStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearViewCount()
public CommonUsageStats.Builder clearViewCount()
View count in source system.
optional int64 view_count = 1;
clone()
public CommonUsageStats.Builder clone()
Overrides
getDefaultInstanceForType()
public CommonUsageStats getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CommonUsageStats other)
public CommonUsageStats.Builder mergeFrom(CommonUsageStats other)
public CommonUsageStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CommonUsageStats.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommonUsageStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CommonUsageStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommonUsageStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CommonUsageStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|