public static final class UsageSignal.Builder extends 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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UsageSignal.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UsageSignal build()
Returns
buildPartial()
public UsageSignal buildPartial()
Returns
clear()
public UsageSignal.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UsageSignal.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UsageSignal.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateTime()
public UsageSignal.Builder clearUpdateTime()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;
Returns
clearUsageWithinTimeRange()
public UsageSignal.Builder clearUsageWithinTimeRange()
Returns
clone()
public UsageSignal.Builder clone()
Returns
Overrides
containsUsageWithinTimeRange(String key)
public 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;
Parameter
Returns
getDefaultInstanceForType()
public UsageSignal getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMutableUsageWithinTimeRange()
public Map<String,UsageStats> getMutableUsageWithinTimeRange()
Use alternate mutation accessors instead.
Returns
getUpdateTime()
public Timestamp getUpdateTime()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;
Returns
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;
Returns
getUsageWithinTimeRange()
public Map<String,UsageStats> getUsageWithinTimeRange()
Returns
getUsageWithinTimeRangeCount()
public int getUsageWithinTimeRangeCount()
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;
Returns
getUsageWithinTimeRangeMap()
public 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;
Returns
getUsageWithinTimeRangeOrDefault(String key, UsageStats defaultValue)
public 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;
Parameters
Returns
getUsageWithinTimeRangeOrThrow(String key)
public 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;
Parameter
Returns
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UsageSignal other)
public UsageSignal.Builder mergeFrom(UsageSignal other)
Parameter
Returns
public UsageSignal.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UsageSignal.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UsageSignal.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateTime(Timestamp value)
public UsageSignal.Builder mergeUpdateTime(Timestamp value)
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;
Parameter
Returns
putAllUsageWithinTimeRange(Map<String,UsageStats> values)
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;
Parameter
Returns
putUsageWithinTimeRange(String key, UsageStats value)
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;
Parameters
Returns
removeUsageWithinTimeRange(String key)
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UsageSignal.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UsageSignal.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UsageSignal.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateTime(Timestamp value)
public UsageSignal.Builder setUpdateTime(Timestamp value)
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;
Parameter
Returns
setUpdateTime(Timestamp.Builder builderForValue)
public UsageSignal.Builder setUpdateTime(Timestamp.Builder builderForValue)
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;
Parameter
Name | Description |
builderForValue | Builder
|
Returns