public static final class QueueStats.Builder extends GeneratedMessageV3.Builder<QueueStats.Builder> implements QueueStatsOrBuilder
Statistics for a queue.Protobuf type
google.cloud.tasks.v2beta2.QueueStats
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<QueueStats.Builder>
public QueueStats.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<QueueStats.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<QueueStats.Builder>
public QueueStats getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public QueueStats build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public QueueStats buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public QueueStats.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<QueueStats.Builder>
public QueueStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<QueueStats.Builder>
public QueueStats.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<QueueStats.Builder>
public QueueStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<QueueStats.Builder>
public QueueStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<QueueStats.Builder>
public QueueStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<QueueStats.Builder>
public QueueStats.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<QueueStats.Builder>
public QueueStats.Builder mergeFrom(QueueStats other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<QueueStats.Builder>
public QueueStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<QueueStats.Builder>
IOException
public 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 QueueStatsOrBuilder
public 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 QueueStatsOrBuilder
public 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 QueueStatsOrBuilder
public QueueStats.Builder setOldestEstimatedArrivalTime(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(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(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 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 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 QueueStatsOrBuilder
public 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 QueueStatsOrBuilder
public 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 QueueStatsOrBuilder
public 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 QueueStatsOrBuilder
public 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(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<QueueStats.Builder>
public final QueueStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<QueueStats.Builder>
Copyright © 2022 Google LLC. All rights reserved.