public static final class UsageStats.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UsageStats.Builder> implements UsageStatsOrBuilder
Detailed counts on the entry's usage. Caveats: - Only BigQuery tables have usage stats - The usage stats only include BigQuery query jobs - The usage stats might be underestimated, e.g. wildcard table references are not yet counted in usage computation https://cloud.google.com/bigquery/docs/querying-wildcard-tablesProtobuf type
google.cloud.datacatalog.v1beta1.UsageStats| Modifier and Type | Method and Description |
|---|---|
UsageStats.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UsageStats |
build() |
UsageStats |
buildPartial() |
UsageStats.Builder |
clear() |
UsageStats.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UsageStats.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UsageStats.Builder |
clearTotalCancellations()
The number of times that the underlying entry was attempted to be used
but was cancelled by the user.
|
UsageStats.Builder |
clearTotalCompletions()
The number of times that the underlying entry was successfully used.
|
UsageStats.Builder |
clearTotalExecutionTimeForCompletionsMillis()
Total time spent (in milliseconds) during uses the resulted in completions.
|
UsageStats.Builder |
clearTotalFailures()
The number of times that the underlying entry was attempted to be used
but failed.
|
UsageStats.Builder |
clone() |
UsageStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
float |
getTotalCancellations()
The number of times that the underlying entry was attempted to be used
but was cancelled by the user.
|
float |
getTotalCompletions()
The number of times that the underlying entry was successfully used.
|
float |
getTotalExecutionTimeForCompletionsMillis()
Total time spent (in milliseconds) during uses the resulted in completions.
|
float |
getTotalFailures()
The number of times that the underlying entry was attempted to be used
but failed.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UsageStats.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UsageStats.Builder |
mergeFrom(com.google.protobuf.Message other) |
UsageStats.Builder |
mergeFrom(UsageStats other) |
UsageStats.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UsageStats.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UsageStats.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UsageStats.Builder |
setTotalCancellations(float value)
The number of times that the underlying entry was attempted to be used
but was cancelled by the user.
|
UsageStats.Builder |
setTotalCompletions(float value)
The number of times that the underlying entry was successfully used.
|
UsageStats.Builder |
setTotalExecutionTimeForCompletionsMillis(float value)
Total time spent (in milliseconds) during uses the resulted in completions.
|
UsageStats.Builder |
setTotalFailures(float value)
The number of times that the underlying entry was attempted to be used
but failed.
|
UsageStats.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UsageStats.Builder>public UsageStats.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UsageStats.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<UsageStats.Builder>public UsageStats getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UsageStats build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UsageStats buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UsageStats.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UsageStats.Builder>public UsageStats.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<UsageStats.Builder>public UsageStats.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UsageStats.Builder>public UsageStats.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UsageStats.Builder>public UsageStats.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<UsageStats.Builder>public UsageStats.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<UsageStats.Builder>public UsageStats.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UsageStats.Builder>public UsageStats.Builder mergeFrom(UsageStats other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UsageStats.Builder>public UsageStats.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<UsageStats.Builder>IOExceptionpublic float getTotalCompletions()
The number of times that the underlying entry was successfully used.
float total_completions = 1;getTotalCompletions in interface UsageStatsOrBuilderpublic UsageStats.Builder setTotalCompletions(float value)
The number of times that the underlying entry was successfully used.
float total_completions = 1;value - The totalCompletions to set.public UsageStats.Builder clearTotalCompletions()
The number of times that the underlying entry was successfully used.
float total_completions = 1;public float getTotalFailures()
The number of times that the underlying entry was attempted to be used but failed.
float total_failures = 2;getTotalFailures in interface UsageStatsOrBuilderpublic UsageStats.Builder setTotalFailures(float value)
The number of times that the underlying entry was attempted to be used but failed.
float total_failures = 2;value - The totalFailures to set.public UsageStats.Builder clearTotalFailures()
The number of times that the underlying entry was attempted to be used but failed.
float total_failures = 2;public float getTotalCancellations()
The number of times that the underlying entry was attempted to be used but was cancelled by the user.
float total_cancellations = 3;getTotalCancellations in interface UsageStatsOrBuilderpublic UsageStats.Builder setTotalCancellations(float value)
The number of times that the underlying entry was attempted to be used but was cancelled by the user.
float total_cancellations = 3;value - The totalCancellations to set.public UsageStats.Builder clearTotalCancellations()
The number of times that the underlying entry was attempted to be used but was cancelled by the user.
float total_cancellations = 3;public float getTotalExecutionTimeForCompletionsMillis()
Total time spent (in milliseconds) during uses the resulted in completions.
float total_execution_time_for_completions_millis = 4;getTotalExecutionTimeForCompletionsMillis in interface UsageStatsOrBuilderpublic UsageStats.Builder setTotalExecutionTimeForCompletionsMillis(float value)
Total time spent (in milliseconds) during uses the resulted in completions.
float total_execution_time_for_completions_millis = 4;value - The totalExecutionTimeForCompletionsMillis to set.public UsageStats.Builder clearTotalExecutionTimeForCompletionsMillis()
Total time spent (in milliseconds) during uses the resulted in completions.
float total_execution_time_for_completions_millis = 4;public final UsageStats.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UsageStats.Builder>public final UsageStats.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UsageStats.Builder>Copyright © 2025 Google LLC. All rights reserved.