- 1.61.0 (latest)
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.5
- 1.8.4
- 1.7.2
- 1.6.2
- 1.5.4
public final class UsageSignal extends GeneratedMessageV3 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UsageSignalImplements
UsageSignalOrBuilderFields
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Type | Description |
int |
USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER
public static final int USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER
Type | Description |
int |
Methods
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;
Name | Description |
key | String |
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static UsageSignal getDefaultInstance()
Type | Description |
UsageSignal |
getDefaultInstanceForType()
public UsageSignal getDefaultInstanceForType()
Type | Description |
UsageSignal |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getParserForType()
public Parser<UsageSignal> getParserForType()
Type | Description |
Parser<UsageSignal> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUpdateTime()
public Timestamp getUpdateTime()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;
Type | Description |
TimestampOrBuilder |
getUsageWithinTimeRange()
public Map<String,UsageStats> getUsageWithinTimeRange()
Use #getUsageWithinTimeRangeMap() instead.
Type | Description |
Map<String,UsageStats> |
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;
Type | Description |
int |
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;
Type | Description |
Map<String,UsageStats> |
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;
Name | Description |
key | String |
defaultValue | UsageStats |
Type | Description |
UsageStats |
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;
Name | Description |
key | String |
Type | Description |
UsageStats |
hasUpdateTime()
public boolean hasUpdateTime()
The end timestamp of the duration of usage statistics.
.google.protobuf.Timestamp update_time = 1;
Type | Description |
boolean | Whether the updateTime field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static UsageSignal.Builder newBuilder()
Type | Description |
UsageSignal.Builder |
newBuilder(UsageSignal prototype)
public static UsageSignal.Builder newBuilder(UsageSignal prototype)
Name | Description |
prototype | UsageSignal |
Type | Description |
UsageSignal.Builder |
newBuilderForType()
public UsageSignal.Builder newBuilderForType()
Type | Description |
UsageSignal.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UsageSignal.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
UsageSignal.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static UsageSignal parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UsageSignal |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UsageSignal parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UsageSignal |
Type | Description |
IOException |
parseFrom(byte[] data)
public static UsageSignal parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
UsageSignal |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UsageSignal parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UsageSignal |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UsageSignal parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
UsageSignal |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UsageSignal parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UsageSignal |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UsageSignal parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
UsageSignal |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UsageSignal parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UsageSignal |
Type | Description |
IOException |
parseFrom(InputStream input)
public static UsageSignal parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UsageSignal |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UsageSignal parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UsageSignal |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UsageSignal parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
UsageSignal |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UsageSignal parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UsageSignal |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UsageSignal> parser()
Type | Description |
Parser<UsageSignal> |
toBuilder()
public UsageSignal.Builder toBuilder()
Type | Description |
UsageSignal.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |