Package mdg.engine.proto
Class Reports.QueryLatencyStats.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Reports.QueryLatencyStats.Builder>
mdg.engine.proto.Reports.QueryLatencyStats.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Reports.QueryLatencyStatsOrBuilder
- Enclosing class:
- Reports.QueryLatencyStats
public static final class Reports.QueryLatencyStats.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Reports.QueryLatencyStats.Builder>
implements Reports.QueryLatencyStatsOrBuilder
Protobuf type
mdg.engine.proto.QueryLatencyStats-
Method Summary
Modifier and TypeMethodDescriptionaddAllCacheLatencyCount(Iterable<? extends Long> values) repeated int64 cache_latency_count = 6;addAllLatencyCount(Iterable<? extends Long> values) repeated int64 latency_count = 1;addAllPrivateCacheTtlCount(Iterable<? extends Long> values) repeated int64 private_cache_ttl_count = 10;addAllPublicCacheTtlCount(Iterable<? extends Long> values) repeated int64 public_cache_ttl_count = 9;addCacheLatencyCount(long value) repeated int64 cache_latency_count = 6;addLatencyCount(long value) repeated int64 latency_count = 1;addPrivateCacheTtlCount(long value) repeated int64 private_cache_ttl_count = 10;addPublicCacheTtlCount(long value) repeated int64 public_cache_ttl_count = 9;build()clear()uint64 cache_hits = 3;repeated int64 cache_latency_count = 6;uint64 forbidden_operation_count = 12;repeated int64 latency_count = 1;uint64 persisted_query_hits = 4;uint64 persisted_query_misses = 5;repeated int64 private_cache_ttl_count = 10;repeated int64 public_cache_ttl_count = 9;uint64 registered_operation_count = 11;uint64 request_count = 2;uint64 requests_with_errors_count = 8;.mdg.engine.proto.PathErrorStats root_error_stats = 7;longuint64 cache_hits = 3;longgetCacheLatencyCount(int index) repeated int64 cache_latency_count = 6;intrepeated int64 cache_latency_count = 6;repeated int64 cache_latency_count = 6;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlonguint64 forbidden_operation_count = 12;longgetLatencyCount(int index) repeated int64 latency_count = 1;intrepeated int64 latency_count = 1;repeated int64 latency_count = 1;longuint64 persisted_query_hits = 4;longuint64 persisted_query_misses = 5;longgetPrivateCacheTtlCount(int index) repeated int64 private_cache_ttl_count = 10;intrepeated int64 private_cache_ttl_count = 10;repeated int64 private_cache_ttl_count = 10;longgetPublicCacheTtlCount(int index) repeated int64 public_cache_ttl_count = 9;intrepeated int64 public_cache_ttl_count = 9;repeated int64 public_cache_ttl_count = 9;longuint64 registered_operation_count = 11;longuint64 request_count = 2;longuint64 requests_with_errors_count = 8;.mdg.engine.proto.PathErrorStats root_error_stats = 7;.mdg.engine.proto.PathErrorStats root_error_stats = 7;.mdg.engine.proto.PathErrorStats root_error_stats = 7;boolean.mdg.engine.proto.PathErrorStats root_error_stats = 7;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) .mdg.engine.proto.PathErrorStats root_error_stats = 7;setCacheHits(long value) uint64 cache_hits = 3;setCacheLatencyCount(int index, long value) repeated int64 cache_latency_count = 6;setForbiddenOperationCount(long value) uint64 forbidden_operation_count = 12;setLatencyCount(int index, long value) repeated int64 latency_count = 1;setPersistedQueryHits(long value) uint64 persisted_query_hits = 4;setPersistedQueryMisses(long value) uint64 persisted_query_misses = 5;setPrivateCacheTtlCount(int index, long value) repeated int64 private_cache_ttl_count = 10;setPublicCacheTtlCount(int index, long value) repeated int64 public_cache_ttl_count = 9;setRegisteredOperationCount(long value) uint64 registered_operation_count = 11;setRequestCount(long value) uint64 request_count = 2;setRequestsWithErrorsCount(long value) uint64 requests_with_errors_count = 8;.mdg.engine.proto.PathErrorStats root_error_stats = 7;setRootErrorStats(Reports.PathErrorStats.Builder builderForValue) .mdg.engine.proto.PathErrorStats root_error_stats = 7;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<Reports.QueryLatencyStats.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<Reports.QueryLatencyStats.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<Reports.QueryLatencyStats.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<Reports.QueryLatencyStats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Reports.QueryLatencyStats.Builder>
-
mergeFrom
public Reports.QueryLatencyStats.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<Reports.QueryLatencyStats.Builder>- Throws:
IOException
-
getLatencyCountList
repeated int64 latency_count = 1;- Specified by:
getLatencyCountListin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- A list containing the latencyCount.
-
getLatencyCountCount
public int getLatencyCountCount()repeated int64 latency_count = 1;- Specified by:
getLatencyCountCountin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- The count of latencyCount.
-
getLatencyCount
public long getLatencyCount(int index) repeated int64 latency_count = 1;- Specified by:
getLatencyCountin interfaceReports.QueryLatencyStatsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The latencyCount at the given index.
-
setLatencyCount
repeated int64 latency_count = 1;- Parameters:
index- The index to set the value at.value- The latencyCount to set.- Returns:
- This builder for chaining.
-
addLatencyCount
repeated int64 latency_count = 1;- Parameters:
value- The latencyCount to add.- Returns:
- This builder for chaining.
-
addAllLatencyCount
repeated int64 latency_count = 1;- Parameters:
values- The latencyCount to add.- Returns:
- This builder for chaining.
-
clearLatencyCount
repeated int64 latency_count = 1;- Returns:
- This builder for chaining.
-
getRequestCount
public long getRequestCount()uint64 request_count = 2;- Specified by:
getRequestCountin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- The requestCount.
-
setRequestCount
uint64 request_count = 2;- Parameters:
value- The requestCount to set.- Returns:
- This builder for chaining.
-
clearRequestCount
uint64 request_count = 2;- Returns:
- This builder for chaining.
-
getCacheHits
public long getCacheHits()uint64 cache_hits = 3;- Specified by:
getCacheHitsin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- The cacheHits.
-
setCacheHits
uint64 cache_hits = 3;- Parameters:
value- The cacheHits to set.- Returns:
- This builder for chaining.
-
clearCacheHits
uint64 cache_hits = 3;- Returns:
- This builder for chaining.
-
getPersistedQueryHits
public long getPersistedQueryHits()uint64 persisted_query_hits = 4;- Specified by:
getPersistedQueryHitsin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- The persistedQueryHits.
-
setPersistedQueryHits
uint64 persisted_query_hits = 4;- Parameters:
value- The persistedQueryHits to set.- Returns:
- This builder for chaining.
-
clearPersistedQueryHits
uint64 persisted_query_hits = 4;- Returns:
- This builder for chaining.
-
getPersistedQueryMisses
public long getPersistedQueryMisses()uint64 persisted_query_misses = 5;- Specified by:
getPersistedQueryMissesin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- The persistedQueryMisses.
-
setPersistedQueryMisses
uint64 persisted_query_misses = 5;- Parameters:
value- The persistedQueryMisses to set.- Returns:
- This builder for chaining.
-
clearPersistedQueryMisses
uint64 persisted_query_misses = 5;- Returns:
- This builder for chaining.
-
getCacheLatencyCountList
repeated int64 cache_latency_count = 6;- Specified by:
getCacheLatencyCountListin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- A list containing the cacheLatencyCount.
-
getCacheLatencyCountCount
public int getCacheLatencyCountCount()repeated int64 cache_latency_count = 6;- Specified by:
getCacheLatencyCountCountin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- The count of cacheLatencyCount.
-
getCacheLatencyCount
public long getCacheLatencyCount(int index) repeated int64 cache_latency_count = 6;- Specified by:
getCacheLatencyCountin interfaceReports.QueryLatencyStatsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The cacheLatencyCount at the given index.
-
setCacheLatencyCount
repeated int64 cache_latency_count = 6;- Parameters:
index- The index to set the value at.value- The cacheLatencyCount to set.- Returns:
- This builder for chaining.
-
addCacheLatencyCount
repeated int64 cache_latency_count = 6;- Parameters:
value- The cacheLatencyCount to add.- Returns:
- This builder for chaining.
-
addAllCacheLatencyCount
repeated int64 cache_latency_count = 6;- Parameters:
values- The cacheLatencyCount to add.- Returns:
- This builder for chaining.
-
clearCacheLatencyCount
repeated int64 cache_latency_count = 6;- Returns:
- This builder for chaining.
-
hasRootErrorStats
public boolean hasRootErrorStats().mdg.engine.proto.PathErrorStats root_error_stats = 7;- Specified by:
hasRootErrorStatsin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- Whether the rootErrorStats field is set.
-
getRootErrorStats
.mdg.engine.proto.PathErrorStats root_error_stats = 7;- Specified by:
getRootErrorStatsin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- The rootErrorStats.
-
setRootErrorStats
.mdg.engine.proto.PathErrorStats root_error_stats = 7; -
setRootErrorStats
public Reports.QueryLatencyStats.Builder setRootErrorStats(Reports.PathErrorStats.Builder builderForValue) .mdg.engine.proto.PathErrorStats root_error_stats = 7; -
mergeRootErrorStats
.mdg.engine.proto.PathErrorStats root_error_stats = 7; -
clearRootErrorStats
.mdg.engine.proto.PathErrorStats root_error_stats = 7; -
getRootErrorStatsBuilder
.mdg.engine.proto.PathErrorStats root_error_stats = 7; -
getRootErrorStatsOrBuilder
.mdg.engine.proto.PathErrorStats root_error_stats = 7;- Specified by:
getRootErrorStatsOrBuilderin interfaceReports.QueryLatencyStatsOrBuilder
-
getRequestsWithErrorsCount
public long getRequestsWithErrorsCount()uint64 requests_with_errors_count = 8;- Specified by:
getRequestsWithErrorsCountin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- The requestsWithErrorsCount.
-
setRequestsWithErrorsCount
uint64 requests_with_errors_count = 8;- Parameters:
value- The requestsWithErrorsCount to set.- Returns:
- This builder for chaining.
-
clearRequestsWithErrorsCount
uint64 requests_with_errors_count = 8;- Returns:
- This builder for chaining.
-
getPublicCacheTtlCountList
repeated int64 public_cache_ttl_count = 9;- Specified by:
getPublicCacheTtlCountListin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- A list containing the publicCacheTtlCount.
-
getPublicCacheTtlCountCount
public int getPublicCacheTtlCountCount()repeated int64 public_cache_ttl_count = 9;- Specified by:
getPublicCacheTtlCountCountin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- The count of publicCacheTtlCount.
-
getPublicCacheTtlCount
public long getPublicCacheTtlCount(int index) repeated int64 public_cache_ttl_count = 9;- Specified by:
getPublicCacheTtlCountin interfaceReports.QueryLatencyStatsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The publicCacheTtlCount at the given index.
-
setPublicCacheTtlCount
repeated int64 public_cache_ttl_count = 9;- Parameters:
index- The index to set the value at.value- The publicCacheTtlCount to set.- Returns:
- This builder for chaining.
-
addPublicCacheTtlCount
repeated int64 public_cache_ttl_count = 9;- Parameters:
value- The publicCacheTtlCount to add.- Returns:
- This builder for chaining.
-
addAllPublicCacheTtlCount
repeated int64 public_cache_ttl_count = 9;- Parameters:
values- The publicCacheTtlCount to add.- Returns:
- This builder for chaining.
-
clearPublicCacheTtlCount
repeated int64 public_cache_ttl_count = 9;- Returns:
- This builder for chaining.
-
getPrivateCacheTtlCountList
repeated int64 private_cache_ttl_count = 10;- Specified by:
getPrivateCacheTtlCountListin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- A list containing the privateCacheTtlCount.
-
getPrivateCacheTtlCountCount
public int getPrivateCacheTtlCountCount()repeated int64 private_cache_ttl_count = 10;- Specified by:
getPrivateCacheTtlCountCountin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- The count of privateCacheTtlCount.
-
getPrivateCacheTtlCount
public long getPrivateCacheTtlCount(int index) repeated int64 private_cache_ttl_count = 10;- Specified by:
getPrivateCacheTtlCountin interfaceReports.QueryLatencyStatsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The privateCacheTtlCount at the given index.
-
setPrivateCacheTtlCount
repeated int64 private_cache_ttl_count = 10;- Parameters:
index- The index to set the value at.value- The privateCacheTtlCount to set.- Returns:
- This builder for chaining.
-
addPrivateCacheTtlCount
repeated int64 private_cache_ttl_count = 10;- Parameters:
value- The privateCacheTtlCount to add.- Returns:
- This builder for chaining.
-
addAllPrivateCacheTtlCount
public Reports.QueryLatencyStats.Builder addAllPrivateCacheTtlCount(Iterable<? extends Long> values) repeated int64 private_cache_ttl_count = 10;- Parameters:
values- The privateCacheTtlCount to add.- Returns:
- This builder for chaining.
-
clearPrivateCacheTtlCount
repeated int64 private_cache_ttl_count = 10;- Returns:
- This builder for chaining.
-
getRegisteredOperationCount
public long getRegisteredOperationCount()uint64 registered_operation_count = 11;- Specified by:
getRegisteredOperationCountin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- The registeredOperationCount.
-
setRegisteredOperationCount
uint64 registered_operation_count = 11;- Parameters:
value- The registeredOperationCount to set.- Returns:
- This builder for chaining.
-
clearRegisteredOperationCount
uint64 registered_operation_count = 11;- Returns:
- This builder for chaining.
-
getForbiddenOperationCount
public long getForbiddenOperationCount()uint64 forbidden_operation_count = 12;- Specified by:
getForbiddenOperationCountin interfaceReports.QueryLatencyStatsOrBuilder- Returns:
- The forbiddenOperationCount.
-
setForbiddenOperationCount
uint64 forbidden_operation_count = 12;- Parameters:
value- The forbiddenOperationCount to set.- Returns:
- This builder for chaining.
-
clearForbiddenOperationCount
uint64 forbidden_operation_count = 12;- Returns:
- This builder for chaining.
-