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 |
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 |
containsUsageWithinTimeRange(String key)
Usage statistics over each of the predefined time ranges.
|
UsageSignal |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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()
Usage statistics over each of the predefined time ranges.
|
Map<String,UsageStats> |
getUsageWithinTimeRangeMap()
Usage statistics over each of the predefined time ranges.
|
UsageStats |
getUsageWithinTimeRangeOrDefault(String key,
UsageStats defaultValue)
Usage statistics over each of the predefined time ranges.
|
UsageStats |
getUsageWithinTimeRangeOrThrow(String key)
Usage statistics over each of the predefined time ranges.
|
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 |
putAllUsageWithinTimeRange(Map<String,UsageStats> values)
Usage statistics over each of the predefined time ranges.
|
UsageSignal.Builder |
putUsageWithinTimeRange(String key,
UsageStats value)
Usage statistics over each of the predefined time ranges.
|
UsageSignal.Builder |
removeUsageWithinTimeRange(String key)
Usage statistics over each of the predefined time ranges.
|
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, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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
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;
getUsageWithinTimeRangeCount in interface UsageSignalOrBuilderpublic boolean containsUsageWithinTimeRange(String key)
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;
containsUsageWithinTimeRange in interface UsageSignalOrBuilder@Deprecated public Map<String,UsageStats> getUsageWithinTimeRange()
getUsageWithinTimeRangeMap() instead.getUsageWithinTimeRange in interface UsageSignalOrBuilderpublic Map<String,UsageStats> getUsageWithinTimeRangeMap()
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;
getUsageWithinTimeRangeMap in interface UsageSignalOrBuilderpublic UsageStats getUsageWithinTimeRangeOrDefault(String key, UsageStats defaultValue)
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;
getUsageWithinTimeRangeOrDefault in interface UsageSignalOrBuilderpublic UsageStats getUsageWithinTimeRangeOrThrow(String key)
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;
getUsageWithinTimeRangeOrThrow in interface UsageSignalOrBuilderpublic UsageSignal.Builder clearUsageWithinTimeRange()
public UsageSignal.Builder removeUsageWithinTimeRange(String key)
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;
@Deprecated public Map<String,UsageStats> getMutableUsageWithinTimeRange()
public UsageSignal.Builder putUsageWithinTimeRange(String key, UsageStats value)
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;
public UsageSignal.Builder putAllUsageWithinTimeRange(Map<String,UsageStats> values)
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;
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 © 2022 Google LLC. All rights reserved.