public static final class UsageSignal.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder> 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| Modifier and Type | Method and Description |
|---|---|
UsageSignal.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UsageSignal |
build() |
UsageSignal |
buildPartial() |
UsageSignal.Builder |
clear() |
UsageSignal.Builder |
clearCommonUsageWithinTimeRange() |
UsageSignal.Builder |
clearFavoriteCount()
Favorite count in the source system.
|
UsageSignal.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UsageSignal.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UsageSignal.Builder |
clearUpdateTime()
The end timestamp of the duration of usage statistics.
|
UsageSignal.Builder |
clearUsageWithinTimeRange() |
UsageSignal.Builder |
clone() |
boolean |
containsCommonUsageWithinTimeRange(String key)
Common usage statistics over each of the predefined time ranges.
|
boolean |
containsUsageWithinTimeRange(String key)
Output only.
|
Map<String,CommonUsageStats> |
getCommonUsageWithinTimeRange()
Deprecated.
|
int |
getCommonUsageWithinTimeRangeCount()
Common usage statistics over each of the predefined time ranges.
|
Map<String,CommonUsageStats> |
getCommonUsageWithinTimeRangeMap()
Common usage statistics over each of the predefined time ranges.
|
CommonUsageStats |
getCommonUsageWithinTimeRangeOrDefault(String key,
CommonUsageStats defaultValue)
Common usage statistics over each of the predefined time ranges.
|
CommonUsageStats |
getCommonUsageWithinTimeRangeOrThrow(String key)
Common usage statistics over each of the predefined time ranges.
|
UsageSignal |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getFavoriteCount()
Favorite count in the source system.
|
Map<String,CommonUsageStats> |
getMutableCommonUsageWithinTimeRange()
Deprecated.
|
Map<String,UsageStats> |
getMutableUsageWithinTimeRange()
Deprecated.
|
com.google.protobuf.Timestamp |
getUpdateTime()
The end timestamp of the duration of usage statistics.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
The end timestamp of the duration of usage statistics.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
The end timestamp of the duration of usage statistics.
|
Map<String,UsageStats> |
getUsageWithinTimeRange()
Deprecated.
|
int |
getUsageWithinTimeRangeCount()
Output only.
|
Map<String,UsageStats> |
getUsageWithinTimeRangeMap()
Output only.
|
UsageStats |
getUsageWithinTimeRangeOrDefault(String key,
UsageStats defaultValue)
Output only.
|
UsageStats |
getUsageWithinTimeRangeOrThrow(String key)
Output only.
|
boolean |
hasFavoriteCount()
Favorite count in the source system.
|
boolean |
hasUpdateTime()
The end timestamp of the duration of usage statistics.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
UsageSignal.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UsageSignal.Builder |
mergeFrom(com.google.protobuf.Message other) |
UsageSignal.Builder |
mergeFrom(UsageSignal other) |
UsageSignal.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UsageSignal.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
The end timestamp of the duration of usage statistics.
|
UsageSignal.Builder |
putAllCommonUsageWithinTimeRange(Map<String,CommonUsageStats> values)
Common usage statistics over each of the predefined time ranges.
|
UsageSignal.Builder |
putAllUsageWithinTimeRange(Map<String,UsageStats> values)
Output only.
|
UsageSignal.Builder |
putCommonUsageWithinTimeRange(String key,
CommonUsageStats value)
Common usage statistics over each of the predefined time ranges.
|
UsageSignal.Builder |
putUsageWithinTimeRange(String key,
UsageStats value)
Output only.
|
UsageSignal.Builder |
removeCommonUsageWithinTimeRange(String key)
Common usage statistics over each of the predefined time ranges.
|
UsageSignal.Builder |
removeUsageWithinTimeRange(String key)
Output only.
|
UsageSignal.Builder |
setFavoriteCount(long value)
Favorite count in the source system.
|
UsageSignal.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UsageSignal.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UsageSignal.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UsageSignal.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The end timestamp of the duration of usage statistics.
|
UsageSignal.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
The end timestamp of the duration of usage statistics.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>public UsageSignal.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>public UsageSignal getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UsageSignal build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UsageSignal buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UsageSignal.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>public UsageSignal.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>public UsageSignal.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>public UsageSignal.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>public UsageSignal.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>public UsageSignal.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>public UsageSignal.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UsageSignal.Builder>public UsageSignal.Builder mergeFrom(UsageSignal other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>public UsageSignal.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UsageSignal.Builder>IOExceptionpublic boolean hasUpdateTime()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;hasUpdateTime in interface UsageSignalOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;getUpdateTime in interface UsageSignalOrBuilderpublic UsageSignal.Builder setUpdateTime(com.google.protobuf.Timestamp value)
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;public UsageSignal.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;public UsageSignal.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;public UsageSignal.Builder clearUpdateTime()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;getUpdateTimeOrBuilder in interface UsageSignalOrBuilderpublic int getUsageWithinTimeRangeCount()
UsageSignalOrBuilder
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];
getUsageWithinTimeRangeCount in interface UsageSignalOrBuilderpublic 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];
containsUsageWithinTimeRange in interface UsageSignalOrBuilder@Deprecated public Map<String,UsageStats> getUsageWithinTimeRange()
getUsageWithinTimeRangeMap() instead.getUsageWithinTimeRange in interface UsageSignalOrBuilderpublic 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];
getUsageWithinTimeRangeMap in interface UsageSignalOrBuilderpublic 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];
getUsageWithinTimeRangeOrDefault in interface UsageSignalOrBuilderpublic 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];
getUsageWithinTimeRangeOrThrow in interface UsageSignalOrBuilderpublic UsageSignal.Builder clearUsageWithinTimeRange()
public UsageSignal.Builder removeUsageWithinTimeRange(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];
@Deprecated public Map<String,UsageStats> getMutableUsageWithinTimeRange()
public UsageSignal.Builder putUsageWithinTimeRange(String key, UsageStats value)
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];
public UsageSignal.Builder putAllUsageWithinTimeRange(Map<String,UsageStats> values)
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];
public int getCommonUsageWithinTimeRangeCount()
UsageSignalOrBuilder
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;
getCommonUsageWithinTimeRangeCount in interface UsageSignalOrBuilderpublic 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;
containsCommonUsageWithinTimeRange in interface UsageSignalOrBuilder@Deprecated public Map<String,CommonUsageStats> getCommonUsageWithinTimeRange()
getCommonUsageWithinTimeRangeMap() instead.getCommonUsageWithinTimeRange in interface UsageSignalOrBuilderpublic 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;
getCommonUsageWithinTimeRangeMap in interface UsageSignalOrBuilderpublic 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;
getCommonUsageWithinTimeRangeOrDefault in interface UsageSignalOrBuilderpublic 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;
getCommonUsageWithinTimeRangeOrThrow in interface UsageSignalOrBuilderpublic UsageSignal.Builder clearCommonUsageWithinTimeRange()
public UsageSignal.Builder removeCommonUsageWithinTimeRange(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;
@Deprecated public Map<String,CommonUsageStats> getMutableCommonUsageWithinTimeRange()
public UsageSignal.Builder putCommonUsageWithinTimeRange(String key, CommonUsageStats value)
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;
public UsageSignal.Builder putAllCommonUsageWithinTimeRange(Map<String,CommonUsageStats> values)
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;
public boolean hasFavoriteCount()
Favorite count in the source system.
optional int64 favorite_count = 4;hasFavoriteCount in interface UsageSignalOrBuilderpublic long getFavoriteCount()
Favorite count in the source system.
optional int64 favorite_count = 4;getFavoriteCount in interface UsageSignalOrBuilderpublic UsageSignal.Builder setFavoriteCount(long value)
Favorite count in the source system.
optional int64 favorite_count = 4;value - The favoriteCount to set.public UsageSignal.Builder clearFavoriteCount()
Favorite count in the source system.
optional int64 favorite_count = 4;public final UsageSignal.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>public final UsageSignal.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>Copyright © 2023 Google LLC. All rights reserved.