Package com.google.cloud.datacatalog.v1
Class UsageStats.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UsageStats.Builder>
com.google.cloud.datacatalog.v1.UsageStats.Builder
- All Implemented Interfaces:
UsageStatsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UsageStats
public static final class UsageStats.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The number of cancelled attempts to use the underlying entry.The number of successful uses of the underlying entry.Total time spent only on successful uses, in milliseconds.The number of failed attempts to use the underlying entry.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorfloatThe number of cancelled attempts to use the underlying entry.floatThe number of successful uses of the underlying entry.floatTotal time spent only on successful uses, in milliseconds.floatThe number of failed attempts to use the underlying entry.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(UsageStats other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setTotalCancellations(float value) The number of cancelled attempts to use the underlying entry.setTotalCompletions(float value) The number of successful uses of the underlying entry.setTotalExecutionTimeForCompletionsMillis(float value) Total time spent only on successful uses, in milliseconds.setTotalFailures(float value) The number of failed attempts to use the underlying entry.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UsageStats.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UsageStats.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UsageStats.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UsageStats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UsageStats.Builder>
-
mergeFrom
public UsageStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UsageStats.Builder>- Throws:
IOException
-
getTotalCompletions
public float getTotalCompletions()The number of successful uses of the underlying entry.
float total_completions = 1;- Specified by:
getTotalCompletionsin interfaceUsageStatsOrBuilder- Returns:
- The totalCompletions.
-
setTotalCompletions
The number of successful uses of the underlying entry.
float total_completions = 1;- Parameters:
value- The totalCompletions to set.- Returns:
- This builder for chaining.
-
clearTotalCompletions
The number of successful uses of the underlying entry.
float total_completions = 1;- Returns:
- This builder for chaining.
-
getTotalFailures
public float getTotalFailures()The number of failed attempts to use the underlying entry.
float total_failures = 2;- Specified by:
getTotalFailuresin interfaceUsageStatsOrBuilder- Returns:
- The totalFailures.
-
setTotalFailures
The number of failed attempts to use the underlying entry.
float total_failures = 2;- Parameters:
value- The totalFailures to set.- Returns:
- This builder for chaining.
-
clearTotalFailures
The number of failed attempts to use the underlying entry.
float total_failures = 2;- Returns:
- This builder for chaining.
-
getTotalCancellations
public float getTotalCancellations()The number of cancelled attempts to use the underlying entry.
float total_cancellations = 3;- Specified by:
getTotalCancellationsin interfaceUsageStatsOrBuilder- Returns:
- The totalCancellations.
-
setTotalCancellations
The number of cancelled attempts to use the underlying entry.
float total_cancellations = 3;- Parameters:
value- The totalCancellations to set.- Returns:
- This builder for chaining.
-
clearTotalCancellations
The number of cancelled attempts to use the underlying entry.
float total_cancellations = 3;- Returns:
- This builder for chaining.
-
getTotalExecutionTimeForCompletionsMillis
public float getTotalExecutionTimeForCompletionsMillis()Total time spent only on successful uses, in milliseconds.
float total_execution_time_for_completions_millis = 4;- Specified by:
getTotalExecutionTimeForCompletionsMillisin interfaceUsageStatsOrBuilder- Returns:
- The totalExecutionTimeForCompletionsMillis.
-
setTotalExecutionTimeForCompletionsMillis
Total time spent only on successful uses, in milliseconds.
float total_execution_time_for_completions_millis = 4;- Parameters:
value- The totalExecutionTimeForCompletionsMillis to set.- Returns:
- This builder for chaining.
-
clearTotalExecutionTimeForCompletionsMillis
Total time spent only on successful uses, in milliseconds.
float total_execution_time_for_completions_millis = 4;- Returns:
- This builder for chaining.
-