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