public static final class UsageStats.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UsageStats.Builder> implements UsageStatsOrBuilder
Detailed statistics on the entry's usage. Usage statistics have the following limitations: - Only BigQuery tables have them. - They only include BigQuery query jobs. - They might be underestimated because wildcard table references are not yet counted. For more information, see [Querying multiple tables using a wildcard table] (https://cloud.google.com/bigquery/docs/querying-wildcard-tables)Protobuf type
google.cloud.datacatalog.v1.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 cancelled attempts to use the underlying entry.
|
UsageStats.Builder |
clearTotalCompletions()
The number of successful uses of the underlying entry.
|
UsageStats.Builder |
clearTotalExecutionTimeForCompletionsMillis()
Total time spent only on successful uses, in milliseconds.
|
UsageStats.Builder |
clearTotalFailures()
The number of failed attempts to use the underlying entry.
|
UsageStats.Builder |
clone() |
UsageStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
float |
getTotalCancellations()
The number of cancelled attempts to use the underlying entry.
|
float |
getTotalCompletions()
The number of successful uses of the underlying entry.
|
float |
getTotalExecutionTimeForCompletionsMillis()
Total time spent only on successful uses, in milliseconds.
|
float |
getTotalFailures()
The number of failed attempts to use the underlying entry.
|
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 cancelled attempts to use the underlying entry.
|
UsageStats.Builder |
setTotalCompletions(float value)
The number of successful uses of the underlying entry.
|
UsageStats.Builder |
setTotalExecutionTimeForCompletionsMillis(float value)
Total time spent only on successful uses, in milliseconds.
|
UsageStats.Builder |
setTotalFailures(float value)
The number of failed attempts to use the underlying entry.
|
UsageStats.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic 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 successful uses of the underlying entry.
float total_completions = 1;getTotalCompletions in interface UsageStatsOrBuilderpublic UsageStats.Builder setTotalCompletions(float value)
The number of successful uses of the underlying entry.
float total_completions = 1;value - The totalCompletions to set.public UsageStats.Builder clearTotalCompletions()
The number of successful uses of the underlying entry.
float total_completions = 1;public float getTotalFailures()
The number of failed attempts to use the underlying entry.
float total_failures = 2;getTotalFailures in interface UsageStatsOrBuilderpublic UsageStats.Builder setTotalFailures(float value)
The number of failed attempts to use the underlying entry.
float total_failures = 2;value - The totalFailures to set.public UsageStats.Builder clearTotalFailures()
The number of failed attempts to use the underlying entry.
float total_failures = 2;public float getTotalCancellations()
The number of cancelled attempts to use the underlying entry.
float total_cancellations = 3;getTotalCancellations in interface UsageStatsOrBuilderpublic UsageStats.Builder setTotalCancellations(float value)
The number of cancelled attempts to use the underlying entry.
float total_cancellations = 3;value - The totalCancellations to set.public UsageStats.Builder clearTotalCancellations()
The number of cancelled attempts to use the underlying entry.
float total_cancellations = 3;public float getTotalExecutionTimeForCompletionsMillis()
Total time spent only on successful uses, in milliseconds.
float total_execution_time_for_completions_millis = 4;getTotalExecutionTimeForCompletionsMillis in interface UsageStatsOrBuilderpublic UsageStats.Builder setTotalExecutionTimeForCompletionsMillis(float value)
Total time spent only on successful uses, in milliseconds.
float total_execution_time_for_completions_millis = 4;value - The totalExecutionTimeForCompletionsMillis to set.public UsageStats.Builder clearTotalExecutionTimeForCompletionsMillis()
Total time spent only on successful uses, in milliseconds.
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 © 2023 Google LLC. All rights reserved.