public static final class UsageSignal.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder> implements UsageSignalOrBuilder
The set of all usage signals that we store in Data Catalog.Protobuf type
google.cloud.datacatalog.v1beta1.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 timestamp of the end of the usage statistics duration.
|
UsageSignal.Builder |
clearUsageWithinTimeRange() |
UsageSignal.Builder |
clone() |
boolean |
containsUsageWithinTimeRange(String key)
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
|
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 timestamp of the end of the usage statistics duration.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
The timestamp of the end of the usage statistics duration.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
The timestamp of the end of the usage statistics duration.
|
Map<String,UsageStats> |
getUsageWithinTimeRange()
Deprecated.
|
int |
getUsageWithinTimeRangeCount()
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
|
Map<String,UsageStats> |
getUsageWithinTimeRangeMap()
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
|
UsageStats |
getUsageWithinTimeRangeOrDefault(String key,
UsageStats defaultValue)
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
|
UsageStats |
getUsageWithinTimeRangeOrThrow(String key)
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
|
boolean |
hasUpdateTime()
The timestamp of the end of the usage statistics duration.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(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 timestamp of the end of the usage statistics duration.
|
UsageSignal.Builder |
putAllUsageWithinTimeRange(Map<String,UsageStats> values)
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
|
UsageSignal.Builder |
putUsageWithinTimeRange(String key,
UsageStats value)
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
|
UsageStats.Builder |
putUsageWithinTimeRangeBuilderIfAbsent(String key)
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
|
UsageSignal.Builder |
removeUsageWithinTimeRange(String key)
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
|
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 timestamp of the end of the usage statistics duration.
|
UsageSignal.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
The timestamp of the end of the usage statistics duration.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<UsageSignal.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection 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 timestamp of the end of the usage statistics duration.
.google.protobuf.Timestamp update_time = 1;hasUpdateTime in interface UsageSignalOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
The timestamp of the end of the usage statistics duration.
.google.protobuf.Timestamp update_time = 1;getUpdateTime in interface UsageSignalOrBuilderpublic UsageSignal.Builder setUpdateTime(com.google.protobuf.Timestamp value)
The timestamp of the end of the usage statistics duration.
.google.protobuf.Timestamp update_time = 1;public UsageSignal.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp of the end of the usage statistics duration.
.google.protobuf.Timestamp update_time = 1;public UsageSignal.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
The timestamp of the end of the usage statistics duration.
.google.protobuf.Timestamp update_time = 1;public UsageSignal.Builder clearUpdateTime()
The timestamp of the end of the usage statistics duration.
.google.protobuf.Timestamp update_time = 1;public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
The timestamp of the end of the usage statistics duration.
.google.protobuf.Timestamp update_time = 1;public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The timestamp of the end of the usage statistics duration.
.google.protobuf.Timestamp update_time = 1;getUpdateTimeOrBuilder in interface UsageSignalOrBuilderpublic int getUsageWithinTimeRangeCount()
UsageSignalOrBuilder
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2;
getUsageWithinTimeRangeCount in interface UsageSignalOrBuilderpublic boolean containsUsageWithinTimeRange(String key)
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
map<string, .google.cloud.datacatalog.v1beta1.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 pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2;
getUsageWithinTimeRangeMap in interface UsageSignalOrBuilderpublic UsageStats getUsageWithinTimeRangeOrDefault(String key, UsageStats defaultValue)
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2;
getUsageWithinTimeRangeOrDefault in interface UsageSignalOrBuilderpublic UsageStats getUsageWithinTimeRangeOrThrow(String key)
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
map<string, .google.cloud.datacatalog.v1beta1.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 pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
map<string, .google.cloud.datacatalog.v1beta1.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 pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2;
public UsageSignal.Builder putAllUsageWithinTimeRange(Map<String,UsageStats> values)
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2;
public UsageStats.Builder putUsageWithinTimeRangeBuilderIfAbsent(String key)
Usage statistics over each of the pre-defined time ranges, supported
strings for time ranges are {"24H", "7D", "30D"}.
map<string, .google.cloud.datacatalog.v1beta1.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 © 2025 Google LLC. All rights reserved.