public final class UsageSignal extends GeneratedMessageV3 implements UsageSignalOrBuilder
The set of all usage signals that Data Catalog stores.
Note: Usually, these signals are updated daily. In rare cases, an update may
fail but will be performed again on the next day.
Protobuf type google.cloud.datacatalog.v1.UsageSignal
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
COMMON_USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER
public static final int COMMON_USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FAVORITE_COUNT_FIELD_NUMBER
public static final int FAVORITE_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER
public static final int USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static UsageSignal getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UsageSignal.Builder newBuilder()
newBuilder(UsageSignal prototype)
public static UsageSignal.Builder newBuilder(UsageSignal prototype)
public static UsageSignal parseDelimitedFrom(InputStream input)
public static UsageSignal parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UsageSignal parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UsageSignal parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UsageSignal parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UsageSignal parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UsageSignal parseFrom(CodedInputStream input)
public static UsageSignal parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UsageSignal parseFrom(InputStream input)
public static UsageSignal parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UsageSignal parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UsageSignal parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UsageSignal> parser()
Methods
containsCommonUsageWithinTimeRange(String key)
public boolean containsCommonUsageWithinTimeRange(String key)
Common usage statistics over each of the predefined time ranges.
Supported time ranges are {"24H", "7D", "30D", "Lifetime"}
.
map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3;
Parameter |
---|
Name | Description |
key | String
|
containsUsageWithinTimeRange(String key)
public boolean containsUsageWithinTimeRange(String key)
Output only. BigQuery usage statistics over each of the predefined time
ranges.
Supported time ranges are {"24H", "7D", "30D"}
.
map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCommonUsageWithinTimeRange()
public Map<String,CommonUsageStats> getCommonUsageWithinTimeRange()
getCommonUsageWithinTimeRangeCount()
public int getCommonUsageWithinTimeRangeCount()
Common usage statistics over each of the predefined time ranges.
Supported time ranges are {"24H", "7D", "30D", "Lifetime"}
.
map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3;
Returns |
---|
Type | Description |
int | |
getCommonUsageWithinTimeRangeMap()
public Map<String,CommonUsageStats> getCommonUsageWithinTimeRangeMap()
Common usage statistics over each of the predefined time ranges.
Supported time ranges are {"24H", "7D", "30D", "Lifetime"}
.
map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3;
getCommonUsageWithinTimeRangeOrDefault(String key, CommonUsageStats defaultValue)
public CommonUsageStats getCommonUsageWithinTimeRangeOrDefault(String key, CommonUsageStats defaultValue)
Common usage statistics over each of the predefined time ranges.
Supported time ranges are {"24H", "7D", "30D", "Lifetime"}
.
map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3;
getCommonUsageWithinTimeRangeOrThrow(String key)
public CommonUsageStats getCommonUsageWithinTimeRangeOrThrow(String key)
Common usage statistics over each of the predefined time ranges.
Supported time ranges are {"24H", "7D", "30D", "Lifetime"}
.
map<string, .google.cloud.datacatalog.v1.CommonUsageStats> common_usage_within_time_range = 3;
Parameter |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public UsageSignal getDefaultInstanceForType()
getFavoriteCount()
public long getFavoriteCount()
Favorite count in the source system.
optional int64 favorite_count = 4;
Returns |
---|
Type | Description |
long | The favoriteCount.
|
getParserForType()
public Parser<UsageSignal> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;
Returns |
---|
Type | Description |
Timestamp | The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;
getUsageWithinTimeRange()
public Map<String,UsageStats> getUsageWithinTimeRange()
getUsageWithinTimeRangeCount()
public int getUsageWithinTimeRangeCount()
Output only. BigQuery usage statistics over each of the predefined time
ranges.
Supported time ranges are {"24H", "7D", "30D"}
.
map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | |
getUsageWithinTimeRangeMap()
public Map<String,UsageStats> getUsageWithinTimeRangeMap()
Output only. BigQuery usage statistics over each of the predefined time
ranges.
Supported time ranges are {"24H", "7D", "30D"}
.
map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUsageWithinTimeRangeOrDefault(String key, UsageStats defaultValue)
public UsageStats getUsageWithinTimeRangeOrDefault(String key, UsageStats defaultValue)
Output only. BigQuery usage statistics over each of the predefined time
ranges.
Supported time ranges are {"24H", "7D", "30D"}
.
map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUsageWithinTimeRangeOrThrow(String key)
public UsageStats getUsageWithinTimeRangeOrThrow(String key)
Output only. BigQuery usage statistics over each of the predefined time
ranges.
Supported time ranges are {"24H", "7D", "30D"}
.
map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
key | String
|
hasFavoriteCount()
public boolean hasFavoriteCount()
Favorite count in the source system.
optional int64 favorite_count = 4;
Returns |
---|
Type | Description |
boolean | Whether the favoriteCount field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;
Returns |
---|
Type | Description |
boolean | Whether the updateTime field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UsageSignal.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UsageSignal.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public UsageSignal.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides