public static final class QueueStats.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QueueStats.Builder> implements QueueStatsOrBuilder
Statistics for a queue.Protobuf type
google.cloud.tasks.v2beta2.QueueStats| Modifier and Type | Method and Description |
|---|---|
QueueStats.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QueueStats |
build() |
QueueStats |
buildPartial() |
QueueStats.Builder |
clear() |
QueueStats.Builder |
clearConcurrentDispatchesCount()
Output only.
|
QueueStats.Builder |
clearEffectiveExecutionRate()
Output only.
|
QueueStats.Builder |
clearExecutedLastMinuteCount()
Output only.
|
QueueStats.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
QueueStats.Builder |
clearOldestEstimatedArrivalTime()
Output only.
|
QueueStats.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
QueueStats.Builder |
clearTasksCount()
Output only.
|
QueueStats.Builder |
clone() |
long |
getConcurrentDispatchesCount()
Output only.
|
QueueStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getEffectiveExecutionRate()
Output only.
|
long |
getExecutedLastMinuteCount()
Output only.
|
com.google.protobuf.Timestamp |
getOldestEstimatedArrivalTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getOldestEstimatedArrivalTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getOldestEstimatedArrivalTimeOrBuilder()
Output only.
|
long |
getTasksCount()
Output only.
|
boolean |
hasOldestEstimatedArrivalTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
QueueStats.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QueueStats.Builder |
mergeFrom(com.google.protobuf.Message other) |
QueueStats.Builder |
mergeFrom(QueueStats other) |
QueueStats.Builder |
mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value)
Output only.
|
QueueStats.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
QueueStats.Builder |
setConcurrentDispatchesCount(long value)
Output only.
|
QueueStats.Builder |
setEffectiveExecutionRate(double value)
Output only.
|
QueueStats.Builder |
setExecutedLastMinuteCount(long value)
Output only.
|
QueueStats.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QueueStats.Builder |
setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
QueueStats.Builder |
setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value)
Output only.
|
QueueStats.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
QueueStats.Builder |
setTasksCount(long value)
Output only.
|
QueueStats.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<QueueStats.Builder>public QueueStats.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<QueueStats.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<QueueStats.Builder>public QueueStats getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic QueueStats build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic QueueStats buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic QueueStats.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<QueueStats.Builder>public QueueStats.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<QueueStats.Builder>public QueueStats.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<QueueStats.Builder>public QueueStats.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<QueueStats.Builder>public QueueStats.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<QueueStats.Builder>public QueueStats.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<QueueStats.Builder>public QueueStats.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QueueStats.Builder>public QueueStats.Builder mergeFrom(QueueStats other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<QueueStats.Builder>public QueueStats.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<QueueStats.Builder>IOExceptionpublic long getTasksCount()
Output only. An estimation of the number of tasks in the queue, that is, the tasks in the queue that haven't been executed, the tasks in the queue which the queue has dispatched but has not yet received a reply for, and the failed tasks that the queue is retrying.
int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getTasksCount in interface QueueStatsOrBuilderpublic QueueStats.Builder setTasksCount(long value)
Output only. An estimation of the number of tasks in the queue, that is, the tasks in the queue that haven't been executed, the tasks in the queue which the queue has dispatched but has not yet received a reply for, and the failed tasks that the queue is retrying.
int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The tasksCount to set.public QueueStats.Builder clearTasksCount()
Output only. An estimation of the number of tasks in the queue, that is, the tasks in the queue that haven't been executed, the tasks in the queue which the queue has dispatched but has not yet received a reply for, and the failed tasks that the queue is retrying.
int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public boolean hasOldestEstimatedArrivalTime()
Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.
.google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasOldestEstimatedArrivalTime in interface QueueStatsOrBuilderpublic com.google.protobuf.Timestamp getOldestEstimatedArrivalTime()
Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.
.google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOldestEstimatedArrivalTime in interface QueueStatsOrBuilderpublic QueueStats.Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value)
Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.
.google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QueueStats.Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.
.google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QueueStats.Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value)
Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.
.google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QueueStats.Builder clearOldestEstimatedArrivalTime()
Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.
.google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getOldestEstimatedArrivalTimeBuilder()
Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.
.google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder()
Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.
.google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOldestEstimatedArrivalTimeOrBuilder in interface QueueStatsOrBuilderpublic long getExecutedLastMinuteCount()
Output only. The number of tasks that the queue has dispatched and received a reply for during the last minute. This variable counts both successful and non-successful executions.
int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExecutedLastMinuteCount in interface QueueStatsOrBuilderpublic QueueStats.Builder setExecutedLastMinuteCount(long value)
Output only. The number of tasks that the queue has dispatched and received a reply for during the last minute. This variable counts both successful and non-successful executions.
int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The executedLastMinuteCount to set.public QueueStats.Builder clearExecutedLastMinuteCount()
Output only. The number of tasks that the queue has dispatched and received a reply for during the last minute. This variable counts both successful and non-successful executions.
int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public long getConcurrentDispatchesCount()
Output only. The number of requests that the queue has dispatched but has not received a reply for yet.
int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getConcurrentDispatchesCount in interface QueueStatsOrBuilderpublic QueueStats.Builder setConcurrentDispatchesCount(long value)
Output only. The number of requests that the queue has dispatched but has not received a reply for yet.
int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The concurrentDispatchesCount to set.public QueueStats.Builder clearConcurrentDispatchesCount()
Output only. The number of requests that the queue has dispatched but has not received a reply for yet.
int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public double getEffectiveExecutionRate()
Output only. The current maximum number of tasks per second executed by the queue. The maximum value of this variable is controlled by the RateLimits of the Queue. However, this value could be less to avoid overloading the endpoints tasks in the queue are targeting.
double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEffectiveExecutionRate in interface QueueStatsOrBuilderpublic QueueStats.Builder setEffectiveExecutionRate(double value)
Output only. The current maximum number of tasks per second executed by the queue. The maximum value of this variable is controlled by the RateLimits of the Queue. However, this value could be less to avoid overloading the endpoints tasks in the queue are targeting.
double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The effectiveExecutionRate to set.public QueueStats.Builder clearEffectiveExecutionRate()
Output only. The current maximum number of tasks per second executed by the queue. The maximum value of this variable is controlled by the RateLimits of the Queue. However, this value could be less to avoid overloading the endpoints tasks in the queue are targeting.
double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final QueueStats.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QueueStats.Builder>public final QueueStats.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QueueStats.Builder>Copyright © 2024 Google LLC. All rights reserved.