All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.appengine.api.taskqueue.TaskQueuePb Maven / Gradle / Ivy

There is a newer version: 2.0.31
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: taskqueue_service.proto

package com.google.appengine.api.taskqueue;

public final class TaskQueuePb {
  private TaskQueuePb() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface TaskQueueServiceErrorOrBuilder extends
      // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueServiceError)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code java.apphosting.TaskQueueServiceError}
   */
  public static final class TaskQueueServiceError extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueServiceError)
      TaskQueueServiceErrorOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use TaskQueueServiceError.newBuilder() to construct.
    private TaskQueueServiceError(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private TaskQueueServiceError() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new TaskQueueServiceError();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueServiceError_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueServiceError_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.Builder.class);
    }

    /**
     * Protobuf enum {@code java.apphosting.TaskQueueServiceError.ErrorCode}
     */
    public enum ErrorCode
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * 
       * Not an error.
       * 
* * OK = 0; */ OK(0), /** *
       * Unknown queue. Queues must be created before tasks can be added to them.
       * 
* * UNKNOWN_QUEUE = 1; */ UNKNOWN_QUEUE(1), /** *
       * Transient failure.
       * 
* * TRANSIENT_ERROR = 2; */ TRANSIENT_ERROR(2), /** *
       * Unexpected internal error.
       * 
* * INTERNAL_ERROR = 3; */ INTERNAL_ERROR(3), /** *
       * Task was too large. As of 04-29-2009 we enforce a maximum task size of
       * 10K. This may change over time. Note that for tasks larger than 1MB such
       * API calls will instead see a APIResponse::REQUEST_TOO_LARGE error.
       * 
* * TASK_TOO_LARGE = 4; */ TASK_TOO_LARGE(4), /** *
       * The task name was too long, or contained illegal characters.
       * 
* * INVALID_TASK_NAME = 5; */ INVALID_TASK_NAME(5), /** *
       * The task name was too long, or contained illegal characters.
       * 
* * INVALID_QUEUE_NAME = 6; */ INVALID_QUEUE_NAME(6), /** *
       * The URL was too long, or was not a relative URL.
       * 
* * INVALID_URL = 7; */ INVALID_URL(7), /** *
       * Invalid queue throttling parameters.
       * 
* * INVALID_QUEUE_RATE = 8; */ INVALID_QUEUE_RATE(8), /** *
       * App is not allowed to perform the requested operation.
       * 
* * PERMISSION_DENIED = 9; */ PERMISSION_DENIED(9), /** *
       * Task already exists. It has not yet run.
       * 
* * TASK_ALREADY_EXISTS = 10; */ TASK_ALREADY_EXISTS(10), /** *
       * Task has been tombstoned.
       * 
* * TOMBSTONED_TASK = 11; */ TOMBSTONED_TASK(11), /** *
       * Task was scheduled to run too far into the future, or was negative.
       * 
* * INVALID_ETA = 12; */ INVALID_ETA(12), /** *
       * Unexpected invalid request. The most common reasons for invalid
       * requests are covered by other INVALID_* codes, but this code
       * is reserved for the most pathological situations.
       * 
* * INVALID_REQUEST = 13; */ INVALID_REQUEST(13), /** *
       * Unknown Task Name.
       * 
* * UNKNOWN_TASK = 14; */ UNKNOWN_TASK(14), /** *
       * Queue has been tombstoned.
       * 
* * TOMBSTONED_QUEUE = 15; */ TOMBSTONED_QUEUE(15), /** *
       * A task with an identical name appears in the same bulk task creation
       * request.
       * 
* * DUPLICATE_TASK_NAME = 16; */ DUPLICATE_TASK_NAME(16), /** *
       * A component in a bulk operation was skipped because another component
       * failed.
       * 
* * SKIPPED = 17; */ SKIPPED(17), /** *
       * A bulk operation involves more than the allowed number of tasks.
       * 
* * TOO_MANY_TASKS = 18; */ TOO_MANY_TASKS(18), /** *
       * Payload was not recognized.
       * 
* * INVALID_PAYLOAD = 19; */ INVALID_PAYLOAD(19), /** *
       * RetryParameters were not valid.
       * 
* * INVALID_RETRY_PARAMETERS = 20; */ INVALID_RETRY_PARAMETERS(20), /** *
       * Invoking PULL queue operations when mode is PUSH or vice versa.
       * 
* * INVALID_QUEUE_MODE = 21; */ INVALID_QUEUE_MODE(21), /** *
       * A Gaia lookup error occured.
       * 
* * ACL_LOOKUP_ERROR = 22; */ ACL_LOOKUP_ERROR(22), /** *
       * A transactional task queue operation was too large.
       * 
* * TRANSACTIONAL_REQUEST_TOO_LARGE = 23; */ TRANSACTIONAL_REQUEST_TOO_LARGE(23), /** *
       * The queue creator name does not match
       * 
* * INCORRECT_CREATOR_NAME = 24; */ INCORRECT_CREATOR_NAME(24), /** *
       * The lease for the task has expired
       * 
* * TASK_LEASE_EXPIRED = 25; */ TASK_LEASE_EXPIRED(25), /** *
       * The queue has been paused and leases cannot be modified.
       * 
* * QUEUE_PAUSED = 26; */ QUEUE_PAUSED(26), /** *
       * Task has an invalid tag.
       * 
* * INVALID_TAG = 27; */ INVALID_TAG(27), /** *
       * The queue logging configuration is invalid.
       * 
* * INVALID_LOGGING_CONFIG = 28; */ INVALID_LOGGING_CONFIG(28), /** *
       * The value of dispatch deadline is invalid or is exceeding the limits.
       * 
* * INVALID_DISPATCH_DEADLINE = 29; */ INVALID_DISPATCH_DEADLINE(29), /** *
       * Reserved range for the Datastore error codes.
       * Original Datastore error code is shifted by DATASTORE_ERROR offset.
       * 
* * DATASTORE_ERROR = 10000; */ DATASTORE_ERROR(10000), /** *
       * Explicitly list the shifted datastore error codes. A test will detect if
       * the values here get out of sync with the original ones in
       * datastore_v3.proto. By listing the error codes we ensure that they can
       * safely be translated into Java enum values.
       * 
* * DATASTORE_BAD_REQUEST = 10001; */ DATASTORE_BAD_REQUEST(10001), /** * DATASTORE_CONCURRENT_TRANSACTION = 10002; */ DATASTORE_CONCURRENT_TRANSACTION(10002), /** * DATASTORE_INTERNAL_ERROR = 10003; */ DATASTORE_INTERNAL_ERROR(10003), /** * DATASTORE_NEED_INDEX = 10004; */ DATASTORE_NEED_INDEX(10004), /** * DATASTORE_TIMEOUT = 10005; */ DATASTORE_TIMEOUT(10005), /** * DATASTORE_PERMISSION_DENIED = 10006; */ DATASTORE_PERMISSION_DENIED(10006), /** * DATASTORE_BIGTABLE_ERROR = 10007; */ DATASTORE_BIGTABLE_ERROR(10007), /** * DATASTORE_COMMITTED_BUT_STILL_APPLYING = 10008; */ DATASTORE_COMMITTED_BUT_STILL_APPLYING(10008), /** * DATASTORE_CAPABILITY_DISABLED = 10009; */ DATASTORE_CAPABILITY_DISABLED(10009), /** * DATASTORE_TRY_ALTERNATE_BACKEND = 10010; */ DATASTORE_TRY_ALTERNATE_BACKEND(10010), /** * DATASTORE_SAFE_TIME_TOO_OLD = 10011; */ DATASTORE_SAFE_TIME_TOO_OLD(10011), /** * DATASTORE_RESOURCE_EXHAUSTED = 10012; */ DATASTORE_RESOURCE_EXHAUSTED(10012), /** * DATASTORE_NOT_FOUND = 10013; */ DATASTORE_NOT_FOUND(10013), /** * DATASTORE_ALREADY_EXISTS = 10014; */ DATASTORE_ALREADY_EXISTS(10014), /** * DATASTORE_FAILED_PRECONDITION = 10015; */ DATASTORE_FAILED_PRECONDITION(10015), /** * DATASTORE_UNAUTHENTICATED = 10016; */ DATASTORE_UNAUTHENTICATED(10016), /** * DATASTORE_ABORTED = 10017; */ DATASTORE_ABORTED(10017), /** * DATASTORE_SNAPSHOT_VERSION_TOO_OLD = 10018; */ DATASTORE_SNAPSHOT_VERSION_TOO_OLD(10018), ; /** *
       * Not an error.
       * 
* * OK = 0; */ public static final int OK_VALUE = 0; /** *
       * Unknown queue. Queues must be created before tasks can be added to them.
       * 
* * UNKNOWN_QUEUE = 1; */ public static final int UNKNOWN_QUEUE_VALUE = 1; /** *
       * Transient failure.
       * 
* * TRANSIENT_ERROR = 2; */ public static final int TRANSIENT_ERROR_VALUE = 2; /** *
       * Unexpected internal error.
       * 
* * INTERNAL_ERROR = 3; */ public static final int INTERNAL_ERROR_VALUE = 3; /** *
       * Task was too large. As of 04-29-2009 we enforce a maximum task size of
       * 10K. This may change over time. Note that for tasks larger than 1MB such
       * API calls will instead see a APIResponse::REQUEST_TOO_LARGE error.
       * 
* * TASK_TOO_LARGE = 4; */ public static final int TASK_TOO_LARGE_VALUE = 4; /** *
       * The task name was too long, or contained illegal characters.
       * 
* * INVALID_TASK_NAME = 5; */ public static final int INVALID_TASK_NAME_VALUE = 5; /** *
       * The task name was too long, or contained illegal characters.
       * 
* * INVALID_QUEUE_NAME = 6; */ public static final int INVALID_QUEUE_NAME_VALUE = 6; /** *
       * The URL was too long, or was not a relative URL.
       * 
* * INVALID_URL = 7; */ public static final int INVALID_URL_VALUE = 7; /** *
       * Invalid queue throttling parameters.
       * 
* * INVALID_QUEUE_RATE = 8; */ public static final int INVALID_QUEUE_RATE_VALUE = 8; /** *
       * App is not allowed to perform the requested operation.
       * 
* * PERMISSION_DENIED = 9; */ public static final int PERMISSION_DENIED_VALUE = 9; /** *
       * Task already exists. It has not yet run.
       * 
* * TASK_ALREADY_EXISTS = 10; */ public static final int TASK_ALREADY_EXISTS_VALUE = 10; /** *
       * Task has been tombstoned.
       * 
* * TOMBSTONED_TASK = 11; */ public static final int TOMBSTONED_TASK_VALUE = 11; /** *
       * Task was scheduled to run too far into the future, or was negative.
       * 
* * INVALID_ETA = 12; */ public static final int INVALID_ETA_VALUE = 12; /** *
       * Unexpected invalid request. The most common reasons for invalid
       * requests are covered by other INVALID_* codes, but this code
       * is reserved for the most pathological situations.
       * 
* * INVALID_REQUEST = 13; */ public static final int INVALID_REQUEST_VALUE = 13; /** *
       * Unknown Task Name.
       * 
* * UNKNOWN_TASK = 14; */ public static final int UNKNOWN_TASK_VALUE = 14; /** *
       * Queue has been tombstoned.
       * 
* * TOMBSTONED_QUEUE = 15; */ public static final int TOMBSTONED_QUEUE_VALUE = 15; /** *
       * A task with an identical name appears in the same bulk task creation
       * request.
       * 
* * DUPLICATE_TASK_NAME = 16; */ public static final int DUPLICATE_TASK_NAME_VALUE = 16; /** *
       * A component in a bulk operation was skipped because another component
       * failed.
       * 
* * SKIPPED = 17; */ public static final int SKIPPED_VALUE = 17; /** *
       * A bulk operation involves more than the allowed number of tasks.
       * 
* * TOO_MANY_TASKS = 18; */ public static final int TOO_MANY_TASKS_VALUE = 18; /** *
       * Payload was not recognized.
       * 
* * INVALID_PAYLOAD = 19; */ public static final int INVALID_PAYLOAD_VALUE = 19; /** *
       * RetryParameters were not valid.
       * 
* * INVALID_RETRY_PARAMETERS = 20; */ public static final int INVALID_RETRY_PARAMETERS_VALUE = 20; /** *
       * Invoking PULL queue operations when mode is PUSH or vice versa.
       * 
* * INVALID_QUEUE_MODE = 21; */ public static final int INVALID_QUEUE_MODE_VALUE = 21; /** *
       * A Gaia lookup error occured.
       * 
* * ACL_LOOKUP_ERROR = 22; */ public static final int ACL_LOOKUP_ERROR_VALUE = 22; /** *
       * A transactional task queue operation was too large.
       * 
* * TRANSACTIONAL_REQUEST_TOO_LARGE = 23; */ public static final int TRANSACTIONAL_REQUEST_TOO_LARGE_VALUE = 23; /** *
       * The queue creator name does not match
       * 
* * INCORRECT_CREATOR_NAME = 24; */ public static final int INCORRECT_CREATOR_NAME_VALUE = 24; /** *
       * The lease for the task has expired
       * 
* * TASK_LEASE_EXPIRED = 25; */ public static final int TASK_LEASE_EXPIRED_VALUE = 25; /** *
       * The queue has been paused and leases cannot be modified.
       * 
* * QUEUE_PAUSED = 26; */ public static final int QUEUE_PAUSED_VALUE = 26; /** *
       * Task has an invalid tag.
       * 
* * INVALID_TAG = 27; */ public static final int INVALID_TAG_VALUE = 27; /** *
       * The queue logging configuration is invalid.
       * 
* * INVALID_LOGGING_CONFIG = 28; */ public static final int INVALID_LOGGING_CONFIG_VALUE = 28; /** *
       * The value of dispatch deadline is invalid or is exceeding the limits.
       * 
* * INVALID_DISPATCH_DEADLINE = 29; */ public static final int INVALID_DISPATCH_DEADLINE_VALUE = 29; /** *
       * Reserved range for the Datastore error codes.
       * Original Datastore error code is shifted by DATASTORE_ERROR offset.
       * 
* * DATASTORE_ERROR = 10000; */ public static final int DATASTORE_ERROR_VALUE = 10000; /** *
       * Explicitly list the shifted datastore error codes. A test will detect if
       * the values here get out of sync with the original ones in
       * datastore_v3.proto. By listing the error codes we ensure that they can
       * safely be translated into Java enum values.
       * 
* * DATASTORE_BAD_REQUEST = 10001; */ public static final int DATASTORE_BAD_REQUEST_VALUE = 10001; /** * DATASTORE_CONCURRENT_TRANSACTION = 10002; */ public static final int DATASTORE_CONCURRENT_TRANSACTION_VALUE = 10002; /** * DATASTORE_INTERNAL_ERROR = 10003; */ public static final int DATASTORE_INTERNAL_ERROR_VALUE = 10003; /** * DATASTORE_NEED_INDEX = 10004; */ public static final int DATASTORE_NEED_INDEX_VALUE = 10004; /** * DATASTORE_TIMEOUT = 10005; */ public static final int DATASTORE_TIMEOUT_VALUE = 10005; /** * DATASTORE_PERMISSION_DENIED = 10006; */ public static final int DATASTORE_PERMISSION_DENIED_VALUE = 10006; /** * DATASTORE_BIGTABLE_ERROR = 10007; */ public static final int DATASTORE_BIGTABLE_ERROR_VALUE = 10007; /** * DATASTORE_COMMITTED_BUT_STILL_APPLYING = 10008; */ public static final int DATASTORE_COMMITTED_BUT_STILL_APPLYING_VALUE = 10008; /** * DATASTORE_CAPABILITY_DISABLED = 10009; */ public static final int DATASTORE_CAPABILITY_DISABLED_VALUE = 10009; /** * DATASTORE_TRY_ALTERNATE_BACKEND = 10010; */ public static final int DATASTORE_TRY_ALTERNATE_BACKEND_VALUE = 10010; /** * DATASTORE_SAFE_TIME_TOO_OLD = 10011; */ public static final int DATASTORE_SAFE_TIME_TOO_OLD_VALUE = 10011; /** * DATASTORE_RESOURCE_EXHAUSTED = 10012; */ public static final int DATASTORE_RESOURCE_EXHAUSTED_VALUE = 10012; /** * DATASTORE_NOT_FOUND = 10013; */ public static final int DATASTORE_NOT_FOUND_VALUE = 10013; /** * DATASTORE_ALREADY_EXISTS = 10014; */ public static final int DATASTORE_ALREADY_EXISTS_VALUE = 10014; /** * DATASTORE_FAILED_PRECONDITION = 10015; */ public static final int DATASTORE_FAILED_PRECONDITION_VALUE = 10015; /** * DATASTORE_UNAUTHENTICATED = 10016; */ public static final int DATASTORE_UNAUTHENTICATED_VALUE = 10016; /** * DATASTORE_ABORTED = 10017; */ public static final int DATASTORE_ABORTED_VALUE = 10017; /** * DATASTORE_SNAPSHOT_VERSION_TOO_OLD = 10018; */ public static final int DATASTORE_SNAPSHOT_VERSION_TOO_OLD_VALUE = 10018; public final int getNumber() { return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ErrorCode valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static ErrorCode forNumber(int value) { switch (value) { case 0: return OK; case 1: return UNKNOWN_QUEUE; case 2: return TRANSIENT_ERROR; case 3: return INTERNAL_ERROR; case 4: return TASK_TOO_LARGE; case 5: return INVALID_TASK_NAME; case 6: return INVALID_QUEUE_NAME; case 7: return INVALID_URL; case 8: return INVALID_QUEUE_RATE; case 9: return PERMISSION_DENIED; case 10: return TASK_ALREADY_EXISTS; case 11: return TOMBSTONED_TASK; case 12: return INVALID_ETA; case 13: return INVALID_REQUEST; case 14: return UNKNOWN_TASK; case 15: return TOMBSTONED_QUEUE; case 16: return DUPLICATE_TASK_NAME; case 17: return SKIPPED; case 18: return TOO_MANY_TASKS; case 19: return INVALID_PAYLOAD; case 20: return INVALID_RETRY_PARAMETERS; case 21: return INVALID_QUEUE_MODE; case 22: return ACL_LOOKUP_ERROR; case 23: return TRANSACTIONAL_REQUEST_TOO_LARGE; case 24: return INCORRECT_CREATOR_NAME; case 25: return TASK_LEASE_EXPIRED; case 26: return QUEUE_PAUSED; case 27: return INVALID_TAG; case 28: return INVALID_LOGGING_CONFIG; case 29: return INVALID_DISPATCH_DEADLINE; case 10000: return DATASTORE_ERROR; case 10001: return DATASTORE_BAD_REQUEST; case 10002: return DATASTORE_CONCURRENT_TRANSACTION; case 10003: return DATASTORE_INTERNAL_ERROR; case 10004: return DATASTORE_NEED_INDEX; case 10005: return DATASTORE_TIMEOUT; case 10006: return DATASTORE_PERMISSION_DENIED; case 10007: return DATASTORE_BIGTABLE_ERROR; case 10008: return DATASTORE_COMMITTED_BUT_STILL_APPLYING; case 10009: return DATASTORE_CAPABILITY_DISABLED; case 10010: return DATASTORE_TRY_ALTERNATE_BACKEND; case 10011: return DATASTORE_SAFE_TIME_TOO_OLD; case 10012: return DATASTORE_RESOURCE_EXHAUSTED; case 10013: return DATASTORE_NOT_FOUND; case 10014: return DATASTORE_ALREADY_EXISTS; case 10015: return DATASTORE_FAILED_PRECONDITION; case 10016: return DATASTORE_UNAUTHENTICATED; case 10017: return DATASTORE_ABORTED; case 10018: return DATASTORE_SNAPSHOT_VERSION_TOO_OLD; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ErrorCode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ErrorCode findValueByNumber(int number) { return ErrorCode.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.getDescriptor().getEnumTypes().get(0); } private static final ErrorCode[] VALUES = values(); public static ErrorCode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private ErrorCode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:java.apphosting.TaskQueueServiceError.ErrorCode) } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueServiceError} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueServiceError) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceErrorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueServiceError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueServiceError_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueServiceError_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueServiceError) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueServiceError) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueServiceError parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskPayloadOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskPayload) com.google.protobuf.MessageOrBuilder { } /** *
   * Base message for generic task payload. Http & cron payloads haven't been
   * refactored yet.
   * 
* * Protobuf type {@code java.apphosting.TaskPayload} */ public static final class TaskPayload extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskPayload) TaskPayloadOrBuilder { private static final long serialVersionUID = 0L; // Use TaskPayload.newBuilder() to construct. private TaskPayload(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskPayload() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskPayload(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskPayload_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskPayload_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeAsMessageSetTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSizeAsMessageSet(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Base message for generic task payload. Http & cron payloads haven't been
     * refactored yet.
     * 
* * Protobuf type {@code java.apphosting.TaskPayload} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskPayload) com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayloadOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskPayload_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskPayload_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskPayload_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskPayload) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskPayload) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskPayload parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueRetryParametersOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueRetryParameters) com.google.protobuf.MessageOrBuilder { /** *
     * The maxiumum number of times this operation can be retried before failing
     * permanently. Note: if both retry_limit and age_limit_sec are
     * present, then we fail permanently only when both limits have been reached.
     * 
* * optional int32 retry_limit = 1; * @return Whether the retryLimit field is set. */ boolean hasRetryLimit(); /** *
     * The maxiumum number of times this operation can be retried before failing
     * permanently. Note: if both retry_limit and age_limit_sec are
     * present, then we fail permanently only when both limits have been reached.
     * 
* * optional int32 retry_limit = 1; * @return The retryLimit. */ int getRetryLimit(); /** *
     * The maximum time since the first try of this operation that can pass before
     * failing permanently. Note: if both retry_limit and age_limit_sec are
     * present, then we fail permanently only when both limits have been reached.
     * 
* * optional int64 age_limit_sec = 2; * @return Whether the ageLimitSec field is set. */ boolean hasAgeLimitSec(); /** *
     * The maximum time since the first try of this operation that can pass before
     * failing permanently. Note: if both retry_limit and age_limit_sec are
     * present, then we fail permanently only when both limits have been reached.
     * 
* * optional int64 age_limit_sec = 2; * @return The ageLimitSec. */ long getAgeLimitSec(); /** *
     * The minimum time interval after a failure of an operation at which we can
     * schudule a retry of that operation.
     * 
* * optional double min_backoff_sec = 3 [default = 0.1]; * @return Whether the minBackoffSec field is set. */ boolean hasMinBackoffSec(); /** *
     * The minimum time interval after a failure of an operation at which we can
     * schudule a retry of that operation.
     * 
* * optional double min_backoff_sec = 3 [default = 0.1]; * @return The minBackoffSec. */ double getMinBackoffSec(); /** *
     * The maximum time interval after a failure of an operation at which we can
     * schudule a retry of that operation.
     * 
* * optional double max_backoff_sec = 4 [default = 3600]; * @return Whether the maxBackoffSec field is set. */ boolean hasMaxBackoffSec(); /** *
     * The maximum time interval after a failure of an operation at which we can
     * schudule a retry of that operation.
     * 
* * optional double max_backoff_sec = 4 [default = 3600]; * @return The maxBackoffSec. */ double getMaxBackoffSec(); /** *
     * The maximum number of times the current retry interval will be
     * doubled before the interval increases linearly.
     * A task's retry interval starts at min_backoff_sec, then doubles
     * max_doublings times, then increases linearly, and finally retries
     * are made at intervals of max_backoff_sec until the retry_limit is
     * reached. Thus after max_doublings intervals, the retry interval
     * will be 2^(max_doublings - 1) * min_backoff_sec, and then the
     * retry interval will be linearly increased by 2^max_doublings *
     * min_backoff_sec, until max_backoff_sec is reached.
     * For example, if min_backoff_sec is 10s, max_backoff_sec is 300s,
     * and max_doublings is 3, then the a task will first be retried in
     * 10s. The retry interval will double three times, and then
     * increase linearly by 2^3 * 10s, and then stay constant at
     * 300s. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
     * 240s, 300s, 300s, ....
     * 
* * optional int32 max_doublings = 5 [default = 16]; * @return Whether the maxDoublings field is set. */ boolean hasMaxDoublings(); /** *
     * The maximum number of times the current retry interval will be
     * doubled before the interval increases linearly.
     * A task's retry interval starts at min_backoff_sec, then doubles
     * max_doublings times, then increases linearly, and finally retries
     * are made at intervals of max_backoff_sec until the retry_limit is
     * reached. Thus after max_doublings intervals, the retry interval
     * will be 2^(max_doublings - 1) * min_backoff_sec, and then the
     * retry interval will be linearly increased by 2^max_doublings *
     * min_backoff_sec, until max_backoff_sec is reached.
     * For example, if min_backoff_sec is 10s, max_backoff_sec is 300s,
     * and max_doublings is 3, then the a task will first be retried in
     * 10s. The retry interval will double three times, and then
     * increase linearly by 2^3 * 10s, and then stay constant at
     * 300s. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
     * 240s, 300s, 300s, ....
     * 
* * optional int32 max_doublings = 5 [default = 16]; * @return The maxDoublings. */ int getMaxDoublings(); } /** * Protobuf type {@code java.apphosting.TaskQueueRetryParameters} */ public static final class TaskQueueRetryParameters extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueRetryParameters) TaskQueueRetryParametersOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueRetryParameters.newBuilder() to construct. private TaskQueueRetryParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueRetryParameters() { minBackoffSec_ = 0.1D; maxBackoffSec_ = 3600D; maxDoublings_ = 16; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueRetryParameters(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueRetryParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueRetryParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder.class); } private int bitField0_; public static final int RETRY_LIMIT_FIELD_NUMBER = 1; private int retryLimit_ = 0; /** *
     * The maxiumum number of times this operation can be retried before failing
     * permanently. Note: if both retry_limit and age_limit_sec are
     * present, then we fail permanently only when both limits have been reached.
     * 
* * optional int32 retry_limit = 1; * @return Whether the retryLimit field is set. */ @java.lang.Override public boolean hasRetryLimit() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The maxiumum number of times this operation can be retried before failing
     * permanently. Note: if both retry_limit and age_limit_sec are
     * present, then we fail permanently only when both limits have been reached.
     * 
* * optional int32 retry_limit = 1; * @return The retryLimit. */ @java.lang.Override public int getRetryLimit() { return retryLimit_; } public static final int AGE_LIMIT_SEC_FIELD_NUMBER = 2; private long ageLimitSec_ = 0L; /** *
     * The maximum time since the first try of this operation that can pass before
     * failing permanently. Note: if both retry_limit and age_limit_sec are
     * present, then we fail permanently only when both limits have been reached.
     * 
* * optional int64 age_limit_sec = 2; * @return Whether the ageLimitSec field is set. */ @java.lang.Override public boolean hasAgeLimitSec() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The maximum time since the first try of this operation that can pass before
     * failing permanently. Note: if both retry_limit and age_limit_sec are
     * present, then we fail permanently only when both limits have been reached.
     * 
* * optional int64 age_limit_sec = 2; * @return The ageLimitSec. */ @java.lang.Override public long getAgeLimitSec() { return ageLimitSec_; } public static final int MIN_BACKOFF_SEC_FIELD_NUMBER = 3; private double minBackoffSec_ = 0.1D; /** *
     * The minimum time interval after a failure of an operation at which we can
     * schudule a retry of that operation.
     * 
* * optional double min_backoff_sec = 3 [default = 0.1]; * @return Whether the minBackoffSec field is set. */ @java.lang.Override public boolean hasMinBackoffSec() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * The minimum time interval after a failure of an operation at which we can
     * schudule a retry of that operation.
     * 
* * optional double min_backoff_sec = 3 [default = 0.1]; * @return The minBackoffSec. */ @java.lang.Override public double getMinBackoffSec() { return minBackoffSec_; } public static final int MAX_BACKOFF_SEC_FIELD_NUMBER = 4; private double maxBackoffSec_ = 3600D; /** *
     * The maximum time interval after a failure of an operation at which we can
     * schudule a retry of that operation.
     * 
* * optional double max_backoff_sec = 4 [default = 3600]; * @return Whether the maxBackoffSec field is set. */ @java.lang.Override public boolean hasMaxBackoffSec() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * The maximum time interval after a failure of an operation at which we can
     * schudule a retry of that operation.
     * 
* * optional double max_backoff_sec = 4 [default = 3600]; * @return The maxBackoffSec. */ @java.lang.Override public double getMaxBackoffSec() { return maxBackoffSec_; } public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5; private int maxDoublings_ = 16; /** *
     * The maximum number of times the current retry interval will be
     * doubled before the interval increases linearly.
     * A task's retry interval starts at min_backoff_sec, then doubles
     * max_doublings times, then increases linearly, and finally retries
     * are made at intervals of max_backoff_sec until the retry_limit is
     * reached. Thus after max_doublings intervals, the retry interval
     * will be 2^(max_doublings - 1) * min_backoff_sec, and then the
     * retry interval will be linearly increased by 2^max_doublings *
     * min_backoff_sec, until max_backoff_sec is reached.
     * For example, if min_backoff_sec is 10s, max_backoff_sec is 300s,
     * and max_doublings is 3, then the a task will first be retried in
     * 10s. The retry interval will double three times, and then
     * increase linearly by 2^3 * 10s, and then stay constant at
     * 300s. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
     * 240s, 300s, 300s, ....
     * 
* * optional int32 max_doublings = 5 [default = 16]; * @return Whether the maxDoublings field is set. */ @java.lang.Override public boolean hasMaxDoublings() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * The maximum number of times the current retry interval will be
     * doubled before the interval increases linearly.
     * A task's retry interval starts at min_backoff_sec, then doubles
     * max_doublings times, then increases linearly, and finally retries
     * are made at intervals of max_backoff_sec until the retry_limit is
     * reached. Thus after max_doublings intervals, the retry interval
     * will be 2^(max_doublings - 1) * min_backoff_sec, and then the
     * retry interval will be linearly increased by 2^max_doublings *
     * min_backoff_sec, until max_backoff_sec is reached.
     * For example, if min_backoff_sec is 10s, max_backoff_sec is 300s,
     * and max_doublings is 3, then the a task will first be retried in
     * 10s. The retry interval will double three times, and then
     * increase linearly by 2^3 * 10s, and then stay constant at
     * 300s. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
     * 240s, 300s, 300s, ....
     * 
* * optional int32 max_doublings = 5 [default = 16]; * @return The maxDoublings. */ @java.lang.Override public int getMaxDoublings() { return maxDoublings_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(1, retryLimit_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, ageLimitSec_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeDouble(3, minBackoffSec_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeDouble(4, maxBackoffSec_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(5, maxDoublings_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, retryLimit_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, ageLimitSec_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, minBackoffSec_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, maxBackoffSec_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, maxDoublings_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters) obj; if (hasRetryLimit() != other.hasRetryLimit()) return false; if (hasRetryLimit()) { if (getRetryLimit() != other.getRetryLimit()) return false; } if (hasAgeLimitSec() != other.hasAgeLimitSec()) return false; if (hasAgeLimitSec()) { if (getAgeLimitSec() != other.getAgeLimitSec()) return false; } if (hasMinBackoffSec() != other.hasMinBackoffSec()) return false; if (hasMinBackoffSec()) { if (java.lang.Double.doubleToLongBits(getMinBackoffSec()) != java.lang.Double.doubleToLongBits( other.getMinBackoffSec())) return false; } if (hasMaxBackoffSec() != other.hasMaxBackoffSec()) return false; if (hasMaxBackoffSec()) { if (java.lang.Double.doubleToLongBits(getMaxBackoffSec()) != java.lang.Double.doubleToLongBits( other.getMaxBackoffSec())) return false; } if (hasMaxDoublings() != other.hasMaxDoublings()) return false; if (hasMaxDoublings()) { if (getMaxDoublings() != other.getMaxDoublings()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasRetryLimit()) { hash = (37 * hash) + RETRY_LIMIT_FIELD_NUMBER; hash = (53 * hash) + getRetryLimit(); } if (hasAgeLimitSec()) { hash = (37 * hash) + AGE_LIMIT_SEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAgeLimitSec()); } if (hasMinBackoffSec()) { hash = (37 * hash) + MIN_BACKOFF_SEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMinBackoffSec())); } if (hasMaxBackoffSec()) { hash = (37 * hash) + MAX_BACKOFF_SEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMaxBackoffSec())); } if (hasMaxDoublings()) { hash = (37 * hash) + MAX_DOUBLINGS_FIELD_NUMBER; hash = (53 * hash) + getMaxDoublings(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueRetryParameters} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueRetryParameters) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueRetryParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueRetryParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; retryLimit_ = 0; ageLimitSec_ = 0L; minBackoffSec_ = 0.1D; maxBackoffSec_ = 3600D; maxDoublings_ = 16; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueRetryParameters_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.retryLimit_ = retryLimit_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.ageLimitSec_ = ageLimitSec_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.minBackoffSec_ = minBackoffSec_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.maxBackoffSec_ = maxBackoffSec_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.maxDoublings_ = maxDoublings_; to_bitField0_ |= 0x00000010; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance()) return this; if (other.hasRetryLimit()) { setRetryLimit(other.getRetryLimit()); } if (other.hasAgeLimitSec()) { setAgeLimitSec(other.getAgeLimitSec()); } if (other.hasMinBackoffSec()) { setMinBackoffSec(other.getMinBackoffSec()); } if (other.hasMaxBackoffSec()) { setMaxBackoffSec(other.getMaxBackoffSec()); } if (other.hasMaxDoublings()) { setMaxDoublings(other.getMaxDoublings()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { retryLimit_ = input.readInt32(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { ageLimitSec_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 25: { minBackoffSec_ = input.readDouble(); bitField0_ |= 0x00000004; break; } // case 25 case 33: { maxBackoffSec_ = input.readDouble(); bitField0_ |= 0x00000008; break; } // case 33 case 40: { maxDoublings_ = input.readInt32(); bitField0_ |= 0x00000010; break; } // case 40 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int retryLimit_ ; /** *
       * The maxiumum number of times this operation can be retried before failing
       * permanently. Note: if both retry_limit and age_limit_sec are
       * present, then we fail permanently only when both limits have been reached.
       * 
* * optional int32 retry_limit = 1; * @return Whether the retryLimit field is set. */ @java.lang.Override public boolean hasRetryLimit() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The maxiumum number of times this operation can be retried before failing
       * permanently. Note: if both retry_limit and age_limit_sec are
       * present, then we fail permanently only when both limits have been reached.
       * 
* * optional int32 retry_limit = 1; * @return The retryLimit. */ @java.lang.Override public int getRetryLimit() { return retryLimit_; } /** *
       * The maxiumum number of times this operation can be retried before failing
       * permanently. Note: if both retry_limit and age_limit_sec are
       * present, then we fail permanently only when both limits have been reached.
       * 
* * optional int32 retry_limit = 1; * @param value The retryLimit to set. * @return This builder for chaining. */ public Builder setRetryLimit(int value) { retryLimit_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The maxiumum number of times this operation can be retried before failing
       * permanently. Note: if both retry_limit and age_limit_sec are
       * present, then we fail permanently only when both limits have been reached.
       * 
* * optional int32 retry_limit = 1; * @return This builder for chaining. */ public Builder clearRetryLimit() { bitField0_ = (bitField0_ & ~0x00000001); retryLimit_ = 0; onChanged(); return this; } private long ageLimitSec_ ; /** *
       * The maximum time since the first try of this operation that can pass before
       * failing permanently. Note: if both retry_limit and age_limit_sec are
       * present, then we fail permanently only when both limits have been reached.
       * 
* * optional int64 age_limit_sec = 2; * @return Whether the ageLimitSec field is set. */ @java.lang.Override public boolean hasAgeLimitSec() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The maximum time since the first try of this operation that can pass before
       * failing permanently. Note: if both retry_limit and age_limit_sec are
       * present, then we fail permanently only when both limits have been reached.
       * 
* * optional int64 age_limit_sec = 2; * @return The ageLimitSec. */ @java.lang.Override public long getAgeLimitSec() { return ageLimitSec_; } /** *
       * The maximum time since the first try of this operation that can pass before
       * failing permanently. Note: if both retry_limit and age_limit_sec are
       * present, then we fail permanently only when both limits have been reached.
       * 
* * optional int64 age_limit_sec = 2; * @param value The ageLimitSec to set. * @return This builder for chaining. */ public Builder setAgeLimitSec(long value) { ageLimitSec_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * The maximum time since the first try of this operation that can pass before
       * failing permanently. Note: if both retry_limit and age_limit_sec are
       * present, then we fail permanently only when both limits have been reached.
       * 
* * optional int64 age_limit_sec = 2; * @return This builder for chaining. */ public Builder clearAgeLimitSec() { bitField0_ = (bitField0_ & ~0x00000002); ageLimitSec_ = 0L; onChanged(); return this; } private double minBackoffSec_ = 0.1D; /** *
       * The minimum time interval after a failure of an operation at which we can
       * schudule a retry of that operation.
       * 
* * optional double min_backoff_sec = 3 [default = 0.1]; * @return Whether the minBackoffSec field is set. */ @java.lang.Override public boolean hasMinBackoffSec() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * The minimum time interval after a failure of an operation at which we can
       * schudule a retry of that operation.
       * 
* * optional double min_backoff_sec = 3 [default = 0.1]; * @return The minBackoffSec. */ @java.lang.Override public double getMinBackoffSec() { return minBackoffSec_; } /** *
       * The minimum time interval after a failure of an operation at which we can
       * schudule a retry of that operation.
       * 
* * optional double min_backoff_sec = 3 [default = 0.1]; * @param value The minBackoffSec to set. * @return This builder for chaining. */ public Builder setMinBackoffSec(double value) { minBackoffSec_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * The minimum time interval after a failure of an operation at which we can
       * schudule a retry of that operation.
       * 
* * optional double min_backoff_sec = 3 [default = 0.1]; * @return This builder for chaining. */ public Builder clearMinBackoffSec() { bitField0_ = (bitField0_ & ~0x00000004); minBackoffSec_ = 0.1D; onChanged(); return this; } private double maxBackoffSec_ = 3600D; /** *
       * The maximum time interval after a failure of an operation at which we can
       * schudule a retry of that operation.
       * 
* * optional double max_backoff_sec = 4 [default = 3600]; * @return Whether the maxBackoffSec field is set. */ @java.lang.Override public boolean hasMaxBackoffSec() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * The maximum time interval after a failure of an operation at which we can
       * schudule a retry of that operation.
       * 
* * optional double max_backoff_sec = 4 [default = 3600]; * @return The maxBackoffSec. */ @java.lang.Override public double getMaxBackoffSec() { return maxBackoffSec_; } /** *
       * The maximum time interval after a failure of an operation at which we can
       * schudule a retry of that operation.
       * 
* * optional double max_backoff_sec = 4 [default = 3600]; * @param value The maxBackoffSec to set. * @return This builder for chaining. */ public Builder setMaxBackoffSec(double value) { maxBackoffSec_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * The maximum time interval after a failure of an operation at which we can
       * schudule a retry of that operation.
       * 
* * optional double max_backoff_sec = 4 [default = 3600]; * @return This builder for chaining. */ public Builder clearMaxBackoffSec() { bitField0_ = (bitField0_ & ~0x00000008); maxBackoffSec_ = 3600D; onChanged(); return this; } private int maxDoublings_ = 16; /** *
       * The maximum number of times the current retry interval will be
       * doubled before the interval increases linearly.
       * A task's retry interval starts at min_backoff_sec, then doubles
       * max_doublings times, then increases linearly, and finally retries
       * are made at intervals of max_backoff_sec until the retry_limit is
       * reached. Thus after max_doublings intervals, the retry interval
       * will be 2^(max_doublings - 1) * min_backoff_sec, and then the
       * retry interval will be linearly increased by 2^max_doublings *
       * min_backoff_sec, until max_backoff_sec is reached.
       * For example, if min_backoff_sec is 10s, max_backoff_sec is 300s,
       * and max_doublings is 3, then the a task will first be retried in
       * 10s. The retry interval will double three times, and then
       * increase linearly by 2^3 * 10s, and then stay constant at
       * 300s. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
       * 240s, 300s, 300s, ....
       * 
* * optional int32 max_doublings = 5 [default = 16]; * @return Whether the maxDoublings field is set. */ @java.lang.Override public boolean hasMaxDoublings() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The maximum number of times the current retry interval will be
       * doubled before the interval increases linearly.
       * A task's retry interval starts at min_backoff_sec, then doubles
       * max_doublings times, then increases linearly, and finally retries
       * are made at intervals of max_backoff_sec until the retry_limit is
       * reached. Thus after max_doublings intervals, the retry interval
       * will be 2^(max_doublings - 1) * min_backoff_sec, and then the
       * retry interval will be linearly increased by 2^max_doublings *
       * min_backoff_sec, until max_backoff_sec is reached.
       * For example, if min_backoff_sec is 10s, max_backoff_sec is 300s,
       * and max_doublings is 3, then the a task will first be retried in
       * 10s. The retry interval will double three times, and then
       * increase linearly by 2^3 * 10s, and then stay constant at
       * 300s. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
       * 240s, 300s, 300s, ....
       * 
* * optional int32 max_doublings = 5 [default = 16]; * @return The maxDoublings. */ @java.lang.Override public int getMaxDoublings() { return maxDoublings_; } /** *
       * The maximum number of times the current retry interval will be
       * doubled before the interval increases linearly.
       * A task's retry interval starts at min_backoff_sec, then doubles
       * max_doublings times, then increases linearly, and finally retries
       * are made at intervals of max_backoff_sec until the retry_limit is
       * reached. Thus after max_doublings intervals, the retry interval
       * will be 2^(max_doublings - 1) * min_backoff_sec, and then the
       * retry interval will be linearly increased by 2^max_doublings *
       * min_backoff_sec, until max_backoff_sec is reached.
       * For example, if min_backoff_sec is 10s, max_backoff_sec is 300s,
       * and max_doublings is 3, then the a task will first be retried in
       * 10s. The retry interval will double three times, and then
       * increase linearly by 2^3 * 10s, and then stay constant at
       * 300s. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
       * 240s, 300s, 300s, ....
       * 
* * optional int32 max_doublings = 5 [default = 16]; * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { maxDoublings_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * The maximum number of times the current retry interval will be
       * doubled before the interval increases linearly.
       * A task's retry interval starts at min_backoff_sec, then doubles
       * max_doublings times, then increases linearly, and finally retries
       * are made at intervals of max_backoff_sec until the retry_limit is
       * reached. Thus after max_doublings intervals, the retry interval
       * will be 2^(max_doublings - 1) * min_backoff_sec, and then the
       * retry interval will be linearly increased by 2^max_doublings *
       * min_backoff_sec, until max_backoff_sec is reached.
       * For example, if min_backoff_sec is 10s, max_backoff_sec is 300s,
       * and max_doublings is 3, then the a task will first be retried in
       * 10s. The retry interval will double three times, and then
       * increase linearly by 2^3 * 10s, and then stay constant at
       * 300s. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
       * 240s, 300s, 300s, ....
       * 
* * optional int32 max_doublings = 5 [default = 16]; * @return This builder for chaining. */ public Builder clearMaxDoublings() { bitField0_ = (bitField0_ & ~0x00000010); maxDoublings_ = 16; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueRetryParameters) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueRetryParameters) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueRetryParameters parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueAclOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueAcl) com.google.protobuf.MessageOrBuilder { /** *
     * User email addresses must correspond to a GAIA account. These users can
     * lease and delete from the queue.
     * 
* * repeated bytes user_email = 1; * @return A list containing the userEmail. */ java.util.List getUserEmailList(); /** *
     * User email addresses must correspond to a GAIA account. These users can
     * lease and delete from the queue.
     * 
* * repeated bytes user_email = 1; * @return The count of userEmail. */ int getUserEmailCount(); /** *
     * User email addresses must correspond to a GAIA account. These users can
     * lease and delete from the queue.
     * 
* * repeated bytes user_email = 1; * @param index The index of the element to return. * @return The userEmail at the given index. */ com.google.protobuf.ByteString getUserEmail(int index); /** *
     * Writer email addresses must correspond to a GAIA account. These users can
     * add tasks to the queue.
     * 
* * repeated bytes writer_email = 2; * @return A list containing the writerEmail. */ java.util.List getWriterEmailList(); /** *
     * Writer email addresses must correspond to a GAIA account. These users can
     * add tasks to the queue.
     * 
* * repeated bytes writer_email = 2; * @return The count of writerEmail. */ int getWriterEmailCount(); /** *
     * Writer email addresses must correspond to a GAIA account. These users can
     * add tasks to the queue.
     * 
* * repeated bytes writer_email = 2; * @param index The index of the element to return. * @return The writerEmail at the given index. */ com.google.protobuf.ByteString getWriterEmail(int index); } /** * Protobuf type {@code java.apphosting.TaskQueueAcl} */ public static final class TaskQueueAcl extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueAcl) TaskQueueAclOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueAcl.newBuilder() to construct. private TaskQueueAcl(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueAcl() { userEmail_ = java.util.Collections.emptyList(); writerEmail_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueAcl(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAcl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAcl_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.Builder.class); } public static final int USER_EMAIL_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List userEmail_; /** *
     * User email addresses must correspond to a GAIA account. These users can
     * lease and delete from the queue.
     * 
* * repeated bytes user_email = 1; * @return A list containing the userEmail. */ @java.lang.Override public java.util.List getUserEmailList() { return userEmail_; } /** *
     * User email addresses must correspond to a GAIA account. These users can
     * lease and delete from the queue.
     * 
* * repeated bytes user_email = 1; * @return The count of userEmail. */ public int getUserEmailCount() { return userEmail_.size(); } /** *
     * User email addresses must correspond to a GAIA account. These users can
     * lease and delete from the queue.
     * 
* * repeated bytes user_email = 1; * @param index The index of the element to return. * @return The userEmail at the given index. */ public com.google.protobuf.ByteString getUserEmail(int index) { return userEmail_.get(index); } public static final int WRITER_EMAIL_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List writerEmail_; /** *
     * Writer email addresses must correspond to a GAIA account. These users can
     * add tasks to the queue.
     * 
* * repeated bytes writer_email = 2; * @return A list containing the writerEmail. */ @java.lang.Override public java.util.List getWriterEmailList() { return writerEmail_; } /** *
     * Writer email addresses must correspond to a GAIA account. These users can
     * add tasks to the queue.
     * 
* * repeated bytes writer_email = 2; * @return The count of writerEmail. */ public int getWriterEmailCount() { return writerEmail_.size(); } /** *
     * Writer email addresses must correspond to a GAIA account. These users can
     * add tasks to the queue.
     * 
* * repeated bytes writer_email = 2; * @param index The index of the element to return. * @return The writerEmail at the given index. */ public com.google.protobuf.ByteString getWriterEmail(int index) { return writerEmail_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < userEmail_.size(); i++) { output.writeBytes(1, userEmail_.get(i)); } for (int i = 0; i < writerEmail_.size(); i++) { output.writeBytes(2, writerEmail_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < userEmail_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(userEmail_.get(i)); } size += dataSize; size += 1 * getUserEmailList().size(); } { int dataSize = 0; for (int i = 0; i < writerEmail_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(writerEmail_.get(i)); } size += dataSize; size += 1 * getWriterEmailList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl) obj; if (!getUserEmailList() .equals(other.getUserEmailList())) return false; if (!getWriterEmailList() .equals(other.getWriterEmailList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getUserEmailCount() > 0) { hash = (37 * hash) + USER_EMAIL_FIELD_NUMBER; hash = (53 * hash) + getUserEmailList().hashCode(); } if (getWriterEmailCount() > 0) { hash = (37 * hash) + WRITER_EMAIL_FIELD_NUMBER; hash = (53 * hash) + getWriterEmailList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueAcl} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueAcl) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAclOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAcl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAcl_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; userEmail_ = java.util.Collections.emptyList(); writerEmail_ = java.util.Collections.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAcl_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl result) { if (((bitField0_ & 0x00000001) != 0)) { userEmail_ = java.util.Collections.unmodifiableList(userEmail_); bitField0_ = (bitField0_ & ~0x00000001); } result.userEmail_ = userEmail_; if (((bitField0_ & 0x00000002) != 0)) { writerEmail_ = java.util.Collections.unmodifiableList(writerEmail_); bitField0_ = (bitField0_ & ~0x00000002); } result.writerEmail_ = writerEmail_; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.getDefaultInstance()) return this; if (!other.userEmail_.isEmpty()) { if (userEmail_.isEmpty()) { userEmail_ = other.userEmail_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUserEmailIsMutable(); userEmail_.addAll(other.userEmail_); } onChanged(); } if (!other.writerEmail_.isEmpty()) { if (writerEmail_.isEmpty()) { writerEmail_ = other.writerEmail_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureWriterEmailIsMutable(); writerEmail_.addAll(other.writerEmail_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString v = input.readBytes(); ensureUserEmailIsMutable(); userEmail_.add(v); break; } // case 10 case 18: { com.google.protobuf.ByteString v = input.readBytes(); ensureWriterEmailIsMutable(); writerEmail_.add(v); break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List userEmail_ = java.util.Collections.emptyList(); private void ensureUserEmailIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { userEmail_ = new java.util.ArrayList(userEmail_); bitField0_ |= 0x00000001; } } /** *
       * User email addresses must correspond to a GAIA account. These users can
       * lease and delete from the queue.
       * 
* * repeated bytes user_email = 1; * @return A list containing the userEmail. */ public java.util.List getUserEmailList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(userEmail_) : userEmail_; } /** *
       * User email addresses must correspond to a GAIA account. These users can
       * lease and delete from the queue.
       * 
* * repeated bytes user_email = 1; * @return The count of userEmail. */ public int getUserEmailCount() { return userEmail_.size(); } /** *
       * User email addresses must correspond to a GAIA account. These users can
       * lease and delete from the queue.
       * 
* * repeated bytes user_email = 1; * @param index The index of the element to return. * @return The userEmail at the given index. */ public com.google.protobuf.ByteString getUserEmail(int index) { return userEmail_.get(index); } /** *
       * User email addresses must correspond to a GAIA account. These users can
       * lease and delete from the queue.
       * 
* * repeated bytes user_email = 1; * @param index The index to set the value at. * @param value The userEmail to set. * @return This builder for chaining. */ public Builder setUserEmail( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureUserEmailIsMutable(); userEmail_.set(index, value); onChanged(); return this; } /** *
       * User email addresses must correspond to a GAIA account. These users can
       * lease and delete from the queue.
       * 
* * repeated bytes user_email = 1; * @param value The userEmail to add. * @return This builder for chaining. */ public Builder addUserEmail(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureUserEmailIsMutable(); userEmail_.add(value); onChanged(); return this; } /** *
       * User email addresses must correspond to a GAIA account. These users can
       * lease and delete from the queue.
       * 
* * repeated bytes user_email = 1; * @param values The userEmail to add. * @return This builder for chaining. */ public Builder addAllUserEmail( java.lang.Iterable values) { ensureUserEmailIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, userEmail_); onChanged(); return this; } /** *
       * User email addresses must correspond to a GAIA account. These users can
       * lease and delete from the queue.
       * 
* * repeated bytes user_email = 1; * @return This builder for chaining. */ public Builder clearUserEmail() { userEmail_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private java.util.List writerEmail_ = java.util.Collections.emptyList(); private void ensureWriterEmailIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { writerEmail_ = new java.util.ArrayList(writerEmail_); bitField0_ |= 0x00000002; } } /** *
       * Writer email addresses must correspond to a GAIA account. These users can
       * add tasks to the queue.
       * 
* * repeated bytes writer_email = 2; * @return A list containing the writerEmail. */ public java.util.List getWriterEmailList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(writerEmail_) : writerEmail_; } /** *
       * Writer email addresses must correspond to a GAIA account. These users can
       * add tasks to the queue.
       * 
* * repeated bytes writer_email = 2; * @return The count of writerEmail. */ public int getWriterEmailCount() { return writerEmail_.size(); } /** *
       * Writer email addresses must correspond to a GAIA account. These users can
       * add tasks to the queue.
       * 
* * repeated bytes writer_email = 2; * @param index The index of the element to return. * @return The writerEmail at the given index. */ public com.google.protobuf.ByteString getWriterEmail(int index) { return writerEmail_.get(index); } /** *
       * Writer email addresses must correspond to a GAIA account. These users can
       * add tasks to the queue.
       * 
* * repeated bytes writer_email = 2; * @param index The index to set the value at. * @param value The writerEmail to set. * @return This builder for chaining. */ public Builder setWriterEmail( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureWriterEmailIsMutable(); writerEmail_.set(index, value); onChanged(); return this; } /** *
       * Writer email addresses must correspond to a GAIA account. These users can
       * add tasks to the queue.
       * 
* * repeated bytes writer_email = 2; * @param value The writerEmail to add. * @return This builder for chaining. */ public Builder addWriterEmail(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureWriterEmailIsMutable(); writerEmail_.add(value); onChanged(); return this; } /** *
       * Writer email addresses must correspond to a GAIA account. These users can
       * add tasks to the queue.
       * 
* * repeated bytes writer_email = 2; * @param values The writerEmail to add. * @return This builder for chaining. */ public Builder addAllWriterEmail( java.lang.Iterable values) { ensureWriterEmailIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, writerEmail_); onChanged(); return this; } /** *
       * Writer email addresses must correspond to a GAIA account. These users can
       * add tasks to the queue.
       * 
* * repeated bytes writer_email = 2; * @return This builder for chaining. */ public Builder clearWriterEmail() { writerEmail_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueAcl) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueAcl) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueAcl parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueHttpHeaderOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueHttpHeader) com.google.protobuf.MessageOrBuilder { /** * required bytes key = 1; * @return Whether the key field is set. */ boolean hasKey(); /** * required bytes key = 1; * @return The key. */ com.google.protobuf.ByteString getKey(); /** * required bytes value = 2; * @return Whether the value field is set. */ boolean hasValue(); /** * required bytes value = 2; * @return The value. */ com.google.protobuf.ByteString getValue(); } /** * Protobuf type {@code java.apphosting.TaskQueueHttpHeader} */ public static final class TaskQueueHttpHeader extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueHttpHeader) TaskQueueHttpHeaderOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueHttpHeader.newBuilder() to construct. private TaskQueueHttpHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueHttpHeader() { key_ = com.google.protobuf.ByteString.EMPTY; value_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueHttpHeader(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueHttpHeader_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueHttpHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder.class); } private int bitField0_; public static final int KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes key = 1; * @return Whether the key field is set. */ @java.lang.Override public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes key = 1; * @return The key. */ @java.lang.Override public com.google.protobuf.ByteString getKey() { return key_; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes value = 2; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** * required bytes value = 2; * @return The value. */ @java.lang.Override public com.google.protobuf.ByteString getValue() { return value_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasKey()) { memoizedIsInitialized = 0; return false; } if (!hasValue()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, key_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, value_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, key_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, value_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader) obj; if (hasKey() != other.hasKey()) return false; if (hasKey()) { if (!getKey() .equals(other.getKey())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (!getValue() .equals(other.getValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueHttpHeader} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueHttpHeader) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeaderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueHttpHeader_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueHttpHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; key_ = com.google.protobuf.ByteString.EMPTY; value_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueHttpHeader_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.key_ = key_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.value_ = value_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.getDefaultInstance()) return this; if (other.hasKey()) { setKey(other.getKey()); } if (other.hasValue()) { setValue(other.getValue()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasKey()) { return false; } if (!hasValue()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { key_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { value_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes key = 1; * @return Whether the key field is set. */ @java.lang.Override public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes key = 1; * @return The key. */ @java.lang.Override public com.google.protobuf.ByteString getKey() { return key_; } /** * required bytes key = 1; * @param value The key to set. * @return This builder for chaining. */ public Builder setKey(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } key_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * required bytes key = 1; * @return This builder for chaining. */ public Builder clearKey() { bitField0_ = (bitField0_ & ~0x00000001); key_ = getDefaultInstance().getKey(); onChanged(); return this; } private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes value = 2; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** * required bytes value = 2; * @return The value. */ @java.lang.Override public com.google.protobuf.ByteString getValue() { return value_; } /** * required bytes value = 2; * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * required bytes value = 2; * @return This builder for chaining. */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueHttpHeader) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueHttpHeader) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueHttpHeader parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueModeOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueMode) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code java.apphosting.TaskQueueMode} */ public static final class TaskQueueMode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueMode) TaskQueueModeOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueMode.newBuilder() to construct. private TaskQueueMode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueMode() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueMode(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueMode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueMode_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Builder.class); } /** * Protobuf enum {@code java.apphosting.TaskQueueMode.Mode} */ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** * PUSH = 0; */ PUSH(0), /** * PULL = 1; */ PULL(1), ; /** * PUSH = 0; */ public static final int PUSH_VALUE = 0; /** * PULL = 1; */ public static final int PULL_VALUE = 1; public final int getNumber() { return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Mode valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Mode forNumber(int value) { switch (value) { case 0: return PUSH; case 1: return PULL; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Mode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Mode findValueByNumber(int number) { return Mode.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.getDescriptor().getEnumTypes().get(0); } private static final Mode[] VALUES = values(); public static Mode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private Mode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:java.apphosting.TaskQueueMode.Mode) } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueMode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueMode) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueMode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueMode_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueMode_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueMode) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueMode) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueMode parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueAddRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueAddRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the queue to add the task to.
     * 
* * required bytes queue_name = 1; * @return Whether the queueName field is set. */ boolean hasQueueName(); /** *
     * Name of the queue to add the task to.
     * 
* * required bytes queue_name = 1; * @return The queueName. */ com.google.protobuf.ByteString getQueueName(); /** *
     * Name of the task.
     * If empty, a unique task name will automatically be chosen for the task.
     * 
* * required bytes task_name = 2; * @return Whether the taskName field is set. */ boolean hasTaskName(); /** *
     * Name of the task.
     * If empty, a unique task name will automatically be chosen for the task.
     * 
* * required bytes task_name = 2; * @return The taskName. */ com.google.protobuf.ByteString getTaskName(); /** *
     * Time to execute task, in microseconds since the unix epoch.
     * Values less than current time are silently increased to the current time.
     * 
* * required int64 eta_usec = 3; * @return Whether the etaUsec field is set. */ boolean hasEtaUsec(); /** *
     * Time to execute task, in microseconds since the unix epoch.
     * Values less than current time are silently increased to the current time.
     * 
* * required int64 eta_usec = 3; * @return The etaUsec. */ long getEtaUsec(); /** * optional .java.apphosting.TaskQueueAddRequest.RequestMethod method = 5 [default = POST]; * @return Whether the method field is set. */ boolean hasMethod(); /** * optional .java.apphosting.TaskQueueAddRequest.RequestMethod method = 5 [default = POST]; * @return The method. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.RequestMethod getMethod(); /** *
     * Required for all Http tasks.
     * 
* * optional bytes url = 4; * @return Whether the url field is set. */ boolean hasUrl(); /** *
     * Required for all Http tasks.
     * 
* * optional bytes url = 4; * @return The url. */ com.google.protobuf.ByteString getUrl(); /** * repeated group Header = 6 { ... } */ java.util.List getHeaderList(); /** * repeated group Header = 6 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header getHeader(int index); /** * repeated group Header = 6 { ... } */ int getHeaderCount(); /** * repeated group Header = 6 { ... } */ java.util.List getHeaderOrBuilderList(); /** * repeated group Header = 6 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.HeaderOrBuilder getHeaderOrBuilder( int index); /** *
     * Body of the HTTP request (may contain binary data). Ignored unless method
     * is POST or PUT.
     * 
* * optional bytes body = 9 [ctype = CORD]; * @return Whether the body field is set. */ boolean hasBody(); /** *
     * Body of the HTTP request (may contain binary data). Ignored unless method
     * is POST or PUT.
     * 
* * optional bytes body = 9 [ctype = CORD]; * @return The body. */ com.google.protobuf.ByteString getBody(); /** *
     * Transaction reference, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
     * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; * @return Whether the transaction field is set. */ boolean hasTransaction(); /** *
     * Transaction reference, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
     * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; * @return The transaction. */ com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction getTransaction(); /** *
     * Transaction reference, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
     * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; */ com.google.apphosting.datastore.proto2api.DatastoreV3Pb.TransactionOrBuilder getTransactionOrBuilder(); /** *
     * Cloud Datastore transaction identifier (a serialized
     * cloud_datastore.internal.Transaction). If set, AddActions will
     * be called on the Cloud Datastore interop API instead of the datastore_v3
     * API.
     * 
* * optional bytes datastore_transaction = 21; * @return Whether the datastoreTransaction field is set. */ boolean hasDatastoreTransaction(); /** *
     * Cloud Datastore transaction identifier (a serialized
     * cloud_datastore.internal.Transaction). If set, AddActions will
     * be called on the Cloud Datastore interop API instead of the datastore_v3
     * API.
     * 
* * optional bytes datastore_transaction = 21; * @return The datastoreTransaction. */ com.google.protobuf.ByteString getDatastoreTransaction(); /** *
     * Name of the app_id - only works for admin console.
     * 
* * optional bytes app_id = 11; * @return Whether the appId field is set. */ boolean hasAppId(); /** *
     * Name of the app_id - only works for admin console.
     * 
* * optional bytes app_id = 11; * @return The appId. */ com.google.protobuf.ByteString getAppId(); /** * optional group CronTimetable = 12 { ... } * @return Whether the crontimetable field is set. */ boolean hasCronTimetable(); /** * optional group CronTimetable = 12 { ... } * @return The crontimetable. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable getCronTimetable(); /** * optional group CronTimetable = 12 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetableOrBuilder getCronTimetableOrBuilder(); /** *
     * Human readable description of the task.
     * 
* * optional bytes description = 15; * @return Whether the description field is set. */ boolean hasDescription(); /** *
     * Human readable description of the task.
     * 
* * optional bytes description = 15; * @return The description. */ com.google.protobuf.ByteString getDescription(); /** *
     * Payload for the task. All task payload types will be eventually here.
     * 
* * optional .java.apphosting.TaskPayload payload = 16; * @return Whether the payload field is set. */ boolean hasPayload(); /** *
     * Payload for the task. All task payload types will be eventually here.
     * 
* * optional .java.apphosting.TaskPayload payload = 16; * @return The payload. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload getPayload(); /** *
     * Payload for the task. All task payload types will be eventually here.
     * 
* * optional .java.apphosting.TaskPayload payload = 16; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayloadOrBuilder getPayloadOrBuilder(); /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; * @return Whether the retryParameters field is set. */ boolean hasRetryParameters(); /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; * @return The retryParameters. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getRetryParameters(); /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getRetryParametersOrBuilder(); /** *
     * Default is ENUM 0, PUSH.
     * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 18; * @return Whether the mode field is set. */ boolean hasMode(); /** *
     * Default is ENUM 0, PUSH.
     * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 18; * @return The mode. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode getMode(); /** *
     * Tag associated with this task. This is used for grouping tasks in a
     * queue.
     * 
* * optional bytes tag = 19; * @return Whether the tag field is set. */ boolean hasTag(); /** *
     * Tag associated with this task. This is used for grouping tasks in a
     * queue.
     * 
* * optional bytes tag = 19; * @return The tag. */ com.google.protobuf.ByteString getTag(); /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; * @return Whether the cronRetryParameters field is set. */ boolean hasCronRetryParameters(); /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; * @return The cronRetryParameters. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getCronRetryParameters(); /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getCronRetryParametersOrBuilder(); /** *
     * The deadline for requests sent to the worker. If the worker does not
     * respond by this deadline then the request is cancelled and the attempt
     * is marked as a `DEADLINE_EXCEEDED` failure. The task will be retried based
     * on the retry configuration.
     * 
* * optional int64 dispatch_deadline_usec = 22; * @return Whether the dispatchDeadlineUsec field is set. */ boolean hasDispatchDeadlineUsec(); /** *
     * The deadline for requests sent to the worker. If the worker does not
     * respond by this deadline then the request is cancelled and the attempt
     * is marked as a `DEADLINE_EXCEEDED` failure. The task will be retried based
     * on the retry configuration.
     * 
* * optional int64 dispatch_deadline_usec = 22; * @return The dispatchDeadlineUsec. */ long getDispatchDeadlineUsec(); } /** * Protobuf type {@code java.apphosting.TaskQueueAddRequest} */ public static final class TaskQueueAddRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueAddRequest) TaskQueueAddRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueAddRequest.newBuilder() to construct. private TaskQueueAddRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueAddRequest() { queueName_ = com.google.protobuf.ByteString.EMPTY; taskName_ = com.google.protobuf.ByteString.EMPTY; method_ = 2; url_ = com.google.protobuf.ByteString.EMPTY; header_ = java.util.Collections.emptyList(); body_ = com.google.protobuf.ByteString.EMPTY; datastoreTransaction_ = com.google.protobuf.ByteString.EMPTY; appId_ = com.google.protobuf.ByteString.EMPTY; description_ = com.google.protobuf.ByteString.EMPTY; mode_ = 0; tag_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueAddRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Builder.class); } /** * Protobuf enum {@code java.apphosting.TaskQueueAddRequest.RequestMethod} */ public enum RequestMethod implements com.google.protobuf.ProtocolMessageEnum { /** * GET = 1; */ GET(1), /** * POST = 2; */ POST(2), /** * HEAD = 3; */ HEAD(3), /** * PUT = 4; */ PUT(4), /** * DELETE = 5; */ DELETE(5), ; /** * GET = 1; */ public static final int GET_VALUE = 1; /** * POST = 2; */ public static final int POST_VALUE = 2; /** * HEAD = 3; */ public static final int HEAD_VALUE = 3; /** * PUT = 4; */ public static final int PUT_VALUE = 4; /** * DELETE = 5; */ public static final int DELETE_VALUE = 5; public final int getNumber() { return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static RequestMethod valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static RequestMethod forNumber(int value) { switch (value) { case 1: return GET; case 2: return POST; case 3: return HEAD; case 4: return PUT; case 5: return DELETE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< RequestMethod> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public RequestMethod findValueByNumber(int number) { return RequestMethod.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.getDescriptor().getEnumTypes().get(0); } private static final RequestMethod[] VALUES = values(); public static RequestMethod valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private RequestMethod(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:java.apphosting.TaskQueueAddRequest.RequestMethod) } public interface HeaderOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueAddRequest.Header) com.google.protobuf.MessageOrBuilder { /** * required bytes key = 7; * @return Whether the key field is set. */ boolean hasKey(); /** * required bytes key = 7; * @return The key. */ com.google.protobuf.ByteString getKey(); /** * required bytes value = 8; * @return Whether the value field is set. */ boolean hasValue(); /** * required bytes value = 8; * @return The value. */ com.google.protobuf.ByteString getValue(); } /** *
     * Additional headers to include on the task http request. These headers will
     * be sanitized, and some may be removed entirely. Please refer to
     * taskqueue_service.cc and http_task_runner.cc for details about the
     * sanitization done. Most notably:
     *    * The Host: header is ignored and then set to the host of the request
     *      making the API call.
     *    * The User-Agent: header is accepted, but we will append to it.
     *    * The Referer: header is ignored and then set to the url of the request
     *      making the API call.
     * The most notable thing the client library is expected to add here is
     * Content-Type: header, as if none is specified we will default to
     * application/octet-stream. Otherwise there are no special expectations here.
     * 
* * Protobuf type {@code java.apphosting.TaskQueueAddRequest.Header} */ public static final class Header extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueAddRequest.Header) HeaderOrBuilder { private static final long serialVersionUID = 0L; // Use Header.newBuilder() to construct. private Header(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Header() { key_ = com.google.protobuf.ByteString.EMPTY; value_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Header(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_Header_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_Header_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.Builder.class); } private int bitField0_; public static final int KEY_FIELD_NUMBER = 7; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes key = 7; * @return Whether the key field is set. */ @java.lang.Override public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes key = 7; * @return The key. */ @java.lang.Override public com.google.protobuf.ByteString getKey() { return key_; } public static final int VALUE_FIELD_NUMBER = 8; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes value = 8; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** * required bytes value = 8; * @return The value. */ @java.lang.Override public com.google.protobuf.ByteString getValue() { return value_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasKey()) { memoizedIsInitialized = 0; return false; } if (!hasValue()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(7, key_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(8, value_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, key_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, value_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header) obj; if (hasKey() != other.hasKey()) return false; if (hasKey()) { if (!getKey() .equals(other.getKey())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (!getValue() .equals(other.getValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
       * Additional headers to include on the task http request. These headers will
       * be sanitized, and some may be removed entirely. Please refer to
       * taskqueue_service.cc and http_task_runner.cc for details about the
       * sanitization done. Most notably:
       *    * The Host: header is ignored and then set to the host of the request
       *      making the API call.
       *    * The User-Agent: header is accepted, but we will append to it.
       *    * The Referer: header is ignored and then set to the url of the request
       *      making the API call.
       * The most notable thing the client library is expected to add here is
       * Content-Type: header, as if none is specified we will default to
       * application/octet-stream. Otherwise there are no special expectations here.
       * 
* * Protobuf type {@code java.apphosting.TaskQueueAddRequest.Header} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueAddRequest.Header) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.HeaderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_Header_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_Header_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; key_ = com.google.protobuf.ByteString.EMPTY; value_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_Header_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.key_ = key_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.value_ = value_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.getDefaultInstance()) return this; if (other.hasKey()) { setKey(other.getKey()); } if (other.hasValue()) { setValue(other.getValue()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasKey()) { return false; } if (!hasValue()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 58: { key_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 58 case 66: { value_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 66 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes key = 7; * @return Whether the key field is set. */ @java.lang.Override public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes key = 7; * @return The key. */ @java.lang.Override public com.google.protobuf.ByteString getKey() { return key_; } /** * required bytes key = 7; * @param value The key to set. * @return This builder for chaining. */ public Builder setKey(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } key_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * required bytes key = 7; * @return This builder for chaining. */ public Builder clearKey() { bitField0_ = (bitField0_ & ~0x00000001); key_ = getDefaultInstance().getKey(); onChanged(); return this; } private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes value = 8; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** * required bytes value = 8; * @return The value. */ @java.lang.Override public com.google.protobuf.ByteString getValue() { return value_; } /** * required bytes value = 8; * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * required bytes value = 8; * @return This builder for chaining. */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueAddRequest.Header) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueAddRequest.Header) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser
() { @java.lang.Override public Header parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser
parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser
getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CronTimetableOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueAddRequest.CronTimetable) com.google.protobuf.MessageOrBuilder { /** *
       * Task schedule in the groc format.
       * For details please refer to //depot/google3/borg/borgcron/groc.g
       * 
* * required bytes schedule = 13; * @return Whether the schedule field is set. */ boolean hasSchedule(); /** *
       * Task schedule in the groc format.
       * For details please refer to //depot/google3/borg/borgcron/groc.g
       * 
* * required bytes schedule = 13; * @return The schedule. */ com.google.protobuf.ByteString getSchedule(); /** * required bytes timezone = 14; * @return Whether the timezone field is set. */ boolean hasTimezone(); /** * required bytes timezone = 14; * @return The timezone. */ com.google.protobuf.ByteString getTimezone(); } /** *
     * Timetable of recurrent task, currently only works for admin console.
     * 
* * Protobuf type {@code java.apphosting.TaskQueueAddRequest.CronTimetable} */ public static final class CronTimetable extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueAddRequest.CronTimetable) CronTimetableOrBuilder { private static final long serialVersionUID = 0L; // Use CronTimetable.newBuilder() to construct. private CronTimetable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CronTimetable() { schedule_ = com.google.protobuf.ByteString.EMPTY; timezone_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CronTimetable(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_CronTimetable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_CronTimetable_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.Builder.class); } private int bitField0_; public static final int SCHEDULE_FIELD_NUMBER = 13; private com.google.protobuf.ByteString schedule_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Task schedule in the groc format.
       * For details please refer to //depot/google3/borg/borgcron/groc.g
       * 
* * required bytes schedule = 13; * @return Whether the schedule field is set. */ @java.lang.Override public boolean hasSchedule() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Task schedule in the groc format.
       * For details please refer to //depot/google3/borg/borgcron/groc.g
       * 
* * required bytes schedule = 13; * @return The schedule. */ @java.lang.Override public com.google.protobuf.ByteString getSchedule() { return schedule_; } public static final int TIMEZONE_FIELD_NUMBER = 14; private com.google.protobuf.ByteString timezone_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes timezone = 14; * @return Whether the timezone field is set. */ @java.lang.Override public boolean hasTimezone() { return ((bitField0_ & 0x00000002) != 0); } /** * required bytes timezone = 14; * @return The timezone. */ @java.lang.Override public com.google.protobuf.ByteString getTimezone() { return timezone_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasSchedule()) { memoizedIsInitialized = 0; return false; } if (!hasTimezone()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(13, schedule_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(14, timezone_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(13, schedule_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(14, timezone_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable) obj; if (hasSchedule() != other.hasSchedule()) return false; if (hasSchedule()) { if (!getSchedule() .equals(other.getSchedule())) return false; } if (hasTimezone() != other.hasTimezone()) return false; if (hasTimezone()) { if (!getTimezone() .equals(other.getTimezone())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSchedule()) { hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getSchedule().hashCode(); } if (hasTimezone()) { hash = (37 * hash) + TIMEZONE_FIELD_NUMBER; hash = (53 * hash) + getTimezone().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
       * Timetable of recurrent task, currently only works for admin console.
       * 
* * Protobuf type {@code java.apphosting.TaskQueueAddRequest.CronTimetable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueAddRequest.CronTimetable) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_CronTimetable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_CronTimetable_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; schedule_ = com.google.protobuf.ByteString.EMPTY; timezone_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_CronTimetable_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.schedule_ = schedule_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.timezone_ = timezone_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.getDefaultInstance()) return this; if (other.hasSchedule()) { setSchedule(other.getSchedule()); } if (other.hasTimezone()) { setTimezone(other.getTimezone()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasSchedule()) { return false; } if (!hasTimezone()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 106: { schedule_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 106 case 114: { timezone_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 114 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString schedule_ = com.google.protobuf.ByteString.EMPTY; /** *
         * Task schedule in the groc format.
         * For details please refer to //depot/google3/borg/borgcron/groc.g
         * 
* * required bytes schedule = 13; * @return Whether the schedule field is set. */ @java.lang.Override public boolean hasSchedule() { return ((bitField0_ & 0x00000001) != 0); } /** *
         * Task schedule in the groc format.
         * For details please refer to //depot/google3/borg/borgcron/groc.g
         * 
* * required bytes schedule = 13; * @return The schedule. */ @java.lang.Override public com.google.protobuf.ByteString getSchedule() { return schedule_; } /** *
         * Task schedule in the groc format.
         * For details please refer to //depot/google3/borg/borgcron/groc.g
         * 
* * required bytes schedule = 13; * @param value The schedule to set. * @return This builder for chaining. */ public Builder setSchedule(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } schedule_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
         * Task schedule in the groc format.
         * For details please refer to //depot/google3/borg/borgcron/groc.g
         * 
* * required bytes schedule = 13; * @return This builder for chaining. */ public Builder clearSchedule() { bitField0_ = (bitField0_ & ~0x00000001); schedule_ = getDefaultInstance().getSchedule(); onChanged(); return this; } private com.google.protobuf.ByteString timezone_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes timezone = 14; * @return Whether the timezone field is set. */ @java.lang.Override public boolean hasTimezone() { return ((bitField0_ & 0x00000002) != 0); } /** * required bytes timezone = 14; * @return The timezone. */ @java.lang.Override public com.google.protobuf.ByteString getTimezone() { return timezone_; } /** * required bytes timezone = 14; * @param value The timezone to set. * @return This builder for chaining. */ public Builder setTimezone(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } timezone_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * required bytes timezone = 14; * @return This builder for chaining. */ public Builder clearTimezone() { bitField0_ = (bitField0_ & ~0x00000002); timezone_ = getDefaultInstance().getTimezone(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueAddRequest.CronTimetable) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueAddRequest.CronTimetable) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CronTimetable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int QUEUE_NAME_FIELD_NUMBER = 1; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the queue to add the task to.
     * 
* * required bytes queue_name = 1; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Name of the queue to add the task to.
     * 
* * required bytes queue_name = 1; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } public static final int TASK_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString taskName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the task.
     * If empty, a unique task name will automatically be chosen for the task.
     * 
* * required bytes task_name = 2; * @return Whether the taskName field is set. */ @java.lang.Override public boolean hasTaskName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Name of the task.
     * If empty, a unique task name will automatically be chosen for the task.
     * 
* * required bytes task_name = 2; * @return The taskName. */ @java.lang.Override public com.google.protobuf.ByteString getTaskName() { return taskName_; } public static final int ETA_USEC_FIELD_NUMBER = 3; private long etaUsec_ = 0L; /** *
     * Time to execute task, in microseconds since the unix epoch.
     * Values less than current time are silently increased to the current time.
     * 
* * required int64 eta_usec = 3; * @return Whether the etaUsec field is set. */ @java.lang.Override public boolean hasEtaUsec() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Time to execute task, in microseconds since the unix epoch.
     * Values less than current time are silently increased to the current time.
     * 
* * required int64 eta_usec = 3; * @return The etaUsec. */ @java.lang.Override public long getEtaUsec() { return etaUsec_; } public static final int METHOD_FIELD_NUMBER = 5; private int method_ = 2; /** * optional .java.apphosting.TaskQueueAddRequest.RequestMethod method = 5 [default = POST]; * @return Whether the method field is set. */ @java.lang.Override public boolean hasMethod() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .java.apphosting.TaskQueueAddRequest.RequestMethod method = 5 [default = POST]; * @return The method. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.RequestMethod getMethod() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.RequestMethod result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.RequestMethod.forNumber(method_); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.RequestMethod.POST : result; } public static final int URL_FIELD_NUMBER = 4; private com.google.protobuf.ByteString url_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Required for all Http tasks.
     * 
* * optional bytes url = 4; * @return Whether the url field is set. */ @java.lang.Override public boolean hasUrl() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Required for all Http tasks.
     * 
* * optional bytes url = 4; * @return The url. */ @java.lang.Override public com.google.protobuf.ByteString getUrl() { return url_; } public static final int HEADER_FIELD_NUMBER = 6; @SuppressWarnings("serial") private java.util.List header_; /** * repeated group Header = 6 { ... } */ @java.lang.Override public java.util.List getHeaderList() { return header_; } /** * repeated group Header = 6 { ... } */ @java.lang.Override public java.util.List getHeaderOrBuilderList() { return header_; } /** * repeated group Header = 6 { ... } */ @java.lang.Override public int getHeaderCount() { return header_.size(); } /** * repeated group Header = 6 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header getHeader(int index) { return header_.get(index); } /** * repeated group Header = 6 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.HeaderOrBuilder getHeaderOrBuilder( int index) { return header_.get(index); } public static final int BODY_FIELD_NUMBER = 9; private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Body of the HTTP request (may contain binary data). Ignored unless method
     * is POST or PUT.
     * 
* * optional bytes body = 9 [ctype = CORD]; * @return Whether the body field is set. */ @java.lang.Override public boolean hasBody() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Body of the HTTP request (may contain binary data). Ignored unless method
     * is POST or PUT.
     * 
* * optional bytes body = 9 [ctype = CORD]; * @return The body. */ @java.lang.Override public com.google.protobuf.ByteString getBody() { return body_; } public static final int TRANSACTION_FIELD_NUMBER = 10; private com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction transaction_; /** *
     * Transaction reference, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
     * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; * @return Whether the transaction field is set. */ @java.lang.Override public boolean hasTransaction() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Transaction reference, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
     * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; * @return The transaction. */ @java.lang.Override public com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction getTransaction() { return transaction_ == null ? com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction.getDefaultInstance() : transaction_; } /** *
     * Transaction reference, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
     * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; */ @java.lang.Override public com.google.apphosting.datastore.proto2api.DatastoreV3Pb.TransactionOrBuilder getTransactionOrBuilder() { return transaction_ == null ? com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction.getDefaultInstance() : transaction_; } public static final int DATASTORE_TRANSACTION_FIELD_NUMBER = 21; private com.google.protobuf.ByteString datastoreTransaction_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Cloud Datastore transaction identifier (a serialized
     * cloud_datastore.internal.Transaction). If set, AddActions will
     * be called on the Cloud Datastore interop API instead of the datastore_v3
     * API.
     * 
* * optional bytes datastore_transaction = 21; * @return Whether the datastoreTransaction field is set. */ @java.lang.Override public boolean hasDatastoreTransaction() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Cloud Datastore transaction identifier (a serialized
     * cloud_datastore.internal.Transaction). If set, AddActions will
     * be called on the Cloud Datastore interop API instead of the datastore_v3
     * API.
     * 
* * optional bytes datastore_transaction = 21; * @return The datastoreTransaction. */ @java.lang.Override public com.google.protobuf.ByteString getDatastoreTransaction() { return datastoreTransaction_; } public static final int APP_ID_FIELD_NUMBER = 11; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the app_id - only works for admin console.
     * 
* * optional bytes app_id = 11; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * Name of the app_id - only works for admin console.
     * 
* * optional bytes app_id = 11; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } public static final int CRONTIMETABLE_FIELD_NUMBER = 12; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable cronTimetable_; /** * optional group CronTimetable = 12 { ... } * @return Whether the crontimetable field is set. */ @java.lang.Override public boolean hasCronTimetable() { return ((bitField0_ & 0x00000200) != 0); } /** * optional group CronTimetable = 12 { ... } * @return The crontimetable. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable getCronTimetable() { return cronTimetable_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.getDefaultInstance() : cronTimetable_; } /** * optional group CronTimetable = 12 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetableOrBuilder getCronTimetableOrBuilder() { return cronTimetable_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.getDefaultInstance() : cronTimetable_; } public static final int DESCRIPTION_FIELD_NUMBER = 15; private com.google.protobuf.ByteString description_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Human readable description of the task.
     * 
* * optional bytes description = 15; * @return Whether the description field is set. */ @java.lang.Override public boolean hasDescription() { return ((bitField0_ & 0x00000400) != 0); } /** *
     * Human readable description of the task.
     * 
* * optional bytes description = 15; * @return The description. */ @java.lang.Override public com.google.protobuf.ByteString getDescription() { return description_; } public static final int PAYLOAD_FIELD_NUMBER = 16; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload payload_; /** *
     * Payload for the task. All task payload types will be eventually here.
     * 
* * optional .java.apphosting.TaskPayload payload = 16; * @return Whether the payload field is set. */ @java.lang.Override public boolean hasPayload() { return ((bitField0_ & 0x00000800) != 0); } /** *
     * Payload for the task. All task payload types will be eventually here.
     * 
* * optional .java.apphosting.TaskPayload payload = 16; * @return The payload. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload getPayload() { return payload_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.getDefaultInstance() : payload_; } /** *
     * Payload for the task. All task payload types will be eventually here.
     * 
* * optional .java.apphosting.TaskPayload payload = 16; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayloadOrBuilder getPayloadOrBuilder() { return payload_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.getDefaultInstance() : payload_; } public static final int RETRY_PARAMETERS_FIELD_NUMBER = 17; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters retryParameters_; /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; * @return Whether the retryParameters field is set. */ @java.lang.Override public boolean hasRetryParameters() { return ((bitField0_ & 0x00001000) != 0); } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; * @return The retryParameters. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getRetryParameters() { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getRetryParametersOrBuilder() { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } public static final int MODE_FIELD_NUMBER = 18; private int mode_ = 0; /** *
     * Default is ENUM 0, PUSH.
     * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 18; * @return Whether the mode field is set. */ @java.lang.Override public boolean hasMode() { return ((bitField0_ & 0x00002000) != 0); } /** *
     * Default is ENUM 0, PUSH.
     * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 18; * @return The mode. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode getMode() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.forNumber(mode_); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.PUSH : result; } public static final int TAG_FIELD_NUMBER = 19; private com.google.protobuf.ByteString tag_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Tag associated with this task. This is used for grouping tasks in a
     * queue.
     * 
* * optional bytes tag = 19; * @return Whether the tag field is set. */ @java.lang.Override public boolean hasTag() { return ((bitField0_ & 0x00004000) != 0); } /** *
     * Tag associated with this task. This is used for grouping tasks in a
     * queue.
     * 
* * optional bytes tag = 19; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } public static final int CRON_RETRY_PARAMETERS_FIELD_NUMBER = 20; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters cronRetryParameters_; /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; * @return Whether the cronRetryParameters field is set. */ @java.lang.Override public boolean hasCronRetryParameters() { return ((bitField0_ & 0x00008000) != 0); } /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; * @return The cronRetryParameters. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getCronRetryParameters() { return cronRetryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : cronRetryParameters_; } /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getCronRetryParametersOrBuilder() { return cronRetryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : cronRetryParameters_; } public static final int DISPATCH_DEADLINE_USEC_FIELD_NUMBER = 22; private long dispatchDeadlineUsec_ = 0L; /** *
     * The deadline for requests sent to the worker. If the worker does not
     * respond by this deadline then the request is cancelled and the attempt
     * is marked as a `DEADLINE_EXCEEDED` failure. The task will be retried based
     * on the retry configuration.
     * 
* * optional int64 dispatch_deadline_usec = 22; * @return Whether the dispatchDeadlineUsec field is set. */ @java.lang.Override public boolean hasDispatchDeadlineUsec() { return ((bitField0_ & 0x00010000) != 0); } /** *
     * The deadline for requests sent to the worker. If the worker does not
     * respond by this deadline then the request is cancelled and the attempt
     * is marked as a `DEADLINE_EXCEEDED` failure. The task will be retried based
     * on the retry configuration.
     * 
* * optional int64 dispatch_deadline_usec = 22; * @return The dispatchDeadlineUsec. */ @java.lang.Override public long getDispatchDeadlineUsec() { return dispatchDeadlineUsec_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasQueueName()) { memoizedIsInitialized = 0; return false; } if (!hasTaskName()) { memoizedIsInitialized = 0; return false; } if (!hasEtaUsec()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getHeaderCount(); i++) { if (!getHeader(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasTransaction()) { if (!getTransaction().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasCronTimetable()) { if (!getCronTimetable().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, queueName_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, taskName_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(3, etaUsec_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeBytes(4, url_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeEnum(5, method_); } for (int i = 0; i < header_.size(); i++) { output.writeGroup(6, header_.get(i)); } if (((bitField0_ & 0x00000020) != 0)) { output.writeBytes(9, body_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(10, getTransaction()); } if (((bitField0_ & 0x00000100) != 0)) { output.writeBytes(11, appId_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeGroup(12, getCronTimetable()); } if (((bitField0_ & 0x00000400) != 0)) { output.writeBytes(15, description_); } if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(16, getPayload()); } if (((bitField0_ & 0x00001000) != 0)) { output.writeMessage(17, getRetryParameters()); } if (((bitField0_ & 0x00002000) != 0)) { output.writeEnum(18, mode_); } if (((bitField0_ & 0x00004000) != 0)) { output.writeBytes(19, tag_); } if (((bitField0_ & 0x00008000) != 0)) { output.writeMessage(20, getCronRetryParameters()); } if (((bitField0_ & 0x00000080) != 0)) { output.writeBytes(21, datastoreTransaction_); } if (((bitField0_ & 0x00010000) != 0)) { output.writeInt64(22, dispatchDeadlineUsec_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, queueName_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, taskName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, etaUsec_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, url_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, method_); } for (int i = 0; i < header_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(6, header_.get(i)); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(9, body_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getTransaction()); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(11, appId_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(12, getCronTimetable()); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(15, description_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getPayload()); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getRetryParameters()); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(18, mode_); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(19, tag_); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, getCronRetryParameters()); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(21, datastoreTransaction_); } if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(22, dispatchDeadlineUsec_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest) obj; if (hasQueueName() != other.hasQueueName()) return false; if (hasQueueName()) { if (!getQueueName() .equals(other.getQueueName())) return false; } if (hasTaskName() != other.hasTaskName()) return false; if (hasTaskName()) { if (!getTaskName() .equals(other.getTaskName())) return false; } if (hasEtaUsec() != other.hasEtaUsec()) return false; if (hasEtaUsec()) { if (getEtaUsec() != other.getEtaUsec()) return false; } if (hasMethod() != other.hasMethod()) return false; if (hasMethod()) { if (method_ != other.method_) return false; } if (hasUrl() != other.hasUrl()) return false; if (hasUrl()) { if (!getUrl() .equals(other.getUrl())) return false; } if (!getHeaderList() .equals(other.getHeaderList())) return false; if (hasBody() != other.hasBody()) return false; if (hasBody()) { if (!getBody() .equals(other.getBody())) return false; } if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { if (!getTransaction() .equals(other.getTransaction())) return false; } if (hasDatastoreTransaction() != other.hasDatastoreTransaction()) return false; if (hasDatastoreTransaction()) { if (!getDatastoreTransaction() .equals(other.getDatastoreTransaction())) return false; } if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (hasCronTimetable() != other.hasCronTimetable()) return false; if (hasCronTimetable()) { if (!getCronTimetable() .equals(other.getCronTimetable())) return false; } if (hasDescription() != other.hasDescription()) return false; if (hasDescription()) { if (!getDescription() .equals(other.getDescription())) return false; } if (hasPayload() != other.hasPayload()) return false; if (hasPayload()) { if (!getPayload() .equals(other.getPayload())) return false; } if (hasRetryParameters() != other.hasRetryParameters()) return false; if (hasRetryParameters()) { if (!getRetryParameters() .equals(other.getRetryParameters())) return false; } if (hasMode() != other.hasMode()) return false; if (hasMode()) { if (mode_ != other.mode_) return false; } if (hasTag() != other.hasTag()) return false; if (hasTag()) { if (!getTag() .equals(other.getTag())) return false; } if (hasCronRetryParameters() != other.hasCronRetryParameters()) return false; if (hasCronRetryParameters()) { if (!getCronRetryParameters() .equals(other.getCronRetryParameters())) return false; } if (hasDispatchDeadlineUsec() != other.hasDispatchDeadlineUsec()) return false; if (hasDispatchDeadlineUsec()) { if (getDispatchDeadlineUsec() != other.getDispatchDeadlineUsec()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasQueueName()) { hash = (37 * hash) + QUEUE_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueueName().hashCode(); } if (hasTaskName()) { hash = (37 * hash) + TASK_NAME_FIELD_NUMBER; hash = (53 * hash) + getTaskName().hashCode(); } if (hasEtaUsec()) { hash = (37 * hash) + ETA_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEtaUsec()); } if (hasMethod()) { hash = (37 * hash) + METHOD_FIELD_NUMBER; hash = (53 * hash) + method_; } if (hasUrl()) { hash = (37 * hash) + URL_FIELD_NUMBER; hash = (53 * hash) + getUrl().hashCode(); } if (getHeaderCount() > 0) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeaderList().hashCode(); } if (hasBody()) { hash = (37 * hash) + BODY_FIELD_NUMBER; hash = (53 * hash) + getBody().hashCode(); } if (hasTransaction()) { hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; hash = (53 * hash) + getTransaction().hashCode(); } if (hasDatastoreTransaction()) { hash = (37 * hash) + DATASTORE_TRANSACTION_FIELD_NUMBER; hash = (53 * hash) + getDatastoreTransaction().hashCode(); } if (hasAppId()) { hash = (37 * hash) + APP_ID_FIELD_NUMBER; hash = (53 * hash) + getAppId().hashCode(); } if (hasCronTimetable()) { hash = (37 * hash) + CRONTIMETABLE_FIELD_NUMBER; hash = (53 * hash) + getCronTimetable().hashCode(); } if (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); } if (hasPayload()) { hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getPayload().hashCode(); } if (hasRetryParameters()) { hash = (37 * hash) + RETRY_PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getRetryParameters().hashCode(); } if (hasMode()) { hash = (37 * hash) + MODE_FIELD_NUMBER; hash = (53 * hash) + mode_; } if (hasTag()) { hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag().hashCode(); } if (hasCronRetryParameters()) { hash = (37 * hash) + CRON_RETRY_PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getCronRetryParameters().hashCode(); } if (hasDispatchDeadlineUsec()) { hash = (37 * hash) + DISPATCH_DEADLINE_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDispatchDeadlineUsec()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueAddRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueAddRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getHeaderFieldBuilder(); getTransactionFieldBuilder(); getCronTimetableFieldBuilder(); getPayloadFieldBuilder(); getRetryParametersFieldBuilder(); getCronRetryParametersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; queueName_ = com.google.protobuf.ByteString.EMPTY; taskName_ = com.google.protobuf.ByteString.EMPTY; etaUsec_ = 0L; method_ = 2; url_ = com.google.protobuf.ByteString.EMPTY; if (headerBuilder_ == null) { header_ = java.util.Collections.emptyList(); } else { header_ = null; headerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); body_ = com.google.protobuf.ByteString.EMPTY; transaction_ = null; if (transactionBuilder_ != null) { transactionBuilder_.dispose(); transactionBuilder_ = null; } datastoreTransaction_ = com.google.protobuf.ByteString.EMPTY; appId_ = com.google.protobuf.ByteString.EMPTY; cronTimetable_ = null; if (cronTimetableBuilder_ != null) { cronTimetableBuilder_.dispose(); cronTimetableBuilder_ = null; } description_ = com.google.protobuf.ByteString.EMPTY; payload_ = null; if (payloadBuilder_ != null) { payloadBuilder_.dispose(); payloadBuilder_ = null; } retryParameters_ = null; if (retryParametersBuilder_ != null) { retryParametersBuilder_.dispose(); retryParametersBuilder_ = null; } mode_ = 0; tag_ = com.google.protobuf.ByteString.EMPTY; cronRetryParameters_ = null; if (cronRetryParametersBuilder_ != null) { cronRetryParametersBuilder_.dispose(); cronRetryParametersBuilder_ = null; } dispatchDeadlineUsec_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest result) { if (headerBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { header_ = java.util.Collections.unmodifiableList(header_); bitField0_ = (bitField0_ & ~0x00000020); } result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.queueName_ = queueName_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.taskName_ = taskName_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.etaUsec_ = etaUsec_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.method_ = method_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.url_ = url_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { result.body_ = body_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { result.transaction_ = transactionBuilder_ == null ? transaction_ : transactionBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000100) != 0)) { result.datastoreTransaction_ = datastoreTransaction_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000200) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000400) != 0)) { result.cronTimetable_ = cronTimetableBuilder_ == null ? cronTimetable_ : cronTimetableBuilder_.build(); to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000800) != 0)) { result.description_ = description_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00001000) != 0)) { result.payload_ = payloadBuilder_ == null ? payload_ : payloadBuilder_.build(); to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00002000) != 0)) { result.retryParameters_ = retryParametersBuilder_ == null ? retryParameters_ : retryParametersBuilder_.build(); to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00004000) != 0)) { result.mode_ = mode_; to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00008000) != 0)) { result.tag_ = tag_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00010000) != 0)) { result.cronRetryParameters_ = cronRetryParametersBuilder_ == null ? cronRetryParameters_ : cronRetryParametersBuilder_.build(); to_bitField0_ |= 0x00008000; } if (((from_bitField0_ & 0x00020000) != 0)) { result.dispatchDeadlineUsec_ = dispatchDeadlineUsec_; to_bitField0_ |= 0x00010000; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.getDefaultInstance()) return this; if (other.hasQueueName()) { setQueueName(other.getQueueName()); } if (other.hasTaskName()) { setTaskName(other.getTaskName()); } if (other.hasEtaUsec()) { setEtaUsec(other.getEtaUsec()); } if (other.hasMethod()) { setMethod(other.getMethod()); } if (other.hasUrl()) { setUrl(other.getUrl()); } if (headerBuilder_ == null) { if (!other.header_.isEmpty()) { if (header_.isEmpty()) { header_ = other.header_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureHeaderIsMutable(); header_.addAll(other.header_); } onChanged(); } } else { if (!other.header_.isEmpty()) { if (headerBuilder_.isEmpty()) { headerBuilder_.dispose(); headerBuilder_ = null; header_ = other.header_; bitField0_ = (bitField0_ & ~0x00000020); headerBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getHeaderFieldBuilder() : null; } else { headerBuilder_.addAllMessages(other.header_); } } } if (other.hasBody()) { setBody(other.getBody()); } if (other.hasTransaction()) { mergeTransaction(other.getTransaction()); } if (other.hasDatastoreTransaction()) { setDatastoreTransaction(other.getDatastoreTransaction()); } if (other.hasAppId()) { setAppId(other.getAppId()); } if (other.hasCronTimetable()) { mergeCronTimetable(other.getCronTimetable()); } if (other.hasDescription()) { setDescription(other.getDescription()); } if (other.hasPayload()) { mergePayload(other.getPayload()); } if (other.hasRetryParameters()) { mergeRetryParameters(other.getRetryParameters()); } if (other.hasMode()) { setMode(other.getMode()); } if (other.hasTag()) { setTag(other.getTag()); } if (other.hasCronRetryParameters()) { mergeCronRetryParameters(other.getCronRetryParameters()); } if (other.hasDispatchDeadlineUsec()) { setDispatchDeadlineUsec(other.getDispatchDeadlineUsec()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasQueueName()) { return false; } if (!hasTaskName()) { return false; } if (!hasEtaUsec()) { return false; } for (int i = 0; i < getHeaderCount(); i++) { if (!getHeader(i).isInitialized()) { return false; } } if (hasTransaction()) { if (!getTransaction().isInitialized()) { return false; } } if (hasCronTimetable()) { if (!getCronTimetable().isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { queueName_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { taskName_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { etaUsec_ = input.readInt64(); bitField0_ |= 0x00000004; break; } // case 24 case 34: { url_ = input.readBytes(); bitField0_ |= 0x00000010; break; } // case 34 case 40: { int tmpRaw = input.readEnum(); com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.RequestMethod tmpValue = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.RequestMethod.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(5, tmpRaw); } else { method_ = tmpRaw; bitField0_ |= 0x00000008; } break; } // case 40 case 51: { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header m = input.readGroup(6, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.PARSER, extensionRegistry); if (headerBuilder_ == null) { ensureHeaderIsMutable(); header_.add(m); } else { headerBuilder_.addMessage(m); } break; } // case 51 case 74: { body_ = input.readBytes(); bitField0_ |= 0x00000040; break; } // case 74 case 82: { input.readMessage( getTransactionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 82 case 90: { appId_ = input.readBytes(); bitField0_ |= 0x00000200; break; } // case 90 case 99: { input.readGroup(12, getCronTimetableFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 99 case 122: { description_ = input.readBytes(); bitField0_ |= 0x00000800; break; } // case 122 case 130: { input.readMessage( getPayloadFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00001000; break; } // case 130 case 138: { input.readMessage( getRetryParametersFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00002000; break; } // case 138 case 144: { int tmpRaw = input.readEnum(); com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode tmpValue = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(18, tmpRaw); } else { mode_ = tmpRaw; bitField0_ |= 0x00004000; } break; } // case 144 case 154: { tag_ = input.readBytes(); bitField0_ |= 0x00008000; break; } // case 154 case 162: { input.readMessage( getCronRetryParametersFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00010000; break; } // case 162 case 170: { datastoreTransaction_ = input.readBytes(); bitField0_ |= 0x00000100; break; } // case 170 case 176: { dispatchDeadlineUsec_ = input.readInt64(); bitField0_ |= 0x00020000; break; } // case 176 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the queue to add the task to.
       * 
* * required bytes queue_name = 1; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Name of the queue to add the task to.
       * 
* * required bytes queue_name = 1; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } /** *
       * Name of the queue to add the task to.
       * 
* * required bytes queue_name = 1; * @param value The queueName to set. * @return This builder for chaining. */ public Builder setQueueName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } queueName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Name of the queue to add the task to.
       * 
* * required bytes queue_name = 1; * @return This builder for chaining. */ public Builder clearQueueName() { bitField0_ = (bitField0_ & ~0x00000001); queueName_ = getDefaultInstance().getQueueName(); onChanged(); return this; } private com.google.protobuf.ByteString taskName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the task.
       * If empty, a unique task name will automatically be chosen for the task.
       * 
* * required bytes task_name = 2; * @return Whether the taskName field is set. */ @java.lang.Override public boolean hasTaskName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Name of the task.
       * If empty, a unique task name will automatically be chosen for the task.
       * 
* * required bytes task_name = 2; * @return The taskName. */ @java.lang.Override public com.google.protobuf.ByteString getTaskName() { return taskName_; } /** *
       * Name of the task.
       * If empty, a unique task name will automatically be chosen for the task.
       * 
* * required bytes task_name = 2; * @param value The taskName to set. * @return This builder for chaining. */ public Builder setTaskName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } taskName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Name of the task.
       * If empty, a unique task name will automatically be chosen for the task.
       * 
* * required bytes task_name = 2; * @return This builder for chaining. */ public Builder clearTaskName() { bitField0_ = (bitField0_ & ~0x00000002); taskName_ = getDefaultInstance().getTaskName(); onChanged(); return this; } private long etaUsec_ ; /** *
       * Time to execute task, in microseconds since the unix epoch.
       * Values less than current time are silently increased to the current time.
       * 
* * required int64 eta_usec = 3; * @return Whether the etaUsec field is set. */ @java.lang.Override public boolean hasEtaUsec() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Time to execute task, in microseconds since the unix epoch.
       * Values less than current time are silently increased to the current time.
       * 
* * required int64 eta_usec = 3; * @return The etaUsec. */ @java.lang.Override public long getEtaUsec() { return etaUsec_; } /** *
       * Time to execute task, in microseconds since the unix epoch.
       * Values less than current time are silently increased to the current time.
       * 
* * required int64 eta_usec = 3; * @param value The etaUsec to set. * @return This builder for chaining. */ public Builder setEtaUsec(long value) { etaUsec_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Time to execute task, in microseconds since the unix epoch.
       * Values less than current time are silently increased to the current time.
       * 
* * required int64 eta_usec = 3; * @return This builder for chaining. */ public Builder clearEtaUsec() { bitField0_ = (bitField0_ & ~0x00000004); etaUsec_ = 0L; onChanged(); return this; } private int method_ = 2; /** * optional .java.apphosting.TaskQueueAddRequest.RequestMethod method = 5 [default = POST]; * @return Whether the method field is set. */ @java.lang.Override public boolean hasMethod() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .java.apphosting.TaskQueueAddRequest.RequestMethod method = 5 [default = POST]; * @return The method. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.RequestMethod getMethod() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.RequestMethod result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.RequestMethod.forNumber(method_); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.RequestMethod.POST : result; } /** * optional .java.apphosting.TaskQueueAddRequest.RequestMethod method = 5 [default = POST]; * @param value The method to set. * @return This builder for chaining. */ public Builder setMethod(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.RequestMethod value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; method_ = value.getNumber(); onChanged(); return this; } /** * optional .java.apphosting.TaskQueueAddRequest.RequestMethod method = 5 [default = POST]; * @return This builder for chaining. */ public Builder clearMethod() { bitField0_ = (bitField0_ & ~0x00000008); method_ = 2; onChanged(); return this; } private com.google.protobuf.ByteString url_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Required for all Http tasks.
       * 
* * optional bytes url = 4; * @return Whether the url field is set. */ @java.lang.Override public boolean hasUrl() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Required for all Http tasks.
       * 
* * optional bytes url = 4; * @return The url. */ @java.lang.Override public com.google.protobuf.ByteString getUrl() { return url_; } /** *
       * Required for all Http tasks.
       * 
* * optional bytes url = 4; * @param value The url to set. * @return This builder for chaining. */ public Builder setUrl(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } url_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * Required for all Http tasks.
       * 
* * optional bytes url = 4; * @return This builder for chaining. */ public Builder clearUrl() { bitField0_ = (bitField0_ & ~0x00000010); url_ = getDefaultInstance().getUrl(); onChanged(); return this; } private java.util.List header_ = java.util.Collections.emptyList(); private void ensureHeaderIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { header_ = new java.util.ArrayList(header_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.HeaderOrBuilder> headerBuilder_; /** * repeated group Header = 6 { ... } */ public java.util.List getHeaderList() { if (headerBuilder_ == null) { return java.util.Collections.unmodifiableList(header_); } else { return headerBuilder_.getMessageList(); } } /** * repeated group Header = 6 { ... } */ public int getHeaderCount() { if (headerBuilder_ == null) { return header_.size(); } else { return headerBuilder_.getCount(); } } /** * repeated group Header = 6 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header getHeader(int index) { if (headerBuilder_ == null) { return header_.get(index); } else { return headerBuilder_.getMessage(index); } } /** * repeated group Header = 6 { ... } */ public Builder setHeader( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHeaderIsMutable(); header_.set(index, value); onChanged(); } else { headerBuilder_.setMessage(index, value); } return this; } /** * repeated group Header = 6 { ... } */ public Builder setHeader( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.Builder builderForValue) { if (headerBuilder_ == null) { ensureHeaderIsMutable(); header_.set(index, builderForValue.build()); onChanged(); } else { headerBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated group Header = 6 { ... } */ public Builder addHeader(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHeaderIsMutable(); header_.add(value); onChanged(); } else { headerBuilder_.addMessage(value); } return this; } /** * repeated group Header = 6 { ... } */ public Builder addHeader( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHeaderIsMutable(); header_.add(index, value); onChanged(); } else { headerBuilder_.addMessage(index, value); } return this; } /** * repeated group Header = 6 { ... } */ public Builder addHeader( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.Builder builderForValue) { if (headerBuilder_ == null) { ensureHeaderIsMutable(); header_.add(builderForValue.build()); onChanged(); } else { headerBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated group Header = 6 { ... } */ public Builder addHeader( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.Builder builderForValue) { if (headerBuilder_ == null) { ensureHeaderIsMutable(); header_.add(index, builderForValue.build()); onChanged(); } else { headerBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated group Header = 6 { ... } */ public Builder addAllHeader( java.lang.Iterable values) { if (headerBuilder_ == null) { ensureHeaderIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, header_); onChanged(); } else { headerBuilder_.addAllMessages(values); } return this; } /** * repeated group Header = 6 { ... } */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { headerBuilder_.clear(); } return this; } /** * repeated group Header = 6 { ... } */ public Builder removeHeader(int index) { if (headerBuilder_ == null) { ensureHeaderIsMutable(); header_.remove(index); onChanged(); } else { headerBuilder_.remove(index); } return this; } /** * repeated group Header = 6 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.Builder getHeaderBuilder( int index) { return getHeaderFieldBuilder().getBuilder(index); } /** * repeated group Header = 6 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.HeaderOrBuilder getHeaderOrBuilder( int index) { if (headerBuilder_ == null) { return header_.get(index); } else { return headerBuilder_.getMessageOrBuilder(index); } } /** * repeated group Header = 6 { ... } */ public java.util.List getHeaderOrBuilderList() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(header_); } } /** * repeated group Header = 6 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.Builder addHeaderBuilder() { return getHeaderFieldBuilder().addBuilder( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.getDefaultInstance()); } /** * repeated group Header = 6 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.Builder addHeaderBuilder( int index) { return getHeaderFieldBuilder().addBuilder( index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.getDefaultInstance()); } /** * repeated group Header = 6 { ... } */ public java.util.List getHeaderBuilderList() { return getHeaderFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.HeaderOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Header.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.HeaderOrBuilder>( header_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Body of the HTTP request (may contain binary data). Ignored unless method
       * is POST or PUT.
       * 
* * optional bytes body = 9 [ctype = CORD]; * @return Whether the body field is set. */ @java.lang.Override public boolean hasBody() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * Body of the HTTP request (may contain binary data). Ignored unless method
       * is POST or PUT.
       * 
* * optional bytes body = 9 [ctype = CORD]; * @return The body. */ @java.lang.Override public com.google.protobuf.ByteString getBody() { return body_; } /** *
       * Body of the HTTP request (may contain binary data). Ignored unless method
       * is POST or PUT.
       * 
* * optional bytes body = 9 [ctype = CORD]; * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } body_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * Body of the HTTP request (may contain binary data). Ignored unless method
       * is POST or PUT.
       * 
* * optional bytes body = 9 [ctype = CORD]; * @return This builder for chaining. */ public Builder clearBody() { bitField0_ = (bitField0_ & ~0x00000040); body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction transaction_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction, com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction.Builder, com.google.apphosting.datastore.proto2api.DatastoreV3Pb.TransactionOrBuilder> transactionBuilder_; /** *
       * Transaction reference, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
       * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * Transaction reference, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
       * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; * @return The transaction. */ public com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction getTransaction() { if (transactionBuilder_ == null) { return transaction_ == null ? com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** *
       * Transaction reference, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
       * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; */ public Builder setTransaction(com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction value) { if (transactionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } transaction_ = value; } else { transactionBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * Transaction reference, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
       * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; */ public Builder setTransaction( com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction.Builder builderForValue) { if (transactionBuilder_ == null) { transaction_ = builderForValue.build(); } else { transactionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * Transaction reference, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
       * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; */ public Builder mergeTransaction(com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction value) { if (transactionBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && transaction_ != null && transaction_ != com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction.getDefaultInstance()) { getTransactionBuilder().mergeFrom(value); } else { transaction_ = value; } } else { transactionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * Transaction reference, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
       * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; */ public Builder clearTransaction() { bitField0_ = (bitField0_ & ~0x00000080); transaction_ = null; if (transactionBuilder_ != null) { transactionBuilder_.dispose(); transactionBuilder_ = null; } onChanged(); return this; } /** *
       * Transaction reference, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
       * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; */ public com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction.Builder getTransactionBuilder() { bitField0_ |= 0x00000080; onChanged(); return getTransactionFieldBuilder().getBuilder(); } /** *
       * Transaction reference, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
       * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; */ public com.google.apphosting.datastore.proto2api.DatastoreV3Pb.TransactionOrBuilder getTransactionOrBuilder() { if (transactionBuilder_ != null) { return transactionBuilder_.getMessageOrBuilder(); } else { return transaction_ == null ? com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction.getDefaultInstance() : transaction_; } } /** *
       * Transaction reference, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/datastore_queues.md.
       * 
* * optional .apphosting_datastore_v3.Transaction transaction = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction, com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction.Builder, com.google.apphosting.datastore.proto2api.DatastoreV3Pb.TransactionOrBuilder> getTransactionFieldBuilder() { if (transactionBuilder_ == null) { transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction, com.google.apphosting.datastore.proto2api.DatastoreV3Pb.Transaction.Builder, com.google.apphosting.datastore.proto2api.DatastoreV3Pb.TransactionOrBuilder>( getTransaction(), getParentForChildren(), isClean()); transaction_ = null; } return transactionBuilder_; } private com.google.protobuf.ByteString datastoreTransaction_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Cloud Datastore transaction identifier (a serialized
       * cloud_datastore.internal.Transaction). If set, AddActions will
       * be called on the Cloud Datastore interop API instead of the datastore_v3
       * API.
       * 
* * optional bytes datastore_transaction = 21; * @return Whether the datastoreTransaction field is set. */ @java.lang.Override public boolean hasDatastoreTransaction() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * Cloud Datastore transaction identifier (a serialized
       * cloud_datastore.internal.Transaction). If set, AddActions will
       * be called on the Cloud Datastore interop API instead of the datastore_v3
       * API.
       * 
* * optional bytes datastore_transaction = 21; * @return The datastoreTransaction. */ @java.lang.Override public com.google.protobuf.ByteString getDatastoreTransaction() { return datastoreTransaction_; } /** *
       * Cloud Datastore transaction identifier (a serialized
       * cloud_datastore.internal.Transaction). If set, AddActions will
       * be called on the Cloud Datastore interop API instead of the datastore_v3
       * API.
       * 
* * optional bytes datastore_transaction = 21; * @param value The datastoreTransaction to set. * @return This builder for chaining. */ public Builder setDatastoreTransaction(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } datastoreTransaction_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * Cloud Datastore transaction identifier (a serialized
       * cloud_datastore.internal.Transaction). If set, AddActions will
       * be called on the Cloud Datastore interop API instead of the datastore_v3
       * API.
       * 
* * optional bytes datastore_transaction = 21; * @return This builder for chaining. */ public Builder clearDatastoreTransaction() { bitField0_ = (bitField0_ & ~0x00000100); datastoreTransaction_ = getDefaultInstance().getDatastoreTransaction(); onChanged(); return this; } private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the app_id - only works for admin console.
       * 
* * optional bytes app_id = 11; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000200) != 0); } /** *
       * Name of the app_id - only works for admin console.
       * 
* * optional bytes app_id = 11; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } /** *
       * Name of the app_id - only works for admin console.
       * 
* * optional bytes app_id = 11; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * Name of the app_id - only works for admin console.
       * 
* * optional bytes app_id = 11; * @return This builder for chaining. */ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000200); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable cronTimetable_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetableOrBuilder> cronTimetableBuilder_; /** * optional group CronTimetable = 12 { ... } * @return Whether the crontimetable field is set. */ public boolean hasCronTimetable() { return ((bitField0_ & 0x00000400) != 0); } /** * optional group CronTimetable = 12 { ... } * @return The crontimetable. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable getCronTimetable() { if (cronTimetableBuilder_ == null) { return cronTimetable_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.getDefaultInstance() : cronTimetable_; } else { return cronTimetableBuilder_.getMessage(); } } /** * optional group CronTimetable = 12 { ... } */ public Builder setCronTimetable(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable value) { if (cronTimetableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cronTimetable_ = value; } else { cronTimetableBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * optional group CronTimetable = 12 { ... } */ public Builder setCronTimetable( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.Builder builderForValue) { if (cronTimetableBuilder_ == null) { cronTimetable_ = builderForValue.build(); } else { cronTimetableBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * optional group CronTimetable = 12 { ... } */ public Builder mergeCronTimetable(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable value) { if (cronTimetableBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && cronTimetable_ != null && cronTimetable_ != com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.getDefaultInstance()) { getCronTimetableBuilder().mergeFrom(value); } else { cronTimetable_ = value; } } else { cronTimetableBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * optional group CronTimetable = 12 { ... } */ public Builder clearCronTimetable() { bitField0_ = (bitField0_ & ~0x00000400); cronTimetable_ = null; if (cronTimetableBuilder_ != null) { cronTimetableBuilder_.dispose(); cronTimetableBuilder_ = null; } onChanged(); return this; } /** * optional group CronTimetable = 12 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.Builder getCronTimetableBuilder() { bitField0_ |= 0x00000400; onChanged(); return getCronTimetableFieldBuilder().getBuilder(); } /** * optional group CronTimetable = 12 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetableOrBuilder getCronTimetableOrBuilder() { if (cronTimetableBuilder_ != null) { return cronTimetableBuilder_.getMessageOrBuilder(); } else { return cronTimetable_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.getDefaultInstance() : cronTimetable_; } } /** * optional group CronTimetable = 12 { ... } */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetableOrBuilder> getCronTimetableFieldBuilder() { if (cronTimetableBuilder_ == null) { cronTimetableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetable.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.CronTimetableOrBuilder>( getCronTimetable(), getParentForChildren(), isClean()); cronTimetable_ = null; } return cronTimetableBuilder_; } private com.google.protobuf.ByteString description_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Human readable description of the task.
       * 
* * optional bytes description = 15; * @return Whether the description field is set. */ @java.lang.Override public boolean hasDescription() { return ((bitField0_ & 0x00000800) != 0); } /** *
       * Human readable description of the task.
       * 
* * optional bytes description = 15; * @return The description. */ @java.lang.Override public com.google.protobuf.ByteString getDescription() { return description_; } /** *
       * Human readable description of the task.
       * 
* * optional bytes description = 15; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * Human readable description of the task.
       * 
* * optional bytes description = 15; * @return This builder for chaining. */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000800); description_ = getDefaultInstance().getDescription(); onChanged(); return this; } private com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload payload_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload, com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayloadOrBuilder> payloadBuilder_; /** *
       * Payload for the task. All task payload types will be eventually here.
       * 
* * optional .java.apphosting.TaskPayload payload = 16; * @return Whether the payload field is set. */ public boolean hasPayload() { return ((bitField0_ & 0x00001000) != 0); } /** *
       * Payload for the task. All task payload types will be eventually here.
       * 
* * optional .java.apphosting.TaskPayload payload = 16; * @return The payload. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload getPayload() { if (payloadBuilder_ == null) { return payload_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.getDefaultInstance() : payload_; } else { return payloadBuilder_.getMessage(); } } /** *
       * Payload for the task. All task payload types will be eventually here.
       * 
* * optional .java.apphosting.TaskPayload payload = 16; */ public Builder setPayload(com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload value) { if (payloadBuilder_ == null) { if (value == null) { throw new NullPointerException(); } payload_ = value; } else { payloadBuilder_.setMessage(value); } bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * Payload for the task. All task payload types will be eventually here.
       * 
* * optional .java.apphosting.TaskPayload payload = 16; */ public Builder setPayload( com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.Builder builderForValue) { if (payloadBuilder_ == null) { payload_ = builderForValue.build(); } else { payloadBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * Payload for the task. All task payload types will be eventually here.
       * 
* * optional .java.apphosting.TaskPayload payload = 16; */ public Builder mergePayload(com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload value) { if (payloadBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0) && payload_ != null && payload_ != com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.getDefaultInstance()) { getPayloadBuilder().mergeFrom(value); } else { payload_ = value; } } else { payloadBuilder_.mergeFrom(value); } bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * Payload for the task. All task payload types will be eventually here.
       * 
* * optional .java.apphosting.TaskPayload payload = 16; */ public Builder clearPayload() { bitField0_ = (bitField0_ & ~0x00001000); payload_ = null; if (payloadBuilder_ != null) { payloadBuilder_.dispose(); payloadBuilder_ = null; } onChanged(); return this; } /** *
       * Payload for the task. All task payload types will be eventually here.
       * 
* * optional .java.apphosting.TaskPayload payload = 16; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.Builder getPayloadBuilder() { bitField0_ |= 0x00001000; onChanged(); return getPayloadFieldBuilder().getBuilder(); } /** *
       * Payload for the task. All task payload types will be eventually here.
       * 
* * optional .java.apphosting.TaskPayload payload = 16; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayloadOrBuilder getPayloadOrBuilder() { if (payloadBuilder_ != null) { return payloadBuilder_.getMessageOrBuilder(); } else { return payload_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.getDefaultInstance() : payload_; } } /** *
       * Payload for the task. All task payload types will be eventually here.
       * 
* * optional .java.apphosting.TaskPayload payload = 16; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload, com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayloadOrBuilder> getPayloadFieldBuilder() { if (payloadBuilder_ == null) { payloadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload, com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayloadOrBuilder>( getPayload(), getParentForChildren(), isClean()); payload_ = null; } return payloadBuilder_; } private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters retryParameters_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder> retryParametersBuilder_; /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; * @return Whether the retryParameters field is set. */ public boolean hasRetryParameters() { return ((bitField0_ & 0x00002000) != 0); } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; * @return The retryParameters. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getRetryParameters() { if (retryParametersBuilder_ == null) { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } else { return retryParametersBuilder_.getMessage(); } } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; */ public Builder setRetryParameters(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters value) { if (retryParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } retryParameters_ = value; } else { retryParametersBuilder_.setMessage(value); } bitField0_ |= 0x00002000; onChanged(); return this; } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; */ public Builder setRetryParameters( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder builderForValue) { if (retryParametersBuilder_ == null) { retryParameters_ = builderForValue.build(); } else { retryParametersBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00002000; onChanged(); return this; } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; */ public Builder mergeRetryParameters(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters value) { if (retryParametersBuilder_ == null) { if (((bitField0_ & 0x00002000) != 0) && retryParameters_ != null && retryParameters_ != com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance()) { getRetryParametersBuilder().mergeFrom(value); } else { retryParameters_ = value; } } else { retryParametersBuilder_.mergeFrom(value); } bitField0_ |= 0x00002000; onChanged(); return this; } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; */ public Builder clearRetryParameters() { bitField0_ = (bitField0_ & ~0x00002000); retryParameters_ = null; if (retryParametersBuilder_ != null) { retryParametersBuilder_.dispose(); retryParametersBuilder_ = null; } onChanged(); return this; } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder getRetryParametersBuilder() { bitField0_ |= 0x00002000; onChanged(); return getRetryParametersFieldBuilder().getBuilder(); } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getRetryParametersOrBuilder() { if (retryParametersBuilder_ != null) { return retryParametersBuilder_.getMessageOrBuilder(); } else { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 17; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder> getRetryParametersFieldBuilder() { if (retryParametersBuilder_ == null) { retryParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder>( getRetryParameters(), getParentForChildren(), isClean()); retryParameters_ = null; } return retryParametersBuilder_; } private int mode_ = 0; /** *
       * Default is ENUM 0, PUSH.
       * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 18; * @return Whether the mode field is set. */ @java.lang.Override public boolean hasMode() { return ((bitField0_ & 0x00004000) != 0); } /** *
       * Default is ENUM 0, PUSH.
       * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 18; * @return The mode. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode getMode() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.forNumber(mode_); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.PUSH : result; } /** *
       * Default is ENUM 0, PUSH.
       * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 18; * @param value The mode to set. * @return This builder for chaining. */ public Builder setMode(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; mode_ = value.getNumber(); onChanged(); return this; } /** *
       * Default is ENUM 0, PUSH.
       * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 18; * @return This builder for chaining. */ public Builder clearMode() { bitField0_ = (bitField0_ & ~0x00004000); mode_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString tag_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Tag associated with this task. This is used for grouping tasks in a
       * queue.
       * 
* * optional bytes tag = 19; * @return Whether the tag field is set. */ @java.lang.Override public boolean hasTag() { return ((bitField0_ & 0x00008000) != 0); } /** *
       * Tag associated with this task. This is used for grouping tasks in a
       * queue.
       * 
* * optional bytes tag = 19; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } /** *
       * Tag associated with this task. This is used for grouping tasks in a
       * queue.
       * 
* * optional bytes tag = 19; * @param value The tag to set. * @return This builder for chaining. */ public Builder setTag(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } tag_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * Tag associated with this task. This is used for grouping tasks in a
       * queue.
       * 
* * optional bytes tag = 19; * @return This builder for chaining. */ public Builder clearTag() { bitField0_ = (bitField0_ & ~0x00008000); tag_ = getDefaultInstance().getTag(); onChanged(); return this; } private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters cronRetryParameters_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder> cronRetryParametersBuilder_; /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; * @return Whether the cronRetryParameters field is set. */ public boolean hasCronRetryParameters() { return ((bitField0_ & 0x00010000) != 0); } /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; * @return The cronRetryParameters. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getCronRetryParameters() { if (cronRetryParametersBuilder_ == null) { return cronRetryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : cronRetryParameters_; } else { return cronRetryParametersBuilder_.getMessage(); } } /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; */ public Builder setCronRetryParameters(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters value) { if (cronRetryParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cronRetryParameters_ = value; } else { cronRetryParametersBuilder_.setMessage(value); } bitField0_ |= 0x00010000; onChanged(); return this; } /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; */ public Builder setCronRetryParameters( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder builderForValue) { if (cronRetryParametersBuilder_ == null) { cronRetryParameters_ = builderForValue.build(); } else { cronRetryParametersBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00010000; onChanged(); return this; } /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; */ public Builder mergeCronRetryParameters(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters value) { if (cronRetryParametersBuilder_ == null) { if (((bitField0_ & 0x00010000) != 0) && cronRetryParameters_ != null && cronRetryParameters_ != com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance()) { getCronRetryParametersBuilder().mergeFrom(value); } else { cronRetryParameters_ = value; } } else { cronRetryParametersBuilder_.mergeFrom(value); } bitField0_ |= 0x00010000; onChanged(); return this; } /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; */ public Builder clearCronRetryParameters() { bitField0_ = (bitField0_ & ~0x00010000); cronRetryParameters_ = null; if (cronRetryParametersBuilder_ != null) { cronRetryParametersBuilder_.dispose(); cronRetryParametersBuilder_ = null; } onChanged(); return this; } /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder getCronRetryParametersBuilder() { bitField0_ |= 0x00010000; onChanged(); return getCronRetryParametersFieldBuilder().getBuilder(); } /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getCronRetryParametersOrBuilder() { if (cronRetryParametersBuilder_ != null) { return cronRetryParametersBuilder_.getMessageOrBuilder(); } else { return cronRetryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : cronRetryParameters_; } } /** * optional .java.apphosting.TaskQueueRetryParameters cron_retry_parameters = 20; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder> getCronRetryParametersFieldBuilder() { if (cronRetryParametersBuilder_ == null) { cronRetryParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder>( getCronRetryParameters(), getParentForChildren(), isClean()); cronRetryParameters_ = null; } return cronRetryParametersBuilder_; } private long dispatchDeadlineUsec_ ; /** *
       * The deadline for requests sent to the worker. If the worker does not
       * respond by this deadline then the request is cancelled and the attempt
       * is marked as a `DEADLINE_EXCEEDED` failure. The task will be retried based
       * on the retry configuration.
       * 
* * optional int64 dispatch_deadline_usec = 22; * @return Whether the dispatchDeadlineUsec field is set. */ @java.lang.Override public boolean hasDispatchDeadlineUsec() { return ((bitField0_ & 0x00020000) != 0); } /** *
       * The deadline for requests sent to the worker. If the worker does not
       * respond by this deadline then the request is cancelled and the attempt
       * is marked as a `DEADLINE_EXCEEDED` failure. The task will be retried based
       * on the retry configuration.
       * 
* * optional int64 dispatch_deadline_usec = 22; * @return The dispatchDeadlineUsec. */ @java.lang.Override public long getDispatchDeadlineUsec() { return dispatchDeadlineUsec_; } /** *
       * The deadline for requests sent to the worker. If the worker does not
       * respond by this deadline then the request is cancelled and the attempt
       * is marked as a `DEADLINE_EXCEEDED` failure. The task will be retried based
       * on the retry configuration.
       * 
* * optional int64 dispatch_deadline_usec = 22; * @param value The dispatchDeadlineUsec to set. * @return This builder for chaining. */ public Builder setDispatchDeadlineUsec(long value) { dispatchDeadlineUsec_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** *
       * The deadline for requests sent to the worker. If the worker does not
       * respond by this deadline then the request is cancelled and the attempt
       * is marked as a `DEADLINE_EXCEEDED` failure. The task will be retried based
       * on the retry configuration.
       * 
* * optional int64 dispatch_deadline_usec = 22; * @return This builder for chaining. */ public Builder clearDispatchDeadlineUsec() { bitField0_ = (bitField0_ & ~0x00020000); dispatchDeadlineUsec_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueAddRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueAddRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueAddRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueAddResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueAddResponse) com.google.protobuf.MessageOrBuilder { /** *
     * If 'task_name' was empty in TaskQueueAddRequest, then 'chosen_task_name'
     * will contain the unique task name that was chosen for the task. Otherwise
     * it will be empty.
     * 
* * optional bytes chosen_task_name = 1; * @return Whether the chosenTaskName field is set. */ boolean hasChosenTaskName(); /** *
     * If 'task_name' was empty in TaskQueueAddRequest, then 'chosen_task_name'
     * will contain the unique task name that was chosen for the task. Otherwise
     * it will be empty.
     * 
* * optional bytes chosen_task_name = 1; * @return The chosenTaskName. */ com.google.protobuf.ByteString getChosenTaskName(); } /** * Protobuf type {@code java.apphosting.TaskQueueAddResponse} */ public static final class TaskQueueAddResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueAddResponse) TaskQueueAddResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueAddResponse.newBuilder() to construct. private TaskQueueAddResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueAddResponse() { chosenTaskName_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueAddResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse.Builder.class); } private int bitField0_; public static final int CHOSEN_TASK_NAME_FIELD_NUMBER = 1; private com.google.protobuf.ByteString chosenTaskName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * If 'task_name' was empty in TaskQueueAddRequest, then 'chosen_task_name'
     * will contain the unique task name that was chosen for the task. Otherwise
     * it will be empty.
     * 
* * optional bytes chosen_task_name = 1; * @return Whether the chosenTaskName field is set. */ @java.lang.Override public boolean hasChosenTaskName() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * If 'task_name' was empty in TaskQueueAddRequest, then 'chosen_task_name'
     * will contain the unique task name that was chosen for the task. Otherwise
     * it will be empty.
     * 
* * optional bytes chosen_task_name = 1; * @return The chosenTaskName. */ @java.lang.Override public com.google.protobuf.ByteString getChosenTaskName() { return chosenTaskName_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, chosenTaskName_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, chosenTaskName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse) obj; if (hasChosenTaskName() != other.hasChosenTaskName()) return false; if (hasChosenTaskName()) { if (!getChosenTaskName() .equals(other.getChosenTaskName())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasChosenTaskName()) { hash = (37 * hash) + CHOSEN_TASK_NAME_FIELD_NUMBER; hash = (53 * hash) + getChosenTaskName().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueAddResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueAddResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; chosenTaskName_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueAddResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.chosenTaskName_ = chosenTaskName_; to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse.getDefaultInstance()) return this; if (other.hasChosenTaskName()) { setChosenTaskName(other.getChosenTaskName()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { chosenTaskName_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString chosenTaskName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * If 'task_name' was empty in TaskQueueAddRequest, then 'chosen_task_name'
       * will contain the unique task name that was chosen for the task. Otherwise
       * it will be empty.
       * 
* * optional bytes chosen_task_name = 1; * @return Whether the chosenTaskName field is set. */ @java.lang.Override public boolean hasChosenTaskName() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * If 'task_name' was empty in TaskQueueAddRequest, then 'chosen_task_name'
       * will contain the unique task name that was chosen for the task. Otherwise
       * it will be empty.
       * 
* * optional bytes chosen_task_name = 1; * @return The chosenTaskName. */ @java.lang.Override public com.google.protobuf.ByteString getChosenTaskName() { return chosenTaskName_; } /** *
       * If 'task_name' was empty in TaskQueueAddRequest, then 'chosen_task_name'
       * will contain the unique task name that was chosen for the task. Otherwise
       * it will be empty.
       * 
* * optional bytes chosen_task_name = 1; * @param value The chosenTaskName to set. * @return This builder for chaining. */ public Builder setChosenTaskName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } chosenTaskName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * If 'task_name' was empty in TaskQueueAddRequest, then 'chosen_task_name'
       * will contain the unique task name that was chosen for the task. Otherwise
       * it will be empty.
       * 
* * optional bytes chosen_task_name = 1; * @return This builder for chaining. */ public Builder clearChosenTaskName() { bitField0_ = (bitField0_ & ~0x00000001); chosenTaskName_ = getDefaultInstance().getChosenTaskName(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueAddResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueAddResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueAddResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueBulkAddRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueBulkAddRequest) com.google.protobuf.MessageOrBuilder { /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ java.util.List getAddRequestList(); /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest getAddRequest(int index); /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ int getAddRequestCount(); /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ java.util.List getAddRequestOrBuilderList(); /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequestOrBuilder getAddRequestOrBuilder( int index); } /** * Protobuf type {@code java.apphosting.TaskQueueBulkAddRequest} */ public static final class TaskQueueBulkAddRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueBulkAddRequest) TaskQueueBulkAddRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueBulkAddRequest.newBuilder() to construct. private TaskQueueBulkAddRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueBulkAddRequest() { addRequest_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueBulkAddRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest.Builder.class); } public static final int ADD_REQUEST_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List addRequest_; /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ @java.lang.Override public java.util.List getAddRequestList() { return addRequest_; } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ @java.lang.Override public java.util.List getAddRequestOrBuilderList() { return addRequest_; } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ @java.lang.Override public int getAddRequestCount() { return addRequest_.size(); } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest getAddRequest(int index) { return addRequest_.get(index); } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequestOrBuilder getAddRequestOrBuilder( int index) { return addRequest_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getAddRequestCount(); i++) { if (!getAddRequest(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < addRequest_.size(); i++) { output.writeMessage(1, addRequest_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < addRequest_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, addRequest_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest) obj; if (!getAddRequestList() .equals(other.getAddRequestList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getAddRequestCount() > 0) { hash = (37 * hash) + ADD_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getAddRequestList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueBulkAddRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueBulkAddRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (addRequestBuilder_ == null) { addRequest_ = java.util.Collections.emptyList(); } else { addRequest_ = null; addRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest result) { if (addRequestBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { addRequest_ = java.util.Collections.unmodifiableList(addRequest_); bitField0_ = (bitField0_ & ~0x00000001); } result.addRequest_ = addRequest_; } else { result.addRequest_ = addRequestBuilder_.build(); } } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest.getDefaultInstance()) return this; if (addRequestBuilder_ == null) { if (!other.addRequest_.isEmpty()) { if (addRequest_.isEmpty()) { addRequest_ = other.addRequest_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAddRequestIsMutable(); addRequest_.addAll(other.addRequest_); } onChanged(); } } else { if (!other.addRequest_.isEmpty()) { if (addRequestBuilder_.isEmpty()) { addRequestBuilder_.dispose(); addRequestBuilder_ = null; addRequest_ = other.addRequest_; bitField0_ = (bitField0_ & ~0x00000001); addRequestBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAddRequestFieldBuilder() : null; } else { addRequestBuilder_.addAllMessages(other.addRequest_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getAddRequestCount(); i++) { if (!getAddRequest(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest m = input.readMessage( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.PARSER, extensionRegistry); if (addRequestBuilder_ == null) { ensureAddRequestIsMutable(); addRequest_.add(m); } else { addRequestBuilder_.addMessage(m); } break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List addRequest_ = java.util.Collections.emptyList(); private void ensureAddRequestIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { addRequest_ = new java.util.ArrayList(addRequest_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequestOrBuilder> addRequestBuilder_; /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public java.util.List getAddRequestList() { if (addRequestBuilder_ == null) { return java.util.Collections.unmodifiableList(addRequest_); } else { return addRequestBuilder_.getMessageList(); } } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public int getAddRequestCount() { if (addRequestBuilder_ == null) { return addRequest_.size(); } else { return addRequestBuilder_.getCount(); } } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest getAddRequest(int index) { if (addRequestBuilder_ == null) { return addRequest_.get(index); } else { return addRequestBuilder_.getMessage(index); } } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public Builder setAddRequest( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest value) { if (addRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddRequestIsMutable(); addRequest_.set(index, value); onChanged(); } else { addRequestBuilder_.setMessage(index, value); } return this; } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public Builder setAddRequest( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Builder builderForValue) { if (addRequestBuilder_ == null) { ensureAddRequestIsMutable(); addRequest_.set(index, builderForValue.build()); onChanged(); } else { addRequestBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public Builder addAddRequest(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest value) { if (addRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddRequestIsMutable(); addRequest_.add(value); onChanged(); } else { addRequestBuilder_.addMessage(value); } return this; } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public Builder addAddRequest( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest value) { if (addRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAddRequestIsMutable(); addRequest_.add(index, value); onChanged(); } else { addRequestBuilder_.addMessage(index, value); } return this; } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public Builder addAddRequest( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Builder builderForValue) { if (addRequestBuilder_ == null) { ensureAddRequestIsMutable(); addRequest_.add(builderForValue.build()); onChanged(); } else { addRequestBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public Builder addAddRequest( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Builder builderForValue) { if (addRequestBuilder_ == null) { ensureAddRequestIsMutable(); addRequest_.add(index, builderForValue.build()); onChanged(); } else { addRequestBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public Builder addAllAddRequest( java.lang.Iterable values) { if (addRequestBuilder_ == null) { ensureAddRequestIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, addRequest_); onChanged(); } else { addRequestBuilder_.addAllMessages(values); } return this; } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public Builder clearAddRequest() { if (addRequestBuilder_ == null) { addRequest_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { addRequestBuilder_.clear(); } return this; } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public Builder removeAddRequest(int index) { if (addRequestBuilder_ == null) { ensureAddRequestIsMutable(); addRequest_.remove(index); onChanged(); } else { addRequestBuilder_.remove(index); } return this; } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Builder getAddRequestBuilder( int index) { return getAddRequestFieldBuilder().getBuilder(index); } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequestOrBuilder getAddRequestOrBuilder( int index) { if (addRequestBuilder_ == null) { return addRequest_.get(index); } else { return addRequestBuilder_.getMessageOrBuilder(index); } } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public java.util.List getAddRequestOrBuilderList() { if (addRequestBuilder_ != null) { return addRequestBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(addRequest_); } } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Builder addAddRequestBuilder() { return getAddRequestFieldBuilder().addBuilder( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.getDefaultInstance()); } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Builder addAddRequestBuilder( int index) { return getAddRequestFieldBuilder().addBuilder( index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.getDefaultInstance()); } /** * repeated .java.apphosting.TaskQueueAddRequest add_request = 1; */ public java.util.List getAddRequestBuilderList() { return getAddRequestFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequestOrBuilder> getAddRequestFieldBuilder() { if (addRequestBuilder_ == null) { addRequestBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequest.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAddRequestOrBuilder>( addRequest_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); addRequest_ = null; } return addRequestBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueBulkAddRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueBulkAddRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueBulkAddRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueBulkAddResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueBulkAddResponse) com.google.protobuf.MessageOrBuilder { /** * repeated group TaskResult = 1 { ... } */ java.util.List getTaskResultList(); /** * repeated group TaskResult = 1 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult getTaskResult(int index); /** * repeated group TaskResult = 1 { ... } */ int getTaskResultCount(); /** * repeated group TaskResult = 1 { ... } */ java.util.List getTaskResultOrBuilderList(); /** * repeated group TaskResult = 1 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResultOrBuilder getTaskResultOrBuilder( int index); } /** *
   * Note: the RPC may return RPC::OK even if some tasks could not be added.
   * 
* * Protobuf type {@code java.apphosting.TaskQueueBulkAddResponse} */ public static final class TaskQueueBulkAddResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueBulkAddResponse) TaskQueueBulkAddResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueBulkAddResponse.newBuilder() to construct. private TaskQueueBulkAddResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueBulkAddResponse() { taskResult_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueBulkAddResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.Builder.class); } public interface TaskResultOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueBulkAddResponse.TaskResult) com.google.protobuf.MessageOrBuilder { /** *
       * The error code associated with the creation of the task.
       * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 2; * @return Whether the result field is set. */ boolean hasResult(); /** *
       * The error code associated with the creation of the task.
       * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 2; * @return The result. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode getResult(); /** *
       * If 'task_name' was empty in TaskQueueAddRequest and the task was added
       * successfully, then 'chosen_task_name' will contain the unique task name
       * that was chosen for the task. Otherwise it will be absent.
       * 
* * optional bytes chosen_task_name = 3; * @return Whether the chosenTaskName field is set. */ boolean hasChosenTaskName(); /** *
       * If 'task_name' was empty in TaskQueueAddRequest and the task was added
       * successfully, then 'chosen_task_name' will contain the unique task name
       * that was chosen for the task. Otherwise it will be absent.
       * 
* * optional bytes chosen_task_name = 3; * @return The chosenTaskName. */ com.google.protobuf.ByteString getChosenTaskName(); } /** *
     * One result per input add_request, in the same order.
     * 
* * Protobuf type {@code java.apphosting.TaskQueueBulkAddResponse.TaskResult} */ public static final class TaskResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueBulkAddResponse.TaskResult) TaskResultOrBuilder { private static final long serialVersionUID = 0L; // Use TaskResult.newBuilder() to construct. private TaskResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskResult() { result_ = 0; chosenTaskName_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskResult(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddResponse_TaskResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddResponse_TaskResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.Builder.class); } private int bitField0_; public static final int RESULT_FIELD_NUMBER = 2; private int result_ = 0; /** *
       * The error code associated with the creation of the task.
       * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 2; * @return Whether the result field is set. */ @java.lang.Override public boolean hasResult() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The error code associated with the creation of the task.
       * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 2; * @return The result. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode getResult() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode.forNumber(result_); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode.OK : result; } public static final int CHOSEN_TASK_NAME_FIELD_NUMBER = 3; private com.google.protobuf.ByteString chosenTaskName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * If 'task_name' was empty in TaskQueueAddRequest and the task was added
       * successfully, then 'chosen_task_name' will contain the unique task name
       * that was chosen for the task. Otherwise it will be absent.
       * 
* * optional bytes chosen_task_name = 3; * @return Whether the chosenTaskName field is set. */ @java.lang.Override public boolean hasChosenTaskName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * If 'task_name' was empty in TaskQueueAddRequest and the task was added
       * successfully, then 'chosen_task_name' will contain the unique task name
       * that was chosen for the task. Otherwise it will be absent.
       * 
* * optional bytes chosen_task_name = 3; * @return The chosenTaskName. */ @java.lang.Override public com.google.protobuf.ByteString getChosenTaskName() { return chosenTaskName_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasResult()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(2, result_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(3, chosenTaskName_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, result_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, chosenTaskName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult) obj; if (hasResult() != other.hasResult()) return false; if (hasResult()) { if (result_ != other.result_) return false; } if (hasChosenTaskName() != other.hasChosenTaskName()) return false; if (hasChosenTaskName()) { if (!getChosenTaskName() .equals(other.getChosenTaskName())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + result_; } if (hasChosenTaskName()) { hash = (37 * hash) + CHOSEN_TASK_NAME_FIELD_NUMBER; hash = (53 * hash) + getChosenTaskName().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
       * One result per input add_request, in the same order.
       * 
* * Protobuf type {@code java.apphosting.TaskQueueBulkAddResponse.TaskResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueBulkAddResponse.TaskResult) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddResponse_TaskResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddResponse_TaskResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; result_ = 0; chosenTaskName_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddResponse_TaskResult_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.result_ = result_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.chosenTaskName_ = chosenTaskName_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.getDefaultInstance()) return this; if (other.hasResult()) { setResult(other.getResult()); } if (other.hasChosenTaskName()) { setChosenTaskName(other.getChosenTaskName()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasResult()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 16: { int tmpRaw = input.readEnum(); com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode tmpValue = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(2, tmpRaw); } else { result_ = tmpRaw; bitField0_ |= 0x00000001; } break; } // case 16 case 26: { chosenTaskName_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int result_ = 0; /** *
         * The error code associated with the creation of the task.
         * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 2; * @return Whether the result field is set. */ @java.lang.Override public boolean hasResult() { return ((bitField0_ & 0x00000001) != 0); } /** *
         * The error code associated with the creation of the task.
         * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 2; * @return The result. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode getResult() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode.forNumber(result_); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode.OK : result; } /** *
         * The error code associated with the creation of the task.
         * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 2; * @param value The result to set. * @return This builder for chaining. */ public Builder setResult(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; result_ = value.getNumber(); onChanged(); return this; } /** *
         * The error code associated with the creation of the task.
         * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 2; * @return This builder for chaining. */ public Builder clearResult() { bitField0_ = (bitField0_ & ~0x00000001); result_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString chosenTaskName_ = com.google.protobuf.ByteString.EMPTY; /** *
         * If 'task_name' was empty in TaskQueueAddRequest and the task was added
         * successfully, then 'chosen_task_name' will contain the unique task name
         * that was chosen for the task. Otherwise it will be absent.
         * 
* * optional bytes chosen_task_name = 3; * @return Whether the chosenTaskName field is set. */ @java.lang.Override public boolean hasChosenTaskName() { return ((bitField0_ & 0x00000002) != 0); } /** *
         * If 'task_name' was empty in TaskQueueAddRequest and the task was added
         * successfully, then 'chosen_task_name' will contain the unique task name
         * that was chosen for the task. Otherwise it will be absent.
         * 
* * optional bytes chosen_task_name = 3; * @return The chosenTaskName. */ @java.lang.Override public com.google.protobuf.ByteString getChosenTaskName() { return chosenTaskName_; } /** *
         * If 'task_name' was empty in TaskQueueAddRequest and the task was added
         * successfully, then 'chosen_task_name' will contain the unique task name
         * that was chosen for the task. Otherwise it will be absent.
         * 
* * optional bytes chosen_task_name = 3; * @param value The chosenTaskName to set. * @return This builder for chaining. */ public Builder setChosenTaskName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } chosenTaskName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
         * If 'task_name' was empty in TaskQueueAddRequest and the task was added
         * successfully, then 'chosen_task_name' will contain the unique task name
         * that was chosen for the task. Otherwise it will be absent.
         * 
* * optional bytes chosen_task_name = 3; * @return This builder for chaining. */ public Builder clearChosenTaskName() { bitField0_ = (bitField0_ & ~0x00000002); chosenTaskName_ = getDefaultInstance().getChosenTaskName(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueBulkAddResponse.TaskResult) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueBulkAddResponse.TaskResult) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int TASKRESULT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List taskResult_; /** * repeated group TaskResult = 1 { ... } */ @java.lang.Override public java.util.List getTaskResultList() { return taskResult_; } /** * repeated group TaskResult = 1 { ... } */ @java.lang.Override public java.util.List getTaskResultOrBuilderList() { return taskResult_; } /** * repeated group TaskResult = 1 { ... } */ @java.lang.Override public int getTaskResultCount() { return taskResult_.size(); } /** * repeated group TaskResult = 1 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult getTaskResult(int index) { return taskResult_.get(index); } /** * repeated group TaskResult = 1 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResultOrBuilder getTaskResultOrBuilder( int index) { return taskResult_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getTaskResultCount(); i++) { if (!getTaskResult(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taskResult_.size(); i++) { output.writeGroup(1, taskResult_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < taskResult_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(1, taskResult_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse) obj; if (!getTaskResultList() .equals(other.getTaskResultList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTaskResultCount() > 0) { hash = (37 * hash) + TASKRESULT_FIELD_NUMBER; hash = (53 * hash) + getTaskResultList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Note: the RPC may return RPC::OK even if some tasks could not be added.
     * 
* * Protobuf type {@code java.apphosting.TaskQueueBulkAddResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueBulkAddResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (taskResultBuilder_ == null) { taskResult_ = java.util.Collections.emptyList(); } else { taskResult_ = null; taskResultBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueBulkAddResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse result) { if (taskResultBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { taskResult_ = java.util.Collections.unmodifiableList(taskResult_); bitField0_ = (bitField0_ & ~0x00000001); } result.taskResult_ = taskResult_; } else { result.taskResult_ = taskResultBuilder_.build(); } } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.getDefaultInstance()) return this; if (taskResultBuilder_ == null) { if (!other.taskResult_.isEmpty()) { if (taskResult_.isEmpty()) { taskResult_ = other.taskResult_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTaskResultIsMutable(); taskResult_.addAll(other.taskResult_); } onChanged(); } } else { if (!other.taskResult_.isEmpty()) { if (taskResultBuilder_.isEmpty()) { taskResultBuilder_.dispose(); taskResultBuilder_ = null; taskResult_ = other.taskResult_; bitField0_ = (bitField0_ & ~0x00000001); taskResultBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTaskResultFieldBuilder() : null; } else { taskResultBuilder_.addAllMessages(other.taskResult_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getTaskResultCount(); i++) { if (!getTaskResult(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 11: { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult m = input.readGroup(1, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.PARSER, extensionRegistry); if (taskResultBuilder_ == null) { ensureTaskResultIsMutable(); taskResult_.add(m); } else { taskResultBuilder_.addMessage(m); } break; } // case 11 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List taskResult_ = java.util.Collections.emptyList(); private void ensureTaskResultIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { taskResult_ = new java.util.ArrayList(taskResult_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResultOrBuilder> taskResultBuilder_; /** * repeated group TaskResult = 1 { ... } */ public java.util.List getTaskResultList() { if (taskResultBuilder_ == null) { return java.util.Collections.unmodifiableList(taskResult_); } else { return taskResultBuilder_.getMessageList(); } } /** * repeated group TaskResult = 1 { ... } */ public int getTaskResultCount() { if (taskResultBuilder_ == null) { return taskResult_.size(); } else { return taskResultBuilder_.getCount(); } } /** * repeated group TaskResult = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult getTaskResult(int index) { if (taskResultBuilder_ == null) { return taskResult_.get(index); } else { return taskResultBuilder_.getMessage(index); } } /** * repeated group TaskResult = 1 { ... } */ public Builder setTaskResult( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult value) { if (taskResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTaskResultIsMutable(); taskResult_.set(index, value); onChanged(); } else { taskResultBuilder_.setMessage(index, value); } return this; } /** * repeated group TaskResult = 1 { ... } */ public Builder setTaskResult( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.Builder builderForValue) { if (taskResultBuilder_ == null) { ensureTaskResultIsMutable(); taskResult_.set(index, builderForValue.build()); onChanged(); } else { taskResultBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated group TaskResult = 1 { ... } */ public Builder addTaskResult(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult value) { if (taskResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTaskResultIsMutable(); taskResult_.add(value); onChanged(); } else { taskResultBuilder_.addMessage(value); } return this; } /** * repeated group TaskResult = 1 { ... } */ public Builder addTaskResult( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult value) { if (taskResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTaskResultIsMutable(); taskResult_.add(index, value); onChanged(); } else { taskResultBuilder_.addMessage(index, value); } return this; } /** * repeated group TaskResult = 1 { ... } */ public Builder addTaskResult( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.Builder builderForValue) { if (taskResultBuilder_ == null) { ensureTaskResultIsMutable(); taskResult_.add(builderForValue.build()); onChanged(); } else { taskResultBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated group TaskResult = 1 { ... } */ public Builder addTaskResult( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.Builder builderForValue) { if (taskResultBuilder_ == null) { ensureTaskResultIsMutable(); taskResult_.add(index, builderForValue.build()); onChanged(); } else { taskResultBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated group TaskResult = 1 { ... } */ public Builder addAllTaskResult( java.lang.Iterable values) { if (taskResultBuilder_ == null) { ensureTaskResultIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, taskResult_); onChanged(); } else { taskResultBuilder_.addAllMessages(values); } return this; } /** * repeated group TaskResult = 1 { ... } */ public Builder clearTaskResult() { if (taskResultBuilder_ == null) { taskResult_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { taskResultBuilder_.clear(); } return this; } /** * repeated group TaskResult = 1 { ... } */ public Builder removeTaskResult(int index) { if (taskResultBuilder_ == null) { ensureTaskResultIsMutable(); taskResult_.remove(index); onChanged(); } else { taskResultBuilder_.remove(index); } return this; } /** * repeated group TaskResult = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.Builder getTaskResultBuilder( int index) { return getTaskResultFieldBuilder().getBuilder(index); } /** * repeated group TaskResult = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResultOrBuilder getTaskResultOrBuilder( int index) { if (taskResultBuilder_ == null) { return taskResult_.get(index); } else { return taskResultBuilder_.getMessageOrBuilder(index); } } /** * repeated group TaskResult = 1 { ... } */ public java.util.List getTaskResultOrBuilderList() { if (taskResultBuilder_ != null) { return taskResultBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(taskResult_); } } /** * repeated group TaskResult = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.Builder addTaskResultBuilder() { return getTaskResultFieldBuilder().addBuilder( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.getDefaultInstance()); } /** * repeated group TaskResult = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.Builder addTaskResultBuilder( int index) { return getTaskResultFieldBuilder().addBuilder( index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.getDefaultInstance()); } /** * repeated group TaskResult = 1 { ... } */ public java.util.List getTaskResultBuilderList() { return getTaskResultFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResultOrBuilder> getTaskResultFieldBuilder() { if (taskResultBuilder_ == null) { taskResultBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResult.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse.TaskResultOrBuilder>( taskResult_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); taskResult_ = null; } return taskResultBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueBulkAddResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueBulkAddResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueBulkAddResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueBulkAddResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueDeleteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueDeleteRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the queue to delete the task from.
     * 
* * required bytes queue_name = 1; * @return Whether the queueName field is set. */ boolean hasQueueName(); /** *
     * Name of the queue to delete the task from.
     * 
* * required bytes queue_name = 1; * @return The queueName. */ com.google.protobuf.ByteString getQueueName(); /** *
     * Names of the tasks to delete.
     * 
* * repeated bytes task_name = 2; * @return A list containing the taskName. */ java.util.List getTaskNameList(); /** *
     * Names of the tasks to delete.
     * 
* * repeated bytes task_name = 2; * @return The count of taskName. */ int getTaskNameCount(); /** *
     * Names of the tasks to delete.
     * 
* * repeated bytes task_name = 2; * @param index The index of the element to return. * @return The taskName at the given index. */ com.google.protobuf.ByteString getTaskName(int index); /** *
     * Name of the app_id - only works for admin console
     * 
* * optional bytes app_id = 3; * @return Whether the appId field is set. */ boolean hasAppId(); /** *
     * Name of the app_id - only works for admin console
     * 
* * optional bytes app_id = 3; * @return The appId. */ com.google.protobuf.ByteString getAppId(); } /** * Protobuf type {@code java.apphosting.TaskQueueDeleteRequest} */ public static final class TaskQueueDeleteRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueDeleteRequest) TaskQueueDeleteRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueDeleteRequest.newBuilder() to construct. private TaskQueueDeleteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueDeleteRequest() { queueName_ = com.google.protobuf.ByteString.EMPTY; taskName_ = java.util.Collections.emptyList(); appId_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueDeleteRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest.Builder.class); } private int bitField0_; public static final int QUEUE_NAME_FIELD_NUMBER = 1; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the queue to delete the task from.
     * 
* * required bytes queue_name = 1; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Name of the queue to delete the task from.
     * 
* * required bytes queue_name = 1; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } public static final int TASK_NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List taskName_; /** *
     * Names of the tasks to delete.
     * 
* * repeated bytes task_name = 2; * @return A list containing the taskName. */ @java.lang.Override public java.util.List getTaskNameList() { return taskName_; } /** *
     * Names of the tasks to delete.
     * 
* * repeated bytes task_name = 2; * @return The count of taskName. */ public int getTaskNameCount() { return taskName_.size(); } /** *
     * Names of the tasks to delete.
     * 
* * repeated bytes task_name = 2; * @param index The index of the element to return. * @return The taskName at the given index. */ public com.google.protobuf.ByteString getTaskName(int index) { return taskName_.get(index); } public static final int APP_ID_FIELD_NUMBER = 3; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the app_id - only works for admin console
     * 
* * optional bytes app_id = 3; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Name of the app_id - only works for admin console
     * 
* * optional bytes app_id = 3; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasQueueName()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, queueName_); } for (int i = 0; i < taskName_.size(); i++) { output.writeBytes(2, taskName_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(3, appId_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, queueName_); } { int dataSize = 0; for (int i = 0; i < taskName_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(taskName_.get(i)); } size += dataSize; size += 1 * getTaskNameList().size(); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, appId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest) obj; if (hasQueueName() != other.hasQueueName()) return false; if (hasQueueName()) { if (!getQueueName() .equals(other.getQueueName())) return false; } if (!getTaskNameList() .equals(other.getTaskNameList())) return false; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasQueueName()) { hash = (37 * hash) + QUEUE_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueueName().hashCode(); } if (getTaskNameCount() > 0) { hash = (37 * hash) + TASK_NAME_FIELD_NUMBER; hash = (53 * hash) + getTaskNameList().hashCode(); } if (hasAppId()) { hash = (37 * hash) + APP_ID_FIELD_NUMBER; hash = (53 * hash) + getAppId().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueDeleteRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueDeleteRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; queueName_ = com.google.protobuf.ByteString.EMPTY; taskName_ = java.util.Collections.emptyList(); appId_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest result) { if (((bitField0_ & 0x00000002) != 0)) { taskName_ = java.util.Collections.unmodifiableList(taskName_); bitField0_ = (bitField0_ & ~0x00000002); } result.taskName_ = taskName_; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.queueName_ = queueName_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest.getDefaultInstance()) return this; if (other.hasQueueName()) { setQueueName(other.getQueueName()); } if (!other.taskName_.isEmpty()) { if (taskName_.isEmpty()) { taskName_ = other.taskName_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTaskNameIsMutable(); taskName_.addAll(other.taskName_); } onChanged(); } if (other.hasAppId()) { setAppId(other.getAppId()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasQueueName()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { queueName_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { com.google.protobuf.ByteString v = input.readBytes(); ensureTaskNameIsMutable(); taskName_.add(v); break; } // case 18 case 26: { appId_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the queue to delete the task from.
       * 
* * required bytes queue_name = 1; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Name of the queue to delete the task from.
       * 
* * required bytes queue_name = 1; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } /** *
       * Name of the queue to delete the task from.
       * 
* * required bytes queue_name = 1; * @param value The queueName to set. * @return This builder for chaining. */ public Builder setQueueName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } queueName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Name of the queue to delete the task from.
       * 
* * required bytes queue_name = 1; * @return This builder for chaining. */ public Builder clearQueueName() { bitField0_ = (bitField0_ & ~0x00000001); queueName_ = getDefaultInstance().getQueueName(); onChanged(); return this; } private java.util.List taskName_ = java.util.Collections.emptyList(); private void ensureTaskNameIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { taskName_ = new java.util.ArrayList(taskName_); bitField0_ |= 0x00000002; } } /** *
       * Names of the tasks to delete.
       * 
* * repeated bytes task_name = 2; * @return A list containing the taskName. */ public java.util.List getTaskNameList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(taskName_) : taskName_; } /** *
       * Names of the tasks to delete.
       * 
* * repeated bytes task_name = 2; * @return The count of taskName. */ public int getTaskNameCount() { return taskName_.size(); } /** *
       * Names of the tasks to delete.
       * 
* * repeated bytes task_name = 2; * @param index The index of the element to return. * @return The taskName at the given index. */ public com.google.protobuf.ByteString getTaskName(int index) { return taskName_.get(index); } /** *
       * Names of the tasks to delete.
       * 
* * repeated bytes task_name = 2; * @param index The index to set the value at. * @param value The taskName to set. * @return This builder for chaining. */ public Builder setTaskName( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureTaskNameIsMutable(); taskName_.set(index, value); onChanged(); return this; } /** *
       * Names of the tasks to delete.
       * 
* * repeated bytes task_name = 2; * @param value The taskName to add. * @return This builder for chaining. */ public Builder addTaskName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureTaskNameIsMutable(); taskName_.add(value); onChanged(); return this; } /** *
       * Names of the tasks to delete.
       * 
* * repeated bytes task_name = 2; * @param values The taskName to add. * @return This builder for chaining. */ public Builder addAllTaskName( java.lang.Iterable values) { ensureTaskNameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, taskName_); onChanged(); return this; } /** *
       * Names of the tasks to delete.
       * 
* * repeated bytes task_name = 2; * @return This builder for chaining. */ public Builder clearTaskName() { taskName_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the app_id - only works for admin console
       * 
* * optional bytes app_id = 3; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Name of the app_id - only works for admin console
       * 
* * optional bytes app_id = 3; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } /** *
       * Name of the app_id - only works for admin console
       * 
* * optional bytes app_id = 3; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Name of the app_id - only works for admin console
       * 
* * optional bytes app_id = 3; * @return This builder for chaining. */ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000004); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueDeleteRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueDeleteRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueDeleteRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueDeleteResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueDeleteResponse) com.google.protobuf.MessageOrBuilder { /** *
     * One response per input task_name, in the same order.
     * Note: the Delete RPC will return RPC::OK regardless of how many tasks it
     * managed to delete; check the individual results to see what happened.
     * 
* * repeated .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @return A list containing the result. */ java.util.List getResultList(); /** *
     * One response per input task_name, in the same order.
     * Note: the Delete RPC will return RPC::OK regardless of how many tasks it
     * managed to delete; check the individual results to see what happened.
     * 
* * repeated .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @return The count of result. */ int getResultCount(); /** *
     * One response per input task_name, in the same order.
     * Note: the Delete RPC will return RPC::OK regardless of how many tasks it
     * managed to delete; check the individual results to see what happened.
     * 
* * repeated .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @param index The index of the element to return. * @return The result at the given index. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode getResult(int index); } /** * Protobuf type {@code java.apphosting.TaskQueueDeleteResponse} */ public static final class TaskQueueDeleteResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueDeleteResponse) TaskQueueDeleteResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueDeleteResponse.newBuilder() to construct. private TaskQueueDeleteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueDeleteResponse() { result_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueDeleteResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse.Builder.class); } public static final int RESULT_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List result_; private static final com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode> result_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode>() { public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode convert(java.lang.Integer from) { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode.forNumber(from); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode.OK : result; } }; /** *
     * One response per input task_name, in the same order.
     * Note: the Delete RPC will return RPC::OK regardless of how many tasks it
     * managed to delete; check the individual results to see what happened.
     * 
* * repeated .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @return A list containing the result. */ @java.lang.Override public java.util.List getResultList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode>(result_, result_converter_); } /** *
     * One response per input task_name, in the same order.
     * Note: the Delete RPC will return RPC::OK regardless of how many tasks it
     * managed to delete; check the individual results to see what happened.
     * 
* * repeated .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @return The count of result. */ @java.lang.Override public int getResultCount() { return result_.size(); } /** *
     * One response per input task_name, in the same order.
     * Note: the Delete RPC will return RPC::OK regardless of how many tasks it
     * managed to delete; check the individual results to see what happened.
     * 
* * repeated .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @param index The index of the element to return. * @return The result at the given index. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode getResult(int index) { return result_converter_.convert(result_.get(index)); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < result_.size(); i++) { output.writeEnum(3, result_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < result_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(result_.get(i)); } size += dataSize; size += 1 * result_.size(); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse) obj; if (!result_.equals(other.result_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getResultCount() > 0) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + result_.hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueDeleteResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueDeleteResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; result_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse result) { if (((bitField0_ & 0x00000001) != 0)) { result_ = java.util.Collections.unmodifiableList(result_); bitField0_ = (bitField0_ & ~0x00000001); } result.result_ = result_; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse.getDefaultInstance()) return this; if (!other.result_.isEmpty()) { if (result_.isEmpty()) { result_ = other.result_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureResultIsMutable(); result_.addAll(other.result_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 24: { int tmpRaw = input.readEnum(); com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode tmpValue = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(3, tmpRaw); } else { ensureResultIsMutable(); result_.add(tmpRaw); } break; } // case 24 case 26: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode tmpValue = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(3, tmpRaw); } else { ensureResultIsMutable(); result_.add(tmpRaw); } } input.popLimit(oldLimit); break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List result_ = java.util.Collections.emptyList(); private void ensureResultIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { result_ = new java.util.ArrayList(result_); bitField0_ |= 0x00000001; } } /** *
       * One response per input task_name, in the same order.
       * Note: the Delete RPC will return RPC::OK regardless of how many tasks it
       * managed to delete; check the individual results to see what happened.
       * 
* * repeated .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @return A list containing the result. */ public java.util.List getResultList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode>(result_, result_converter_); } /** *
       * One response per input task_name, in the same order.
       * Note: the Delete RPC will return RPC::OK regardless of how many tasks it
       * managed to delete; check the individual results to see what happened.
       * 
* * repeated .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @return The count of result. */ public int getResultCount() { return result_.size(); } /** *
       * One response per input task_name, in the same order.
       * Note: the Delete RPC will return RPC::OK regardless of how many tasks it
       * managed to delete; check the individual results to see what happened.
       * 
* * repeated .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @param index The index of the element to return. * @return The result at the given index. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode getResult(int index) { return result_converter_.convert(result_.get(index)); } /** *
       * One response per input task_name, in the same order.
       * Note: the Delete RPC will return RPC::OK regardless of how many tasks it
       * managed to delete; check the individual results to see what happened.
       * 
* * repeated .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @param index The index to set the value at. * @param value The result to set. * @return This builder for chaining. */ public Builder setResult( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode value) { if (value == null) { throw new NullPointerException(); } ensureResultIsMutable(); result_.set(index, value.getNumber()); onChanged(); return this; } /** *
       * One response per input task_name, in the same order.
       * Note: the Delete RPC will return RPC::OK regardless of how many tasks it
       * managed to delete; check the individual results to see what happened.
       * 
* * repeated .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @param value The result to add. * @return This builder for chaining. */ public Builder addResult(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode value) { if (value == null) { throw new NullPointerException(); } ensureResultIsMutable(); result_.add(value.getNumber()); onChanged(); return this; } /** *
       * One response per input task_name, in the same order.
       * Note: the Delete RPC will return RPC::OK regardless of how many tasks it
       * managed to delete; check the individual results to see what happened.
       * 
* * repeated .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @param values The result to add. * @return This builder for chaining. */ public Builder addAllResult( java.lang.Iterable values) { ensureResultIsMutable(); for (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode value : values) { result_.add(value.getNumber()); } onChanged(); return this; } /** *
       * One response per input task_name, in the same order.
       * Note: the Delete RPC will return RPC::OK regardless of how many tasks it
       * managed to delete; check the individual results to see what happened.
       * 
* * repeated .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @return This builder for chaining. */ public Builder clearResult() { result_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueDeleteResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueDeleteResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueDeleteResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueForceRunRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueForceRunRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Application identifier.
     * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ boolean hasAppId(); /** *
     * Application identifier.
     * 
* * optional bytes app_id = 1; * @return The appId. */ com.google.protobuf.ByteString getAppId(); /** *
     * Name of the queue task is located in.
     * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ boolean hasQueueName(); /** *
     * Name of the queue task is located in.
     * 
* * required bytes queue_name = 2; * @return The queueName. */ com.google.protobuf.ByteString getQueueName(); /** *
     * Name of the task to force run.
     * 
* * required bytes task_name = 3; * @return Whether the taskName field is set. */ boolean hasTaskName(); /** *
     * Name of the task to force run.
     * 
* * required bytes task_name = 3; * @return The taskName. */ com.google.protobuf.ByteString getTaskName(); } /** * Protobuf type {@code java.apphosting.TaskQueueForceRunRequest} */ public static final class TaskQueueForceRunRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueForceRunRequest) TaskQueueForceRunRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueForceRunRequest.newBuilder() to construct. private TaskQueueForceRunRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueForceRunRequest() { appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = com.google.protobuf.ByteString.EMPTY; taskName_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueForceRunRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueForceRunRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueForceRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest.Builder.class); } private int bitField0_; public static final int APP_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Application identifier.
     * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Application identifier.
     * 
* * optional bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } public static final int QUEUE_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the queue task is located in.
     * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Name of the queue task is located in.
     * 
* * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } public static final int TASK_NAME_FIELD_NUMBER = 3; private com.google.protobuf.ByteString taskName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the task to force run.
     * 
* * required bytes task_name = 3; * @return Whether the taskName field is set. */ @java.lang.Override public boolean hasTaskName() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Name of the task to force run.
     * 
* * required bytes task_name = 3; * @return The taskName. */ @java.lang.Override public com.google.protobuf.ByteString getTaskName() { return taskName_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasQueueName()) { memoizedIsInitialized = 0; return false; } if (!hasTaskName()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, queueName_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBytes(3, taskName_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, queueName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, taskName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest) obj; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (hasQueueName() != other.hasQueueName()) return false; if (hasQueueName()) { if (!getQueueName() .equals(other.getQueueName())) return false; } if (hasTaskName() != other.hasTaskName()) return false; if (hasTaskName()) { if (!getTaskName() .equals(other.getTaskName())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAppId()) { hash = (37 * hash) + APP_ID_FIELD_NUMBER; hash = (53 * hash) + getAppId().hashCode(); } if (hasQueueName()) { hash = (37 * hash) + QUEUE_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueueName().hashCode(); } if (hasTaskName()) { hash = (37 * hash) + TASK_NAME_FIELD_NUMBER; hash = (53 * hash) + getTaskName().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueForceRunRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueForceRunRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueForceRunRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueForceRunRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = com.google.protobuf.ByteString.EMPTY; taskName_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueForceRunRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.queueName_ = queueName_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.taskName_ = taskName_; to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest.getDefaultInstance()) return this; if (other.hasAppId()) { setAppId(other.getAppId()); } if (other.hasQueueName()) { setQueueName(other.getQueueName()); } if (other.hasTaskName()) { setTaskName(other.getTaskName()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasQueueName()) { return false; } if (!hasTaskName()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { appId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { queueName_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { taskName_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Application identifier.
       * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Application identifier.
       * 
* * optional bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } /** *
       * Application identifier.
       * 
* * optional bytes app_id = 1; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Application identifier.
       * 
* * optional bytes app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000001); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the queue task is located in.
       * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Name of the queue task is located in.
       * 
* * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } /** *
       * Name of the queue task is located in.
       * 
* * required bytes queue_name = 2; * @param value The queueName to set. * @return This builder for chaining. */ public Builder setQueueName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } queueName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Name of the queue task is located in.
       * 
* * required bytes queue_name = 2; * @return This builder for chaining. */ public Builder clearQueueName() { bitField0_ = (bitField0_ & ~0x00000002); queueName_ = getDefaultInstance().getQueueName(); onChanged(); return this; } private com.google.protobuf.ByteString taskName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the task to force run.
       * 
* * required bytes task_name = 3; * @return Whether the taskName field is set. */ @java.lang.Override public boolean hasTaskName() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Name of the task to force run.
       * 
* * required bytes task_name = 3; * @return The taskName. */ @java.lang.Override public com.google.protobuf.ByteString getTaskName() { return taskName_; } /** *
       * Name of the task to force run.
       * 
* * required bytes task_name = 3; * @param value The taskName to set. * @return This builder for chaining. */ public Builder setTaskName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } taskName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Name of the task to force run.
       * 
* * required bytes task_name = 3; * @return This builder for chaining. */ public Builder clearTaskName() { bitField0_ = (bitField0_ & ~0x00000004); taskName_ = getDefaultInstance().getTaskName(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueForceRunRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueForceRunRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueForceRunRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueForceRunResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueForceRunResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Error code response to the given request.
     * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @return Whether the result field is set. */ boolean hasResult(); /** *
     * Error code response to the given request.
     * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @return The result. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode getResult(); } /** * Protobuf type {@code java.apphosting.TaskQueueForceRunResponse} */ public static final class TaskQueueForceRunResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueForceRunResponse) TaskQueueForceRunResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueForceRunResponse.newBuilder() to construct. private TaskQueueForceRunResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueForceRunResponse() { result_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueForceRunResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueForceRunResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueForceRunResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse.Builder.class); } private int bitField0_; public static final int RESULT_FIELD_NUMBER = 3; private int result_ = 0; /** *
     * Error code response to the given request.
     * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @return Whether the result field is set. */ @java.lang.Override public boolean hasResult() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Error code response to the given request.
     * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @return The result. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode getResult() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode.forNumber(result_); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode.OK : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasResult()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(3, result_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, result_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse) obj; if (hasResult() != other.hasResult()) return false; if (hasResult()) { if (result_ != other.result_) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + result_; } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueForceRunResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueForceRunResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueForceRunResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueForceRunResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; result_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueForceRunResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.result_ = result_; to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse.getDefaultInstance()) return this; if (other.hasResult()) { setResult(other.getResult()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasResult()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 24: { int tmpRaw = input.readEnum(); com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode tmpValue = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(3, tmpRaw); } else { result_ = tmpRaw; bitField0_ |= 0x00000001; } break; } // case 24 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int result_ = 0; /** *
       * Error code response to the given request.
       * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @return Whether the result field is set. */ @java.lang.Override public boolean hasResult() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Error code response to the given request.
       * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @return The result. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode getResult() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode.forNumber(result_); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode.OK : result; } /** *
       * Error code response to the given request.
       * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @param value The result to set. * @return This builder for chaining. */ public Builder setResult(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueServiceError.ErrorCode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; result_ = value.getNumber(); onChanged(); return this; } /** *
       * Error code response to the given request.
       * 
* * required .java.apphosting.TaskQueueServiceError.ErrorCode result = 3; * @return This builder for chaining. */ public Builder clearResult() { bitField0_ = (bitField0_ & ~0x00000001); result_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueForceRunResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueForceRunResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueForceRunResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueForceRunResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueUpdateQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueUpdateQueueRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the application
     * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ boolean hasAppId(); /** *
     * Name of the application
     * 
* * optional bytes app_id = 1; * @return The appId. */ com.google.protobuf.ByteString getAppId(); /** *
     * Name of the queue.
     * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ boolean hasQueueName(); /** *
     * Name of the queue.
     * 
* * required bytes queue_name = 2; * @return The queueName. */ com.google.protobuf.ByteString getQueueName(); /** *
     * The refill rate of the token bucket.  In the long run, the queue may not
     * exceed this rate of execution.
     * 
* * required double bucket_refill_per_second = 3; * @return Whether the bucketRefillPerSecond field is set. */ boolean hasBucketRefillPerSecond(); /** *
     * The refill rate of the token bucket.  In the long run, the queue may not
     * exceed this rate of execution.
     * 
* * required double bucket_refill_per_second = 3; * @return The bucketRefillPerSecond. */ double getBucketRefillPerSecond(); /** *
     * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
     * for deactivating a queue.
     * 
* * required int32 bucket_capacity = 4; * @return Whether the bucketCapacity field is set. */ boolean hasBucketCapacity(); /** *
     * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
     * for deactivating a queue.
     * 
* * required int32 bucket_capacity = 4; * @return The bucketCapacity. */ int getBucketCapacity(); /** *
     * A human-readable string which describes the rate of execution for this
     * queue. Specifically this is the 'rate:' field from queue.yaml which may
     * contain values such as "10/m" or "200/d" or "1/s".
     * 
* * optional string user_specified_rate = 5; * @return Whether the userSpecifiedRate field is set. */ boolean hasUserSpecifiedRate(); /** *
     * A human-readable string which describes the rate of execution for this
     * queue. Specifically this is the 'rate:' field from queue.yaml which may
     * contain values such as "10/m" or "200/d" or "1/s".
     * 
* * optional string user_specified_rate = 5; * @return The userSpecifiedRate. */ java.lang.String getUserSpecifiedRate(); /** *
     * A human-readable string which describes the rate of execution for this
     * queue. Specifically this is the 'rate:' field from queue.yaml which may
     * contain values such as "10/m" or "200/d" or "1/s".
     * 
* * optional string user_specified_rate = 5; * @return The bytes for userSpecifiedRate. */ com.google.protobuf.ByteString getUserSpecifiedRateBytes(); /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; * @return Whether the retryParameters field is set. */ boolean hasRetryParameters(); /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; * @return The retryParameters. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getRetryParameters(); /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getRetryParametersOrBuilder(); /** *
     * The maximum number of requests that can be running concurrently.
     * 
* * optional int32 max_concurrent_requests = 7; * @return Whether the maxConcurrentRequests field is set. */ boolean hasMaxConcurrentRequests(); /** *
     * The maximum number of requests that can be running concurrently.
     * 
* * optional int32 max_concurrent_requests = 7; * @return The maxConcurrentRequests. */ int getMaxConcurrentRequests(); /** *
     * Default is ENUM 0, PUSH.
     * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 8; * @return Whether the mode field is set. */ boolean hasMode(); /** *
     * Default is ENUM 0, PUSH.
     * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 8; * @return The mode. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode getMode(); /** *
     * Users permitted access to this queue via non-appengine apis.
     * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; * @return Whether the acl field is set. */ boolean hasAcl(); /** *
     * Users permitted access to this queue via non-appengine apis.
     * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; * @return The acl. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl getAcl(); /** *
     * Users permitted access to this queue via non-appengine apis.
     * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAclOrBuilder getAclOrBuilder(); /** *
     * Header overrides that will be applied when the task is run.
     * This may be used to force all tasks in a queue to execute against a
     * specific verion/server instance (by overriding the 'Host' header).
     * NOTE: Admin-console developers MUST ensure that users can not insert
     * arbitary values into this field.
     * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ java.util.List getHeaderOverrideList(); /** *
     * Header overrides that will be applied when the task is run.
     * This may be used to force all tasks in a queue to execute against a
     * specific verion/server instance (by overriding the 'Host' header).
     * NOTE: Admin-console developers MUST ensure that users can not insert
     * arbitary values into this field.
     * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader getHeaderOverride(int index); /** *
     * Header overrides that will be applied when the task is run.
     * This may be used to force all tasks in a queue to execute against a
     * specific verion/server instance (by overriding the 'Host' header).
     * NOTE: Admin-console developers MUST ensure that users can not insert
     * arbitary values into this field.
     * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ int getHeaderOverrideCount(); /** *
     * Header overrides that will be applied when the task is run.
     * This may be used to force all tasks in a queue to execute against a
     * specific verion/server instance (by overriding the 'Host' header).
     * NOTE: Admin-console developers MUST ensure that users can not insert
     * arbitary values into this field.
     * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ java.util.List getHeaderOverrideOrBuilderList(); /** *
     * Header overrides that will be applied when the task is run.
     * This may be used to force all tasks in a queue to execute against a
     * specific verion/server instance (by overriding the 'Host' header).
     * NOTE: Admin-console developers MUST ensure that users can not insert
     * arbitary values into this field.
     * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeaderOrBuilder getHeaderOverrideOrBuilder( int index); } /** * Protobuf type {@code java.apphosting.TaskQueueUpdateQueueRequest} */ public static final class TaskQueueUpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueUpdateQueueRequest) TaskQueueUpdateQueueRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueUpdateQueueRequest.newBuilder() to construct. private TaskQueueUpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueUpdateQueueRequest() { appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = com.google.protobuf.ByteString.EMPTY; userSpecifiedRate_ = ""; mode_ = 0; headerOverride_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueUpdateQueueRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest.Builder.class); } private int bitField0_; public static final int APP_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the application
     * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Name of the application
     * 
* * optional bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } public static final int QUEUE_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the queue.
     * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Name of the queue.
     * 
* * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } public static final int BUCKET_REFILL_PER_SECOND_FIELD_NUMBER = 3; private double bucketRefillPerSecond_ = 0D; /** *
     * The refill rate of the token bucket.  In the long run, the queue may not
     * exceed this rate of execution.
     * 
* * required double bucket_refill_per_second = 3; * @return Whether the bucketRefillPerSecond field is set. */ @java.lang.Override public boolean hasBucketRefillPerSecond() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * The refill rate of the token bucket.  In the long run, the queue may not
     * exceed this rate of execution.
     * 
* * required double bucket_refill_per_second = 3; * @return The bucketRefillPerSecond. */ @java.lang.Override public double getBucketRefillPerSecond() { return bucketRefillPerSecond_; } public static final int BUCKET_CAPACITY_FIELD_NUMBER = 4; private int bucketCapacity_ = 0; /** *
     * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
     * for deactivating a queue.
     * 
* * required int32 bucket_capacity = 4; * @return Whether the bucketCapacity field is set. */ @java.lang.Override public boolean hasBucketCapacity() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
     * for deactivating a queue.
     * 
* * required int32 bucket_capacity = 4; * @return The bucketCapacity. */ @java.lang.Override public int getBucketCapacity() { return bucketCapacity_; } public static final int USER_SPECIFIED_RATE_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object userSpecifiedRate_ = ""; /** *
     * A human-readable string which describes the rate of execution for this
     * queue. Specifically this is the 'rate:' field from queue.yaml which may
     * contain values such as "10/m" or "200/d" or "1/s".
     * 
* * optional string user_specified_rate = 5; * @return Whether the userSpecifiedRate field is set. */ @java.lang.Override public boolean hasUserSpecifiedRate() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * A human-readable string which describes the rate of execution for this
     * queue. Specifically this is the 'rate:' field from queue.yaml which may
     * contain values such as "10/m" or "200/d" or "1/s".
     * 
* * optional string user_specified_rate = 5; * @return The userSpecifiedRate. */ @java.lang.Override public java.lang.String getUserSpecifiedRate() { java.lang.Object ref = userSpecifiedRate_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { userSpecifiedRate_ = s; } return s; } } /** *
     * A human-readable string which describes the rate of execution for this
     * queue. Specifically this is the 'rate:' field from queue.yaml which may
     * contain values such as "10/m" or "200/d" or "1/s".
     * 
* * optional string user_specified_rate = 5; * @return The bytes for userSpecifiedRate. */ @java.lang.Override public com.google.protobuf.ByteString getUserSpecifiedRateBytes() { java.lang.Object ref = userSpecifiedRate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userSpecifiedRate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RETRY_PARAMETERS_FIELD_NUMBER = 6; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters retryParameters_; /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; * @return Whether the retryParameters field is set. */ @java.lang.Override public boolean hasRetryParameters() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; * @return The retryParameters. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getRetryParameters() { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getRetryParametersOrBuilder() { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } public static final int MAX_CONCURRENT_REQUESTS_FIELD_NUMBER = 7; private int maxConcurrentRequests_ = 0; /** *
     * The maximum number of requests that can be running concurrently.
     * 
* * optional int32 max_concurrent_requests = 7; * @return Whether the maxConcurrentRequests field is set. */ @java.lang.Override public boolean hasMaxConcurrentRequests() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * The maximum number of requests that can be running concurrently.
     * 
* * optional int32 max_concurrent_requests = 7; * @return The maxConcurrentRequests. */ @java.lang.Override public int getMaxConcurrentRequests() { return maxConcurrentRequests_; } public static final int MODE_FIELD_NUMBER = 8; private int mode_ = 0; /** *
     * Default is ENUM 0, PUSH.
     * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 8; * @return Whether the mode field is set. */ @java.lang.Override public boolean hasMode() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Default is ENUM 0, PUSH.
     * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 8; * @return The mode. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode getMode() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.forNumber(mode_); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.PUSH : result; } public static final int ACL_FIELD_NUMBER = 9; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl acl_; /** *
     * Users permitted access to this queue via non-appengine apis.
     * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; * @return Whether the acl field is set. */ @java.lang.Override public boolean hasAcl() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * Users permitted access to this queue via non-appengine apis.
     * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; * @return The acl. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl getAcl() { return acl_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.getDefaultInstance() : acl_; } /** *
     * Users permitted access to this queue via non-appengine apis.
     * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAclOrBuilder getAclOrBuilder() { return acl_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.getDefaultInstance() : acl_; } public static final int HEADER_OVERRIDE_FIELD_NUMBER = 10; @SuppressWarnings("serial") private java.util.List headerOverride_; /** *
     * Header overrides that will be applied when the task is run.
     * This may be used to force all tasks in a queue to execute against a
     * specific verion/server instance (by overriding the 'Host' header).
     * NOTE: Admin-console developers MUST ensure that users can not insert
     * arbitary values into this field.
     * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ @java.lang.Override public java.util.List getHeaderOverrideList() { return headerOverride_; } /** *
     * Header overrides that will be applied when the task is run.
     * This may be used to force all tasks in a queue to execute against a
     * specific verion/server instance (by overriding the 'Host' header).
     * NOTE: Admin-console developers MUST ensure that users can not insert
     * arbitary values into this field.
     * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ @java.lang.Override public java.util.List getHeaderOverrideOrBuilderList() { return headerOverride_; } /** *
     * Header overrides that will be applied when the task is run.
     * This may be used to force all tasks in a queue to execute against a
     * specific verion/server instance (by overriding the 'Host' header).
     * NOTE: Admin-console developers MUST ensure that users can not insert
     * arbitary values into this field.
     * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ @java.lang.Override public int getHeaderOverrideCount() { return headerOverride_.size(); } /** *
     * Header overrides that will be applied when the task is run.
     * This may be used to force all tasks in a queue to execute against a
     * specific verion/server instance (by overriding the 'Host' header).
     * NOTE: Admin-console developers MUST ensure that users can not insert
     * arbitary values into this field.
     * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader getHeaderOverride(int index) { return headerOverride_.get(index); } /** *
     * Header overrides that will be applied when the task is run.
     * This may be used to force all tasks in a queue to execute against a
     * specific verion/server instance (by overriding the 'Host' header).
     * NOTE: Admin-console developers MUST ensure that users can not insert
     * arbitary values into this field.
     * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeaderOrBuilder getHeaderOverrideOrBuilder( int index) { return headerOverride_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasQueueName()) { memoizedIsInitialized = 0; return false; } if (!hasBucketRefillPerSecond()) { memoizedIsInitialized = 0; return false; } if (!hasBucketCapacity()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getHeaderOverrideCount(); i++) { if (!getHeaderOverride(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, queueName_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeDouble(3, bucketRefillPerSecond_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt32(4, bucketCapacity_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, userSpecifiedRate_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(6, getRetryParameters()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeInt32(7, maxConcurrentRequests_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeEnum(8, mode_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(9, getAcl()); } for (int i = 0; i < headerOverride_.size(); i++) { output.writeMessage(10, headerOverride_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, queueName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, bucketRefillPerSecond_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, bucketCapacity_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, userSpecifiedRate_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getRetryParameters()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, maxConcurrentRequests_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, mode_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getAcl()); } for (int i = 0; i < headerOverride_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, headerOverride_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest) obj; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (hasQueueName() != other.hasQueueName()) return false; if (hasQueueName()) { if (!getQueueName() .equals(other.getQueueName())) return false; } if (hasBucketRefillPerSecond() != other.hasBucketRefillPerSecond()) return false; if (hasBucketRefillPerSecond()) { if (java.lang.Double.doubleToLongBits(getBucketRefillPerSecond()) != java.lang.Double.doubleToLongBits( other.getBucketRefillPerSecond())) return false; } if (hasBucketCapacity() != other.hasBucketCapacity()) return false; if (hasBucketCapacity()) { if (getBucketCapacity() != other.getBucketCapacity()) return false; } if (hasUserSpecifiedRate() != other.hasUserSpecifiedRate()) return false; if (hasUserSpecifiedRate()) { if (!getUserSpecifiedRate() .equals(other.getUserSpecifiedRate())) return false; } if (hasRetryParameters() != other.hasRetryParameters()) return false; if (hasRetryParameters()) { if (!getRetryParameters() .equals(other.getRetryParameters())) return false; } if (hasMaxConcurrentRequests() != other.hasMaxConcurrentRequests()) return false; if (hasMaxConcurrentRequests()) { if (getMaxConcurrentRequests() != other.getMaxConcurrentRequests()) return false; } if (hasMode() != other.hasMode()) return false; if (hasMode()) { if (mode_ != other.mode_) return false; } if (hasAcl() != other.hasAcl()) return false; if (hasAcl()) { if (!getAcl() .equals(other.getAcl())) return false; } if (!getHeaderOverrideList() .equals(other.getHeaderOverrideList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAppId()) { hash = (37 * hash) + APP_ID_FIELD_NUMBER; hash = (53 * hash) + getAppId().hashCode(); } if (hasQueueName()) { hash = (37 * hash) + QUEUE_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueueName().hashCode(); } if (hasBucketRefillPerSecond()) { hash = (37 * hash) + BUCKET_REFILL_PER_SECOND_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBucketRefillPerSecond())); } if (hasBucketCapacity()) { hash = (37 * hash) + BUCKET_CAPACITY_FIELD_NUMBER; hash = (53 * hash) + getBucketCapacity(); } if (hasUserSpecifiedRate()) { hash = (37 * hash) + USER_SPECIFIED_RATE_FIELD_NUMBER; hash = (53 * hash) + getUserSpecifiedRate().hashCode(); } if (hasRetryParameters()) { hash = (37 * hash) + RETRY_PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getRetryParameters().hashCode(); } if (hasMaxConcurrentRequests()) { hash = (37 * hash) + MAX_CONCURRENT_REQUESTS_FIELD_NUMBER; hash = (53 * hash) + getMaxConcurrentRequests(); } if (hasMode()) { hash = (37 * hash) + MODE_FIELD_NUMBER; hash = (53 * hash) + mode_; } if (hasAcl()) { hash = (37 * hash) + ACL_FIELD_NUMBER; hash = (53 * hash) + getAcl().hashCode(); } if (getHeaderOverrideCount() > 0) { hash = (37 * hash) + HEADER_OVERRIDE_FIELD_NUMBER; hash = (53 * hash) + getHeaderOverrideList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueUpdateQueueRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueUpdateQueueRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRetryParametersFieldBuilder(); getAclFieldBuilder(); getHeaderOverrideFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = com.google.protobuf.ByteString.EMPTY; bucketRefillPerSecond_ = 0D; bucketCapacity_ = 0; userSpecifiedRate_ = ""; retryParameters_ = null; if (retryParametersBuilder_ != null) { retryParametersBuilder_.dispose(); retryParametersBuilder_ = null; } maxConcurrentRequests_ = 0; mode_ = 0; acl_ = null; if (aclBuilder_ != null) { aclBuilder_.dispose(); aclBuilder_ = null; } if (headerOverrideBuilder_ == null) { headerOverride_ = java.util.Collections.emptyList(); } else { headerOverride_ = null; headerOverrideBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateQueueRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest result) { if (headerOverrideBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { headerOverride_ = java.util.Collections.unmodifiableList(headerOverride_); bitField0_ = (bitField0_ & ~0x00000200); } result.headerOverride_ = headerOverride_; } else { result.headerOverride_ = headerOverrideBuilder_.build(); } } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.queueName_ = queueName_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.bucketRefillPerSecond_ = bucketRefillPerSecond_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.bucketCapacity_ = bucketCapacity_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.userSpecifiedRate_ = userSpecifiedRate_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.retryParameters_ = retryParametersBuilder_ == null ? retryParameters_ : retryParametersBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.maxConcurrentRequests_ = maxConcurrentRequests_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.mode_ = mode_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { result.acl_ = aclBuilder_ == null ? acl_ : aclBuilder_.build(); to_bitField0_ |= 0x00000100; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest.getDefaultInstance()) return this; if (other.hasAppId()) { setAppId(other.getAppId()); } if (other.hasQueueName()) { setQueueName(other.getQueueName()); } if (other.hasBucketRefillPerSecond()) { setBucketRefillPerSecond(other.getBucketRefillPerSecond()); } if (other.hasBucketCapacity()) { setBucketCapacity(other.getBucketCapacity()); } if (other.hasUserSpecifiedRate()) { userSpecifiedRate_ = other.userSpecifiedRate_; bitField0_ |= 0x00000010; onChanged(); } if (other.hasRetryParameters()) { mergeRetryParameters(other.getRetryParameters()); } if (other.hasMaxConcurrentRequests()) { setMaxConcurrentRequests(other.getMaxConcurrentRequests()); } if (other.hasMode()) { setMode(other.getMode()); } if (other.hasAcl()) { mergeAcl(other.getAcl()); } if (headerOverrideBuilder_ == null) { if (!other.headerOverride_.isEmpty()) { if (headerOverride_.isEmpty()) { headerOverride_ = other.headerOverride_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureHeaderOverrideIsMutable(); headerOverride_.addAll(other.headerOverride_); } onChanged(); } } else { if (!other.headerOverride_.isEmpty()) { if (headerOverrideBuilder_.isEmpty()) { headerOverrideBuilder_.dispose(); headerOverrideBuilder_ = null; headerOverride_ = other.headerOverride_; bitField0_ = (bitField0_ & ~0x00000200); headerOverrideBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getHeaderOverrideFieldBuilder() : null; } else { headerOverrideBuilder_.addAllMessages(other.headerOverride_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasQueueName()) { return false; } if (!hasBucketRefillPerSecond()) { return false; } if (!hasBucketCapacity()) { return false; } for (int i = 0; i < getHeaderOverrideCount(); i++) { if (!getHeaderOverride(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { appId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { queueName_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 25: { bucketRefillPerSecond_ = input.readDouble(); bitField0_ |= 0x00000004; break; } // case 25 case 32: { bucketCapacity_ = input.readInt32(); bitField0_ |= 0x00000008; break; } // case 32 case 42: { userSpecifiedRate_ = input.readBytes(); bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage( getRetryParametersFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 56: { maxConcurrentRequests_ = input.readInt32(); bitField0_ |= 0x00000040; break; } // case 56 case 64: { int tmpRaw = input.readEnum(); com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode tmpValue = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(8, tmpRaw); } else { mode_ = tmpRaw; bitField0_ |= 0x00000080; } break; } // case 64 case 74: { input.readMessage( getAclFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 74 case 82: { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader m = input.readMessage( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.PARSER, extensionRegistry); if (headerOverrideBuilder_ == null) { ensureHeaderOverrideIsMutable(); headerOverride_.add(m); } else { headerOverrideBuilder_.addMessage(m); } break; } // case 82 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the application
       * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Name of the application
       * 
* * optional bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } /** *
       * Name of the application
       * 
* * optional bytes app_id = 1; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Name of the application
       * 
* * optional bytes app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000001); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the queue.
       * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Name of the queue.
       * 
* * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } /** *
       * Name of the queue.
       * 
* * required bytes queue_name = 2; * @param value The queueName to set. * @return This builder for chaining. */ public Builder setQueueName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } queueName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Name of the queue.
       * 
* * required bytes queue_name = 2; * @return This builder for chaining. */ public Builder clearQueueName() { bitField0_ = (bitField0_ & ~0x00000002); queueName_ = getDefaultInstance().getQueueName(); onChanged(); return this; } private double bucketRefillPerSecond_ ; /** *
       * The refill rate of the token bucket.  In the long run, the queue may not
       * exceed this rate of execution.
       * 
* * required double bucket_refill_per_second = 3; * @return Whether the bucketRefillPerSecond field is set. */ @java.lang.Override public boolean hasBucketRefillPerSecond() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * The refill rate of the token bucket.  In the long run, the queue may not
       * exceed this rate of execution.
       * 
* * required double bucket_refill_per_second = 3; * @return The bucketRefillPerSecond. */ @java.lang.Override public double getBucketRefillPerSecond() { return bucketRefillPerSecond_; } /** *
       * The refill rate of the token bucket.  In the long run, the queue may not
       * exceed this rate of execution.
       * 
* * required double bucket_refill_per_second = 3; * @param value The bucketRefillPerSecond to set. * @return This builder for chaining. */ public Builder setBucketRefillPerSecond(double value) { bucketRefillPerSecond_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * The refill rate of the token bucket.  In the long run, the queue may not
       * exceed this rate of execution.
       * 
* * required double bucket_refill_per_second = 3; * @return This builder for chaining. */ public Builder clearBucketRefillPerSecond() { bitField0_ = (bitField0_ & ~0x00000004); bucketRefillPerSecond_ = 0D; onChanged(); return this; } private int bucketCapacity_ ; /** *
       * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
       * for deactivating a queue.
       * 
* * required int32 bucket_capacity = 4; * @return Whether the bucketCapacity field is set. */ @java.lang.Override public boolean hasBucketCapacity() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
       * for deactivating a queue.
       * 
* * required int32 bucket_capacity = 4; * @return The bucketCapacity. */ @java.lang.Override public int getBucketCapacity() { return bucketCapacity_; } /** *
       * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
       * for deactivating a queue.
       * 
* * required int32 bucket_capacity = 4; * @param value The bucketCapacity to set. * @return This builder for chaining. */ public Builder setBucketCapacity(int value) { bucketCapacity_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
       * for deactivating a queue.
       * 
* * required int32 bucket_capacity = 4; * @return This builder for chaining. */ public Builder clearBucketCapacity() { bitField0_ = (bitField0_ & ~0x00000008); bucketCapacity_ = 0; onChanged(); return this; } private java.lang.Object userSpecifiedRate_ = ""; /** *
       * A human-readable string which describes the rate of execution for this
       * queue. Specifically this is the 'rate:' field from queue.yaml which may
       * contain values such as "10/m" or "200/d" or "1/s".
       * 
* * optional string user_specified_rate = 5; * @return Whether the userSpecifiedRate field is set. */ public boolean hasUserSpecifiedRate() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * A human-readable string which describes the rate of execution for this
       * queue. Specifically this is the 'rate:' field from queue.yaml which may
       * contain values such as "10/m" or "200/d" or "1/s".
       * 
* * optional string user_specified_rate = 5; * @return The userSpecifiedRate. */ public java.lang.String getUserSpecifiedRate() { java.lang.Object ref = userSpecifiedRate_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { userSpecifiedRate_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * A human-readable string which describes the rate of execution for this
       * queue. Specifically this is the 'rate:' field from queue.yaml which may
       * contain values such as "10/m" or "200/d" or "1/s".
       * 
* * optional string user_specified_rate = 5; * @return The bytes for userSpecifiedRate. */ public com.google.protobuf.ByteString getUserSpecifiedRateBytes() { java.lang.Object ref = userSpecifiedRate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userSpecifiedRate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * A human-readable string which describes the rate of execution for this
       * queue. Specifically this is the 'rate:' field from queue.yaml which may
       * contain values such as "10/m" or "200/d" or "1/s".
       * 
* * optional string user_specified_rate = 5; * @param value The userSpecifiedRate to set. * @return This builder for chaining. */ public Builder setUserSpecifiedRate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userSpecifiedRate_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * A human-readable string which describes the rate of execution for this
       * queue. Specifically this is the 'rate:' field from queue.yaml which may
       * contain values such as "10/m" or "200/d" or "1/s".
       * 
* * optional string user_specified_rate = 5; * @return This builder for chaining. */ public Builder clearUserSpecifiedRate() { userSpecifiedRate_ = getDefaultInstance().getUserSpecifiedRate(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
       * A human-readable string which describes the rate of execution for this
       * queue. Specifically this is the 'rate:' field from queue.yaml which may
       * contain values such as "10/m" or "200/d" or "1/s".
       * 
* * optional string user_specified_rate = 5; * @param value The bytes for userSpecifiedRate to set. * @return This builder for chaining. */ public Builder setUserSpecifiedRateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } userSpecifiedRate_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters retryParameters_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder> retryParametersBuilder_; /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; * @return Whether the retryParameters field is set. */ public boolean hasRetryParameters() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; * @return The retryParameters. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getRetryParameters() { if (retryParametersBuilder_ == null) { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } else { return retryParametersBuilder_.getMessage(); } } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; */ public Builder setRetryParameters(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters value) { if (retryParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } retryParameters_ = value; } else { retryParametersBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; */ public Builder setRetryParameters( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder builderForValue) { if (retryParametersBuilder_ == null) { retryParameters_ = builderForValue.build(); } else { retryParametersBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; */ public Builder mergeRetryParameters(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters value) { if (retryParametersBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && retryParameters_ != null && retryParameters_ != com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance()) { getRetryParametersBuilder().mergeFrom(value); } else { retryParameters_ = value; } } else { retryParametersBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; */ public Builder clearRetryParameters() { bitField0_ = (bitField0_ & ~0x00000020); retryParameters_ = null; if (retryParametersBuilder_ != null) { retryParametersBuilder_.dispose(); retryParametersBuilder_ = null; } onChanged(); return this; } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder getRetryParametersBuilder() { bitField0_ |= 0x00000020; onChanged(); return getRetryParametersFieldBuilder().getBuilder(); } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getRetryParametersOrBuilder() { if (retryParametersBuilder_ != null) { return retryParametersBuilder_.getMessageOrBuilder(); } else { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } } /** * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder> getRetryParametersFieldBuilder() { if (retryParametersBuilder_ == null) { retryParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder>( getRetryParameters(), getParentForChildren(), isClean()); retryParameters_ = null; } return retryParametersBuilder_; } private int maxConcurrentRequests_ ; /** *
       * The maximum number of requests that can be running concurrently.
       * 
* * optional int32 max_concurrent_requests = 7; * @return Whether the maxConcurrentRequests field is set. */ @java.lang.Override public boolean hasMaxConcurrentRequests() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * The maximum number of requests that can be running concurrently.
       * 
* * optional int32 max_concurrent_requests = 7; * @return The maxConcurrentRequests. */ @java.lang.Override public int getMaxConcurrentRequests() { return maxConcurrentRequests_; } /** *
       * The maximum number of requests that can be running concurrently.
       * 
* * optional int32 max_concurrent_requests = 7; * @param value The maxConcurrentRequests to set. * @return This builder for chaining. */ public Builder setMaxConcurrentRequests(int value) { maxConcurrentRequests_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * The maximum number of requests that can be running concurrently.
       * 
* * optional int32 max_concurrent_requests = 7; * @return This builder for chaining. */ public Builder clearMaxConcurrentRequests() { bitField0_ = (bitField0_ & ~0x00000040); maxConcurrentRequests_ = 0; onChanged(); return this; } private int mode_ = 0; /** *
       * Default is ENUM 0, PUSH.
       * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 8; * @return Whether the mode field is set. */ @java.lang.Override public boolean hasMode() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * Default is ENUM 0, PUSH.
       * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 8; * @return The mode. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode getMode() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.forNumber(mode_); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.PUSH : result; } /** *
       * Default is ENUM 0, PUSH.
       * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 8; * @param value The mode to set. * @return This builder for chaining. */ public Builder setMode(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; mode_ = value.getNumber(); onChanged(); return this; } /** *
       * Default is ENUM 0, PUSH.
       * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 8; * @return This builder for chaining. */ public Builder clearMode() { bitField0_ = (bitField0_ & ~0x00000080); mode_ = 0; onChanged(); return this; } private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl acl_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAclOrBuilder> aclBuilder_; /** *
       * Users permitted access to this queue via non-appengine apis.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; * @return Whether the acl field is set. */ public boolean hasAcl() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * Users permitted access to this queue via non-appengine apis.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; * @return The acl. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl getAcl() { if (aclBuilder_ == null) { return acl_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.getDefaultInstance() : acl_; } else { return aclBuilder_.getMessage(); } } /** *
       * Users permitted access to this queue via non-appengine apis.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; */ public Builder setAcl(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl value) { if (aclBuilder_ == null) { if (value == null) { throw new NullPointerException(); } acl_ = value; } else { aclBuilder_.setMessage(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * Users permitted access to this queue via non-appengine apis.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; */ public Builder setAcl( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.Builder builderForValue) { if (aclBuilder_ == null) { acl_ = builderForValue.build(); } else { aclBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * Users permitted access to this queue via non-appengine apis.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; */ public Builder mergeAcl(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl value) { if (aclBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && acl_ != null && acl_ != com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.getDefaultInstance()) { getAclBuilder().mergeFrom(value); } else { acl_ = value; } } else { aclBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * Users permitted access to this queue via non-appengine apis.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; */ public Builder clearAcl() { bitField0_ = (bitField0_ & ~0x00000100); acl_ = null; if (aclBuilder_ != null) { aclBuilder_.dispose(); aclBuilder_ = null; } onChanged(); return this; } /** *
       * Users permitted access to this queue via non-appengine apis.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.Builder getAclBuilder() { bitField0_ |= 0x00000100; onChanged(); return getAclFieldBuilder().getBuilder(); } /** *
       * Users permitted access to this queue via non-appengine apis.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAclOrBuilder getAclOrBuilder() { if (aclBuilder_ != null) { return aclBuilder_.getMessageOrBuilder(); } else { return acl_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.getDefaultInstance() : acl_; } } /** *
       * Users permitted access to this queue via non-appengine apis.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAclOrBuilder> getAclFieldBuilder() { if (aclBuilder_ == null) { aclBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAclOrBuilder>( getAcl(), getParentForChildren(), isClean()); acl_ = null; } return aclBuilder_; } private java.util.List headerOverride_ = java.util.Collections.emptyList(); private void ensureHeaderOverrideIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { headerOverride_ = new java.util.ArrayList(headerOverride_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeaderOrBuilder> headerOverrideBuilder_; /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public java.util.List getHeaderOverrideList() { if (headerOverrideBuilder_ == null) { return java.util.Collections.unmodifiableList(headerOverride_); } else { return headerOverrideBuilder_.getMessageList(); } } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public int getHeaderOverrideCount() { if (headerOverrideBuilder_ == null) { return headerOverride_.size(); } else { return headerOverrideBuilder_.getCount(); } } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader getHeaderOverride(int index) { if (headerOverrideBuilder_ == null) { return headerOverride_.get(index); } else { return headerOverrideBuilder_.getMessage(index); } } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public Builder setHeaderOverride( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader value) { if (headerOverrideBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHeaderOverrideIsMutable(); headerOverride_.set(index, value); onChanged(); } else { headerOverrideBuilder_.setMessage(index, value); } return this; } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public Builder setHeaderOverride( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder builderForValue) { if (headerOverrideBuilder_ == null) { ensureHeaderOverrideIsMutable(); headerOverride_.set(index, builderForValue.build()); onChanged(); } else { headerOverrideBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public Builder addHeaderOverride(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader value) { if (headerOverrideBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHeaderOverrideIsMutable(); headerOverride_.add(value); onChanged(); } else { headerOverrideBuilder_.addMessage(value); } return this; } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public Builder addHeaderOverride( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader value) { if (headerOverrideBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHeaderOverrideIsMutable(); headerOverride_.add(index, value); onChanged(); } else { headerOverrideBuilder_.addMessage(index, value); } return this; } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public Builder addHeaderOverride( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder builderForValue) { if (headerOverrideBuilder_ == null) { ensureHeaderOverrideIsMutable(); headerOverride_.add(builderForValue.build()); onChanged(); } else { headerOverrideBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public Builder addHeaderOverride( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder builderForValue) { if (headerOverrideBuilder_ == null) { ensureHeaderOverrideIsMutable(); headerOverride_.add(index, builderForValue.build()); onChanged(); } else { headerOverrideBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public Builder addAllHeaderOverride( java.lang.Iterable values) { if (headerOverrideBuilder_ == null) { ensureHeaderOverrideIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, headerOverride_); onChanged(); } else { headerOverrideBuilder_.addAllMessages(values); } return this; } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public Builder clearHeaderOverride() { if (headerOverrideBuilder_ == null) { headerOverride_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { headerOverrideBuilder_.clear(); } return this; } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public Builder removeHeaderOverride(int index) { if (headerOverrideBuilder_ == null) { ensureHeaderOverrideIsMutable(); headerOverride_.remove(index); onChanged(); } else { headerOverrideBuilder_.remove(index); } return this; } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder getHeaderOverrideBuilder( int index) { return getHeaderOverrideFieldBuilder().getBuilder(index); } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeaderOrBuilder getHeaderOverrideOrBuilder( int index) { if (headerOverrideBuilder_ == null) { return headerOverride_.get(index); } else { return headerOverrideBuilder_.getMessageOrBuilder(index); } } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public java.util.List getHeaderOverrideOrBuilderList() { if (headerOverrideBuilder_ != null) { return headerOverrideBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(headerOverride_); } } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder addHeaderOverrideBuilder() { return getHeaderOverrideFieldBuilder().addBuilder( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.getDefaultInstance()); } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder addHeaderOverrideBuilder( int index) { return getHeaderOverrideFieldBuilder().addBuilder( index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.getDefaultInstance()); } /** *
       * Header overrides that will be applied when the task is run.
       * This may be used to force all tasks in a queue to execute against a
       * specific verion/server instance (by overriding the 'Host' header).
       * NOTE: Admin-console developers MUST ensure that users can not insert
       * arbitary values into this field.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 10; */ public java.util.List getHeaderOverrideBuilderList() { return getHeaderOverrideFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeaderOrBuilder> getHeaderOverrideFieldBuilder() { if (headerOverrideBuilder_ == null) { headerOverrideBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeaderOrBuilder>( headerOverride_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); headerOverride_ = null; } return headerOverrideBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueUpdateQueueRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueUpdateQueueRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueUpdateQueueRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueUpdateQueueResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueUpdateQueueResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * Reserved for future use.
   * 
* * Protobuf type {@code java.apphosting.TaskQueueUpdateQueueResponse} */ public static final class TaskQueueUpdateQueueResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueUpdateQueueResponse) TaskQueueUpdateQueueResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueUpdateQueueResponse.newBuilder() to construct. private TaskQueueUpdateQueueResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueUpdateQueueResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueUpdateQueueResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateQueueResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateQueueResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Reserved for future use.
     * 
* * Protobuf type {@code java.apphosting.TaskQueueUpdateQueueResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueUpdateQueueResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateQueueResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateQueueResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateQueueResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueUpdateQueueResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueUpdateQueueResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueUpdateQueueResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateQueueResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueFetchQueuesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueFetchQueuesRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the application
     * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ boolean hasAppId(); /** *
     * Name of the application
     * 
* * optional bytes app_id = 1; * @return The appId. */ com.google.protobuf.ByteString getAppId(); /** *
     * Maximum number of rows to return
     * 
* * required int32 max_rows = 2; * @return Whether the maxRows field is set. */ boolean hasMaxRows(); /** *
     * Maximum number of rows to return
     * 
* * required int32 max_rows = 2; * @return The maxRows. */ int getMaxRows(); } /** * Protobuf type {@code java.apphosting.TaskQueueFetchQueuesRequest} */ public static final class TaskQueueFetchQueuesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueFetchQueuesRequest) TaskQueueFetchQueuesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueFetchQueuesRequest.newBuilder() to construct. private TaskQueueFetchQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueFetchQueuesRequest() { appId_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueFetchQueuesRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest.Builder.class); } private int bitField0_; public static final int APP_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the application
     * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Name of the application
     * 
* * optional bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } public static final int MAX_ROWS_FIELD_NUMBER = 2; private int maxRows_ = 0; /** *
     * Maximum number of rows to return
     * 
* * required int32 max_rows = 2; * @return Whether the maxRows field is set. */ @java.lang.Override public boolean hasMaxRows() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Maximum number of rows to return
     * 
* * required int32 max_rows = 2; * @return The maxRows. */ @java.lang.Override public int getMaxRows() { return maxRows_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasMaxRows()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(2, maxRows_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, maxRows_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest) obj; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (hasMaxRows() != other.hasMaxRows()) return false; if (hasMaxRows()) { if (getMaxRows() != other.getMaxRows()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAppId()) { hash = (37 * hash) + APP_ID_FIELD_NUMBER; hash = (53 * hash) + getAppId().hashCode(); } if (hasMaxRows()) { hash = (37 * hash) + MAX_ROWS_FIELD_NUMBER; hash = (53 * hash) + getMaxRows(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueFetchQueuesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueFetchQueuesRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; appId_ = com.google.protobuf.ByteString.EMPTY; maxRows_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.maxRows_ = maxRows_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest.getDefaultInstance()) return this; if (other.hasAppId()) { setAppId(other.getAppId()); } if (other.hasMaxRows()) { setMaxRows(other.getMaxRows()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasMaxRows()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { appId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { maxRows_ = input.readInt32(); bitField0_ |= 0x00000002; break; } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the application
       * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Name of the application
       * 
* * optional bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } /** *
       * Name of the application
       * 
* * optional bytes app_id = 1; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Name of the application
       * 
* * optional bytes app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000001); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } private int maxRows_ ; /** *
       * Maximum number of rows to return
       * 
* * required int32 max_rows = 2; * @return Whether the maxRows field is set. */ @java.lang.Override public boolean hasMaxRows() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Maximum number of rows to return
       * 
* * required int32 max_rows = 2; * @return The maxRows. */ @java.lang.Override public int getMaxRows() { return maxRows_; } /** *
       * Maximum number of rows to return
       * 
* * required int32 max_rows = 2; * @param value The maxRows to set. * @return This builder for chaining. */ public Builder setMaxRows(int value) { maxRows_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Maximum number of rows to return
       * 
* * required int32 max_rows = 2; * @return This builder for chaining. */ public Builder clearMaxRows() { bitField0_ = (bitField0_ & ~0x00000002); maxRows_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueFetchQueuesRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueFetchQueuesRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueFetchQueuesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueFetchQueuesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueFetchQueuesResponse) com.google.protobuf.MessageOrBuilder { /** * repeated group Queue = 1 { ... } */ java.util.List getQueueList(); /** * repeated group Queue = 1 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue getQueue(int index); /** * repeated group Queue = 1 { ... } */ int getQueueCount(); /** * repeated group Queue = 1 { ... } */ java.util.List getQueueOrBuilderList(); /** * repeated group Queue = 1 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.QueueOrBuilder getQueueOrBuilder( int index); } /** * Protobuf type {@code java.apphosting.TaskQueueFetchQueuesResponse} */ public static final class TaskQueueFetchQueuesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueFetchQueuesResponse) TaskQueueFetchQueuesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueFetchQueuesResponse.newBuilder() to construct. private TaskQueueFetchQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueFetchQueuesResponse() { queue_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueFetchQueuesResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Builder.class); } public interface QueueOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueFetchQueuesResponse.Queue) com.google.protobuf.MessageOrBuilder { /** *
       * queue name
       * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ boolean hasQueueName(); /** *
       * queue name
       * 
* * required bytes queue_name = 2; * @return The queueName. */ com.google.protobuf.ByteString getQueueName(); /** *
       * The refill rate of the token bucket.  In the long run, the queue may not
       * exceed this rate of execution.
       * 
* * required double bucket_refill_per_second = 3; * @return Whether the bucketRefillPerSecond field is set. */ boolean hasBucketRefillPerSecond(); /** *
       * The refill rate of the token bucket.  In the long run, the queue may not
       * exceed this rate of execution.
       * 
* * required double bucket_refill_per_second = 3; * @return The bucketRefillPerSecond. */ double getBucketRefillPerSecond(); /** *
       * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
       * for deactivating a queue.
       * TODO: Change this to int32.
       * 
* * required double bucket_capacity = 4; * @return Whether the bucketCapacity field is set. */ boolean hasBucketCapacity(); /** *
       * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
       * for deactivating a queue.
       * TODO: Change this to int32.
       * 
* * required double bucket_capacity = 4; * @return The bucketCapacity. */ double getBucketCapacity(); /** *
       * A human-readable string which describes the rate of execution for this
       * queue. Specifically this is the 'rate:' field from queue.yaml which may
       * contain values such as "10/m" or "200/d" or "1/s".
       * 
* * optional string user_specified_rate = 5; * @return Whether the userSpecifiedRate field is set. */ boolean hasUserSpecifiedRate(); /** *
       * A human-readable string which describes the rate of execution for this
       * queue. Specifically this is the 'rate:' field from queue.yaml which may
       * contain values such as "10/m" or "200/d" or "1/s".
       * 
* * optional string user_specified_rate = 5; * @return The userSpecifiedRate. */ java.lang.String getUserSpecifiedRate(); /** *
       * A human-readable string which describes the rate of execution for this
       * queue. Specifically this is the 'rate:' field from queue.yaml which may
       * contain values such as "10/m" or "200/d" or "1/s".
       * 
* * optional string user_specified_rate = 5; * @return The bytes for userSpecifiedRate. */ com.google.protobuf.ByteString getUserSpecifiedRateBytes(); /** *
       * A flag indicating the queue is paused (true) or unpaused (false).
       * 
* * required bool paused = 6; * @return Whether the paused field is set. */ boolean hasPaused(); /** *
       * A flag indicating the queue is paused (true) or unpaused (false).
       * 
* * required bool paused = 6; * @return The paused. */ boolean getPaused(); /** *
       * Retry parameters for this queue. If a task specifies its own retry
       * parameters, they are used instead.  If both are absent, defaults are
       * used.
       * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; * @return Whether the retryParameters field is set. */ boolean hasRetryParameters(); /** *
       * Retry parameters for this queue. If a task specifies its own retry
       * parameters, they are used instead.  If both are absent, defaults are
       * used.
       * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; * @return The retryParameters. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getRetryParameters(); /** *
       * Retry parameters for this queue. If a task specifies its own retry
       * parameters, they are used instead.  If both are absent, defaults are
       * used.
       * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getRetryParametersOrBuilder(); /** *
       * The maximum number of requests that can be running concurrently.
       * 
* * optional int32 max_concurrent_requests = 8; * @return Whether the maxConcurrentRequests field is set. */ boolean hasMaxConcurrentRequests(); /** *
       * The maximum number of requests that can be running concurrently.
       * 
* * optional int32 max_concurrent_requests = 8; * @return The maxConcurrentRequests. */ int getMaxConcurrentRequests(); /** *
       * Default is ENUM 0, PUSH.
       * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 9; * @return Whether the mode field is set. */ boolean hasMode(); /** *
       * Default is ENUM 0, PUSH.
       * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 9; * @return The mode. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode getMode(); /** *
       * Users permitted access to this queue via non-appengine APIs.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; * @return Whether the acl field is set. */ boolean hasAcl(); /** *
       * Users permitted access to this queue via non-appengine APIs.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; * @return The acl. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl getAcl(); /** *
       * Users permitted access to this queue via non-appengine APIs.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAclOrBuilder getAclOrBuilder(); /** *
       * Header overrides that will be applied when the task is run.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ java.util.List getHeaderOverrideList(); /** *
       * Header overrides that will be applied when the task is run.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader getHeaderOverride(int index); /** *
       * Header overrides that will be applied when the task is run.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ int getHeaderOverrideCount(); /** *
       * Header overrides that will be applied when the task is run.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ java.util.List getHeaderOverrideOrBuilderList(); /** *
       * Header overrides that will be applied when the task is run.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeaderOrBuilder getHeaderOverrideOrBuilder( int index); /** *
       * The creator of this queue. Defaults to "apphosting" for queues created
       * via App Engine's Task Queue Api.
       * 
* * optional string creator_name = 12 [default = "apphosting", ctype = CORD]; * @return Whether the creatorName field is set. */ boolean hasCreatorName(); /** *
       * The creator of this queue. Defaults to "apphosting" for queues created
       * via App Engine's Task Queue Api.
       * 
* * optional string creator_name = 12 [default = "apphosting", ctype = CORD]; * @return The creatorName. */ java.lang.String getCreatorName(); /** *
       * The creator of this queue. Defaults to "apphosting" for queues created
       * via App Engine's Task Queue Api.
       * 
* * optional string creator_name = 12 [default = "apphosting", ctype = CORD]; * @return The bytes for creatorName. */ com.google.protobuf.ByteString getCreatorNameBytes(); } /** * Protobuf type {@code java.apphosting.TaskQueueFetchQueuesResponse.Queue} */ public static final class Queue extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueFetchQueuesResponse.Queue) QueueOrBuilder { private static final long serialVersionUID = 0L; // Use Queue.newBuilder() to construct. private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Queue() { queueName_ = com.google.protobuf.ByteString.EMPTY; userSpecifiedRate_ = ""; mode_ = 0; headerOverride_ = java.util.Collections.emptyList(); creatorName_ = "apphosting"; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Queue(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesResponse_Queue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesResponse_Queue_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.Builder.class); } private int bitField0_; public static final int QUEUE_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * queue name
       * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * queue name
       * 
* * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } public static final int BUCKET_REFILL_PER_SECOND_FIELD_NUMBER = 3; private double bucketRefillPerSecond_ = 0D; /** *
       * The refill rate of the token bucket.  In the long run, the queue may not
       * exceed this rate of execution.
       * 
* * required double bucket_refill_per_second = 3; * @return Whether the bucketRefillPerSecond field is set. */ @java.lang.Override public boolean hasBucketRefillPerSecond() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The refill rate of the token bucket.  In the long run, the queue may not
       * exceed this rate of execution.
       * 
* * required double bucket_refill_per_second = 3; * @return The bucketRefillPerSecond. */ @java.lang.Override public double getBucketRefillPerSecond() { return bucketRefillPerSecond_; } public static final int BUCKET_CAPACITY_FIELD_NUMBER = 4; private double bucketCapacity_ = 0D; /** *
       * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
       * for deactivating a queue.
       * TODO: Change this to int32.
       * 
* * required double bucket_capacity = 4; * @return Whether the bucketCapacity field is set. */ @java.lang.Override public boolean hasBucketCapacity() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
       * for deactivating a queue.
       * TODO: Change this to int32.
       * 
* * required double bucket_capacity = 4; * @return The bucketCapacity. */ @java.lang.Override public double getBucketCapacity() { return bucketCapacity_; } public static final int USER_SPECIFIED_RATE_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object userSpecifiedRate_ = ""; /** *
       * A human-readable string which describes the rate of execution for this
       * queue. Specifically this is the 'rate:' field from queue.yaml which may
       * contain values such as "10/m" or "200/d" or "1/s".
       * 
* * optional string user_specified_rate = 5; * @return Whether the userSpecifiedRate field is set. */ @java.lang.Override public boolean hasUserSpecifiedRate() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * A human-readable string which describes the rate of execution for this
       * queue. Specifically this is the 'rate:' field from queue.yaml which may
       * contain values such as "10/m" or "200/d" or "1/s".
       * 
* * optional string user_specified_rate = 5; * @return The userSpecifiedRate. */ @java.lang.Override public java.lang.String getUserSpecifiedRate() { java.lang.Object ref = userSpecifiedRate_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { userSpecifiedRate_ = s; } return s; } } /** *
       * A human-readable string which describes the rate of execution for this
       * queue. Specifically this is the 'rate:' field from queue.yaml which may
       * contain values such as "10/m" or "200/d" or "1/s".
       * 
* * optional string user_specified_rate = 5; * @return The bytes for userSpecifiedRate. */ @java.lang.Override public com.google.protobuf.ByteString getUserSpecifiedRateBytes() { java.lang.Object ref = userSpecifiedRate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userSpecifiedRate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAUSED_FIELD_NUMBER = 6; private boolean paused_ = false; /** *
       * A flag indicating the queue is paused (true) or unpaused (false).
       * 
* * required bool paused = 6; * @return Whether the paused field is set. */ @java.lang.Override public boolean hasPaused() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * A flag indicating the queue is paused (true) or unpaused (false).
       * 
* * required bool paused = 6; * @return The paused. */ @java.lang.Override public boolean getPaused() { return paused_; } public static final int RETRY_PARAMETERS_FIELD_NUMBER = 7; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters retryParameters_; /** *
       * Retry parameters for this queue. If a task specifies its own retry
       * parameters, they are used instead.  If both are absent, defaults are
       * used.
       * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; * @return Whether the retryParameters field is set. */ @java.lang.Override public boolean hasRetryParameters() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Retry parameters for this queue. If a task specifies its own retry
       * parameters, they are used instead.  If both are absent, defaults are
       * used.
       * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; * @return The retryParameters. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getRetryParameters() { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } /** *
       * Retry parameters for this queue. If a task specifies its own retry
       * parameters, they are used instead.  If both are absent, defaults are
       * used.
       * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getRetryParametersOrBuilder() { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } public static final int MAX_CONCURRENT_REQUESTS_FIELD_NUMBER = 8; private int maxConcurrentRequests_ = 0; /** *
       * The maximum number of requests that can be running concurrently.
       * 
* * optional int32 max_concurrent_requests = 8; * @return Whether the maxConcurrentRequests field is set. */ @java.lang.Override public boolean hasMaxConcurrentRequests() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * The maximum number of requests that can be running concurrently.
       * 
* * optional int32 max_concurrent_requests = 8; * @return The maxConcurrentRequests. */ @java.lang.Override public int getMaxConcurrentRequests() { return maxConcurrentRequests_; } public static final int MODE_FIELD_NUMBER = 9; private int mode_ = 0; /** *
       * Default is ENUM 0, PUSH.
       * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 9; * @return Whether the mode field is set. */ @java.lang.Override public boolean hasMode() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * Default is ENUM 0, PUSH.
       * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 9; * @return The mode. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode getMode() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.forNumber(mode_); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.PUSH : result; } public static final int ACL_FIELD_NUMBER = 10; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl acl_; /** *
       * Users permitted access to this queue via non-appengine APIs.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; * @return Whether the acl field is set. */ @java.lang.Override public boolean hasAcl() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * Users permitted access to this queue via non-appengine APIs.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; * @return The acl. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl getAcl() { return acl_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.getDefaultInstance() : acl_; } /** *
       * Users permitted access to this queue via non-appengine APIs.
       * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAclOrBuilder getAclOrBuilder() { return acl_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.getDefaultInstance() : acl_; } public static final int HEADER_OVERRIDE_FIELD_NUMBER = 11; @SuppressWarnings("serial") private java.util.List headerOverride_; /** *
       * Header overrides that will be applied when the task is run.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ @java.lang.Override public java.util.List getHeaderOverrideList() { return headerOverride_; } /** *
       * Header overrides that will be applied when the task is run.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ @java.lang.Override public java.util.List getHeaderOverrideOrBuilderList() { return headerOverride_; } /** *
       * Header overrides that will be applied when the task is run.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ @java.lang.Override public int getHeaderOverrideCount() { return headerOverride_.size(); } /** *
       * Header overrides that will be applied when the task is run.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader getHeaderOverride(int index) { return headerOverride_.get(index); } /** *
       * Header overrides that will be applied when the task is run.
       * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeaderOrBuilder getHeaderOverrideOrBuilder( int index) { return headerOverride_.get(index); } public static final int CREATOR_NAME_FIELD_NUMBER = 12; @SuppressWarnings("serial") private volatile java.lang.Object creatorName_ = "apphosting"; /** *
       * The creator of this queue. Defaults to "apphosting" for queues created
       * via App Engine's Task Queue Api.
       * 
* * optional string creator_name = 12 [default = "apphosting", ctype = CORD]; * @return Whether the creatorName field is set. */ @java.lang.Override public boolean hasCreatorName() { return ((bitField0_ & 0x00000200) != 0); } /** *
       * The creator of this queue. Defaults to "apphosting" for queues created
       * via App Engine's Task Queue Api.
       * 
* * optional string creator_name = 12 [default = "apphosting", ctype = CORD]; * @return The creatorName. */ @java.lang.Override public java.lang.String getCreatorName() { java.lang.Object ref = creatorName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { creatorName_ = s; } return s; } } /** *
       * The creator of this queue. Defaults to "apphosting" for queues created
       * via App Engine's Task Queue Api.
       * 
* * optional string creator_name = 12 [default = "apphosting", ctype = CORD]; * @return The bytes for creatorName. */ @java.lang.Override public com.google.protobuf.ByteString getCreatorNameBytes() { java.lang.Object ref = creatorName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); creatorName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasQueueName()) { memoizedIsInitialized = 0; return false; } if (!hasBucketRefillPerSecond()) { memoizedIsInitialized = 0; return false; } if (!hasBucketCapacity()) { memoizedIsInitialized = 0; return false; } if (!hasPaused()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getHeaderOverrideCount(); i++) { if (!getHeaderOverride(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(2, queueName_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeDouble(3, bucketRefillPerSecond_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeDouble(4, bucketCapacity_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, userSpecifiedRate_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeBool(6, paused_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(7, getRetryParameters()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeInt32(8, maxConcurrentRequests_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeEnum(9, mode_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(10, getAcl()); } for (int i = 0; i < headerOverride_.size(); i++) { output.writeMessage(11, headerOverride_.get(i)); } if (((bitField0_ & 0x00000200) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, creatorName_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, queueName_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, bucketRefillPerSecond_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, bucketCapacity_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, userSpecifiedRate_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, paused_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getRetryParameters()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, maxConcurrentRequests_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(9, mode_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getAcl()); } for (int i = 0; i < headerOverride_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, headerOverride_.get(i)); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, creatorName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue) obj; if (hasQueueName() != other.hasQueueName()) return false; if (hasQueueName()) { if (!getQueueName() .equals(other.getQueueName())) return false; } if (hasBucketRefillPerSecond() != other.hasBucketRefillPerSecond()) return false; if (hasBucketRefillPerSecond()) { if (java.lang.Double.doubleToLongBits(getBucketRefillPerSecond()) != java.lang.Double.doubleToLongBits( other.getBucketRefillPerSecond())) return false; } if (hasBucketCapacity() != other.hasBucketCapacity()) return false; if (hasBucketCapacity()) { if (java.lang.Double.doubleToLongBits(getBucketCapacity()) != java.lang.Double.doubleToLongBits( other.getBucketCapacity())) return false; } if (hasUserSpecifiedRate() != other.hasUserSpecifiedRate()) return false; if (hasUserSpecifiedRate()) { if (!getUserSpecifiedRate() .equals(other.getUserSpecifiedRate())) return false; } if (hasPaused() != other.hasPaused()) return false; if (hasPaused()) { if (getPaused() != other.getPaused()) return false; } if (hasRetryParameters() != other.hasRetryParameters()) return false; if (hasRetryParameters()) { if (!getRetryParameters() .equals(other.getRetryParameters())) return false; } if (hasMaxConcurrentRequests() != other.hasMaxConcurrentRequests()) return false; if (hasMaxConcurrentRequests()) { if (getMaxConcurrentRequests() != other.getMaxConcurrentRequests()) return false; } if (hasMode() != other.hasMode()) return false; if (hasMode()) { if (mode_ != other.mode_) return false; } if (hasAcl() != other.hasAcl()) return false; if (hasAcl()) { if (!getAcl() .equals(other.getAcl())) return false; } if (!getHeaderOverrideList() .equals(other.getHeaderOverrideList())) return false; if (hasCreatorName() != other.hasCreatorName()) return false; if (hasCreatorName()) { if (!getCreatorName() .equals(other.getCreatorName())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasQueueName()) { hash = (37 * hash) + QUEUE_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueueName().hashCode(); } if (hasBucketRefillPerSecond()) { hash = (37 * hash) + BUCKET_REFILL_PER_SECOND_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBucketRefillPerSecond())); } if (hasBucketCapacity()) { hash = (37 * hash) + BUCKET_CAPACITY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBucketCapacity())); } if (hasUserSpecifiedRate()) { hash = (37 * hash) + USER_SPECIFIED_RATE_FIELD_NUMBER; hash = (53 * hash) + getUserSpecifiedRate().hashCode(); } if (hasPaused()) { hash = (37 * hash) + PAUSED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getPaused()); } if (hasRetryParameters()) { hash = (37 * hash) + RETRY_PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getRetryParameters().hashCode(); } if (hasMaxConcurrentRequests()) { hash = (37 * hash) + MAX_CONCURRENT_REQUESTS_FIELD_NUMBER; hash = (53 * hash) + getMaxConcurrentRequests(); } if (hasMode()) { hash = (37 * hash) + MODE_FIELD_NUMBER; hash = (53 * hash) + mode_; } if (hasAcl()) { hash = (37 * hash) + ACL_FIELD_NUMBER; hash = (53 * hash) + getAcl().hashCode(); } if (getHeaderOverrideCount() > 0) { hash = (37 * hash) + HEADER_OVERRIDE_FIELD_NUMBER; hash = (53 * hash) + getHeaderOverrideList().hashCode(); } if (hasCreatorName()) { hash = (37 * hash) + CREATOR_NAME_FIELD_NUMBER; hash = (53 * hash) + getCreatorName().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueFetchQueuesResponse.Queue} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueFetchQueuesResponse.Queue) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.QueueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesResponse_Queue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesResponse_Queue_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRetryParametersFieldBuilder(); getAclFieldBuilder(); getHeaderOverrideFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; queueName_ = com.google.protobuf.ByteString.EMPTY; bucketRefillPerSecond_ = 0D; bucketCapacity_ = 0D; userSpecifiedRate_ = ""; paused_ = false; retryParameters_ = null; if (retryParametersBuilder_ != null) { retryParametersBuilder_.dispose(); retryParametersBuilder_ = null; } maxConcurrentRequests_ = 0; mode_ = 0; acl_ = null; if (aclBuilder_ != null) { aclBuilder_.dispose(); aclBuilder_ = null; } if (headerOverrideBuilder_ == null) { headerOverride_ = java.util.Collections.emptyList(); } else { headerOverride_ = null; headerOverrideBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); creatorName_ = "apphosting"; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesResponse_Queue_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue result) { if (headerOverrideBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { headerOverride_ = java.util.Collections.unmodifiableList(headerOverride_); bitField0_ = (bitField0_ & ~0x00000200); } result.headerOverride_ = headerOverride_; } else { result.headerOverride_ = headerOverrideBuilder_.build(); } } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.queueName_ = queueName_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.bucketRefillPerSecond_ = bucketRefillPerSecond_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.bucketCapacity_ = bucketCapacity_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.userSpecifiedRate_ = userSpecifiedRate_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.paused_ = paused_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.retryParameters_ = retryParametersBuilder_ == null ? retryParameters_ : retryParametersBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.maxConcurrentRequests_ = maxConcurrentRequests_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.mode_ = mode_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { result.acl_ = aclBuilder_ == null ? acl_ : aclBuilder_.build(); to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000400) != 0)) { result.creatorName_ = creatorName_; to_bitField0_ |= 0x00000200; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.getDefaultInstance()) return this; if (other.hasQueueName()) { setQueueName(other.getQueueName()); } if (other.hasBucketRefillPerSecond()) { setBucketRefillPerSecond(other.getBucketRefillPerSecond()); } if (other.hasBucketCapacity()) { setBucketCapacity(other.getBucketCapacity()); } if (other.hasUserSpecifiedRate()) { userSpecifiedRate_ = other.userSpecifiedRate_; bitField0_ |= 0x00000008; onChanged(); } if (other.hasPaused()) { setPaused(other.getPaused()); } if (other.hasRetryParameters()) { mergeRetryParameters(other.getRetryParameters()); } if (other.hasMaxConcurrentRequests()) { setMaxConcurrentRequests(other.getMaxConcurrentRequests()); } if (other.hasMode()) { setMode(other.getMode()); } if (other.hasAcl()) { mergeAcl(other.getAcl()); } if (headerOverrideBuilder_ == null) { if (!other.headerOverride_.isEmpty()) { if (headerOverride_.isEmpty()) { headerOverride_ = other.headerOverride_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureHeaderOverrideIsMutable(); headerOverride_.addAll(other.headerOverride_); } onChanged(); } } else { if (!other.headerOverride_.isEmpty()) { if (headerOverrideBuilder_.isEmpty()) { headerOverrideBuilder_.dispose(); headerOverrideBuilder_ = null; headerOverride_ = other.headerOverride_; bitField0_ = (bitField0_ & ~0x00000200); headerOverrideBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getHeaderOverrideFieldBuilder() : null; } else { headerOverrideBuilder_.addAllMessages(other.headerOverride_); } } } if (other.hasCreatorName()) { creatorName_ = other.creatorName_; bitField0_ |= 0x00000400; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasQueueName()) { return false; } if (!hasBucketRefillPerSecond()) { return false; } if (!hasBucketCapacity()) { return false; } if (!hasPaused()) { return false; } for (int i = 0; i < getHeaderOverrideCount(); i++) { if (!getHeaderOverride(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 18: { queueName_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 18 case 25: { bucketRefillPerSecond_ = input.readDouble(); bitField0_ |= 0x00000002; break; } // case 25 case 33: { bucketCapacity_ = input.readDouble(); bitField0_ |= 0x00000004; break; } // case 33 case 42: { userSpecifiedRate_ = input.readBytes(); bitField0_ |= 0x00000008; break; } // case 42 case 48: { paused_ = input.readBool(); bitField0_ |= 0x00000010; break; } // case 48 case 58: { input.readMessage( getRetryParametersFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 58 case 64: { maxConcurrentRequests_ = input.readInt32(); bitField0_ |= 0x00000040; break; } // case 64 case 72: { int tmpRaw = input.readEnum(); com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode tmpValue = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(9, tmpRaw); } else { mode_ = tmpRaw; bitField0_ |= 0x00000080; } break; } // case 72 case 82: { input.readMessage( getAclFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 82 case 90: { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader m = input.readMessage( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.PARSER, extensionRegistry); if (headerOverrideBuilder_ == null) { ensureHeaderOverrideIsMutable(); headerOverride_.add(m); } else { headerOverrideBuilder_.addMessage(m); } break; } // case 90 case 98: { creatorName_ = input.readBytes(); bitField0_ |= 0x00000400; break; } // case 98 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
         * queue name
         * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000001) != 0); } /** *
         * queue name
         * 
* * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } /** *
         * queue name
         * 
* * required bytes queue_name = 2; * @param value The queueName to set. * @return This builder for chaining. */ public Builder setQueueName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } queueName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
         * queue name
         * 
* * required bytes queue_name = 2; * @return This builder for chaining. */ public Builder clearQueueName() { bitField0_ = (bitField0_ & ~0x00000001); queueName_ = getDefaultInstance().getQueueName(); onChanged(); return this; } private double bucketRefillPerSecond_ ; /** *
         * The refill rate of the token bucket.  In the long run, the queue may not
         * exceed this rate of execution.
         * 
* * required double bucket_refill_per_second = 3; * @return Whether the bucketRefillPerSecond field is set. */ @java.lang.Override public boolean hasBucketRefillPerSecond() { return ((bitField0_ & 0x00000002) != 0); } /** *
         * The refill rate of the token bucket.  In the long run, the queue may not
         * exceed this rate of execution.
         * 
* * required double bucket_refill_per_second = 3; * @return The bucketRefillPerSecond. */ @java.lang.Override public double getBucketRefillPerSecond() { return bucketRefillPerSecond_; } /** *
         * The refill rate of the token bucket.  In the long run, the queue may not
         * exceed this rate of execution.
         * 
* * required double bucket_refill_per_second = 3; * @param value The bucketRefillPerSecond to set. * @return This builder for chaining. */ public Builder setBucketRefillPerSecond(double value) { bucketRefillPerSecond_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
         * The refill rate of the token bucket.  In the long run, the queue may not
         * exceed this rate of execution.
         * 
* * required double bucket_refill_per_second = 3; * @return This builder for chaining. */ public Builder clearBucketRefillPerSecond() { bitField0_ = (bitField0_ & ~0x00000002); bucketRefillPerSecond_ = 0D; onChanged(); return this; } private double bucketCapacity_ ; /** *
         * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
         * for deactivating a queue.
         * TODO: Change this to int32.
         * 
* * required double bucket_capacity = 4; * @return Whether the bucketCapacity field is set. */ @java.lang.Override public boolean hasBucketCapacity() { return ((bitField0_ & 0x00000004) != 0); } /** *
         * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
         * for deactivating a queue.
         * TODO: Change this to int32.
         * 
* * required double bucket_capacity = 4; * @return The bucketCapacity. */ @java.lang.Override public double getBucketCapacity() { return bucketCapacity_; } /** *
         * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
         * for deactivating a queue.
         * TODO: Change this to int32.
         * 
* * required double bucket_capacity = 4; * @param value The bucketCapacity to set. * @return This builder for chaining. */ public Builder setBucketCapacity(double value) { bucketCapacity_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
         * The capacity of the token bucket. If < 1.0 tasks not be executed - useful
         * for deactivating a queue.
         * TODO: Change this to int32.
         * 
* * required double bucket_capacity = 4; * @return This builder for chaining. */ public Builder clearBucketCapacity() { bitField0_ = (bitField0_ & ~0x00000004); bucketCapacity_ = 0D; onChanged(); return this; } private java.lang.Object userSpecifiedRate_ = ""; /** *
         * A human-readable string which describes the rate of execution for this
         * queue. Specifically this is the 'rate:' field from queue.yaml which may
         * contain values such as "10/m" or "200/d" or "1/s".
         * 
* * optional string user_specified_rate = 5; * @return Whether the userSpecifiedRate field is set. */ public boolean hasUserSpecifiedRate() { return ((bitField0_ & 0x00000008) != 0); } /** *
         * A human-readable string which describes the rate of execution for this
         * queue. Specifically this is the 'rate:' field from queue.yaml which may
         * contain values such as "10/m" or "200/d" or "1/s".
         * 
* * optional string user_specified_rate = 5; * @return The userSpecifiedRate. */ public java.lang.String getUserSpecifiedRate() { java.lang.Object ref = userSpecifiedRate_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { userSpecifiedRate_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
         * A human-readable string which describes the rate of execution for this
         * queue. Specifically this is the 'rate:' field from queue.yaml which may
         * contain values such as "10/m" or "200/d" or "1/s".
         * 
* * optional string user_specified_rate = 5; * @return The bytes for userSpecifiedRate. */ public com.google.protobuf.ByteString getUserSpecifiedRateBytes() { java.lang.Object ref = userSpecifiedRate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userSpecifiedRate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * A human-readable string which describes the rate of execution for this
         * queue. Specifically this is the 'rate:' field from queue.yaml which may
         * contain values such as "10/m" or "200/d" or "1/s".
         * 
* * optional string user_specified_rate = 5; * @param value The userSpecifiedRate to set. * @return This builder for chaining. */ public Builder setUserSpecifiedRate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userSpecifiedRate_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
         * A human-readable string which describes the rate of execution for this
         * queue. Specifically this is the 'rate:' field from queue.yaml which may
         * contain values such as "10/m" or "200/d" or "1/s".
         * 
* * optional string user_specified_rate = 5; * @return This builder for chaining. */ public Builder clearUserSpecifiedRate() { userSpecifiedRate_ = getDefaultInstance().getUserSpecifiedRate(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
         * A human-readable string which describes the rate of execution for this
         * queue. Specifically this is the 'rate:' field from queue.yaml which may
         * contain values such as "10/m" or "200/d" or "1/s".
         * 
* * optional string user_specified_rate = 5; * @param value The bytes for userSpecifiedRate to set. * @return This builder for chaining. */ public Builder setUserSpecifiedRateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } userSpecifiedRate_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private boolean paused_ ; /** *
         * A flag indicating the queue is paused (true) or unpaused (false).
         * 
* * required bool paused = 6; * @return Whether the paused field is set. */ @java.lang.Override public boolean hasPaused() { return ((bitField0_ & 0x00000010) != 0); } /** *
         * A flag indicating the queue is paused (true) or unpaused (false).
         * 
* * required bool paused = 6; * @return The paused. */ @java.lang.Override public boolean getPaused() { return paused_; } /** *
         * A flag indicating the queue is paused (true) or unpaused (false).
         * 
* * required bool paused = 6; * @param value The paused to set. * @return This builder for chaining. */ public Builder setPaused(boolean value) { paused_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
         * A flag indicating the queue is paused (true) or unpaused (false).
         * 
* * required bool paused = 6; * @return This builder for chaining. */ public Builder clearPaused() { bitField0_ = (bitField0_ & ~0x00000010); paused_ = false; onChanged(); return this; } private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters retryParameters_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder> retryParametersBuilder_; /** *
         * Retry parameters for this queue. If a task specifies its own retry
         * parameters, they are used instead.  If both are absent, defaults are
         * used.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; * @return Whether the retryParameters field is set. */ public boolean hasRetryParameters() { return ((bitField0_ & 0x00000020) != 0); } /** *
         * Retry parameters for this queue. If a task specifies its own retry
         * parameters, they are used instead.  If both are absent, defaults are
         * used.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; * @return The retryParameters. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getRetryParameters() { if (retryParametersBuilder_ == null) { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } else { return retryParametersBuilder_.getMessage(); } } /** *
         * Retry parameters for this queue. If a task specifies its own retry
         * parameters, they are used instead.  If both are absent, defaults are
         * used.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; */ public Builder setRetryParameters(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters value) { if (retryParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } retryParameters_ = value; } else { retryParametersBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
         * Retry parameters for this queue. If a task specifies its own retry
         * parameters, they are used instead.  If both are absent, defaults are
         * used.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; */ public Builder setRetryParameters( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder builderForValue) { if (retryParametersBuilder_ == null) { retryParameters_ = builderForValue.build(); } else { retryParametersBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
         * Retry parameters for this queue. If a task specifies its own retry
         * parameters, they are used instead.  If both are absent, defaults are
         * used.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; */ public Builder mergeRetryParameters(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters value) { if (retryParametersBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && retryParameters_ != null && retryParameters_ != com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance()) { getRetryParametersBuilder().mergeFrom(value); } else { retryParameters_ = value; } } else { retryParametersBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
         * Retry parameters for this queue. If a task specifies its own retry
         * parameters, they are used instead.  If both are absent, defaults are
         * used.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; */ public Builder clearRetryParameters() { bitField0_ = (bitField0_ & ~0x00000020); retryParameters_ = null; if (retryParametersBuilder_ != null) { retryParametersBuilder_.dispose(); retryParametersBuilder_ = null; } onChanged(); return this; } /** *
         * Retry parameters for this queue. If a task specifies its own retry
         * parameters, they are used instead.  If both are absent, defaults are
         * used.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder getRetryParametersBuilder() { bitField0_ |= 0x00000020; onChanged(); return getRetryParametersFieldBuilder().getBuilder(); } /** *
         * Retry parameters for this queue. If a task specifies its own retry
         * parameters, they are used instead.  If both are absent, defaults are
         * used.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getRetryParametersOrBuilder() { if (retryParametersBuilder_ != null) { return retryParametersBuilder_.getMessageOrBuilder(); } else { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } } /** *
         * Retry parameters for this queue. If a task specifies its own retry
         * parameters, they are used instead.  If both are absent, defaults are
         * used.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder> getRetryParametersFieldBuilder() { if (retryParametersBuilder_ == null) { retryParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder>( getRetryParameters(), getParentForChildren(), isClean()); retryParameters_ = null; } return retryParametersBuilder_; } private int maxConcurrentRequests_ ; /** *
         * The maximum number of requests that can be running concurrently.
         * 
* * optional int32 max_concurrent_requests = 8; * @return Whether the maxConcurrentRequests field is set. */ @java.lang.Override public boolean hasMaxConcurrentRequests() { return ((bitField0_ & 0x00000040) != 0); } /** *
         * The maximum number of requests that can be running concurrently.
         * 
* * optional int32 max_concurrent_requests = 8; * @return The maxConcurrentRequests. */ @java.lang.Override public int getMaxConcurrentRequests() { return maxConcurrentRequests_; } /** *
         * The maximum number of requests that can be running concurrently.
         * 
* * optional int32 max_concurrent_requests = 8; * @param value The maxConcurrentRequests to set. * @return This builder for chaining. */ public Builder setMaxConcurrentRequests(int value) { maxConcurrentRequests_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
         * The maximum number of requests that can be running concurrently.
         * 
* * optional int32 max_concurrent_requests = 8; * @return This builder for chaining. */ public Builder clearMaxConcurrentRequests() { bitField0_ = (bitField0_ & ~0x00000040); maxConcurrentRequests_ = 0; onChanged(); return this; } private int mode_ = 0; /** *
         * Default is ENUM 0, PUSH.
         * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 9; * @return Whether the mode field is set. */ @java.lang.Override public boolean hasMode() { return ((bitField0_ & 0x00000080) != 0); } /** *
         * Default is ENUM 0, PUSH.
         * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 9; * @return The mode. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode getMode() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.forNumber(mode_); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode.PUSH : result; } /** *
         * Default is ENUM 0, PUSH.
         * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 9; * @param value The mode to set. * @return This builder for chaining. */ public Builder setMode(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueMode.Mode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; mode_ = value.getNumber(); onChanged(); return this; } /** *
         * Default is ENUM 0, PUSH.
         * 
* * optional .java.apphosting.TaskQueueMode.Mode mode = 9; * @return This builder for chaining. */ public Builder clearMode() { bitField0_ = (bitField0_ & ~0x00000080); mode_ = 0; onChanged(); return this; } private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl acl_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAclOrBuilder> aclBuilder_; /** *
         * Users permitted access to this queue via non-appengine APIs.
         * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; * @return Whether the acl field is set. */ public boolean hasAcl() { return ((bitField0_ & 0x00000100) != 0); } /** *
         * Users permitted access to this queue via non-appengine APIs.
         * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; * @return The acl. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl getAcl() { if (aclBuilder_ == null) { return acl_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.getDefaultInstance() : acl_; } else { return aclBuilder_.getMessage(); } } /** *
         * Users permitted access to this queue via non-appengine APIs.
         * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; */ public Builder setAcl(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl value) { if (aclBuilder_ == null) { if (value == null) { throw new NullPointerException(); } acl_ = value; } else { aclBuilder_.setMessage(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
         * Users permitted access to this queue via non-appengine APIs.
         * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; */ public Builder setAcl( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.Builder builderForValue) { if (aclBuilder_ == null) { acl_ = builderForValue.build(); } else { aclBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
         * Users permitted access to this queue via non-appengine APIs.
         * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; */ public Builder mergeAcl(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl value) { if (aclBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && acl_ != null && acl_ != com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.getDefaultInstance()) { getAclBuilder().mergeFrom(value); } else { acl_ = value; } } else { aclBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
         * Users permitted access to this queue via non-appengine APIs.
         * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; */ public Builder clearAcl() { bitField0_ = (bitField0_ & ~0x00000100); acl_ = null; if (aclBuilder_ != null) { aclBuilder_.dispose(); aclBuilder_ = null; } onChanged(); return this; } /** *
         * Users permitted access to this queue via non-appengine APIs.
         * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.Builder getAclBuilder() { bitField0_ |= 0x00000100; onChanged(); return getAclFieldBuilder().getBuilder(); } /** *
         * Users permitted access to this queue via non-appengine APIs.
         * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAclOrBuilder getAclOrBuilder() { if (aclBuilder_ != null) { return aclBuilder_.getMessageOrBuilder(); } else { return acl_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.getDefaultInstance() : acl_; } } /** *
         * Users permitted access to this queue via non-appengine APIs.
         * 
* * optional .java.apphosting.TaskQueueAcl acl = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAclOrBuilder> getAclFieldBuilder() { if (aclBuilder_ == null) { aclBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAcl.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueAclOrBuilder>( getAcl(), getParentForChildren(), isClean()); acl_ = null; } return aclBuilder_; } private java.util.List headerOverride_ = java.util.Collections.emptyList(); private void ensureHeaderOverrideIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { headerOverride_ = new java.util.ArrayList(headerOverride_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeaderOrBuilder> headerOverrideBuilder_; /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public java.util.List getHeaderOverrideList() { if (headerOverrideBuilder_ == null) { return java.util.Collections.unmodifiableList(headerOverride_); } else { return headerOverrideBuilder_.getMessageList(); } } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public int getHeaderOverrideCount() { if (headerOverrideBuilder_ == null) { return headerOverride_.size(); } else { return headerOverrideBuilder_.getCount(); } } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader getHeaderOverride(int index) { if (headerOverrideBuilder_ == null) { return headerOverride_.get(index); } else { return headerOverrideBuilder_.getMessage(index); } } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public Builder setHeaderOverride( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader value) { if (headerOverrideBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHeaderOverrideIsMutable(); headerOverride_.set(index, value); onChanged(); } else { headerOverrideBuilder_.setMessage(index, value); } return this; } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public Builder setHeaderOverride( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder builderForValue) { if (headerOverrideBuilder_ == null) { ensureHeaderOverrideIsMutable(); headerOverride_.set(index, builderForValue.build()); onChanged(); } else { headerOverrideBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public Builder addHeaderOverride(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader value) { if (headerOverrideBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHeaderOverrideIsMutable(); headerOverride_.add(value); onChanged(); } else { headerOverrideBuilder_.addMessage(value); } return this; } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public Builder addHeaderOverride( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader value) { if (headerOverrideBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHeaderOverrideIsMutable(); headerOverride_.add(index, value); onChanged(); } else { headerOverrideBuilder_.addMessage(index, value); } return this; } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public Builder addHeaderOverride( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder builderForValue) { if (headerOverrideBuilder_ == null) { ensureHeaderOverrideIsMutable(); headerOverride_.add(builderForValue.build()); onChanged(); } else { headerOverrideBuilder_.addMessage(builderForValue.build()); } return this; } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public Builder addHeaderOverride( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder builderForValue) { if (headerOverrideBuilder_ == null) { ensureHeaderOverrideIsMutable(); headerOverride_.add(index, builderForValue.build()); onChanged(); } else { headerOverrideBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public Builder addAllHeaderOverride( java.lang.Iterable values) { if (headerOverrideBuilder_ == null) { ensureHeaderOverrideIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, headerOverride_); onChanged(); } else { headerOverrideBuilder_.addAllMessages(values); } return this; } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public Builder clearHeaderOverride() { if (headerOverrideBuilder_ == null) { headerOverride_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { headerOverrideBuilder_.clear(); } return this; } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public Builder removeHeaderOverride(int index) { if (headerOverrideBuilder_ == null) { ensureHeaderOverrideIsMutable(); headerOverride_.remove(index); onChanged(); } else { headerOverrideBuilder_.remove(index); } return this; } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder getHeaderOverrideBuilder( int index) { return getHeaderOverrideFieldBuilder().getBuilder(index); } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeaderOrBuilder getHeaderOverrideOrBuilder( int index) { if (headerOverrideBuilder_ == null) { return headerOverride_.get(index); } else { return headerOverrideBuilder_.getMessageOrBuilder(index); } } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public java.util.List getHeaderOverrideOrBuilderList() { if (headerOverrideBuilder_ != null) { return headerOverrideBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(headerOverride_); } } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder addHeaderOverrideBuilder() { return getHeaderOverrideFieldBuilder().addBuilder( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.getDefaultInstance()); } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder addHeaderOverrideBuilder( int index) { return getHeaderOverrideFieldBuilder().addBuilder( index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.getDefaultInstance()); } /** *
         * Header overrides that will be applied when the task is run.
         * 
* * repeated .java.apphosting.TaskQueueHttpHeader header_override = 11; */ public java.util.List getHeaderOverrideBuilderList() { return getHeaderOverrideFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeaderOrBuilder> getHeaderOverrideFieldBuilder() { if (headerOverrideBuilder_ == null) { headerOverrideBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeader.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueHttpHeaderOrBuilder>( headerOverride_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); headerOverride_ = null; } return headerOverrideBuilder_; } private java.lang.Object creatorName_ = "apphosting"; /** *
         * The creator of this queue. Defaults to "apphosting" for queues created
         * via App Engine's Task Queue Api.
         * 
* * optional string creator_name = 12 [default = "apphosting", ctype = CORD]; * @return Whether the creatorName field is set. */ public boolean hasCreatorName() { return ((bitField0_ & 0x00000400) != 0); } /** *
         * The creator of this queue. Defaults to "apphosting" for queues created
         * via App Engine's Task Queue Api.
         * 
* * optional string creator_name = 12 [default = "apphosting", ctype = CORD]; * @return The creatorName. */ public java.lang.String getCreatorName() { java.lang.Object ref = creatorName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { creatorName_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
         * The creator of this queue. Defaults to "apphosting" for queues created
         * via App Engine's Task Queue Api.
         * 
* * optional string creator_name = 12 [default = "apphosting", ctype = CORD]; * @return The bytes for creatorName. */ public com.google.protobuf.ByteString getCreatorNameBytes() { java.lang.Object ref = creatorName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); creatorName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * The creator of this queue. Defaults to "apphosting" for queues created
         * via App Engine's Task Queue Api.
         * 
* * optional string creator_name = 12 [default = "apphosting", ctype = CORD]; * @param value The creatorName to set. * @return This builder for chaining. */ public Builder setCreatorName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } creatorName_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
         * The creator of this queue. Defaults to "apphosting" for queues created
         * via App Engine's Task Queue Api.
         * 
* * optional string creator_name = 12 [default = "apphosting", ctype = CORD]; * @return This builder for chaining. */ public Builder clearCreatorName() { creatorName_ = getDefaultInstance().getCreatorName(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** *
         * The creator of this queue. Defaults to "apphosting" for queues created
         * via App Engine's Task Queue Api.
         * 
* * optional string creator_name = 12 [default = "apphosting", ctype = CORD]; * @param value The bytes for creatorName to set. * @return This builder for chaining. */ public Builder setCreatorNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } creatorName_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueFetchQueuesResponse.Queue) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueFetchQueuesResponse.Queue) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Queue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int QUEUE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List queue_; /** * repeated group Queue = 1 { ... } */ @java.lang.Override public java.util.List getQueueList() { return queue_; } /** * repeated group Queue = 1 { ... } */ @java.lang.Override public java.util.List getQueueOrBuilderList() { return queue_; } /** * repeated group Queue = 1 { ... } */ @java.lang.Override public int getQueueCount() { return queue_.size(); } /** * repeated group Queue = 1 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue getQueue(int index) { return queue_.get(index); } /** * repeated group Queue = 1 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.QueueOrBuilder getQueueOrBuilder( int index) { return queue_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getQueueCount(); i++) { if (!getQueue(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < queue_.size(); i++) { output.writeGroup(1, queue_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < queue_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(1, queue_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse) obj; if (!getQueueList() .equals(other.getQueueList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getQueueCount() > 0) { hash = (37 * hash) + QUEUE_FIELD_NUMBER; hash = (53 * hash) + getQueueList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueFetchQueuesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueFetchQueuesResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (queueBuilder_ == null) { queue_ = java.util.Collections.emptyList(); } else { queue_ = null; queueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueuesResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse result) { if (queueBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { queue_ = java.util.Collections.unmodifiableList(queue_); bitField0_ = (bitField0_ & ~0x00000001); } result.queue_ = queue_; } else { result.queue_ = queueBuilder_.build(); } } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.getDefaultInstance()) return this; if (queueBuilder_ == null) { if (!other.queue_.isEmpty()) { if (queue_.isEmpty()) { queue_ = other.queue_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureQueueIsMutable(); queue_.addAll(other.queue_); } onChanged(); } } else { if (!other.queue_.isEmpty()) { if (queueBuilder_.isEmpty()) { queueBuilder_.dispose(); queueBuilder_ = null; queue_ = other.queue_; bitField0_ = (bitField0_ & ~0x00000001); queueBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getQueueFieldBuilder() : null; } else { queueBuilder_.addAllMessages(other.queue_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getQueueCount(); i++) { if (!getQueue(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 11: { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue m = input.readGroup(1, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.PARSER, extensionRegistry); if (queueBuilder_ == null) { ensureQueueIsMutable(); queue_.add(m); } else { queueBuilder_.addMessage(m); } break; } // case 11 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List queue_ = java.util.Collections.emptyList(); private void ensureQueueIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queue_ = new java.util.ArrayList(queue_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.QueueOrBuilder> queueBuilder_; /** * repeated group Queue = 1 { ... } */ public java.util.List getQueueList() { if (queueBuilder_ == null) { return java.util.Collections.unmodifiableList(queue_); } else { return queueBuilder_.getMessageList(); } } /** * repeated group Queue = 1 { ... } */ public int getQueueCount() { if (queueBuilder_ == null) { return queue_.size(); } else { return queueBuilder_.getCount(); } } /** * repeated group Queue = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue getQueue(int index) { if (queueBuilder_ == null) { return queue_.get(index); } else { return queueBuilder_.getMessage(index); } } /** * repeated group Queue = 1 { ... } */ public Builder setQueue( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue value) { if (queueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueueIsMutable(); queue_.set(index, value); onChanged(); } else { queueBuilder_.setMessage(index, value); } return this; } /** * repeated group Queue = 1 { ... } */ public Builder setQueue( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.Builder builderForValue) { if (queueBuilder_ == null) { ensureQueueIsMutable(); queue_.set(index, builderForValue.build()); onChanged(); } else { queueBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated group Queue = 1 { ... } */ public Builder addQueue(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue value) { if (queueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueueIsMutable(); queue_.add(value); onChanged(); } else { queueBuilder_.addMessage(value); } return this; } /** * repeated group Queue = 1 { ... } */ public Builder addQueue( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue value) { if (queueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueueIsMutable(); queue_.add(index, value); onChanged(); } else { queueBuilder_.addMessage(index, value); } return this; } /** * repeated group Queue = 1 { ... } */ public Builder addQueue( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.Builder builderForValue) { if (queueBuilder_ == null) { ensureQueueIsMutable(); queue_.add(builderForValue.build()); onChanged(); } else { queueBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated group Queue = 1 { ... } */ public Builder addQueue( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.Builder builderForValue) { if (queueBuilder_ == null) { ensureQueueIsMutable(); queue_.add(index, builderForValue.build()); onChanged(); } else { queueBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated group Queue = 1 { ... } */ public Builder addAllQueue( java.lang.Iterable values) { if (queueBuilder_ == null) { ensureQueueIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, queue_); onChanged(); } else { queueBuilder_.addAllMessages(values); } return this; } /** * repeated group Queue = 1 { ... } */ public Builder clearQueue() { if (queueBuilder_ == null) { queue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { queueBuilder_.clear(); } return this; } /** * repeated group Queue = 1 { ... } */ public Builder removeQueue(int index) { if (queueBuilder_ == null) { ensureQueueIsMutable(); queue_.remove(index); onChanged(); } else { queueBuilder_.remove(index); } return this; } /** * repeated group Queue = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.Builder getQueueBuilder( int index) { return getQueueFieldBuilder().getBuilder(index); } /** * repeated group Queue = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.QueueOrBuilder getQueueOrBuilder( int index) { if (queueBuilder_ == null) { return queue_.get(index); } else { return queueBuilder_.getMessageOrBuilder(index); } } /** * repeated group Queue = 1 { ... } */ public java.util.List getQueueOrBuilderList() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(queue_); } } /** * repeated group Queue = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.Builder addQueueBuilder() { return getQueueFieldBuilder().addBuilder( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.getDefaultInstance()); } /** * repeated group Queue = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.Builder addQueueBuilder( int index) { return getQueueFieldBuilder().addBuilder( index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.getDefaultInstance()); } /** * repeated group Queue = 1 { ... } */ public java.util.List getQueueBuilderList() { return getQueueFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { queueBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.Queue.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse.QueueOrBuilder>( queue_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueFetchQueuesResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueFetchQueuesResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueFetchQueuesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueFetchQueueStatsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueFetchQueueStatsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the application.
     * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ boolean hasAppId(); /** *
     * Name of the application.
     * 
* * optional bytes app_id = 1; * @return The appId. */ com.google.protobuf.ByteString getAppId(); /** *
     * Name of the queues to fetch statistics for.
     * 
* * repeated bytes queue_name = 2; * @return A list containing the queueName. */ java.util.List getQueueNameList(); /** *
     * Name of the queues to fetch statistics for.
     * 
* * repeated bytes queue_name = 2; * @return The count of queueName. */ int getQueueNameCount(); /** *
     * Name of the queues to fetch statistics for.
     * 
* * repeated bytes queue_name = 2; * @param index The index of the element to return. * @return The queueName at the given index. */ com.google.protobuf.ByteString getQueueName(int index); /** *
     * The maximum number of tasks to scan for each queue. If a queue has more
     * tasks than 'max_num_tasks', then we will return an approximation of the
     * number of tasks.
     * If zero (or left unset) then only the approximation will be returned.
     * 
* * optional int32 max_num_tasks = 3; * @return Whether the maxNumTasks field is set. */ boolean hasMaxNumTasks(); /** *
     * The maximum number of tasks to scan for each queue. If a queue has more
     * tasks than 'max_num_tasks', then we will return an approximation of the
     * number of tasks.
     * If zero (or left unset) then only the approximation will be returned.
     * 
* * optional int32 max_num_tasks = 3; * @return The maxNumTasks. */ int getMaxNumTasks(); } /** * Protobuf type {@code java.apphosting.TaskQueueFetchQueueStatsRequest} */ public static final class TaskQueueFetchQueueStatsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueFetchQueueStatsRequest) TaskQueueFetchQueueStatsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueFetchQueueStatsRequest.newBuilder() to construct. private TaskQueueFetchQueueStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueFetchQueueStatsRequest() { appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueFetchQueueStatsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest.Builder.class); } private int bitField0_; public static final int APP_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the application.
     * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Name of the application.
     * 
* * optional bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } public static final int QUEUE_NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List queueName_; /** *
     * Name of the queues to fetch statistics for.
     * 
* * repeated bytes queue_name = 2; * @return A list containing the queueName. */ @java.lang.Override public java.util.List getQueueNameList() { return queueName_; } /** *
     * Name of the queues to fetch statistics for.
     * 
* * repeated bytes queue_name = 2; * @return The count of queueName. */ public int getQueueNameCount() { return queueName_.size(); } /** *
     * Name of the queues to fetch statistics for.
     * 
* * repeated bytes queue_name = 2; * @param index The index of the element to return. * @return The queueName at the given index. */ public com.google.protobuf.ByteString getQueueName(int index) { return queueName_.get(index); } public static final int MAX_NUM_TASKS_FIELD_NUMBER = 3; private int maxNumTasks_ = 0; /** *
     * The maximum number of tasks to scan for each queue. If a queue has more
     * tasks than 'max_num_tasks', then we will return an approximation of the
     * number of tasks.
     * If zero (or left unset) then only the approximation will be returned.
     * 
* * optional int32 max_num_tasks = 3; * @return Whether the maxNumTasks field is set. */ @java.lang.Override public boolean hasMaxNumTasks() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The maximum number of tasks to scan for each queue. If a queue has more
     * tasks than 'max_num_tasks', then we will return an approximation of the
     * number of tasks.
     * If zero (or left unset) then only the approximation will be returned.
     * 
* * optional int32 max_num_tasks = 3; * @return The maxNumTasks. */ @java.lang.Override public int getMaxNumTasks() { return maxNumTasks_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, appId_); } for (int i = 0; i < queueName_.size(); i++) { output.writeBytes(2, queueName_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(3, maxNumTasks_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, appId_); } { int dataSize = 0; for (int i = 0; i < queueName_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(queueName_.get(i)); } size += dataSize; size += 1 * getQueueNameList().size(); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, maxNumTasks_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest) obj; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (!getQueueNameList() .equals(other.getQueueNameList())) return false; if (hasMaxNumTasks() != other.hasMaxNumTasks()) return false; if (hasMaxNumTasks()) { if (getMaxNumTasks() != other.getMaxNumTasks()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAppId()) { hash = (37 * hash) + APP_ID_FIELD_NUMBER; hash = (53 * hash) + getAppId().hashCode(); } if (getQueueNameCount() > 0) { hash = (37 * hash) + QUEUE_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueueNameList().hashCode(); } if (hasMaxNumTasks()) { hash = (37 * hash) + MAX_NUM_TASKS_FIELD_NUMBER; hash = (53 * hash) + getMaxNumTasks(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueFetchQueueStatsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueFetchQueueStatsRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = java.util.Collections.emptyList(); maxNumTasks_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest result) { if (((bitField0_ & 0x00000002) != 0)) { queueName_ = java.util.Collections.unmodifiableList(queueName_); bitField0_ = (bitField0_ & ~0x00000002); } result.queueName_ = queueName_; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.maxNumTasks_ = maxNumTasks_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest.getDefaultInstance()) return this; if (other.hasAppId()) { setAppId(other.getAppId()); } if (!other.queueName_.isEmpty()) { if (queueName_.isEmpty()) { queueName_ = other.queueName_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureQueueNameIsMutable(); queueName_.addAll(other.queueName_); } onChanged(); } if (other.hasMaxNumTasks()) { setMaxNumTasks(other.getMaxNumTasks()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { appId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { com.google.protobuf.ByteString v = input.readBytes(); ensureQueueNameIsMutable(); queueName_.add(v); break; } // case 18 case 24: { maxNumTasks_ = input.readInt32(); bitField0_ |= 0x00000004; break; } // case 24 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the application.
       * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Name of the application.
       * 
* * optional bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } /** *
       * Name of the application.
       * 
* * optional bytes app_id = 1; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Name of the application.
       * 
* * optional bytes app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000001); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } private java.util.List queueName_ = java.util.Collections.emptyList(); private void ensureQueueNameIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { queueName_ = new java.util.ArrayList(queueName_); bitField0_ |= 0x00000002; } } /** *
       * Name of the queues to fetch statistics for.
       * 
* * repeated bytes queue_name = 2; * @return A list containing the queueName. */ public java.util.List getQueueNameList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(queueName_) : queueName_; } /** *
       * Name of the queues to fetch statistics for.
       * 
* * repeated bytes queue_name = 2; * @return The count of queueName. */ public int getQueueNameCount() { return queueName_.size(); } /** *
       * Name of the queues to fetch statistics for.
       * 
* * repeated bytes queue_name = 2; * @param index The index of the element to return. * @return The queueName at the given index. */ public com.google.protobuf.ByteString getQueueName(int index) { return queueName_.get(index); } /** *
       * Name of the queues to fetch statistics for.
       * 
* * repeated bytes queue_name = 2; * @param index The index to set the value at. * @param value The queueName to set. * @return This builder for chaining. */ public Builder setQueueName( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureQueueNameIsMutable(); queueName_.set(index, value); onChanged(); return this; } /** *
       * Name of the queues to fetch statistics for.
       * 
* * repeated bytes queue_name = 2; * @param value The queueName to add. * @return This builder for chaining. */ public Builder addQueueName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureQueueNameIsMutable(); queueName_.add(value); onChanged(); return this; } /** *
       * Name of the queues to fetch statistics for.
       * 
* * repeated bytes queue_name = 2; * @param values The queueName to add. * @return This builder for chaining. */ public Builder addAllQueueName( java.lang.Iterable values) { ensureQueueNameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, queueName_); onChanged(); return this; } /** *
       * Name of the queues to fetch statistics for.
       * 
* * repeated bytes queue_name = 2; * @return This builder for chaining. */ public Builder clearQueueName() { queueName_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } private int maxNumTasks_ ; /** *
       * The maximum number of tasks to scan for each queue. If a queue has more
       * tasks than 'max_num_tasks', then we will return an approximation of the
       * number of tasks.
       * If zero (or left unset) then only the approximation will be returned.
       * 
* * optional int32 max_num_tasks = 3; * @return Whether the maxNumTasks field is set. */ @java.lang.Override public boolean hasMaxNumTasks() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * The maximum number of tasks to scan for each queue. If a queue has more
       * tasks than 'max_num_tasks', then we will return an approximation of the
       * number of tasks.
       * If zero (or left unset) then only the approximation will be returned.
       * 
* * optional int32 max_num_tasks = 3; * @return The maxNumTasks. */ @java.lang.Override public int getMaxNumTasks() { return maxNumTasks_; } /** *
       * The maximum number of tasks to scan for each queue. If a queue has more
       * tasks than 'max_num_tasks', then we will return an approximation of the
       * number of tasks.
       * If zero (or left unset) then only the approximation will be returned.
       * 
* * optional int32 max_num_tasks = 3; * @param value The maxNumTasks to set. * @return This builder for chaining. */ public Builder setMaxNumTasks(int value) { maxNumTasks_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * The maximum number of tasks to scan for each queue. If a queue has more
       * tasks than 'max_num_tasks', then we will return an approximation of the
       * number of tasks.
       * If zero (or left unset) then only the approximation will be returned.
       * 
* * optional int32 max_num_tasks = 3; * @return This builder for chaining. */ public Builder clearMaxNumTasks() { bitField0_ = (bitField0_ & ~0x00000004); maxNumTasks_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueFetchQueueStatsRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueFetchQueueStatsRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueFetchQueueStatsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueScannerQueueInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueScannerQueueInfo) com.google.protobuf.MessageOrBuilder { /** *
     * The number of the queue's tasks executed in the last minute.
     * 
* * required int64 executed_last_minute = 1; * @return Whether the executedLastMinute field is set. */ boolean hasExecutedLastMinute(); /** *
     * The number of the queue's tasks executed in the last minute.
     * 
* * required int64 executed_last_minute = 1; * @return The executedLastMinute. */ long getExecutedLastMinute(); /** *
     * The number of the queue's tasks executed in the last hour.
     * 
* * required int64 executed_last_hour = 2; * @return Whether the executedLastHour field is set. */ boolean hasExecutedLastHour(); /** *
     * The number of the queue's tasks executed in the last hour.
     * 
* * required int64 executed_last_hour = 2; * @return The executedLastHour. */ long getExecutedLastHour(); /** *
     * The length of time that execution statistics have been recorded for this
     * queue.  If the queue is still in its startup phase (unable to process
     * tasks), this will be set to zero.
     * 
* * required double sampling_duration_seconds = 3; * @return Whether the samplingDurationSeconds field is set. */ boolean hasSamplingDurationSeconds(); /** *
     * The length of time that execution statistics have been recorded for this
     * queue.  If the queue is still in its startup phase (unable to process
     * tasks), this will be set to zero.
     * 
* * required double sampling_duration_seconds = 3; * @return The samplingDurationSeconds. */ double getSamplingDurationSeconds(); /** *
     * The number of requests from the queue for which a reply has not yet been
     * received.
     * 
* * optional int32 requests_in_flight = 4; * @return Whether the requestsInFlight field is set. */ boolean hasRequestsInFlight(); /** *
     * The number of requests from the queue for which a reply has not yet been
     * received.
     * 
* * optional int32 requests_in_flight = 4; * @return The requestsInFlight. */ int getRequestsInFlight(); /** *
     * The rate as enforced by the scanner (requests per seconds).
     * 
* * optional double enforced_rate = 5; * @return Whether the enforcedRate field is set. */ boolean hasEnforcedRate(); /** *
     * The rate as enforced by the scanner (requests per seconds).
     * 
* * optional double enforced_rate = 5; * @return The enforcedRate. */ double getEnforcedRate(); } /** *
   * Queue information from Executor Scanner.
   * 
* * Protobuf type {@code java.apphosting.TaskQueueScannerQueueInfo} */ public static final class TaskQueueScannerQueueInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueScannerQueueInfo) TaskQueueScannerQueueInfoOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueScannerQueueInfo.newBuilder() to construct. private TaskQueueScannerQueueInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueScannerQueueInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueScannerQueueInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueScannerQueueInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueScannerQueueInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.Builder.class); } private int bitField0_; public static final int EXECUTED_LAST_MINUTE_FIELD_NUMBER = 1; private long executedLastMinute_ = 0L; /** *
     * The number of the queue's tasks executed in the last minute.
     * 
* * required int64 executed_last_minute = 1; * @return Whether the executedLastMinute field is set. */ @java.lang.Override public boolean hasExecutedLastMinute() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The number of the queue's tasks executed in the last minute.
     * 
* * required int64 executed_last_minute = 1; * @return The executedLastMinute. */ @java.lang.Override public long getExecutedLastMinute() { return executedLastMinute_; } public static final int EXECUTED_LAST_HOUR_FIELD_NUMBER = 2; private long executedLastHour_ = 0L; /** *
     * The number of the queue's tasks executed in the last hour.
     * 
* * required int64 executed_last_hour = 2; * @return Whether the executedLastHour field is set. */ @java.lang.Override public boolean hasExecutedLastHour() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The number of the queue's tasks executed in the last hour.
     * 
* * required int64 executed_last_hour = 2; * @return The executedLastHour. */ @java.lang.Override public long getExecutedLastHour() { return executedLastHour_; } public static final int SAMPLING_DURATION_SECONDS_FIELD_NUMBER = 3; private double samplingDurationSeconds_ = 0D; /** *
     * The length of time that execution statistics have been recorded for this
     * queue.  If the queue is still in its startup phase (unable to process
     * tasks), this will be set to zero.
     * 
* * required double sampling_duration_seconds = 3; * @return Whether the samplingDurationSeconds field is set. */ @java.lang.Override public boolean hasSamplingDurationSeconds() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * The length of time that execution statistics have been recorded for this
     * queue.  If the queue is still in its startup phase (unable to process
     * tasks), this will be set to zero.
     * 
* * required double sampling_duration_seconds = 3; * @return The samplingDurationSeconds. */ @java.lang.Override public double getSamplingDurationSeconds() { return samplingDurationSeconds_; } public static final int REQUESTS_IN_FLIGHT_FIELD_NUMBER = 4; private int requestsInFlight_ = 0; /** *
     * The number of requests from the queue for which a reply has not yet been
     * received.
     * 
* * optional int32 requests_in_flight = 4; * @return Whether the requestsInFlight field is set. */ @java.lang.Override public boolean hasRequestsInFlight() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * The number of requests from the queue for which a reply has not yet been
     * received.
     * 
* * optional int32 requests_in_flight = 4; * @return The requestsInFlight. */ @java.lang.Override public int getRequestsInFlight() { return requestsInFlight_; } public static final int ENFORCED_RATE_FIELD_NUMBER = 5; private double enforcedRate_ = 0D; /** *
     * The rate as enforced by the scanner (requests per seconds).
     * 
* * optional double enforced_rate = 5; * @return Whether the enforcedRate field is set. */ @java.lang.Override public boolean hasEnforcedRate() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * The rate as enforced by the scanner (requests per seconds).
     * 
* * optional double enforced_rate = 5; * @return The enforcedRate. */ @java.lang.Override public double getEnforcedRate() { return enforcedRate_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasExecutedLastMinute()) { memoizedIsInitialized = 0; return false; } if (!hasExecutedLastHour()) { memoizedIsInitialized = 0; return false; } if (!hasSamplingDurationSeconds()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, executedLastMinute_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, executedLastHour_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeDouble(3, samplingDurationSeconds_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt32(4, requestsInFlight_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeDouble(5, enforcedRate_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, executedLastMinute_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, executedLastHour_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, samplingDurationSeconds_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, requestsInFlight_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, enforcedRate_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo) obj; if (hasExecutedLastMinute() != other.hasExecutedLastMinute()) return false; if (hasExecutedLastMinute()) { if (getExecutedLastMinute() != other.getExecutedLastMinute()) return false; } if (hasExecutedLastHour() != other.hasExecutedLastHour()) return false; if (hasExecutedLastHour()) { if (getExecutedLastHour() != other.getExecutedLastHour()) return false; } if (hasSamplingDurationSeconds() != other.hasSamplingDurationSeconds()) return false; if (hasSamplingDurationSeconds()) { if (java.lang.Double.doubleToLongBits(getSamplingDurationSeconds()) != java.lang.Double.doubleToLongBits( other.getSamplingDurationSeconds())) return false; } if (hasRequestsInFlight() != other.hasRequestsInFlight()) return false; if (hasRequestsInFlight()) { if (getRequestsInFlight() != other.getRequestsInFlight()) return false; } if (hasEnforcedRate() != other.hasEnforcedRate()) return false; if (hasEnforcedRate()) { if (java.lang.Double.doubleToLongBits(getEnforcedRate()) != java.lang.Double.doubleToLongBits( other.getEnforcedRate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasExecutedLastMinute()) { hash = (37 * hash) + EXECUTED_LAST_MINUTE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getExecutedLastMinute()); } if (hasExecutedLastHour()) { hash = (37 * hash) + EXECUTED_LAST_HOUR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getExecutedLastHour()); } if (hasSamplingDurationSeconds()) { hash = (37 * hash) + SAMPLING_DURATION_SECONDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getSamplingDurationSeconds())); } if (hasRequestsInFlight()) { hash = (37 * hash) + REQUESTS_IN_FLIGHT_FIELD_NUMBER; hash = (53 * hash) + getRequestsInFlight(); } if (hasEnforcedRate()) { hash = (37 * hash) + ENFORCED_RATE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getEnforcedRate())); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Queue information from Executor Scanner.
     * 
* * Protobuf type {@code java.apphosting.TaskQueueScannerQueueInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueScannerQueueInfo) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueScannerQueueInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueScannerQueueInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; executedLastMinute_ = 0L; executedLastHour_ = 0L; samplingDurationSeconds_ = 0D; requestsInFlight_ = 0; enforcedRate_ = 0D; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueScannerQueueInfo_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.executedLastMinute_ = executedLastMinute_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.executedLastHour_ = executedLastHour_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.samplingDurationSeconds_ = samplingDurationSeconds_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestsInFlight_ = requestsInFlight_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.enforcedRate_ = enforcedRate_; to_bitField0_ |= 0x00000010; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.getDefaultInstance()) return this; if (other.hasExecutedLastMinute()) { setExecutedLastMinute(other.getExecutedLastMinute()); } if (other.hasExecutedLastHour()) { setExecutedLastHour(other.getExecutedLastHour()); } if (other.hasSamplingDurationSeconds()) { setSamplingDurationSeconds(other.getSamplingDurationSeconds()); } if (other.hasRequestsInFlight()) { setRequestsInFlight(other.getRequestsInFlight()); } if (other.hasEnforcedRate()) { setEnforcedRate(other.getEnforcedRate()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasExecutedLastMinute()) { return false; } if (!hasExecutedLastHour()) { return false; } if (!hasSamplingDurationSeconds()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { executedLastMinute_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { executedLastHour_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 25: { samplingDurationSeconds_ = input.readDouble(); bitField0_ |= 0x00000004; break; } // case 25 case 32: { requestsInFlight_ = input.readInt32(); bitField0_ |= 0x00000008; break; } // case 32 case 41: { enforcedRate_ = input.readDouble(); bitField0_ |= 0x00000010; break; } // case 41 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long executedLastMinute_ ; /** *
       * The number of the queue's tasks executed in the last minute.
       * 
* * required int64 executed_last_minute = 1; * @return Whether the executedLastMinute field is set. */ @java.lang.Override public boolean hasExecutedLastMinute() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The number of the queue's tasks executed in the last minute.
       * 
* * required int64 executed_last_minute = 1; * @return The executedLastMinute. */ @java.lang.Override public long getExecutedLastMinute() { return executedLastMinute_; } /** *
       * The number of the queue's tasks executed in the last minute.
       * 
* * required int64 executed_last_minute = 1; * @param value The executedLastMinute to set. * @return This builder for chaining. */ public Builder setExecutedLastMinute(long value) { executedLastMinute_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The number of the queue's tasks executed in the last minute.
       * 
* * required int64 executed_last_minute = 1; * @return This builder for chaining. */ public Builder clearExecutedLastMinute() { bitField0_ = (bitField0_ & ~0x00000001); executedLastMinute_ = 0L; onChanged(); return this; } private long executedLastHour_ ; /** *
       * The number of the queue's tasks executed in the last hour.
       * 
* * required int64 executed_last_hour = 2; * @return Whether the executedLastHour field is set. */ @java.lang.Override public boolean hasExecutedLastHour() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The number of the queue's tasks executed in the last hour.
       * 
* * required int64 executed_last_hour = 2; * @return The executedLastHour. */ @java.lang.Override public long getExecutedLastHour() { return executedLastHour_; } /** *
       * The number of the queue's tasks executed in the last hour.
       * 
* * required int64 executed_last_hour = 2; * @param value The executedLastHour to set. * @return This builder for chaining. */ public Builder setExecutedLastHour(long value) { executedLastHour_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * The number of the queue's tasks executed in the last hour.
       * 
* * required int64 executed_last_hour = 2; * @return This builder for chaining. */ public Builder clearExecutedLastHour() { bitField0_ = (bitField0_ & ~0x00000002); executedLastHour_ = 0L; onChanged(); return this; } private double samplingDurationSeconds_ ; /** *
       * The length of time that execution statistics have been recorded for this
       * queue.  If the queue is still in its startup phase (unable to process
       * tasks), this will be set to zero.
       * 
* * required double sampling_duration_seconds = 3; * @return Whether the samplingDurationSeconds field is set. */ @java.lang.Override public boolean hasSamplingDurationSeconds() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * The length of time that execution statistics have been recorded for this
       * queue.  If the queue is still in its startup phase (unable to process
       * tasks), this will be set to zero.
       * 
* * required double sampling_duration_seconds = 3; * @return The samplingDurationSeconds. */ @java.lang.Override public double getSamplingDurationSeconds() { return samplingDurationSeconds_; } /** *
       * The length of time that execution statistics have been recorded for this
       * queue.  If the queue is still in its startup phase (unable to process
       * tasks), this will be set to zero.
       * 
* * required double sampling_duration_seconds = 3; * @param value The samplingDurationSeconds to set. * @return This builder for chaining. */ public Builder setSamplingDurationSeconds(double value) { samplingDurationSeconds_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * The length of time that execution statistics have been recorded for this
       * queue.  If the queue is still in its startup phase (unable to process
       * tasks), this will be set to zero.
       * 
* * required double sampling_duration_seconds = 3; * @return This builder for chaining. */ public Builder clearSamplingDurationSeconds() { bitField0_ = (bitField0_ & ~0x00000004); samplingDurationSeconds_ = 0D; onChanged(); return this; } private int requestsInFlight_ ; /** *
       * The number of requests from the queue for which a reply has not yet been
       * received.
       * 
* * optional int32 requests_in_flight = 4; * @return Whether the requestsInFlight field is set. */ @java.lang.Override public boolean hasRequestsInFlight() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * The number of requests from the queue for which a reply has not yet been
       * received.
       * 
* * optional int32 requests_in_flight = 4; * @return The requestsInFlight. */ @java.lang.Override public int getRequestsInFlight() { return requestsInFlight_; } /** *
       * The number of requests from the queue for which a reply has not yet been
       * received.
       * 
* * optional int32 requests_in_flight = 4; * @param value The requestsInFlight to set. * @return This builder for chaining. */ public Builder setRequestsInFlight(int value) { requestsInFlight_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * The number of requests from the queue for which a reply has not yet been
       * received.
       * 
* * optional int32 requests_in_flight = 4; * @return This builder for chaining. */ public Builder clearRequestsInFlight() { bitField0_ = (bitField0_ & ~0x00000008); requestsInFlight_ = 0; onChanged(); return this; } private double enforcedRate_ ; /** *
       * The rate as enforced by the scanner (requests per seconds).
       * 
* * optional double enforced_rate = 5; * @return Whether the enforcedRate field is set. */ @java.lang.Override public boolean hasEnforcedRate() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The rate as enforced by the scanner (requests per seconds).
       * 
* * optional double enforced_rate = 5; * @return The enforcedRate. */ @java.lang.Override public double getEnforcedRate() { return enforcedRate_; } /** *
       * The rate as enforced by the scanner (requests per seconds).
       * 
* * optional double enforced_rate = 5; * @param value The enforcedRate to set. * @return This builder for chaining. */ public Builder setEnforcedRate(double value) { enforcedRate_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * The rate as enforced by the scanner (requests per seconds).
       * 
* * optional double enforced_rate = 5; * @return This builder for chaining. */ public Builder clearEnforcedRate() { bitField0_ = (bitField0_ & ~0x00000010); enforcedRate_ = 0D; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueScannerQueueInfo) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueScannerQueueInfo) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueScannerQueueInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueFetchQueueStatsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueFetchQueueStatsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated group QueueStats = 1 { ... } */ java.util.List getQueueStatsList(); /** * repeated group QueueStats = 1 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats getQueueStats(int index); /** * repeated group QueueStats = 1 { ... } */ int getQueueStatsCount(); /** * repeated group QueueStats = 1 { ... } */ java.util.List getQueueStatsOrBuilderList(); /** * repeated group QueueStats = 1 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStatsOrBuilder getQueueStatsOrBuilder( int index); } /** * Protobuf type {@code java.apphosting.TaskQueueFetchQueueStatsResponse} */ public static final class TaskQueueFetchQueueStatsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueFetchQueueStatsResponse) TaskQueueFetchQueueStatsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueFetchQueueStatsResponse.newBuilder() to construct. private TaskQueueFetchQueueStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueFetchQueueStatsResponse() { queueStats_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueFetchQueueStatsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.Builder.class); } public interface QueueStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueFetchQueueStatsResponse.QueueStats) com.google.protobuf.MessageOrBuilder { /** *
       * The number of non-completed tasks in the queue. Note that this may be
       * greater than TaskQueueFetchQueueStatsRequest::max_num_tasks.
       * 
* * required int32 num_tasks = 2; * @return Whether the numTasks field is set. */ boolean hasNumTasks(); /** *
       * The number of non-completed tasks in the queue. Note that this may be
       * greater than TaskQueueFetchQueueStatsRequest::max_num_tasks.
       * 
* * required int32 num_tasks = 2; * @return The numTasks. */ int getNumTasks(); /** *
       * The eta of the oldest non-completed task for the queue, or -1 if there
       * were no non-completed tasks found in the queue.
       * 
* * required int64 oldest_eta_usec = 3; * @return Whether the oldestEtaUsec field is set. */ boolean hasOldestEtaUsec(); /** *
       * The eta of the oldest non-completed task for the queue, or -1 if there
       * were no non-completed tasks found in the queue.
       * 
* * required int64 oldest_eta_usec = 3; * @return The oldestEtaUsec. */ long getOldestEtaUsec(); /** *
       * Queue information fetched from the scanner. Will not be present if the
       * scanner was unavailable, or the queue was not found on the scanner (e.g.
       * it may have recently migrated to a different scanner).
       * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; * @return Whether the scannerInfo field is set. */ boolean hasScannerInfo(); /** *
       * Queue information fetched from the scanner. Will not be present if the
       * scanner was unavailable, or the queue was not found on the scanner (e.g.
       * it may have recently migrated to a different scanner).
       * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; * @return The scannerInfo. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo getScannerInfo(); /** *
       * Queue information fetched from the scanner. Will not be present if the
       * scanner was unavailable, or the queue was not found on the scanner (e.g.
       * it may have recently migrated to a different scanner).
       * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfoOrBuilder getScannerInfoOrBuilder(); } /** *
     * Results here will be in the same order as the queues were requested in
     * TaskQueueFetchQueueStatsRequest::queue_name.
     * If the requested queue does not actually exist, the returned QueueStats
     * will be the same as for a queue which is currently empty.
     * 
* * Protobuf type {@code java.apphosting.TaskQueueFetchQueueStatsResponse.QueueStats} */ public static final class QueueStats extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueFetchQueueStatsResponse.QueueStats) QueueStatsOrBuilder { private static final long serialVersionUID = 0L; // Use QueueStats.newBuilder() to construct. private QueueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueueStats() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueueStats(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.Builder.class); } private int bitField0_; public static final int NUM_TASKS_FIELD_NUMBER = 2; private int numTasks_ = 0; /** *
       * The number of non-completed tasks in the queue. Note that this may be
       * greater than TaskQueueFetchQueueStatsRequest::max_num_tasks.
       * 
* * required int32 num_tasks = 2; * @return Whether the numTasks field is set. */ @java.lang.Override public boolean hasNumTasks() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The number of non-completed tasks in the queue. Note that this may be
       * greater than TaskQueueFetchQueueStatsRequest::max_num_tasks.
       * 
* * required int32 num_tasks = 2; * @return The numTasks. */ @java.lang.Override public int getNumTasks() { return numTasks_; } public static final int OLDEST_ETA_USEC_FIELD_NUMBER = 3; private long oldestEtaUsec_ = 0L; /** *
       * The eta of the oldest non-completed task for the queue, or -1 if there
       * were no non-completed tasks found in the queue.
       * 
* * required int64 oldest_eta_usec = 3; * @return Whether the oldestEtaUsec field is set. */ @java.lang.Override public boolean hasOldestEtaUsec() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The eta of the oldest non-completed task for the queue, or -1 if there
       * were no non-completed tasks found in the queue.
       * 
* * required int64 oldest_eta_usec = 3; * @return The oldestEtaUsec. */ @java.lang.Override public long getOldestEtaUsec() { return oldestEtaUsec_; } public static final int SCANNER_INFO_FIELD_NUMBER = 4; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo scannerInfo_; /** *
       * Queue information fetched from the scanner. Will not be present if the
       * scanner was unavailable, or the queue was not found on the scanner (e.g.
       * it may have recently migrated to a different scanner).
       * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; * @return Whether the scannerInfo field is set. */ @java.lang.Override public boolean hasScannerInfo() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Queue information fetched from the scanner. Will not be present if the
       * scanner was unavailable, or the queue was not found on the scanner (e.g.
       * it may have recently migrated to a different scanner).
       * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; * @return The scannerInfo. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo getScannerInfo() { return scannerInfo_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.getDefaultInstance() : scannerInfo_; } /** *
       * Queue information fetched from the scanner. Will not be present if the
       * scanner was unavailable, or the queue was not found on the scanner (e.g.
       * it may have recently migrated to a different scanner).
       * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfoOrBuilder getScannerInfoOrBuilder() { return scannerInfo_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.getDefaultInstance() : scannerInfo_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasNumTasks()) { memoizedIsInitialized = 0; return false; } if (!hasOldestEtaUsec()) { memoizedIsInitialized = 0; return false; } if (hasScannerInfo()) { if (!getScannerInfo().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(2, numTasks_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(3, oldestEtaUsec_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getScannerInfo()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, numTasks_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, oldestEtaUsec_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getScannerInfo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats) obj; if (hasNumTasks() != other.hasNumTasks()) return false; if (hasNumTasks()) { if (getNumTasks() != other.getNumTasks()) return false; } if (hasOldestEtaUsec() != other.hasOldestEtaUsec()) return false; if (hasOldestEtaUsec()) { if (getOldestEtaUsec() != other.getOldestEtaUsec()) return false; } if (hasScannerInfo() != other.hasScannerInfo()) return false; if (hasScannerInfo()) { if (!getScannerInfo() .equals(other.getScannerInfo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasNumTasks()) { hash = (37 * hash) + NUM_TASKS_FIELD_NUMBER; hash = (53 * hash) + getNumTasks(); } if (hasOldestEtaUsec()) { hash = (37 * hash) + OLDEST_ETA_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getOldestEtaUsec()); } if (hasScannerInfo()) { hash = (37 * hash) + SCANNER_INFO_FIELD_NUMBER; hash = (53 * hash) + getScannerInfo().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
       * Results here will be in the same order as the queues were requested in
       * TaskQueueFetchQueueStatsRequest::queue_name.
       * If the requested queue does not actually exist, the returned QueueStats
       * will be the same as for a queue which is currently empty.
       * 
* * Protobuf type {@code java.apphosting.TaskQueueFetchQueueStatsResponse.QueueStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueFetchQueueStatsResponse.QueueStats) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getScannerInfoFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; numTasks_ = 0; oldestEtaUsec_ = 0L; scannerInfo_ = null; if (scannerInfoBuilder_ != null) { scannerInfoBuilder_.dispose(); scannerInfoBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_QueueStats_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.numTasks_ = numTasks_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.oldestEtaUsec_ = oldestEtaUsec_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.scannerInfo_ = scannerInfoBuilder_ == null ? scannerInfo_ : scannerInfoBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.getDefaultInstance()) return this; if (other.hasNumTasks()) { setNumTasks(other.getNumTasks()); } if (other.hasOldestEtaUsec()) { setOldestEtaUsec(other.getOldestEtaUsec()); } if (other.hasScannerInfo()) { mergeScannerInfo(other.getScannerInfo()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasNumTasks()) { return false; } if (!hasOldestEtaUsec()) { return false; } if (hasScannerInfo()) { if (!getScannerInfo().isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 16: { numTasks_ = input.readInt32(); bitField0_ |= 0x00000001; break; } // case 16 case 24: { oldestEtaUsec_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 24 case 34: { input.readMessage( getScannerInfoFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int numTasks_ ; /** *
         * The number of non-completed tasks in the queue. Note that this may be
         * greater than TaskQueueFetchQueueStatsRequest::max_num_tasks.
         * 
* * required int32 num_tasks = 2; * @return Whether the numTasks field is set. */ @java.lang.Override public boolean hasNumTasks() { return ((bitField0_ & 0x00000001) != 0); } /** *
         * The number of non-completed tasks in the queue. Note that this may be
         * greater than TaskQueueFetchQueueStatsRequest::max_num_tasks.
         * 
* * required int32 num_tasks = 2; * @return The numTasks. */ @java.lang.Override public int getNumTasks() { return numTasks_; } /** *
         * The number of non-completed tasks in the queue. Note that this may be
         * greater than TaskQueueFetchQueueStatsRequest::max_num_tasks.
         * 
* * required int32 num_tasks = 2; * @param value The numTasks to set. * @return This builder for chaining. */ public Builder setNumTasks(int value) { numTasks_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
         * The number of non-completed tasks in the queue. Note that this may be
         * greater than TaskQueueFetchQueueStatsRequest::max_num_tasks.
         * 
* * required int32 num_tasks = 2; * @return This builder for chaining. */ public Builder clearNumTasks() { bitField0_ = (bitField0_ & ~0x00000001); numTasks_ = 0; onChanged(); return this; } private long oldestEtaUsec_ ; /** *
         * The eta of the oldest non-completed task for the queue, or -1 if there
         * were no non-completed tasks found in the queue.
         * 
* * required int64 oldest_eta_usec = 3; * @return Whether the oldestEtaUsec field is set. */ @java.lang.Override public boolean hasOldestEtaUsec() { return ((bitField0_ & 0x00000002) != 0); } /** *
         * The eta of the oldest non-completed task for the queue, or -1 if there
         * were no non-completed tasks found in the queue.
         * 
* * required int64 oldest_eta_usec = 3; * @return The oldestEtaUsec. */ @java.lang.Override public long getOldestEtaUsec() { return oldestEtaUsec_; } /** *
         * The eta of the oldest non-completed task for the queue, or -1 if there
         * were no non-completed tasks found in the queue.
         * 
* * required int64 oldest_eta_usec = 3; * @param value The oldestEtaUsec to set. * @return This builder for chaining. */ public Builder setOldestEtaUsec(long value) { oldestEtaUsec_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
         * The eta of the oldest non-completed task for the queue, or -1 if there
         * were no non-completed tasks found in the queue.
         * 
* * required int64 oldest_eta_usec = 3; * @return This builder for chaining. */ public Builder clearOldestEtaUsec() { bitField0_ = (bitField0_ & ~0x00000002); oldestEtaUsec_ = 0L; onChanged(); return this; } private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo scannerInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfoOrBuilder> scannerInfoBuilder_; /** *
         * Queue information fetched from the scanner. Will not be present if the
         * scanner was unavailable, or the queue was not found on the scanner (e.g.
         * it may have recently migrated to a different scanner).
         * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; * @return Whether the scannerInfo field is set. */ public boolean hasScannerInfo() { return ((bitField0_ & 0x00000004) != 0); } /** *
         * Queue information fetched from the scanner. Will not be present if the
         * scanner was unavailable, or the queue was not found on the scanner (e.g.
         * it may have recently migrated to a different scanner).
         * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; * @return The scannerInfo. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo getScannerInfo() { if (scannerInfoBuilder_ == null) { return scannerInfo_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.getDefaultInstance() : scannerInfo_; } else { return scannerInfoBuilder_.getMessage(); } } /** *
         * Queue information fetched from the scanner. Will not be present if the
         * scanner was unavailable, or the queue was not found on the scanner (e.g.
         * it may have recently migrated to a different scanner).
         * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; */ public Builder setScannerInfo(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo value) { if (scannerInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scannerInfo_ = value; } else { scannerInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
         * Queue information fetched from the scanner. Will not be present if the
         * scanner was unavailable, or the queue was not found on the scanner (e.g.
         * it may have recently migrated to a different scanner).
         * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; */ public Builder setScannerInfo( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.Builder builderForValue) { if (scannerInfoBuilder_ == null) { scannerInfo_ = builderForValue.build(); } else { scannerInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
         * Queue information fetched from the scanner. Will not be present if the
         * scanner was unavailable, or the queue was not found on the scanner (e.g.
         * it may have recently migrated to a different scanner).
         * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; */ public Builder mergeScannerInfo(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo value) { if (scannerInfoBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && scannerInfo_ != null && scannerInfo_ != com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.getDefaultInstance()) { getScannerInfoBuilder().mergeFrom(value); } else { scannerInfo_ = value; } } else { scannerInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
         * Queue information fetched from the scanner. Will not be present if the
         * scanner was unavailable, or the queue was not found on the scanner (e.g.
         * it may have recently migrated to a different scanner).
         * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; */ public Builder clearScannerInfo() { bitField0_ = (bitField0_ & ~0x00000004); scannerInfo_ = null; if (scannerInfoBuilder_ != null) { scannerInfoBuilder_.dispose(); scannerInfoBuilder_ = null; } onChanged(); return this; } /** *
         * Queue information fetched from the scanner. Will not be present if the
         * scanner was unavailable, or the queue was not found on the scanner (e.g.
         * it may have recently migrated to a different scanner).
         * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.Builder getScannerInfoBuilder() { bitField0_ |= 0x00000004; onChanged(); return getScannerInfoFieldBuilder().getBuilder(); } /** *
         * Queue information fetched from the scanner. Will not be present if the
         * scanner was unavailable, or the queue was not found on the scanner (e.g.
         * it may have recently migrated to a different scanner).
         * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfoOrBuilder getScannerInfoOrBuilder() { if (scannerInfoBuilder_ != null) { return scannerInfoBuilder_.getMessageOrBuilder(); } else { return scannerInfo_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.getDefaultInstance() : scannerInfo_; } } /** *
         * Queue information fetched from the scanner. Will not be present if the
         * scanner was unavailable, or the queue was not found on the scanner (e.g.
         * it may have recently migrated to a different scanner).
         * 
* * optional .java.apphosting.TaskQueueScannerQueueInfo scanner_info = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfoOrBuilder> getScannerInfoFieldBuilder() { if (scannerInfoBuilder_ == null) { scannerInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfo.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueScannerQueueInfoOrBuilder>( getScannerInfo(), getParentForChildren(), isClean()); scannerInfo_ = null; } return scannerInfoBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueFetchQueueStatsResponse.QueueStats) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueFetchQueueStatsResponse.QueueStats) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueueStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int QUEUESTATS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List queueStats_; /** * repeated group QueueStats = 1 { ... } */ @java.lang.Override public java.util.List getQueueStatsList() { return queueStats_; } /** * repeated group QueueStats = 1 { ... } */ @java.lang.Override public java.util.List getQueueStatsOrBuilderList() { return queueStats_; } /** * repeated group QueueStats = 1 { ... } */ @java.lang.Override public int getQueueStatsCount() { return queueStats_.size(); } /** * repeated group QueueStats = 1 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats getQueueStats(int index) { return queueStats_.get(index); } /** * repeated group QueueStats = 1 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStatsOrBuilder getQueueStatsOrBuilder( int index) { return queueStats_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getQueueStatsCount(); i++) { if (!getQueueStats(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < queueStats_.size(); i++) { output.writeGroup(1, queueStats_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < queueStats_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(1, queueStats_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse) obj; if (!getQueueStatsList() .equals(other.getQueueStatsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getQueueStatsCount() > 0) { hash = (37 * hash) + QUEUESTATS_FIELD_NUMBER; hash = (53 * hash) + getQueueStatsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueFetchQueueStatsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueFetchQueueStatsResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (queueStatsBuilder_ == null) { queueStats_ = java.util.Collections.emptyList(); } else { queueStats_ = null; queueStatsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse result) { if (queueStatsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { queueStats_ = java.util.Collections.unmodifiableList(queueStats_); bitField0_ = (bitField0_ & ~0x00000001); } result.queueStats_ = queueStats_; } else { result.queueStats_ = queueStatsBuilder_.build(); } } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.getDefaultInstance()) return this; if (queueStatsBuilder_ == null) { if (!other.queueStats_.isEmpty()) { if (queueStats_.isEmpty()) { queueStats_ = other.queueStats_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureQueueStatsIsMutable(); queueStats_.addAll(other.queueStats_); } onChanged(); } } else { if (!other.queueStats_.isEmpty()) { if (queueStatsBuilder_.isEmpty()) { queueStatsBuilder_.dispose(); queueStatsBuilder_ = null; queueStats_ = other.queueStats_; bitField0_ = (bitField0_ & ~0x00000001); queueStatsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getQueueStatsFieldBuilder() : null; } else { queueStatsBuilder_.addAllMessages(other.queueStats_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getQueueStatsCount(); i++) { if (!getQueueStats(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 11: { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats m = input.readGroup(1, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.PARSER, extensionRegistry); if (queueStatsBuilder_ == null) { ensureQueueStatsIsMutable(); queueStats_.add(m); } else { queueStatsBuilder_.addMessage(m); } break; } // case 11 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List queueStats_ = java.util.Collections.emptyList(); private void ensureQueueStatsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queueStats_ = new java.util.ArrayList(queueStats_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStatsOrBuilder> queueStatsBuilder_; /** * repeated group QueueStats = 1 { ... } */ public java.util.List getQueueStatsList() { if (queueStatsBuilder_ == null) { return java.util.Collections.unmodifiableList(queueStats_); } else { return queueStatsBuilder_.getMessageList(); } } /** * repeated group QueueStats = 1 { ... } */ public int getQueueStatsCount() { if (queueStatsBuilder_ == null) { return queueStats_.size(); } else { return queueStatsBuilder_.getCount(); } } /** * repeated group QueueStats = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats getQueueStats(int index) { if (queueStatsBuilder_ == null) { return queueStats_.get(index); } else { return queueStatsBuilder_.getMessage(index); } } /** * repeated group QueueStats = 1 { ... } */ public Builder setQueueStats( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats value) { if (queueStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueueStatsIsMutable(); queueStats_.set(index, value); onChanged(); } else { queueStatsBuilder_.setMessage(index, value); } return this; } /** * repeated group QueueStats = 1 { ... } */ public Builder setQueueStats( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.Builder builderForValue) { if (queueStatsBuilder_ == null) { ensureQueueStatsIsMutable(); queueStats_.set(index, builderForValue.build()); onChanged(); } else { queueStatsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated group QueueStats = 1 { ... } */ public Builder addQueueStats(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats value) { if (queueStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueueStatsIsMutable(); queueStats_.add(value); onChanged(); } else { queueStatsBuilder_.addMessage(value); } return this; } /** * repeated group QueueStats = 1 { ... } */ public Builder addQueueStats( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats value) { if (queueStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueueStatsIsMutable(); queueStats_.add(index, value); onChanged(); } else { queueStatsBuilder_.addMessage(index, value); } return this; } /** * repeated group QueueStats = 1 { ... } */ public Builder addQueueStats( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.Builder builderForValue) { if (queueStatsBuilder_ == null) { ensureQueueStatsIsMutable(); queueStats_.add(builderForValue.build()); onChanged(); } else { queueStatsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated group QueueStats = 1 { ... } */ public Builder addQueueStats( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.Builder builderForValue) { if (queueStatsBuilder_ == null) { ensureQueueStatsIsMutable(); queueStats_.add(index, builderForValue.build()); onChanged(); } else { queueStatsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated group QueueStats = 1 { ... } */ public Builder addAllQueueStats( java.lang.Iterable values) { if (queueStatsBuilder_ == null) { ensureQueueStatsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, queueStats_); onChanged(); } else { queueStatsBuilder_.addAllMessages(values); } return this; } /** * repeated group QueueStats = 1 { ... } */ public Builder clearQueueStats() { if (queueStatsBuilder_ == null) { queueStats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { queueStatsBuilder_.clear(); } return this; } /** * repeated group QueueStats = 1 { ... } */ public Builder removeQueueStats(int index) { if (queueStatsBuilder_ == null) { ensureQueueStatsIsMutable(); queueStats_.remove(index); onChanged(); } else { queueStatsBuilder_.remove(index); } return this; } /** * repeated group QueueStats = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.Builder getQueueStatsBuilder( int index) { return getQueueStatsFieldBuilder().getBuilder(index); } /** * repeated group QueueStats = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStatsOrBuilder getQueueStatsOrBuilder( int index) { if (queueStatsBuilder_ == null) { return queueStats_.get(index); } else { return queueStatsBuilder_.getMessageOrBuilder(index); } } /** * repeated group QueueStats = 1 { ... } */ public java.util.List getQueueStatsOrBuilderList() { if (queueStatsBuilder_ != null) { return queueStatsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(queueStats_); } } /** * repeated group QueueStats = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.Builder addQueueStatsBuilder() { return getQueueStatsFieldBuilder().addBuilder( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.getDefaultInstance()); } /** * repeated group QueueStats = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.Builder addQueueStatsBuilder( int index) { return getQueueStatsFieldBuilder().addBuilder( index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.getDefaultInstance()); } /** * repeated group QueueStats = 1 { ... } */ public java.util.List getQueueStatsBuilderList() { return getQueueStatsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStatsOrBuilder> getQueueStatsFieldBuilder() { if (queueStatsBuilder_ == null) { queueStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStats.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse.QueueStatsOrBuilder>( queueStats_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); queueStats_ = null; } return queueStatsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueFetchQueueStatsResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueFetchQueueStatsResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueFetchQueueStatsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchQueueStatsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueuePauseQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueuePauseQueueRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the application
     * 
* * required bytes app_id = 1; * @return Whether the appId field is set. */ boolean hasAppId(); /** *
     * Name of the application
     * 
* * required bytes app_id = 1; * @return The appId. */ com.google.protobuf.ByteString getAppId(); /** *
     * Name of the queue to purge.
     * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ boolean hasQueueName(); /** *
     * Name of the queue to purge.
     * 
* * required bytes queue_name = 2; * @return The queueName. */ com.google.protobuf.ByteString getQueueName(); /** *
     * Pause(true) or unpause(false)
     * 
* * required bool pause = 3; * @return Whether the pause field is set. */ boolean hasPause(); /** *
     * Pause(true) or unpause(false)
     * 
* * required bool pause = 3; * @return The pause. */ boolean getPause(); } /** * Protobuf type {@code java.apphosting.TaskQueuePauseQueueRequest} */ public static final class TaskQueuePauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueuePauseQueueRequest) TaskQueuePauseQueueRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueuePauseQueueRequest.newBuilder() to construct. private TaskQueuePauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueuePauseQueueRequest() { appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueuePauseQueueRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest.Builder.class); } private int bitField0_; public static final int APP_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the application
     * 
* * required bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Name of the application
     * 
* * required bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } public static final int QUEUE_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the queue to purge.
     * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Name of the queue to purge.
     * 
* * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } public static final int PAUSE_FIELD_NUMBER = 3; private boolean pause_ = false; /** *
     * Pause(true) or unpause(false)
     * 
* * required bool pause = 3; * @return Whether the pause field is set. */ @java.lang.Override public boolean hasPause() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Pause(true) or unpause(false)
     * 
* * required bool pause = 3; * @return The pause. */ @java.lang.Override public boolean getPause() { return pause_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasAppId()) { memoizedIsInitialized = 0; return false; } if (!hasQueueName()) { memoizedIsInitialized = 0; return false; } if (!hasPause()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, queueName_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, pause_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, queueName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, pause_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest) obj; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (hasQueueName() != other.hasQueueName()) return false; if (hasQueueName()) { if (!getQueueName() .equals(other.getQueueName())) return false; } if (hasPause() != other.hasPause()) return false; if (hasPause()) { if (getPause() != other.getPause()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAppId()) { hash = (37 * hash) + APP_ID_FIELD_NUMBER; hash = (53 * hash) + getAppId().hashCode(); } if (hasQueueName()) { hash = (37 * hash) + QUEUE_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueueName().hashCode(); } if (hasPause()) { hash = (37 * hash) + PAUSE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getPause()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueuePauseQueueRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueuePauseQueueRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = com.google.protobuf.ByteString.EMPTY; pause_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePauseQueueRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.queueName_ = queueName_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.pause_ = pause_; to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest.getDefaultInstance()) return this; if (other.hasAppId()) { setAppId(other.getAppId()); } if (other.hasQueueName()) { setQueueName(other.getQueueName()); } if (other.hasPause()) { setPause(other.getPause()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasAppId()) { return false; } if (!hasQueueName()) { return false; } if (!hasPause()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { appId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { queueName_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { pause_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 24 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the application
       * 
* * required bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Name of the application
       * 
* * required bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } /** *
       * Name of the application
       * 
* * required bytes app_id = 1; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Name of the application
       * 
* * required bytes app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000001); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the queue to purge.
       * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Name of the queue to purge.
       * 
* * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } /** *
       * Name of the queue to purge.
       * 
* * required bytes queue_name = 2; * @param value The queueName to set. * @return This builder for chaining. */ public Builder setQueueName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } queueName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Name of the queue to purge.
       * 
* * required bytes queue_name = 2; * @return This builder for chaining. */ public Builder clearQueueName() { bitField0_ = (bitField0_ & ~0x00000002); queueName_ = getDefaultInstance().getQueueName(); onChanged(); return this; } private boolean pause_ ; /** *
       * Pause(true) or unpause(false)
       * 
* * required bool pause = 3; * @return Whether the pause field is set. */ @java.lang.Override public boolean hasPause() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Pause(true) or unpause(false)
       * 
* * required bool pause = 3; * @return The pause. */ @java.lang.Override public boolean getPause() { return pause_; } /** *
       * Pause(true) or unpause(false)
       * 
* * required bool pause = 3; * @param value The pause to set. * @return This builder for chaining. */ public Builder setPause(boolean value) { pause_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Pause(true) or unpause(false)
       * 
* * required bool pause = 3; * @return This builder for chaining. */ public Builder clearPause() { bitField0_ = (bitField0_ & ~0x00000004); pause_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueuePauseQueueRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueuePauseQueueRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueuePauseQueueRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueuePauseQueueResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueuePauseQueueResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * Reserved for future use.
   * 
* * Protobuf type {@code java.apphosting.TaskQueuePauseQueueResponse} */ public static final class TaskQueuePauseQueueResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueuePauseQueueResponse) TaskQueuePauseQueueResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueuePauseQueueResponse.newBuilder() to construct. private TaskQueuePauseQueueResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueuePauseQueueResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueuePauseQueueResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePauseQueueResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePauseQueueResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Reserved for future use.
     * 
* * Protobuf type {@code java.apphosting.TaskQueuePauseQueueResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueuePauseQueueResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePauseQueueResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePauseQueueResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePauseQueueResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueuePauseQueueResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueuePauseQueueResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueuePauseQueueResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePauseQueueResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueuePurgeQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueuePurgeQueueRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the application
     * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ boolean hasAppId(); /** *
     * Name of the application
     * 
* * optional bytes app_id = 1; * @return The appId. */ com.google.protobuf.ByteString getAppId(); /** *
     * Name of the queue to purge.
     * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ boolean hasQueueName(); /** *
     * Name of the queue to purge.
     * 
* * required bytes queue_name = 2; * @return The queueName. */ com.google.protobuf.ByteString getQueueName(); } /** * Protobuf type {@code java.apphosting.TaskQueuePurgeQueueRequest} */ public static final class TaskQueuePurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueuePurgeQueueRequest) TaskQueuePurgeQueueRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueuePurgeQueueRequest.newBuilder() to construct. private TaskQueuePurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueuePurgeQueueRequest() { appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueuePurgeQueueRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest.Builder.class); } private int bitField0_; public static final int APP_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the application
     * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Name of the application
     * 
* * optional bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } public static final int QUEUE_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the queue to purge.
     * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Name of the queue to purge.
     * 
* * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasQueueName()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, queueName_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, queueName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest) obj; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (hasQueueName() != other.hasQueueName()) return false; if (hasQueueName()) { if (!getQueueName() .equals(other.getQueueName())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAppId()) { hash = (37 * hash) + APP_ID_FIELD_NUMBER; hash = (53 * hash) + getAppId().hashCode(); } if (hasQueueName()) { hash = (37 * hash) + QUEUE_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueueName().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueuePurgeQueueRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueuePurgeQueueRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePurgeQueueRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.queueName_ = queueName_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest.getDefaultInstance()) return this; if (other.hasAppId()) { setAppId(other.getAppId()); } if (other.hasQueueName()) { setQueueName(other.getQueueName()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasQueueName()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { appId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { queueName_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the application
       * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Name of the application
       * 
* * optional bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } /** *
       * Name of the application
       * 
* * optional bytes app_id = 1; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Name of the application
       * 
* * optional bytes app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000001); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the queue to purge.
       * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Name of the queue to purge.
       * 
* * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } /** *
       * Name of the queue to purge.
       * 
* * required bytes queue_name = 2; * @param value The queueName to set. * @return This builder for chaining. */ public Builder setQueueName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } queueName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Name of the queue to purge.
       * 
* * required bytes queue_name = 2; * @return This builder for chaining. */ public Builder clearQueueName() { bitField0_ = (bitField0_ & ~0x00000002); queueName_ = getDefaultInstance().getQueueName(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueuePurgeQueueRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueuePurgeQueueRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueuePurgeQueueRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueuePurgeQueueResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueuePurgeQueueResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * Reserved for future use.
   * 
* * Protobuf type {@code java.apphosting.TaskQueuePurgeQueueResponse} */ public static final class TaskQueuePurgeQueueResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueuePurgeQueueResponse) TaskQueuePurgeQueueResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueuePurgeQueueResponse.newBuilder() to construct. private TaskQueuePurgeQueueResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueuePurgeQueueResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueuePurgeQueueResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePurgeQueueResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePurgeQueueResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Reserved for future use.
     * 
* * Protobuf type {@code java.apphosting.TaskQueuePurgeQueueResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueuePurgeQueueResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePurgeQueueResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePurgeQueueResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueuePurgeQueueResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueuePurgeQueueResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueuePurgeQueueResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueuePurgeQueueResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueDeleteQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueDeleteQueueRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the application
     * 
* * required bytes app_id = 1; * @return Whether the appId field is set. */ boolean hasAppId(); /** *
     * Name of the application
     * 
* * required bytes app_id = 1; * @return The appId. */ com.google.protobuf.ByteString getAppId(); /** *
     * Name of the queue.
     * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ boolean hasQueueName(); /** *
     * Name of the queue.
     * 
* * required bytes queue_name = 2; * @return The queueName. */ com.google.protobuf.ByteString getQueueName(); } /** * Protobuf type {@code java.apphosting.TaskQueueDeleteQueueRequest} */ public static final class TaskQueueDeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueDeleteQueueRequest) TaskQueueDeleteQueueRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueDeleteQueueRequest.newBuilder() to construct. private TaskQueueDeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueDeleteQueueRequest() { appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueDeleteQueueRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest.Builder.class); } private int bitField0_; public static final int APP_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the application
     * 
* * required bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Name of the application
     * 
* * required bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } public static final int QUEUE_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the queue.
     * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Name of the queue.
     * 
* * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasAppId()) { memoizedIsInitialized = 0; return false; } if (!hasQueueName()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, queueName_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, queueName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest) obj; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (hasQueueName() != other.hasQueueName()) return false; if (hasQueueName()) { if (!getQueueName() .equals(other.getQueueName())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAppId()) { hash = (37 * hash) + APP_ID_FIELD_NUMBER; hash = (53 * hash) + getAppId().hashCode(); } if (hasQueueName()) { hash = (37 * hash) + QUEUE_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueueName().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueDeleteQueueRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueDeleteQueueRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteQueueRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.queueName_ = queueName_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest.getDefaultInstance()) return this; if (other.hasAppId()) { setAppId(other.getAppId()); } if (other.hasQueueName()) { setQueueName(other.getQueueName()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasAppId()) { return false; } if (!hasQueueName()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { appId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { queueName_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the application
       * 
* * required bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Name of the application
       * 
* * required bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } /** *
       * Name of the application
       * 
* * required bytes app_id = 1; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Name of the application
       * 
* * required bytes app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000001); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the queue.
       * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Name of the queue.
       * 
* * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } /** *
       * Name of the queue.
       * 
* * required bytes queue_name = 2; * @param value The queueName to set. * @return This builder for chaining. */ public Builder setQueueName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } queueName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Name of the queue.
       * 
* * required bytes queue_name = 2; * @return This builder for chaining. */ public Builder clearQueueName() { bitField0_ = (bitField0_ & ~0x00000002); queueName_ = getDefaultInstance().getQueueName(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueDeleteQueueRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueDeleteQueueRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueDeleteQueueRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueDeleteQueueResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueDeleteQueueResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * Reserved for future use.
   * 
* * Protobuf type {@code java.apphosting.TaskQueueDeleteQueueResponse} */ public static final class TaskQueueDeleteQueueResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueDeleteQueueResponse) TaskQueueDeleteQueueResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueDeleteQueueResponse.newBuilder() to construct. private TaskQueueDeleteQueueResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueDeleteQueueResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueDeleteQueueResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteQueueResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteQueueResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Reserved for future use.
     * 
* * Protobuf type {@code java.apphosting.TaskQueueDeleteQueueResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueDeleteQueueResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteQueueResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteQueueResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteQueueResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueDeleteQueueResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueDeleteQueueResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueDeleteQueueResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteQueueResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueDeleteGroupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueDeleteGroupRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the application
     * 
* * required bytes app_id = 1; * @return Whether the appId field is set. */ boolean hasAppId(); /** *
     * Name of the application
     * 
* * required bytes app_id = 1; * @return The appId. */ com.google.protobuf.ByteString getAppId(); } /** * Protobuf type {@code java.apphosting.TaskQueueDeleteGroupRequest} */ public static final class TaskQueueDeleteGroupRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueDeleteGroupRequest) TaskQueueDeleteGroupRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueDeleteGroupRequest.newBuilder() to construct. private TaskQueueDeleteGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueDeleteGroupRequest() { appId_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueDeleteGroupRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest.Builder.class); } private int bitField0_; public static final int APP_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the application
     * 
* * required bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Name of the application
     * 
* * required bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasAppId()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, appId_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, appId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest) obj; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAppId()) { hash = (37 * hash) + APP_ID_FIELD_NUMBER; hash = (53 * hash) + getAppId().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueDeleteGroupRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueDeleteGroupRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; appId_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteGroupRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest.getDefaultInstance()) return this; if (other.hasAppId()) { setAppId(other.getAppId()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasAppId()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { appId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the application
       * 
* * required bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Name of the application
       * 
* * required bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } /** *
       * Name of the application
       * 
* * required bytes app_id = 1; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Name of the application
       * 
* * required bytes app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000001); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueDeleteGroupRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueDeleteGroupRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueDeleteGroupRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueDeleteGroupResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueDeleteGroupResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * Reserved for future use.
   * 
* * Protobuf type {@code java.apphosting.TaskQueueDeleteGroupResponse} */ public static final class TaskQueueDeleteGroupResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueDeleteGroupResponse) TaskQueueDeleteGroupResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueDeleteGroupResponse.newBuilder() to construct. private TaskQueueDeleteGroupResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueDeleteGroupResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueDeleteGroupResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteGroupResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteGroupResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Reserved for future use.
     * 
* * Protobuf type {@code java.apphosting.TaskQueueDeleteGroupResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueDeleteGroupResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteGroupResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteGroupResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueDeleteGroupResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueDeleteGroupResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueDeleteGroupResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueDeleteGroupResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueDeleteGroupResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueQueryTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueQueryTasksRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the application.
     * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ boolean hasAppId(); /** *
     * Name of the application.
     * 
* * optional bytes app_id = 1; * @return The appId. */ com.google.protobuf.ByteString getAppId(); /** *
     * Name of the queues to query for tasks.
     * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ boolean hasQueueName(); /** *
     * Name of the queues to query for tasks.
     * 
* * required bytes queue_name = 2; * @return The queueName. */ com.google.protobuf.ByteString getQueueName(); /** *
     * Prefix of the task name to start with.
     * 
* * optional bytes start_task_name = 3; * @return Whether the startTaskName field is set. */ boolean hasStartTaskName(); /** *
     * Prefix of the task name to start with.
     * 
* * optional bytes start_task_name = 3; * @return The startTaskName. */ com.google.protobuf.ByteString getStartTaskName(); /** *
     * ETA to start with.
     * 
* * optional int64 start_eta_usec = 4; * @return Whether the startEtaUsec field is set. */ boolean hasStartEtaUsec(); /** *
     * ETA to start with.
     * 
* * optional int64 start_eta_usec = 4; * @return The startEtaUsec. */ long getStartEtaUsec(); /** *
     * The tag to start with.
     * 
* * optional bytes start_tag = 6; * @return Whether the startTag field is set. */ boolean hasStartTag(); /** *
     * The tag to start with.
     * 
* * optional bytes start_tag = 6; * @return The startTag. */ com.google.protobuf.ByteString getStartTag(); /** *
     * The number of tasks to return
     * 
* * optional int32 max_rows = 5 [default = 1]; * @return Whether the maxRows field is set. */ boolean hasMaxRows(); /** *
     * The number of tasks to return
     * 
* * optional int32 max_rows = 5 [default = 1]; * @return The maxRows. */ int getMaxRows(); } /** * Protobuf type {@code java.apphosting.TaskQueueQueryTasksRequest} */ public static final class TaskQueueQueryTasksRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueQueryTasksRequest) TaskQueueQueryTasksRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueQueryTasksRequest.newBuilder() to construct. private TaskQueueQueryTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueQueryTasksRequest() { appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = com.google.protobuf.ByteString.EMPTY; startTaskName_ = com.google.protobuf.ByteString.EMPTY; startTag_ = com.google.protobuf.ByteString.EMPTY; maxRows_ = 1; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueQueryTasksRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest.Builder.class); } private int bitField0_; public static final int APP_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the application.
     * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Name of the application.
     * 
* * optional bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } public static final int QUEUE_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Name of the queues to query for tasks.
     * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Name of the queues to query for tasks.
     * 
* * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } public static final int START_TASK_NAME_FIELD_NUMBER = 3; private com.google.protobuf.ByteString startTaskName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Prefix of the task name to start with.
     * 
* * optional bytes start_task_name = 3; * @return Whether the startTaskName field is set. */ @java.lang.Override public boolean hasStartTaskName() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Prefix of the task name to start with.
     * 
* * optional bytes start_task_name = 3; * @return The startTaskName. */ @java.lang.Override public com.google.protobuf.ByteString getStartTaskName() { return startTaskName_; } public static final int START_ETA_USEC_FIELD_NUMBER = 4; private long startEtaUsec_ = 0L; /** *
     * ETA to start with.
     * 
* * optional int64 start_eta_usec = 4; * @return Whether the startEtaUsec field is set. */ @java.lang.Override public boolean hasStartEtaUsec() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * ETA to start with.
     * 
* * optional int64 start_eta_usec = 4; * @return The startEtaUsec. */ @java.lang.Override public long getStartEtaUsec() { return startEtaUsec_; } public static final int START_TAG_FIELD_NUMBER = 6; private com.google.protobuf.ByteString startTag_ = com.google.protobuf.ByteString.EMPTY; /** *
     * The tag to start with.
     * 
* * optional bytes start_tag = 6; * @return Whether the startTag field is set. */ @java.lang.Override public boolean hasStartTag() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * The tag to start with.
     * 
* * optional bytes start_tag = 6; * @return The startTag. */ @java.lang.Override public com.google.protobuf.ByteString getStartTag() { return startTag_; } public static final int MAX_ROWS_FIELD_NUMBER = 5; private int maxRows_ = 1; /** *
     * The number of tasks to return
     * 
* * optional int32 max_rows = 5 [default = 1]; * @return Whether the maxRows field is set. */ @java.lang.Override public boolean hasMaxRows() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * The number of tasks to return
     * 
* * optional int32 max_rows = 5 [default = 1]; * @return The maxRows. */ @java.lang.Override public int getMaxRows() { return maxRows_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasQueueName()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, queueName_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBytes(3, startTaskName_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt64(4, startEtaUsec_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt32(5, maxRows_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeBytes(6, startTag_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, queueName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, startTaskName_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, startEtaUsec_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, maxRows_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, startTag_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest) obj; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (hasQueueName() != other.hasQueueName()) return false; if (hasQueueName()) { if (!getQueueName() .equals(other.getQueueName())) return false; } if (hasStartTaskName() != other.hasStartTaskName()) return false; if (hasStartTaskName()) { if (!getStartTaskName() .equals(other.getStartTaskName())) return false; } if (hasStartEtaUsec() != other.hasStartEtaUsec()) return false; if (hasStartEtaUsec()) { if (getStartEtaUsec() != other.getStartEtaUsec()) return false; } if (hasStartTag() != other.hasStartTag()) return false; if (hasStartTag()) { if (!getStartTag() .equals(other.getStartTag())) return false; } if (hasMaxRows() != other.hasMaxRows()) return false; if (hasMaxRows()) { if (getMaxRows() != other.getMaxRows()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAppId()) { hash = (37 * hash) + APP_ID_FIELD_NUMBER; hash = (53 * hash) + getAppId().hashCode(); } if (hasQueueName()) { hash = (37 * hash) + QUEUE_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueueName().hashCode(); } if (hasStartTaskName()) { hash = (37 * hash) + START_TASK_NAME_FIELD_NUMBER; hash = (53 * hash) + getStartTaskName().hashCode(); } if (hasStartEtaUsec()) { hash = (37 * hash) + START_ETA_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartEtaUsec()); } if (hasStartTag()) { hash = (37 * hash) + START_TAG_FIELD_NUMBER; hash = (53 * hash) + getStartTag().hashCode(); } if (hasMaxRows()) { hash = (37 * hash) + MAX_ROWS_FIELD_NUMBER; hash = (53 * hash) + getMaxRows(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueQueryTasksRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueQueryTasksRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = com.google.protobuf.ByteString.EMPTY; startTaskName_ = com.google.protobuf.ByteString.EMPTY; startEtaUsec_ = 0L; startTag_ = com.google.protobuf.ByteString.EMPTY; maxRows_ = 1; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.queueName_ = queueName_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.startTaskName_ = startTaskName_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.startEtaUsec_ = startEtaUsec_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.startTag_ = startTag_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.maxRows_ = maxRows_; to_bitField0_ |= 0x00000020; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest.getDefaultInstance()) return this; if (other.hasAppId()) { setAppId(other.getAppId()); } if (other.hasQueueName()) { setQueueName(other.getQueueName()); } if (other.hasStartTaskName()) { setStartTaskName(other.getStartTaskName()); } if (other.hasStartEtaUsec()) { setStartEtaUsec(other.getStartEtaUsec()); } if (other.hasStartTag()) { setStartTag(other.getStartTag()); } if (other.hasMaxRows()) { setMaxRows(other.getMaxRows()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasQueueName()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { appId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { queueName_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { startTaskName_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 26 case 32: { startEtaUsec_ = input.readInt64(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { maxRows_ = input.readInt32(); bitField0_ |= 0x00000020; break; } // case 40 case 50: { startTag_ = input.readBytes(); bitField0_ |= 0x00000010; break; } // case 50 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the application.
       * 
* * optional bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Name of the application.
       * 
* * optional bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } /** *
       * Name of the application.
       * 
* * optional bytes app_id = 1; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Name of the application.
       * 
* * optional bytes app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000001); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Name of the queues to query for tasks.
       * 
* * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Name of the queues to query for tasks.
       * 
* * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } /** *
       * Name of the queues to query for tasks.
       * 
* * required bytes queue_name = 2; * @param value The queueName to set. * @return This builder for chaining. */ public Builder setQueueName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } queueName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Name of the queues to query for tasks.
       * 
* * required bytes queue_name = 2; * @return This builder for chaining. */ public Builder clearQueueName() { bitField0_ = (bitField0_ & ~0x00000002); queueName_ = getDefaultInstance().getQueueName(); onChanged(); return this; } private com.google.protobuf.ByteString startTaskName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Prefix of the task name to start with.
       * 
* * optional bytes start_task_name = 3; * @return Whether the startTaskName field is set. */ @java.lang.Override public boolean hasStartTaskName() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Prefix of the task name to start with.
       * 
* * optional bytes start_task_name = 3; * @return The startTaskName. */ @java.lang.Override public com.google.protobuf.ByteString getStartTaskName() { return startTaskName_; } /** *
       * Prefix of the task name to start with.
       * 
* * optional bytes start_task_name = 3; * @param value The startTaskName to set. * @return This builder for chaining. */ public Builder setStartTaskName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } startTaskName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Prefix of the task name to start with.
       * 
* * optional bytes start_task_name = 3; * @return This builder for chaining. */ public Builder clearStartTaskName() { bitField0_ = (bitField0_ & ~0x00000004); startTaskName_ = getDefaultInstance().getStartTaskName(); onChanged(); return this; } private long startEtaUsec_ ; /** *
       * ETA to start with.
       * 
* * optional int64 start_eta_usec = 4; * @return Whether the startEtaUsec field is set. */ @java.lang.Override public boolean hasStartEtaUsec() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * ETA to start with.
       * 
* * optional int64 start_eta_usec = 4; * @return The startEtaUsec. */ @java.lang.Override public long getStartEtaUsec() { return startEtaUsec_; } /** *
       * ETA to start with.
       * 
* * optional int64 start_eta_usec = 4; * @param value The startEtaUsec to set. * @return This builder for chaining. */ public Builder setStartEtaUsec(long value) { startEtaUsec_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * ETA to start with.
       * 
* * optional int64 start_eta_usec = 4; * @return This builder for chaining. */ public Builder clearStartEtaUsec() { bitField0_ = (bitField0_ & ~0x00000008); startEtaUsec_ = 0L; onChanged(); return this; } private com.google.protobuf.ByteString startTag_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The tag to start with.
       * 
* * optional bytes start_tag = 6; * @return Whether the startTag field is set. */ @java.lang.Override public boolean hasStartTag() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The tag to start with.
       * 
* * optional bytes start_tag = 6; * @return The startTag. */ @java.lang.Override public com.google.protobuf.ByteString getStartTag() { return startTag_; } /** *
       * The tag to start with.
       * 
* * optional bytes start_tag = 6; * @param value The startTag to set. * @return This builder for chaining. */ public Builder setStartTag(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } startTag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * The tag to start with.
       * 
* * optional bytes start_tag = 6; * @return This builder for chaining. */ public Builder clearStartTag() { bitField0_ = (bitField0_ & ~0x00000010); startTag_ = getDefaultInstance().getStartTag(); onChanged(); return this; } private int maxRows_ = 1; /** *
       * The number of tasks to return
       * 
* * optional int32 max_rows = 5 [default = 1]; * @return Whether the maxRows field is set. */ @java.lang.Override public boolean hasMaxRows() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * The number of tasks to return
       * 
* * optional int32 max_rows = 5 [default = 1]; * @return The maxRows. */ @java.lang.Override public int getMaxRows() { return maxRows_; } /** *
       * The number of tasks to return
       * 
* * optional int32 max_rows = 5 [default = 1]; * @param value The maxRows to set. * @return This builder for chaining. */ public Builder setMaxRows(int value) { maxRows_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * The number of tasks to return
       * 
* * optional int32 max_rows = 5 [default = 1]; * @return This builder for chaining. */ public Builder clearMaxRows() { bitField0_ = (bitField0_ & ~0x00000020); maxRows_ = 1; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueQueryTasksRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueQueryTasksRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueQueryTasksRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueQueryTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueQueryTasksResponse) com.google.protobuf.MessageOrBuilder { /** * repeated group Task = 1 { ... } */ java.util.List getTaskList(); /** * repeated group Task = 1 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task getTask(int index); /** * repeated group Task = 1 { ... } */ int getTaskCount(); /** * repeated group Task = 1 { ... } */ java.util.List getTaskOrBuilderList(); /** * repeated group Task = 1 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.TaskOrBuilder getTaskOrBuilder( int index); } /** * Protobuf type {@code java.apphosting.TaskQueueQueryTasksResponse} */ public static final class TaskQueueQueryTasksResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueQueryTasksResponse) TaskQueueQueryTasksResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueQueryTasksResponse.newBuilder() to construct. private TaskQueueQueryTasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueQueryTasksResponse() { task_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueQueryTasksResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Builder.class); } public interface TaskOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueQueryTasksResponse.Task) com.google.protobuf.MessageOrBuilder { /** *
       * The task name - might be an autogenerated one.
       * 
* * required bytes task_name = 2; * @return Whether the taskName field is set. */ boolean hasTaskName(); /** *
       * The task name - might be an autogenerated one.
       * 
* * required bytes task_name = 2; * @return The taskName. */ com.google.protobuf.ByteString getTaskName(); /** *
       * Time task will be executed, in microseconds since the unix epoch.
       * 
* * required int64 eta_usec = 3; * @return Whether the etaUsec field is set. */ boolean hasEtaUsec(); /** *
       * Time task will be executed, in microseconds since the unix epoch.
       * 
* * required int64 eta_usec = 3; * @return The etaUsec. */ long getEtaUsec(); /** *
       * The URL.
       * 
* * optional bytes url = 4; * @return Whether the url field is set. */ boolean hasUrl(); /** *
       * The URL.
       * 
* * optional bytes url = 4; * @return The url. */ com.google.protobuf.ByteString getUrl(); /** * optional .java.apphosting.TaskQueueQueryTasksResponse.Task.RequestMethod method = 5; * @return Whether the method field is set. */ boolean hasMethod(); /** * optional .java.apphosting.TaskQueueQueryTasksResponse.Task.RequestMethod method = 5; * @return The method. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RequestMethod getMethod(); /** *
       * The number of times this task has been retried.
       * 
* * optional int32 retry_count = 6; * @return Whether the retryCount field is set. */ boolean hasRetryCount(); /** *
       * The number of times this task has been retried.
       * 
* * optional int32 retry_count = 6; * @return The retryCount. */ int getRetryCount(); /** * repeated group Header = 7 { ... } */ java.util.List getHeaderList(); /** * repeated group Header = 7 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header getHeader(int index); /** * repeated group Header = 7 { ... } */ int getHeaderCount(); /** * repeated group Header = 7 { ... } */ java.util.List getHeaderOrBuilderList(); /** * repeated group Header = 7 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.HeaderOrBuilder getHeaderOrBuilder( int index); /** *
       * Number of bytes in the body. Only for POST and PUT.
       * 
* * optional int32 body_size = 10; * @return Whether the bodySize field is set. */ boolean hasBodySize(); /** *
       * Number of bytes in the body. Only for POST and PUT.
       * 
* * optional int32 body_size = 10; * @return The bodySize. */ int getBodySize(); /** *
       * Body of the HTTP request (may contain binary data). Only for POST or PUT.
       * 
* * optional bytes body = 11 [ctype = CORD]; * @return Whether the body field is set. */ boolean hasBody(); /** *
       * Body of the HTTP request (may contain binary data). Only for POST or PUT.
       * 
* * optional bytes body = 11 [ctype = CORD]; * @return The body. */ com.google.protobuf.ByteString getBody(); /** *
       * Time task was created, in microseconds since the unix epoch.
       * Currently this just has seconds resolution.
       * 
* * required int64 creation_time_usec = 12; * @return Whether the creationTimeUsec field is set. */ boolean hasCreationTimeUsec(); /** *
       * Time task was created, in microseconds since the unix epoch.
       * Currently this just has seconds resolution.
       * 
* * required int64 creation_time_usec = 12; * @return The creationTimeUsec. */ long getCreationTimeUsec(); /** * optional group CronTimetable = 13 { ... } * @return Whether the crontimetable field is set. */ boolean hasCronTimetable(); /** * optional group CronTimetable = 13 { ... } * @return The crontimetable. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable getCronTimetable(); /** * optional group CronTimetable = 13 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetableOrBuilder getCronTimetableOrBuilder(); /** * optional group RunLog = 16 { ... } * @return Whether the runlog field is set. */ boolean hasRunLog(); /** * optional group RunLog = 16 { ... } * @return The runlog. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog getRunLog(); /** * optional group RunLog = 16 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLogOrBuilder getRunLogOrBuilder(); /** *
       * Human readable description of the task.
       * 
* * optional bytes description = 21; * @return Whether the description field is set. */ boolean hasDescription(); /** *
       * Human readable description of the task.
       * 
* * optional bytes description = 21; * @return The description. */ com.google.protobuf.ByteString getDescription(); /** * optional .java.apphosting.TaskPayload payload = 22; * @return Whether the payload field is set. */ boolean hasPayload(); /** * optional .java.apphosting.TaskPayload payload = 22; * @return The payload. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload getPayload(); /** * optional .java.apphosting.TaskPayload payload = 22; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayloadOrBuilder getPayloadOrBuilder(); /** *
       * Retry parameters for this task.
       * For cron tasks, this corresponds to
       * TaskDefinition.cron_retry_parameters. For other task type this
       * corresponds to TaskDefinition.retry_parameters.
       * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; * @return Whether the retryParameters field is set. */ boolean hasRetryParameters(); /** *
       * Retry parameters for this task.
       * For cron tasks, this corresponds to
       * TaskDefinition.cron_retry_parameters. For other task type this
       * corresponds to TaskDefinition.retry_parameters.
       * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; * @return The retryParameters. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getRetryParameters(); /** *
       * Retry parameters for this task.
       * For cron tasks, this corresponds to
       * TaskDefinition.cron_retry_parameters. For other task type this
       * corresponds to TaskDefinition.retry_parameters.
       * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getRetryParametersOrBuilder(); /** *
       * Time at which the task was first tried
       * 
* * optional int64 first_try_usec = 24; * @return Whether the firstTryUsec field is set. */ boolean hasFirstTryUsec(); /** *
       * Time at which the task was first tried
       * 
* * optional int64 first_try_usec = 24; * @return The firstTryUsec. */ long getFirstTryUsec(); /** *
       * Tag associated with this task. This is used as for grouping tasks in a
       * queue.
       * 
* * optional bytes tag = 25; * @return Whether the tag field is set. */ boolean hasTag(); /** *
       * Tag associated with this task. This is used as for grouping tasks in a
       * queue.
       * 
* * optional bytes tag = 25; * @return The tag. */ com.google.protobuf.ByteString getTag(); /** *
       * The number of times this task has been executed. Every time a task
       * is handled by an instance, this count is increased by 1.
       * 
* * optional int32 execution_count = 26; * @return Whether the executionCount field is set. */ boolean hasExecutionCount(); /** *
       * The number of times this task has been executed. Every time a task
       * is handled by an instance, this count is increased by 1.
       * 
* * optional int32 execution_count = 26; * @return The executionCount. */ int getExecutionCount(); /** *
       * The deadline for requests sent to the worker.
       * 
* * optional int64 dispatch_deadline_usec = 28; * @return Whether the dispatchDeadlineUsec field is set. */ boolean hasDispatchDeadlineUsec(); /** *
       * The deadline for requests sent to the worker.
       * 
* * optional int64 dispatch_deadline_usec = 28; * @return The dispatchDeadlineUsec. */ long getDispatchDeadlineUsec(); } /** * Protobuf type {@code java.apphosting.TaskQueueQueryTasksResponse.Task} */ public static final class Task extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueQueryTasksResponse.Task) TaskOrBuilder { private static final long serialVersionUID = 0L; // Use Task.newBuilder() to construct. private Task(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Task() { taskName_ = com.google.protobuf.ByteString.EMPTY; url_ = com.google.protobuf.ByteString.EMPTY; method_ = 1; header_ = java.util.Collections.emptyList(); body_ = com.google.protobuf.ByteString.EMPTY; description_ = com.google.protobuf.ByteString.EMPTY; tag_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Task(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Builder.class); } /** * Protobuf enum {@code java.apphosting.TaskQueueQueryTasksResponse.Task.RequestMethod} */ public enum RequestMethod implements com.google.protobuf.ProtocolMessageEnum { /** * GET = 1; */ GET(1), /** * POST = 2; */ POST(2), /** * HEAD = 3; */ HEAD(3), /** * PUT = 4; */ PUT(4), /** * DELETE = 5; */ DELETE(5), ; /** * GET = 1; */ public static final int GET_VALUE = 1; /** * POST = 2; */ public static final int POST_VALUE = 2; /** * HEAD = 3; */ public static final int HEAD_VALUE = 3; /** * PUT = 4; */ public static final int PUT_VALUE = 4; /** * DELETE = 5; */ public static final int DELETE_VALUE = 5; public final int getNumber() { return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static RequestMethod valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static RequestMethod forNumber(int value) { switch (value) { case 1: return GET; case 2: return POST; case 3: return HEAD; case 4: return PUT; case 5: return DELETE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< RequestMethod> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public RequestMethod findValueByNumber(int number) { return RequestMethod.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.getDescriptor().getEnumTypes().get(0); } private static final RequestMethod[] VALUES = values(); public static RequestMethod valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private RequestMethod(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:java.apphosting.TaskQueueQueryTasksResponse.Task.RequestMethod) } public interface HeaderOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueQueryTasksResponse.Task.Header) com.google.protobuf.MessageOrBuilder { /** * required bytes key = 8; * @return Whether the key field is set. */ boolean hasKey(); /** * required bytes key = 8; * @return The key. */ com.google.protobuf.ByteString getKey(); /** * required bytes value = 9; * @return Whether the value field is set. */ boolean hasValue(); /** * required bytes value = 9; * @return The value. */ com.google.protobuf.ByteString getValue(); } /** *
       * Additional headers included on the task http request (post-sanitisation).
       * 
* * Protobuf type {@code java.apphosting.TaskQueueQueryTasksResponse.Task.Header} */ public static final class Header extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueQueryTasksResponse.Task.Header) HeaderOrBuilder { private static final long serialVersionUID = 0L; // Use Header.newBuilder() to construct. private Header(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Header() { key_ = com.google.protobuf.ByteString.EMPTY; value_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Header(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_Header_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_Header_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.Builder.class); } private int bitField0_; public static final int KEY_FIELD_NUMBER = 8; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes key = 8; * @return Whether the key field is set. */ @java.lang.Override public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes key = 8; * @return The key. */ @java.lang.Override public com.google.protobuf.ByteString getKey() { return key_; } public static final int VALUE_FIELD_NUMBER = 9; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes value = 9; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** * required bytes value = 9; * @return The value. */ @java.lang.Override public com.google.protobuf.ByteString getValue() { return value_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasKey()) { memoizedIsInitialized = 0; return false; } if (!hasValue()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(8, key_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(9, value_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, key_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(9, value_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header) obj; if (hasKey() != other.hasKey()) return false; if (hasKey()) { if (!getKey() .equals(other.getKey())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (!getValue() .equals(other.getValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
         * Additional headers included on the task http request (post-sanitisation).
         * 
* * Protobuf type {@code java.apphosting.TaskQueueQueryTasksResponse.Task.Header} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueQueryTasksResponse.Task.Header) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.HeaderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_Header_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_Header_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; key_ = com.google.protobuf.ByteString.EMPTY; value_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_Header_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.key_ = key_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.value_ = value_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.getDefaultInstance()) return this; if (other.hasKey()) { setKey(other.getKey()); } if (other.hasValue()) { setValue(other.getValue()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasKey()) { return false; } if (!hasValue()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 66: { key_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 66 case 74: { value_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 74 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes key = 8; * @return Whether the key field is set. */ @java.lang.Override public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes key = 8; * @return The key. */ @java.lang.Override public com.google.protobuf.ByteString getKey() { return key_; } /** * required bytes key = 8; * @param value The key to set. * @return This builder for chaining. */ public Builder setKey(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } key_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * required bytes key = 8; * @return This builder for chaining. */ public Builder clearKey() { bitField0_ = (bitField0_ & ~0x00000001); key_ = getDefaultInstance().getKey(); onChanged(); return this; } private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes value = 9; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** * required bytes value = 9; * @return The value. */ @java.lang.Override public com.google.protobuf.ByteString getValue() { return value_; } /** * required bytes value = 9; * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * required bytes value = 9; * @return This builder for chaining. */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueQueryTasksResponse.Task.Header) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueQueryTasksResponse.Task.Header) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser
() { @java.lang.Override public Header parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser
parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser
getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CronTimetableOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueQueryTasksResponse.Task.CronTimetable) com.google.protobuf.MessageOrBuilder { /** *
         * Task schedule in the groc format.
         * For details please refer to //depot/google3/borg/borgcron/groc.g
         * 
* * required bytes schedule = 14; * @return Whether the schedule field is set. */ boolean hasSchedule(); /** *
         * Task schedule in the groc format.
         * For details please refer to //depot/google3/borg/borgcron/groc.g
         * 
* * required bytes schedule = 14; * @return The schedule. */ com.google.protobuf.ByteString getSchedule(); /** * required bytes timezone = 15; * @return Whether the timezone field is set. */ boolean hasTimezone(); /** * required bytes timezone = 15; * @return The timezone. */ com.google.protobuf.ByteString getTimezone(); } /** *
       * Timetable of recurrent task.
       * 
* * Protobuf type {@code java.apphosting.TaskQueueQueryTasksResponse.Task.CronTimetable} */ public static final class CronTimetable extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueQueryTasksResponse.Task.CronTimetable) CronTimetableOrBuilder { private static final long serialVersionUID = 0L; // Use CronTimetable.newBuilder() to construct. private CronTimetable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CronTimetable() { schedule_ = com.google.protobuf.ByteString.EMPTY; timezone_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CronTimetable(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_CronTimetable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_CronTimetable_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.Builder.class); } private int bitField0_; public static final int SCHEDULE_FIELD_NUMBER = 14; private com.google.protobuf.ByteString schedule_ = com.google.protobuf.ByteString.EMPTY; /** *
         * Task schedule in the groc format.
         * For details please refer to //depot/google3/borg/borgcron/groc.g
         * 
* * required bytes schedule = 14; * @return Whether the schedule field is set. */ @java.lang.Override public boolean hasSchedule() { return ((bitField0_ & 0x00000001) != 0); } /** *
         * Task schedule in the groc format.
         * For details please refer to //depot/google3/borg/borgcron/groc.g
         * 
* * required bytes schedule = 14; * @return The schedule. */ @java.lang.Override public com.google.protobuf.ByteString getSchedule() { return schedule_; } public static final int TIMEZONE_FIELD_NUMBER = 15; private com.google.protobuf.ByteString timezone_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes timezone = 15; * @return Whether the timezone field is set. */ @java.lang.Override public boolean hasTimezone() { return ((bitField0_ & 0x00000002) != 0); } /** * required bytes timezone = 15; * @return The timezone. */ @java.lang.Override public com.google.protobuf.ByteString getTimezone() { return timezone_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasSchedule()) { memoizedIsInitialized = 0; return false; } if (!hasTimezone()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(14, schedule_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(15, timezone_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(14, schedule_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(15, timezone_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable) obj; if (hasSchedule() != other.hasSchedule()) return false; if (hasSchedule()) { if (!getSchedule() .equals(other.getSchedule())) return false; } if (hasTimezone() != other.hasTimezone()) return false; if (hasTimezone()) { if (!getTimezone() .equals(other.getTimezone())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSchedule()) { hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getSchedule().hashCode(); } if (hasTimezone()) { hash = (37 * hash) + TIMEZONE_FIELD_NUMBER; hash = (53 * hash) + getTimezone().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
         * Timetable of recurrent task.
         * 
* * Protobuf type {@code java.apphosting.TaskQueueQueryTasksResponse.Task.CronTimetable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueQueryTasksResponse.Task.CronTimetable) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_CronTimetable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_CronTimetable_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; schedule_ = com.google.protobuf.ByteString.EMPTY; timezone_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_CronTimetable_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.schedule_ = schedule_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.timezone_ = timezone_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.getDefaultInstance()) return this; if (other.hasSchedule()) { setSchedule(other.getSchedule()); } if (other.hasTimezone()) { setTimezone(other.getTimezone()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasSchedule()) { return false; } if (!hasTimezone()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 114: { schedule_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 114 case 122: { timezone_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 122 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString schedule_ = com.google.protobuf.ByteString.EMPTY; /** *
           * Task schedule in the groc format.
           * For details please refer to //depot/google3/borg/borgcron/groc.g
           * 
* * required bytes schedule = 14; * @return Whether the schedule field is set. */ @java.lang.Override public boolean hasSchedule() { return ((bitField0_ & 0x00000001) != 0); } /** *
           * Task schedule in the groc format.
           * For details please refer to //depot/google3/borg/borgcron/groc.g
           * 
* * required bytes schedule = 14; * @return The schedule. */ @java.lang.Override public com.google.protobuf.ByteString getSchedule() { return schedule_; } /** *
           * Task schedule in the groc format.
           * For details please refer to //depot/google3/borg/borgcron/groc.g
           * 
* * required bytes schedule = 14; * @param value The schedule to set. * @return This builder for chaining. */ public Builder setSchedule(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } schedule_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
           * Task schedule in the groc format.
           * For details please refer to //depot/google3/borg/borgcron/groc.g
           * 
* * required bytes schedule = 14; * @return This builder for chaining. */ public Builder clearSchedule() { bitField0_ = (bitField0_ & ~0x00000001); schedule_ = getDefaultInstance().getSchedule(); onChanged(); return this; } private com.google.protobuf.ByteString timezone_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes timezone = 15; * @return Whether the timezone field is set. */ @java.lang.Override public boolean hasTimezone() { return ((bitField0_ & 0x00000002) != 0); } /** * required bytes timezone = 15; * @return The timezone. */ @java.lang.Override public com.google.protobuf.ByteString getTimezone() { return timezone_; } /** * required bytes timezone = 15; * @param value The timezone to set. * @return This builder for chaining. */ public Builder setTimezone(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } timezone_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * required bytes timezone = 15; * @return This builder for chaining. */ public Builder clearTimezone() { bitField0_ = (bitField0_ & ~0x00000002); timezone_ = getDefaultInstance().getTimezone(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueQueryTasksResponse.Task.CronTimetable) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueQueryTasksResponse.Task.CronTimetable) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CronTimetable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RunLogOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueQueryTasksResponse.Task.RunLog) com.google.protobuf.MessageOrBuilder { /** *
         * When this run was started, in microseconds, and relative to
         * midnight January 1, 1970 UTC.
         * 
* * required int64 dispatched_usec = 17; * @return Whether the dispatchedUsec field is set. */ boolean hasDispatchedUsec(); /** *
         * When this run was started, in microseconds, and relative to
         * midnight January 1, 1970 UTC.
         * 
* * required int64 dispatched_usec = 17; * @return The dispatchedUsec. */ long getDispatchedUsec(); /** *
         * The latency in microseconds between the task schedule and
         * actual dispatch time.
         * 
* * required int64 lag_usec = 18; * @return Whether the lagUsec field is set. */ boolean hasLagUsec(); /** *
         * The latency in microseconds between the task schedule and
         * actual dispatch time.
         * 
* * required int64 lag_usec = 18; * @return The lagUsec. */ long getLagUsec(); /** *
         * The time this run took, in microseconds.
         * 
* * required int64 elapsed_usec = 19; * @return Whether the elapsedUsec field is set. */ boolean hasElapsedUsec(); /** *
         * The time this run took, in microseconds.
         * 
* * required int64 elapsed_usec = 19; * @return The elapsedUsec. */ long getElapsedUsec(); /** *
         * Http response code received from the application.
         * 
* * optional int64 response_code = 20; * @return Whether the responseCode field is set. */ boolean hasResponseCode(); /** *
         * Http response code received from the application.
         * 
* * optional int64 response_code = 20; * @return The responseCode. */ long getResponseCode(); /** *
         * Reason this task is to be retried.
         * 
* * optional string retry_reason = 27; * @return Whether the retryReason field is set. */ boolean hasRetryReason(); /** *
         * Reason this task is to be retried.
         * 
* * optional string retry_reason = 27; * @return The retryReason. */ java.lang.String getRetryReason(); /** *
         * Reason this task is to be retried.
         * 
* * optional string retry_reason = 27; * @return The bytes for retryReason. */ com.google.protobuf.ByteString getRetryReasonBytes(); } /** *
       * Information about last task's invocation.
       * 
* * Protobuf type {@code java.apphosting.TaskQueueQueryTasksResponse.Task.RunLog} */ public static final class RunLog extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueQueryTasksResponse.Task.RunLog) RunLogOrBuilder { private static final long serialVersionUID = 0L; // Use RunLog.newBuilder() to construct. private RunLog(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RunLog() { retryReason_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RunLog(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_RunLog_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_RunLog_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.Builder.class); } private int bitField0_; public static final int DISPATCHED_USEC_FIELD_NUMBER = 17; private long dispatchedUsec_ = 0L; /** *
         * When this run was started, in microseconds, and relative to
         * midnight January 1, 1970 UTC.
         * 
* * required int64 dispatched_usec = 17; * @return Whether the dispatchedUsec field is set. */ @java.lang.Override public boolean hasDispatchedUsec() { return ((bitField0_ & 0x00000001) != 0); } /** *
         * When this run was started, in microseconds, and relative to
         * midnight January 1, 1970 UTC.
         * 
* * required int64 dispatched_usec = 17; * @return The dispatchedUsec. */ @java.lang.Override public long getDispatchedUsec() { return dispatchedUsec_; } public static final int LAG_USEC_FIELD_NUMBER = 18; private long lagUsec_ = 0L; /** *
         * The latency in microseconds between the task schedule and
         * actual dispatch time.
         * 
* * required int64 lag_usec = 18; * @return Whether the lagUsec field is set. */ @java.lang.Override public boolean hasLagUsec() { return ((bitField0_ & 0x00000002) != 0); } /** *
         * The latency in microseconds between the task schedule and
         * actual dispatch time.
         * 
* * required int64 lag_usec = 18; * @return The lagUsec. */ @java.lang.Override public long getLagUsec() { return lagUsec_; } public static final int ELAPSED_USEC_FIELD_NUMBER = 19; private long elapsedUsec_ = 0L; /** *
         * The time this run took, in microseconds.
         * 
* * required int64 elapsed_usec = 19; * @return Whether the elapsedUsec field is set. */ @java.lang.Override public boolean hasElapsedUsec() { return ((bitField0_ & 0x00000004) != 0); } /** *
         * The time this run took, in microseconds.
         * 
* * required int64 elapsed_usec = 19; * @return The elapsedUsec. */ @java.lang.Override public long getElapsedUsec() { return elapsedUsec_; } public static final int RESPONSE_CODE_FIELD_NUMBER = 20; private long responseCode_ = 0L; /** *
         * Http response code received from the application.
         * 
* * optional int64 response_code = 20; * @return Whether the responseCode field is set. */ @java.lang.Override public boolean hasResponseCode() { return ((bitField0_ & 0x00000008) != 0); } /** *
         * Http response code received from the application.
         * 
* * optional int64 response_code = 20; * @return The responseCode. */ @java.lang.Override public long getResponseCode() { return responseCode_; } public static final int RETRY_REASON_FIELD_NUMBER = 27; @SuppressWarnings("serial") private volatile java.lang.Object retryReason_ = ""; /** *
         * Reason this task is to be retried.
         * 
* * optional string retry_reason = 27; * @return Whether the retryReason field is set. */ @java.lang.Override public boolean hasRetryReason() { return ((bitField0_ & 0x00000010) != 0); } /** *
         * Reason this task is to be retried.
         * 
* * optional string retry_reason = 27; * @return The retryReason. */ @java.lang.Override public java.lang.String getRetryReason() { java.lang.Object ref = retryReason_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { retryReason_ = s; } return s; } } /** *
         * Reason this task is to be retried.
         * 
* * optional string retry_reason = 27; * @return The bytes for retryReason. */ @java.lang.Override public com.google.protobuf.ByteString getRetryReasonBytes() { java.lang.Object ref = retryReason_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); retryReason_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasDispatchedUsec()) { memoizedIsInitialized = 0; return false; } if (!hasLagUsec()) { memoizedIsInitialized = 0; return false; } if (!hasElapsedUsec()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(17, dispatchedUsec_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(18, lagUsec_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(19, elapsedUsec_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt64(20, responseCode_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 27, retryReason_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(17, dispatchedUsec_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(18, lagUsec_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(19, elapsedUsec_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(20, responseCode_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, retryReason_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog) obj; if (hasDispatchedUsec() != other.hasDispatchedUsec()) return false; if (hasDispatchedUsec()) { if (getDispatchedUsec() != other.getDispatchedUsec()) return false; } if (hasLagUsec() != other.hasLagUsec()) return false; if (hasLagUsec()) { if (getLagUsec() != other.getLagUsec()) return false; } if (hasElapsedUsec() != other.hasElapsedUsec()) return false; if (hasElapsedUsec()) { if (getElapsedUsec() != other.getElapsedUsec()) return false; } if (hasResponseCode() != other.hasResponseCode()) return false; if (hasResponseCode()) { if (getResponseCode() != other.getResponseCode()) return false; } if (hasRetryReason() != other.hasRetryReason()) return false; if (hasRetryReason()) { if (!getRetryReason() .equals(other.getRetryReason())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasDispatchedUsec()) { hash = (37 * hash) + DISPATCHED_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDispatchedUsec()); } if (hasLagUsec()) { hash = (37 * hash) + LAG_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLagUsec()); } if (hasElapsedUsec()) { hash = (37 * hash) + ELAPSED_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getElapsedUsec()); } if (hasResponseCode()) { hash = (37 * hash) + RESPONSE_CODE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getResponseCode()); } if (hasRetryReason()) { hash = (37 * hash) + RETRY_REASON_FIELD_NUMBER; hash = (53 * hash) + getRetryReason().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
         * Information about last task's invocation.
         * 
* * Protobuf type {@code java.apphosting.TaskQueueQueryTasksResponse.Task.RunLog} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueQueryTasksResponse.Task.RunLog) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLogOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_RunLog_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_RunLog_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; dispatchedUsec_ = 0L; lagUsec_ = 0L; elapsedUsec_ = 0L; responseCode_ = 0L; retryReason_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_RunLog_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.dispatchedUsec_ = dispatchedUsec_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.lagUsec_ = lagUsec_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.elapsedUsec_ = elapsedUsec_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.responseCode_ = responseCode_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.retryReason_ = retryReason_; to_bitField0_ |= 0x00000010; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.getDefaultInstance()) return this; if (other.hasDispatchedUsec()) { setDispatchedUsec(other.getDispatchedUsec()); } if (other.hasLagUsec()) { setLagUsec(other.getLagUsec()); } if (other.hasElapsedUsec()) { setElapsedUsec(other.getElapsedUsec()); } if (other.hasResponseCode()) { setResponseCode(other.getResponseCode()); } if (other.hasRetryReason()) { retryReason_ = other.retryReason_; bitField0_ |= 0x00000010; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasDispatchedUsec()) { return false; } if (!hasLagUsec()) { return false; } if (!hasElapsedUsec()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 136: { dispatchedUsec_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 136 case 144: { lagUsec_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 144 case 152: { elapsedUsec_ = input.readInt64(); bitField0_ |= 0x00000004; break; } // case 152 case 160: { responseCode_ = input.readInt64(); bitField0_ |= 0x00000008; break; } // case 160 case 218: { retryReason_ = input.readBytes(); bitField0_ |= 0x00000010; break; } // case 218 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long dispatchedUsec_ ; /** *
           * When this run was started, in microseconds, and relative to
           * midnight January 1, 1970 UTC.
           * 
* * required int64 dispatched_usec = 17; * @return Whether the dispatchedUsec field is set. */ @java.lang.Override public boolean hasDispatchedUsec() { return ((bitField0_ & 0x00000001) != 0); } /** *
           * When this run was started, in microseconds, and relative to
           * midnight January 1, 1970 UTC.
           * 
* * required int64 dispatched_usec = 17; * @return The dispatchedUsec. */ @java.lang.Override public long getDispatchedUsec() { return dispatchedUsec_; } /** *
           * When this run was started, in microseconds, and relative to
           * midnight January 1, 1970 UTC.
           * 
* * required int64 dispatched_usec = 17; * @param value The dispatchedUsec to set. * @return This builder for chaining. */ public Builder setDispatchedUsec(long value) { dispatchedUsec_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
           * When this run was started, in microseconds, and relative to
           * midnight January 1, 1970 UTC.
           * 
* * required int64 dispatched_usec = 17; * @return This builder for chaining. */ public Builder clearDispatchedUsec() { bitField0_ = (bitField0_ & ~0x00000001); dispatchedUsec_ = 0L; onChanged(); return this; } private long lagUsec_ ; /** *
           * The latency in microseconds between the task schedule and
           * actual dispatch time.
           * 
* * required int64 lag_usec = 18; * @return Whether the lagUsec field is set. */ @java.lang.Override public boolean hasLagUsec() { return ((bitField0_ & 0x00000002) != 0); } /** *
           * The latency in microseconds between the task schedule and
           * actual dispatch time.
           * 
* * required int64 lag_usec = 18; * @return The lagUsec. */ @java.lang.Override public long getLagUsec() { return lagUsec_; } /** *
           * The latency in microseconds between the task schedule and
           * actual dispatch time.
           * 
* * required int64 lag_usec = 18; * @param value The lagUsec to set. * @return This builder for chaining. */ public Builder setLagUsec(long value) { lagUsec_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
           * The latency in microseconds between the task schedule and
           * actual dispatch time.
           * 
* * required int64 lag_usec = 18; * @return This builder for chaining. */ public Builder clearLagUsec() { bitField0_ = (bitField0_ & ~0x00000002); lagUsec_ = 0L; onChanged(); return this; } private long elapsedUsec_ ; /** *
           * The time this run took, in microseconds.
           * 
* * required int64 elapsed_usec = 19; * @return Whether the elapsedUsec field is set. */ @java.lang.Override public boolean hasElapsedUsec() { return ((bitField0_ & 0x00000004) != 0); } /** *
           * The time this run took, in microseconds.
           * 
* * required int64 elapsed_usec = 19; * @return The elapsedUsec. */ @java.lang.Override public long getElapsedUsec() { return elapsedUsec_; } /** *
           * The time this run took, in microseconds.
           * 
* * required int64 elapsed_usec = 19; * @param value The elapsedUsec to set. * @return This builder for chaining. */ public Builder setElapsedUsec(long value) { elapsedUsec_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
           * The time this run took, in microseconds.
           * 
* * required int64 elapsed_usec = 19; * @return This builder for chaining. */ public Builder clearElapsedUsec() { bitField0_ = (bitField0_ & ~0x00000004); elapsedUsec_ = 0L; onChanged(); return this; } private long responseCode_ ; /** *
           * Http response code received from the application.
           * 
* * optional int64 response_code = 20; * @return Whether the responseCode field is set. */ @java.lang.Override public boolean hasResponseCode() { return ((bitField0_ & 0x00000008) != 0); } /** *
           * Http response code received from the application.
           * 
* * optional int64 response_code = 20; * @return The responseCode. */ @java.lang.Override public long getResponseCode() { return responseCode_; } /** *
           * Http response code received from the application.
           * 
* * optional int64 response_code = 20; * @param value The responseCode to set. * @return This builder for chaining. */ public Builder setResponseCode(long value) { responseCode_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
           * Http response code received from the application.
           * 
* * optional int64 response_code = 20; * @return This builder for chaining. */ public Builder clearResponseCode() { bitField0_ = (bitField0_ & ~0x00000008); responseCode_ = 0L; onChanged(); return this; } private java.lang.Object retryReason_ = ""; /** *
           * Reason this task is to be retried.
           * 
* * optional string retry_reason = 27; * @return Whether the retryReason field is set. */ public boolean hasRetryReason() { return ((bitField0_ & 0x00000010) != 0); } /** *
           * Reason this task is to be retried.
           * 
* * optional string retry_reason = 27; * @return The retryReason. */ public java.lang.String getRetryReason() { java.lang.Object ref = retryReason_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { retryReason_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
           * Reason this task is to be retried.
           * 
* * optional string retry_reason = 27; * @return The bytes for retryReason. */ public com.google.protobuf.ByteString getRetryReasonBytes() { java.lang.Object ref = retryReason_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); retryReason_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Reason this task is to be retried.
           * 
* * optional string retry_reason = 27; * @param value The retryReason to set. * @return This builder for chaining. */ public Builder setRetryReason( java.lang.String value) { if (value == null) { throw new NullPointerException(); } retryReason_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
           * Reason this task is to be retried.
           * 
* * optional string retry_reason = 27; * @return This builder for chaining. */ public Builder clearRetryReason() { retryReason_ = getDefaultInstance().getRetryReason(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
           * Reason this task is to be retried.
           * 
* * optional string retry_reason = 27; * @param value The bytes for retryReason to set. * @return This builder for chaining. */ public Builder setRetryReasonBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } retryReason_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueQueryTasksResponse.Task.RunLog) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueQueryTasksResponse.Task.RunLog) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RunLog parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int TASK_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString taskName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The task name - might be an autogenerated one.
       * 
* * required bytes task_name = 2; * @return Whether the taskName field is set. */ @java.lang.Override public boolean hasTaskName() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The task name - might be an autogenerated one.
       * 
* * required bytes task_name = 2; * @return The taskName. */ @java.lang.Override public com.google.protobuf.ByteString getTaskName() { return taskName_; } public static final int ETA_USEC_FIELD_NUMBER = 3; private long etaUsec_ = 0L; /** *
       * Time task will be executed, in microseconds since the unix epoch.
       * 
* * required int64 eta_usec = 3; * @return Whether the etaUsec field is set. */ @java.lang.Override public boolean hasEtaUsec() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Time task will be executed, in microseconds since the unix epoch.
       * 
* * required int64 eta_usec = 3; * @return The etaUsec. */ @java.lang.Override public long getEtaUsec() { return etaUsec_; } public static final int URL_FIELD_NUMBER = 4; private com.google.protobuf.ByteString url_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The URL.
       * 
* * optional bytes url = 4; * @return Whether the url field is set. */ @java.lang.Override public boolean hasUrl() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * The URL.
       * 
* * optional bytes url = 4; * @return The url. */ @java.lang.Override public com.google.protobuf.ByteString getUrl() { return url_; } public static final int METHOD_FIELD_NUMBER = 5; private int method_ = 1; /** * optional .java.apphosting.TaskQueueQueryTasksResponse.Task.RequestMethod method = 5; * @return Whether the method field is set. */ @java.lang.Override public boolean hasMethod() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .java.apphosting.TaskQueueQueryTasksResponse.Task.RequestMethod method = 5; * @return The method. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RequestMethod getMethod() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RequestMethod result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RequestMethod.forNumber(method_); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RequestMethod.GET : result; } public static final int RETRY_COUNT_FIELD_NUMBER = 6; private int retryCount_ = 0; /** *
       * The number of times this task has been retried.
       * 
* * optional int32 retry_count = 6; * @return Whether the retryCount field is set. */ @java.lang.Override public boolean hasRetryCount() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The number of times this task has been retried.
       * 
* * optional int32 retry_count = 6; * @return The retryCount. */ @java.lang.Override public int getRetryCount() { return retryCount_; } public static final int HEADER_FIELD_NUMBER = 7; @SuppressWarnings("serial") private java.util.List header_; /** * repeated group Header = 7 { ... } */ @java.lang.Override public java.util.List getHeaderList() { return header_; } /** * repeated group Header = 7 { ... } */ @java.lang.Override public java.util.List getHeaderOrBuilderList() { return header_; } /** * repeated group Header = 7 { ... } */ @java.lang.Override public int getHeaderCount() { return header_.size(); } /** * repeated group Header = 7 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header getHeader(int index) { return header_.get(index); } /** * repeated group Header = 7 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.HeaderOrBuilder getHeaderOrBuilder( int index) { return header_.get(index); } public static final int BODY_SIZE_FIELD_NUMBER = 10; private int bodySize_ = 0; /** *
       * Number of bytes in the body. Only for POST and PUT.
       * 
* * optional int32 body_size = 10; * @return Whether the bodySize field is set. */ @java.lang.Override public boolean hasBodySize() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Number of bytes in the body. Only for POST and PUT.
       * 
* * optional int32 body_size = 10; * @return The bodySize. */ @java.lang.Override public int getBodySize() { return bodySize_; } public static final int BODY_FIELD_NUMBER = 11; private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Body of the HTTP request (may contain binary data). Only for POST or PUT.
       * 
* * optional bytes body = 11 [ctype = CORD]; * @return Whether the body field is set. */ @java.lang.Override public boolean hasBody() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * Body of the HTTP request (may contain binary data). Only for POST or PUT.
       * 
* * optional bytes body = 11 [ctype = CORD]; * @return The body. */ @java.lang.Override public com.google.protobuf.ByteString getBody() { return body_; } public static final int CREATION_TIME_USEC_FIELD_NUMBER = 12; private long creationTimeUsec_ = 0L; /** *
       * Time task was created, in microseconds since the unix epoch.
       * Currently this just has seconds resolution.
       * 
* * required int64 creation_time_usec = 12; * @return Whether the creationTimeUsec field is set. */ @java.lang.Override public boolean hasCreationTimeUsec() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * Time task was created, in microseconds since the unix epoch.
       * Currently this just has seconds resolution.
       * 
* * required int64 creation_time_usec = 12; * @return The creationTimeUsec. */ @java.lang.Override public long getCreationTimeUsec() { return creationTimeUsec_; } public static final int CRONTIMETABLE_FIELD_NUMBER = 13; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable cronTimetable_; /** * optional group CronTimetable = 13 { ... } * @return Whether the crontimetable field is set. */ @java.lang.Override public boolean hasCronTimetable() { return ((bitField0_ & 0x00000100) != 0); } /** * optional group CronTimetable = 13 { ... } * @return The crontimetable. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable getCronTimetable() { return cronTimetable_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.getDefaultInstance() : cronTimetable_; } /** * optional group CronTimetable = 13 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetableOrBuilder getCronTimetableOrBuilder() { return cronTimetable_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.getDefaultInstance() : cronTimetable_; } public static final int RUNLOG_FIELD_NUMBER = 16; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog runLog_; /** * optional group RunLog = 16 { ... } * @return Whether the runlog field is set. */ @java.lang.Override public boolean hasRunLog() { return ((bitField0_ & 0x00000200) != 0); } /** * optional group RunLog = 16 { ... } * @return The runlog. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog getRunLog() { return runLog_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.getDefaultInstance() : runLog_; } /** * optional group RunLog = 16 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLogOrBuilder getRunLogOrBuilder() { return runLog_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.getDefaultInstance() : runLog_; } public static final int DESCRIPTION_FIELD_NUMBER = 21; private com.google.protobuf.ByteString description_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Human readable description of the task.
       * 
* * optional bytes description = 21; * @return Whether the description field is set. */ @java.lang.Override public boolean hasDescription() { return ((bitField0_ & 0x00000400) != 0); } /** *
       * Human readable description of the task.
       * 
* * optional bytes description = 21; * @return The description. */ @java.lang.Override public com.google.protobuf.ByteString getDescription() { return description_; } public static final int PAYLOAD_FIELD_NUMBER = 22; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload payload_; /** * optional .java.apphosting.TaskPayload payload = 22; * @return Whether the payload field is set. */ @java.lang.Override public boolean hasPayload() { return ((bitField0_ & 0x00000800) != 0); } /** * optional .java.apphosting.TaskPayload payload = 22; * @return The payload. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload getPayload() { return payload_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.getDefaultInstance() : payload_; } /** * optional .java.apphosting.TaskPayload payload = 22; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayloadOrBuilder getPayloadOrBuilder() { return payload_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.getDefaultInstance() : payload_; } public static final int RETRY_PARAMETERS_FIELD_NUMBER = 23; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters retryParameters_; /** *
       * Retry parameters for this task.
       * For cron tasks, this corresponds to
       * TaskDefinition.cron_retry_parameters. For other task type this
       * corresponds to TaskDefinition.retry_parameters.
       * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; * @return Whether the retryParameters field is set. */ @java.lang.Override public boolean hasRetryParameters() { return ((bitField0_ & 0x00001000) != 0); } /** *
       * Retry parameters for this task.
       * For cron tasks, this corresponds to
       * TaskDefinition.cron_retry_parameters. For other task type this
       * corresponds to TaskDefinition.retry_parameters.
       * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; * @return The retryParameters. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getRetryParameters() { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } /** *
       * Retry parameters for this task.
       * For cron tasks, this corresponds to
       * TaskDefinition.cron_retry_parameters. For other task type this
       * corresponds to TaskDefinition.retry_parameters.
       * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getRetryParametersOrBuilder() { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } public static final int FIRST_TRY_USEC_FIELD_NUMBER = 24; private long firstTryUsec_ = 0L; /** *
       * Time at which the task was first tried
       * 
* * optional int64 first_try_usec = 24; * @return Whether the firstTryUsec field is set. */ @java.lang.Override public boolean hasFirstTryUsec() { return ((bitField0_ & 0x00002000) != 0); } /** *
       * Time at which the task was first tried
       * 
* * optional int64 first_try_usec = 24; * @return The firstTryUsec. */ @java.lang.Override public long getFirstTryUsec() { return firstTryUsec_; } public static final int TAG_FIELD_NUMBER = 25; private com.google.protobuf.ByteString tag_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Tag associated with this task. This is used as for grouping tasks in a
       * queue.
       * 
* * optional bytes tag = 25; * @return Whether the tag field is set. */ @java.lang.Override public boolean hasTag() { return ((bitField0_ & 0x00004000) != 0); } /** *
       * Tag associated with this task. This is used as for grouping tasks in a
       * queue.
       * 
* * optional bytes tag = 25; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } public static final int EXECUTION_COUNT_FIELD_NUMBER = 26; private int executionCount_ = 0; /** *
       * The number of times this task has been executed. Every time a task
       * is handled by an instance, this count is increased by 1.
       * 
* * optional int32 execution_count = 26; * @return Whether the executionCount field is set. */ @java.lang.Override public boolean hasExecutionCount() { return ((bitField0_ & 0x00008000) != 0); } /** *
       * The number of times this task has been executed. Every time a task
       * is handled by an instance, this count is increased by 1.
       * 
* * optional int32 execution_count = 26; * @return The executionCount. */ @java.lang.Override public int getExecutionCount() { return executionCount_; } public static final int DISPATCH_DEADLINE_USEC_FIELD_NUMBER = 28; private long dispatchDeadlineUsec_ = 0L; /** *
       * The deadline for requests sent to the worker.
       * 
* * optional int64 dispatch_deadline_usec = 28; * @return Whether the dispatchDeadlineUsec field is set. */ @java.lang.Override public boolean hasDispatchDeadlineUsec() { return ((bitField0_ & 0x00010000) != 0); } /** *
       * The deadline for requests sent to the worker.
       * 
* * optional int64 dispatch_deadline_usec = 28; * @return The dispatchDeadlineUsec. */ @java.lang.Override public long getDispatchDeadlineUsec() { return dispatchDeadlineUsec_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasTaskName()) { memoizedIsInitialized = 0; return false; } if (!hasEtaUsec()) { memoizedIsInitialized = 0; return false; } if (!hasCreationTimeUsec()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getHeaderCount(); i++) { if (!getHeader(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasCronTimetable()) { if (!getCronTimetable().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasRunLog()) { if (!getRunLog().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(2, taskName_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(3, etaUsec_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBytes(4, url_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeEnum(5, method_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(6, retryCount_); } for (int i = 0; i < header_.size(); i++) { output.writeGroup(7, header_.get(i)); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt32(10, bodySize_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBytes(11, body_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeInt64(12, creationTimeUsec_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeGroup(13, getCronTimetable()); } if (((bitField0_ & 0x00000200) != 0)) { output.writeGroup(16, getRunLog()); } if (((bitField0_ & 0x00000400) != 0)) { output.writeBytes(21, description_); } if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(22, getPayload()); } if (((bitField0_ & 0x00001000) != 0)) { output.writeMessage(23, getRetryParameters()); } if (((bitField0_ & 0x00002000) != 0)) { output.writeInt64(24, firstTryUsec_); } if (((bitField0_ & 0x00004000) != 0)) { output.writeBytes(25, tag_); } if (((bitField0_ & 0x00008000) != 0)) { output.writeInt32(26, executionCount_); } if (((bitField0_ & 0x00010000) != 0)) { output.writeInt64(28, dispatchDeadlineUsec_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, taskName_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, etaUsec_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, url_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, method_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, retryCount_); } for (int i = 0; i < header_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(7, header_.get(i)); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(10, bodySize_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(11, body_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(12, creationTimeUsec_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(13, getCronTimetable()); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(16, getRunLog()); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(21, description_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, getPayload()); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getRetryParameters()); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(24, firstTryUsec_); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(25, tag_); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(26, executionCount_); } if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(28, dispatchDeadlineUsec_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task) obj; if (hasTaskName() != other.hasTaskName()) return false; if (hasTaskName()) { if (!getTaskName() .equals(other.getTaskName())) return false; } if (hasEtaUsec() != other.hasEtaUsec()) return false; if (hasEtaUsec()) { if (getEtaUsec() != other.getEtaUsec()) return false; } if (hasUrl() != other.hasUrl()) return false; if (hasUrl()) { if (!getUrl() .equals(other.getUrl())) return false; } if (hasMethod() != other.hasMethod()) return false; if (hasMethod()) { if (method_ != other.method_) return false; } if (hasRetryCount() != other.hasRetryCount()) return false; if (hasRetryCount()) { if (getRetryCount() != other.getRetryCount()) return false; } if (!getHeaderList() .equals(other.getHeaderList())) return false; if (hasBodySize() != other.hasBodySize()) return false; if (hasBodySize()) { if (getBodySize() != other.getBodySize()) return false; } if (hasBody() != other.hasBody()) return false; if (hasBody()) { if (!getBody() .equals(other.getBody())) return false; } if (hasCreationTimeUsec() != other.hasCreationTimeUsec()) return false; if (hasCreationTimeUsec()) { if (getCreationTimeUsec() != other.getCreationTimeUsec()) return false; } if (hasCronTimetable() != other.hasCronTimetable()) return false; if (hasCronTimetable()) { if (!getCronTimetable() .equals(other.getCronTimetable())) return false; } if (hasRunLog() != other.hasRunLog()) return false; if (hasRunLog()) { if (!getRunLog() .equals(other.getRunLog())) return false; } if (hasDescription() != other.hasDescription()) return false; if (hasDescription()) { if (!getDescription() .equals(other.getDescription())) return false; } if (hasPayload() != other.hasPayload()) return false; if (hasPayload()) { if (!getPayload() .equals(other.getPayload())) return false; } if (hasRetryParameters() != other.hasRetryParameters()) return false; if (hasRetryParameters()) { if (!getRetryParameters() .equals(other.getRetryParameters())) return false; } if (hasFirstTryUsec() != other.hasFirstTryUsec()) return false; if (hasFirstTryUsec()) { if (getFirstTryUsec() != other.getFirstTryUsec()) return false; } if (hasTag() != other.hasTag()) return false; if (hasTag()) { if (!getTag() .equals(other.getTag())) return false; } if (hasExecutionCount() != other.hasExecutionCount()) return false; if (hasExecutionCount()) { if (getExecutionCount() != other.getExecutionCount()) return false; } if (hasDispatchDeadlineUsec() != other.hasDispatchDeadlineUsec()) return false; if (hasDispatchDeadlineUsec()) { if (getDispatchDeadlineUsec() != other.getDispatchDeadlineUsec()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTaskName()) { hash = (37 * hash) + TASK_NAME_FIELD_NUMBER; hash = (53 * hash) + getTaskName().hashCode(); } if (hasEtaUsec()) { hash = (37 * hash) + ETA_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEtaUsec()); } if (hasUrl()) { hash = (37 * hash) + URL_FIELD_NUMBER; hash = (53 * hash) + getUrl().hashCode(); } if (hasMethod()) { hash = (37 * hash) + METHOD_FIELD_NUMBER; hash = (53 * hash) + method_; } if (hasRetryCount()) { hash = (37 * hash) + RETRY_COUNT_FIELD_NUMBER; hash = (53 * hash) + getRetryCount(); } if (getHeaderCount() > 0) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeaderList().hashCode(); } if (hasBodySize()) { hash = (37 * hash) + BODY_SIZE_FIELD_NUMBER; hash = (53 * hash) + getBodySize(); } if (hasBody()) { hash = (37 * hash) + BODY_FIELD_NUMBER; hash = (53 * hash) + getBody().hashCode(); } if (hasCreationTimeUsec()) { hash = (37 * hash) + CREATION_TIME_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCreationTimeUsec()); } if (hasCronTimetable()) { hash = (37 * hash) + CRONTIMETABLE_FIELD_NUMBER; hash = (53 * hash) + getCronTimetable().hashCode(); } if (hasRunLog()) { hash = (37 * hash) + RUNLOG_FIELD_NUMBER; hash = (53 * hash) + getRunLog().hashCode(); } if (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); } if (hasPayload()) { hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getPayload().hashCode(); } if (hasRetryParameters()) { hash = (37 * hash) + RETRY_PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getRetryParameters().hashCode(); } if (hasFirstTryUsec()) { hash = (37 * hash) + FIRST_TRY_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFirstTryUsec()); } if (hasTag()) { hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag().hashCode(); } if (hasExecutionCount()) { hash = (37 * hash) + EXECUTION_COUNT_FIELD_NUMBER; hash = (53 * hash) + getExecutionCount(); } if (hasDispatchDeadlineUsec()) { hash = (37 * hash) + DISPATCH_DEADLINE_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDispatchDeadlineUsec()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueQueryTasksResponse.Task} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueQueryTasksResponse.Task) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.TaskOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getHeaderFieldBuilder(); getCronTimetableFieldBuilder(); getRunLogFieldBuilder(); getPayloadFieldBuilder(); getRetryParametersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; taskName_ = com.google.protobuf.ByteString.EMPTY; etaUsec_ = 0L; url_ = com.google.protobuf.ByteString.EMPTY; method_ = 1; retryCount_ = 0; if (headerBuilder_ == null) { header_ = java.util.Collections.emptyList(); } else { header_ = null; headerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); bodySize_ = 0; body_ = com.google.protobuf.ByteString.EMPTY; creationTimeUsec_ = 0L; cronTimetable_ = null; if (cronTimetableBuilder_ != null) { cronTimetableBuilder_.dispose(); cronTimetableBuilder_ = null; } runLog_ = null; if (runLogBuilder_ != null) { runLogBuilder_.dispose(); runLogBuilder_ = null; } description_ = com.google.protobuf.ByteString.EMPTY; payload_ = null; if (payloadBuilder_ != null) { payloadBuilder_.dispose(); payloadBuilder_ = null; } retryParameters_ = null; if (retryParametersBuilder_ != null) { retryParametersBuilder_.dispose(); retryParametersBuilder_ = null; } firstTryUsec_ = 0L; tag_ = com.google.protobuf.ByteString.EMPTY; executionCount_ = 0; dispatchDeadlineUsec_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task result) { if (headerBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { header_ = java.util.Collections.unmodifiableList(header_); bitField0_ = (bitField0_ & ~0x00000020); } result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.taskName_ = taskName_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.etaUsec_ = etaUsec_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.url_ = url_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.method_ = method_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.retryCount_ = retryCount_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { result.bodySize_ = bodySize_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { result.body_ = body_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000100) != 0)) { result.creationTimeUsec_ = creationTimeUsec_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000200) != 0)) { result.cronTimetable_ = cronTimetableBuilder_ == null ? cronTimetable_ : cronTimetableBuilder_.build(); to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000400) != 0)) { result.runLog_ = runLogBuilder_ == null ? runLog_ : runLogBuilder_.build(); to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000800) != 0)) { result.description_ = description_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00001000) != 0)) { result.payload_ = payloadBuilder_ == null ? payload_ : payloadBuilder_.build(); to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00002000) != 0)) { result.retryParameters_ = retryParametersBuilder_ == null ? retryParameters_ : retryParametersBuilder_.build(); to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00004000) != 0)) { result.firstTryUsec_ = firstTryUsec_; to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00008000) != 0)) { result.tag_ = tag_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00010000) != 0)) { result.executionCount_ = executionCount_; to_bitField0_ |= 0x00008000; } if (((from_bitField0_ & 0x00020000) != 0)) { result.dispatchDeadlineUsec_ = dispatchDeadlineUsec_; to_bitField0_ |= 0x00010000; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.getDefaultInstance()) return this; if (other.hasTaskName()) { setTaskName(other.getTaskName()); } if (other.hasEtaUsec()) { setEtaUsec(other.getEtaUsec()); } if (other.hasUrl()) { setUrl(other.getUrl()); } if (other.hasMethod()) { setMethod(other.getMethod()); } if (other.hasRetryCount()) { setRetryCount(other.getRetryCount()); } if (headerBuilder_ == null) { if (!other.header_.isEmpty()) { if (header_.isEmpty()) { header_ = other.header_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureHeaderIsMutable(); header_.addAll(other.header_); } onChanged(); } } else { if (!other.header_.isEmpty()) { if (headerBuilder_.isEmpty()) { headerBuilder_.dispose(); headerBuilder_ = null; header_ = other.header_; bitField0_ = (bitField0_ & ~0x00000020); headerBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getHeaderFieldBuilder() : null; } else { headerBuilder_.addAllMessages(other.header_); } } } if (other.hasBodySize()) { setBodySize(other.getBodySize()); } if (other.hasBody()) { setBody(other.getBody()); } if (other.hasCreationTimeUsec()) { setCreationTimeUsec(other.getCreationTimeUsec()); } if (other.hasCronTimetable()) { mergeCronTimetable(other.getCronTimetable()); } if (other.hasRunLog()) { mergeRunLog(other.getRunLog()); } if (other.hasDescription()) { setDescription(other.getDescription()); } if (other.hasPayload()) { mergePayload(other.getPayload()); } if (other.hasRetryParameters()) { mergeRetryParameters(other.getRetryParameters()); } if (other.hasFirstTryUsec()) { setFirstTryUsec(other.getFirstTryUsec()); } if (other.hasTag()) { setTag(other.getTag()); } if (other.hasExecutionCount()) { setExecutionCount(other.getExecutionCount()); } if (other.hasDispatchDeadlineUsec()) { setDispatchDeadlineUsec(other.getDispatchDeadlineUsec()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasTaskName()) { return false; } if (!hasEtaUsec()) { return false; } if (!hasCreationTimeUsec()) { return false; } for (int i = 0; i < getHeaderCount(); i++) { if (!getHeader(i).isInitialized()) { return false; } } if (hasCronTimetable()) { if (!getCronTimetable().isInitialized()) { return false; } } if (hasRunLog()) { if (!getRunLog().isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 18: { taskName_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 18 case 24: { etaUsec_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 24 case 34: { url_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 34 case 40: { int tmpRaw = input.readEnum(); com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RequestMethod tmpValue = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RequestMethod.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(5, tmpRaw); } else { method_ = tmpRaw; bitField0_ |= 0x00000008; } break; } // case 40 case 48: { retryCount_ = input.readInt32(); bitField0_ |= 0x00000010; break; } // case 48 case 59: { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header m = input.readGroup(7, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.PARSER, extensionRegistry); if (headerBuilder_ == null) { ensureHeaderIsMutable(); header_.add(m); } else { headerBuilder_.addMessage(m); } break; } // case 59 case 80: { bodySize_ = input.readInt32(); bitField0_ |= 0x00000040; break; } // case 80 case 90: { body_ = input.readBytes(); bitField0_ |= 0x00000080; break; } // case 90 case 96: { creationTimeUsec_ = input.readInt64(); bitField0_ |= 0x00000100; break; } // case 96 case 107: { input.readGroup(13, getCronTimetableFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 107 case 131: { input.readGroup(16, getRunLogFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 131 case 170: { description_ = input.readBytes(); bitField0_ |= 0x00000800; break; } // case 170 case 178: { input.readMessage( getPayloadFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00001000; break; } // case 178 case 186: { input.readMessage( getRetryParametersFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00002000; break; } // case 186 case 192: { firstTryUsec_ = input.readInt64(); bitField0_ |= 0x00004000; break; } // case 192 case 202: { tag_ = input.readBytes(); bitField0_ |= 0x00008000; break; } // case 202 case 208: { executionCount_ = input.readInt32(); bitField0_ |= 0x00010000; break; } // case 208 case 224: { dispatchDeadlineUsec_ = input.readInt64(); bitField0_ |= 0x00020000; break; } // case 224 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString taskName_ = com.google.protobuf.ByteString.EMPTY; /** *
         * The task name - might be an autogenerated one.
         * 
* * required bytes task_name = 2; * @return Whether the taskName field is set. */ @java.lang.Override public boolean hasTaskName() { return ((bitField0_ & 0x00000001) != 0); } /** *
         * The task name - might be an autogenerated one.
         * 
* * required bytes task_name = 2; * @return The taskName. */ @java.lang.Override public com.google.protobuf.ByteString getTaskName() { return taskName_; } /** *
         * The task name - might be an autogenerated one.
         * 
* * required bytes task_name = 2; * @param value The taskName to set. * @return This builder for chaining. */ public Builder setTaskName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } taskName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
         * The task name - might be an autogenerated one.
         * 
* * required bytes task_name = 2; * @return This builder for chaining. */ public Builder clearTaskName() { bitField0_ = (bitField0_ & ~0x00000001); taskName_ = getDefaultInstance().getTaskName(); onChanged(); return this; } private long etaUsec_ ; /** *
         * Time task will be executed, in microseconds since the unix epoch.
         * 
* * required int64 eta_usec = 3; * @return Whether the etaUsec field is set. */ @java.lang.Override public boolean hasEtaUsec() { return ((bitField0_ & 0x00000002) != 0); } /** *
         * Time task will be executed, in microseconds since the unix epoch.
         * 
* * required int64 eta_usec = 3; * @return The etaUsec. */ @java.lang.Override public long getEtaUsec() { return etaUsec_; } /** *
         * Time task will be executed, in microseconds since the unix epoch.
         * 
* * required int64 eta_usec = 3; * @param value The etaUsec to set. * @return This builder for chaining. */ public Builder setEtaUsec(long value) { etaUsec_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
         * Time task will be executed, in microseconds since the unix epoch.
         * 
* * required int64 eta_usec = 3; * @return This builder for chaining. */ public Builder clearEtaUsec() { bitField0_ = (bitField0_ & ~0x00000002); etaUsec_ = 0L; onChanged(); return this; } private com.google.protobuf.ByteString url_ = com.google.protobuf.ByteString.EMPTY; /** *
         * The URL.
         * 
* * optional bytes url = 4; * @return Whether the url field is set. */ @java.lang.Override public boolean hasUrl() { return ((bitField0_ & 0x00000004) != 0); } /** *
         * The URL.
         * 
* * optional bytes url = 4; * @return The url. */ @java.lang.Override public com.google.protobuf.ByteString getUrl() { return url_; } /** *
         * The URL.
         * 
* * optional bytes url = 4; * @param value The url to set. * @return This builder for chaining. */ public Builder setUrl(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } url_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
         * The URL.
         * 
* * optional bytes url = 4; * @return This builder for chaining. */ public Builder clearUrl() { bitField0_ = (bitField0_ & ~0x00000004); url_ = getDefaultInstance().getUrl(); onChanged(); return this; } private int method_ = 1; /** * optional .java.apphosting.TaskQueueQueryTasksResponse.Task.RequestMethod method = 5; * @return Whether the method field is set. */ @java.lang.Override public boolean hasMethod() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .java.apphosting.TaskQueueQueryTasksResponse.Task.RequestMethod method = 5; * @return The method. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RequestMethod getMethod() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RequestMethod result = com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RequestMethod.forNumber(method_); return result == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RequestMethod.GET : result; } /** * optional .java.apphosting.TaskQueueQueryTasksResponse.Task.RequestMethod method = 5; * @param value The method to set. * @return This builder for chaining. */ public Builder setMethod(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RequestMethod value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; method_ = value.getNumber(); onChanged(); return this; } /** * optional .java.apphosting.TaskQueueQueryTasksResponse.Task.RequestMethod method = 5; * @return This builder for chaining. */ public Builder clearMethod() { bitField0_ = (bitField0_ & ~0x00000008); method_ = 1; onChanged(); return this; } private int retryCount_ ; /** *
         * The number of times this task has been retried.
         * 
* * optional int32 retry_count = 6; * @return Whether the retryCount field is set. */ @java.lang.Override public boolean hasRetryCount() { return ((bitField0_ & 0x00000010) != 0); } /** *
         * The number of times this task has been retried.
         * 
* * optional int32 retry_count = 6; * @return The retryCount. */ @java.lang.Override public int getRetryCount() { return retryCount_; } /** *
         * The number of times this task has been retried.
         * 
* * optional int32 retry_count = 6; * @param value The retryCount to set. * @return This builder for chaining. */ public Builder setRetryCount(int value) { retryCount_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
         * The number of times this task has been retried.
         * 
* * optional int32 retry_count = 6; * @return This builder for chaining. */ public Builder clearRetryCount() { bitField0_ = (bitField0_ & ~0x00000010); retryCount_ = 0; onChanged(); return this; } private java.util.List header_ = java.util.Collections.emptyList(); private void ensureHeaderIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { header_ = new java.util.ArrayList(header_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.HeaderOrBuilder> headerBuilder_; /** * repeated group Header = 7 { ... } */ public java.util.List getHeaderList() { if (headerBuilder_ == null) { return java.util.Collections.unmodifiableList(header_); } else { return headerBuilder_.getMessageList(); } } /** * repeated group Header = 7 { ... } */ public int getHeaderCount() { if (headerBuilder_ == null) { return header_.size(); } else { return headerBuilder_.getCount(); } } /** * repeated group Header = 7 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header getHeader(int index) { if (headerBuilder_ == null) { return header_.get(index); } else { return headerBuilder_.getMessage(index); } } /** * repeated group Header = 7 { ... } */ public Builder setHeader( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHeaderIsMutable(); header_.set(index, value); onChanged(); } else { headerBuilder_.setMessage(index, value); } return this; } /** * repeated group Header = 7 { ... } */ public Builder setHeader( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.Builder builderForValue) { if (headerBuilder_ == null) { ensureHeaderIsMutable(); header_.set(index, builderForValue.build()); onChanged(); } else { headerBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated group Header = 7 { ... } */ public Builder addHeader(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHeaderIsMutable(); header_.add(value); onChanged(); } else { headerBuilder_.addMessage(value); } return this; } /** * repeated group Header = 7 { ... } */ public Builder addHeader( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHeaderIsMutable(); header_.add(index, value); onChanged(); } else { headerBuilder_.addMessage(index, value); } return this; } /** * repeated group Header = 7 { ... } */ public Builder addHeader( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.Builder builderForValue) { if (headerBuilder_ == null) { ensureHeaderIsMutable(); header_.add(builderForValue.build()); onChanged(); } else { headerBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated group Header = 7 { ... } */ public Builder addHeader( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.Builder builderForValue) { if (headerBuilder_ == null) { ensureHeaderIsMutable(); header_.add(index, builderForValue.build()); onChanged(); } else { headerBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated group Header = 7 { ... } */ public Builder addAllHeader( java.lang.Iterable values) { if (headerBuilder_ == null) { ensureHeaderIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, header_); onChanged(); } else { headerBuilder_.addAllMessages(values); } return this; } /** * repeated group Header = 7 { ... } */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { headerBuilder_.clear(); } return this; } /** * repeated group Header = 7 { ... } */ public Builder removeHeader(int index) { if (headerBuilder_ == null) { ensureHeaderIsMutable(); header_.remove(index); onChanged(); } else { headerBuilder_.remove(index); } return this; } /** * repeated group Header = 7 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.Builder getHeaderBuilder( int index) { return getHeaderFieldBuilder().getBuilder(index); } /** * repeated group Header = 7 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.HeaderOrBuilder getHeaderOrBuilder( int index) { if (headerBuilder_ == null) { return header_.get(index); } else { return headerBuilder_.getMessageOrBuilder(index); } } /** * repeated group Header = 7 { ... } */ public java.util.List getHeaderOrBuilderList() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(header_); } } /** * repeated group Header = 7 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.Builder addHeaderBuilder() { return getHeaderFieldBuilder().addBuilder( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.getDefaultInstance()); } /** * repeated group Header = 7 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.Builder addHeaderBuilder( int index) { return getHeaderFieldBuilder().addBuilder( index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.getDefaultInstance()); } /** * repeated group Header = 7 { ... } */ public java.util.List getHeaderBuilderList() { return getHeaderFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.HeaderOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Header.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.HeaderOrBuilder>( header_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } private int bodySize_ ; /** *
         * Number of bytes in the body. Only for POST and PUT.
         * 
* * optional int32 body_size = 10; * @return Whether the bodySize field is set. */ @java.lang.Override public boolean hasBodySize() { return ((bitField0_ & 0x00000040) != 0); } /** *
         * Number of bytes in the body. Only for POST and PUT.
         * 
* * optional int32 body_size = 10; * @return The bodySize. */ @java.lang.Override public int getBodySize() { return bodySize_; } /** *
         * Number of bytes in the body. Only for POST and PUT.
         * 
* * optional int32 body_size = 10; * @param value The bodySize to set. * @return This builder for chaining. */ public Builder setBodySize(int value) { bodySize_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
         * Number of bytes in the body. Only for POST and PUT.
         * 
* * optional int32 body_size = 10; * @return This builder for chaining. */ public Builder clearBodySize() { bitField0_ = (bitField0_ & ~0x00000040); bodySize_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY; /** *
         * Body of the HTTP request (may contain binary data). Only for POST or PUT.
         * 
* * optional bytes body = 11 [ctype = CORD]; * @return Whether the body field is set. */ @java.lang.Override public boolean hasBody() { return ((bitField0_ & 0x00000080) != 0); } /** *
         * Body of the HTTP request (may contain binary data). Only for POST or PUT.
         * 
* * optional bytes body = 11 [ctype = CORD]; * @return The body. */ @java.lang.Override public com.google.protobuf.ByteString getBody() { return body_; } /** *
         * Body of the HTTP request (may contain binary data). Only for POST or PUT.
         * 
* * optional bytes body = 11 [ctype = CORD]; * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } body_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
         * Body of the HTTP request (may contain binary data). Only for POST or PUT.
         * 
* * optional bytes body = 11 [ctype = CORD]; * @return This builder for chaining. */ public Builder clearBody() { bitField0_ = (bitField0_ & ~0x00000080); body_ = getDefaultInstance().getBody(); onChanged(); return this; } private long creationTimeUsec_ ; /** *
         * Time task was created, in microseconds since the unix epoch.
         * Currently this just has seconds resolution.
         * 
* * required int64 creation_time_usec = 12; * @return Whether the creationTimeUsec field is set. */ @java.lang.Override public boolean hasCreationTimeUsec() { return ((bitField0_ & 0x00000100) != 0); } /** *
         * Time task was created, in microseconds since the unix epoch.
         * Currently this just has seconds resolution.
         * 
* * required int64 creation_time_usec = 12; * @return The creationTimeUsec. */ @java.lang.Override public long getCreationTimeUsec() { return creationTimeUsec_; } /** *
         * Time task was created, in microseconds since the unix epoch.
         * Currently this just has seconds resolution.
         * 
* * required int64 creation_time_usec = 12; * @param value The creationTimeUsec to set. * @return This builder for chaining. */ public Builder setCreationTimeUsec(long value) { creationTimeUsec_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
         * Time task was created, in microseconds since the unix epoch.
         * Currently this just has seconds resolution.
         * 
* * required int64 creation_time_usec = 12; * @return This builder for chaining. */ public Builder clearCreationTimeUsec() { bitField0_ = (bitField0_ & ~0x00000100); creationTimeUsec_ = 0L; onChanged(); return this; } private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable cronTimetable_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetableOrBuilder> cronTimetableBuilder_; /** * optional group CronTimetable = 13 { ... } * @return Whether the crontimetable field is set. */ public boolean hasCronTimetable() { return ((bitField0_ & 0x00000200) != 0); } /** * optional group CronTimetable = 13 { ... } * @return The crontimetable. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable getCronTimetable() { if (cronTimetableBuilder_ == null) { return cronTimetable_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.getDefaultInstance() : cronTimetable_; } else { return cronTimetableBuilder_.getMessage(); } } /** * optional group CronTimetable = 13 { ... } */ public Builder setCronTimetable(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable value) { if (cronTimetableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cronTimetable_ = value; } else { cronTimetableBuilder_.setMessage(value); } bitField0_ |= 0x00000200; onChanged(); return this; } /** * optional group CronTimetable = 13 { ... } */ public Builder setCronTimetable( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.Builder builderForValue) { if (cronTimetableBuilder_ == null) { cronTimetable_ = builderForValue.build(); } else { cronTimetableBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; onChanged(); return this; } /** * optional group CronTimetable = 13 { ... } */ public Builder mergeCronTimetable(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable value) { if (cronTimetableBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && cronTimetable_ != null && cronTimetable_ != com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.getDefaultInstance()) { getCronTimetableBuilder().mergeFrom(value); } else { cronTimetable_ = value; } } else { cronTimetableBuilder_.mergeFrom(value); } bitField0_ |= 0x00000200; onChanged(); return this; } /** * optional group CronTimetable = 13 { ... } */ public Builder clearCronTimetable() { bitField0_ = (bitField0_ & ~0x00000200); cronTimetable_ = null; if (cronTimetableBuilder_ != null) { cronTimetableBuilder_.dispose(); cronTimetableBuilder_ = null; } onChanged(); return this; } /** * optional group CronTimetable = 13 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.Builder getCronTimetableBuilder() { bitField0_ |= 0x00000200; onChanged(); return getCronTimetableFieldBuilder().getBuilder(); } /** * optional group CronTimetable = 13 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetableOrBuilder getCronTimetableOrBuilder() { if (cronTimetableBuilder_ != null) { return cronTimetableBuilder_.getMessageOrBuilder(); } else { return cronTimetable_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.getDefaultInstance() : cronTimetable_; } } /** * optional group CronTimetable = 13 { ... } */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetableOrBuilder> getCronTimetableFieldBuilder() { if (cronTimetableBuilder_ == null) { cronTimetableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetable.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.CronTimetableOrBuilder>( getCronTimetable(), getParentForChildren(), isClean()); cronTimetable_ = null; } return cronTimetableBuilder_; } private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog runLog_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLogOrBuilder> runLogBuilder_; /** * optional group RunLog = 16 { ... } * @return Whether the runlog field is set. */ public boolean hasRunLog() { return ((bitField0_ & 0x00000400) != 0); } /** * optional group RunLog = 16 { ... } * @return The runlog. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog getRunLog() { if (runLogBuilder_ == null) { return runLog_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.getDefaultInstance() : runLog_; } else { return runLogBuilder_.getMessage(); } } /** * optional group RunLog = 16 { ... } */ public Builder setRunLog(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog value) { if (runLogBuilder_ == null) { if (value == null) { throw new NullPointerException(); } runLog_ = value; } else { runLogBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * optional group RunLog = 16 { ... } */ public Builder setRunLog( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.Builder builderForValue) { if (runLogBuilder_ == null) { runLog_ = builderForValue.build(); } else { runLogBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * optional group RunLog = 16 { ... } */ public Builder mergeRunLog(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog value) { if (runLogBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && runLog_ != null && runLog_ != com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.getDefaultInstance()) { getRunLogBuilder().mergeFrom(value); } else { runLog_ = value; } } else { runLogBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * optional group RunLog = 16 { ... } */ public Builder clearRunLog() { bitField0_ = (bitField0_ & ~0x00000400); runLog_ = null; if (runLogBuilder_ != null) { runLogBuilder_.dispose(); runLogBuilder_ = null; } onChanged(); return this; } /** * optional group RunLog = 16 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.Builder getRunLogBuilder() { bitField0_ |= 0x00000400; onChanged(); return getRunLogFieldBuilder().getBuilder(); } /** * optional group RunLog = 16 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLogOrBuilder getRunLogOrBuilder() { if (runLogBuilder_ != null) { return runLogBuilder_.getMessageOrBuilder(); } else { return runLog_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.getDefaultInstance() : runLog_; } } /** * optional group RunLog = 16 { ... } */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLogOrBuilder> getRunLogFieldBuilder() { if (runLogBuilder_ == null) { runLogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLog.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.RunLogOrBuilder>( getRunLog(), getParentForChildren(), isClean()); runLog_ = null; } return runLogBuilder_; } private com.google.protobuf.ByteString description_ = com.google.protobuf.ByteString.EMPTY; /** *
         * Human readable description of the task.
         * 
* * optional bytes description = 21; * @return Whether the description field is set. */ @java.lang.Override public boolean hasDescription() { return ((bitField0_ & 0x00000800) != 0); } /** *
         * Human readable description of the task.
         * 
* * optional bytes description = 21; * @return The description. */ @java.lang.Override public com.google.protobuf.ByteString getDescription() { return description_; } /** *
         * Human readable description of the task.
         * 
* * optional bytes description = 21; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
         * Human readable description of the task.
         * 
* * optional bytes description = 21; * @return This builder for chaining. */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000800); description_ = getDefaultInstance().getDescription(); onChanged(); return this; } private com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload payload_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload, com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayloadOrBuilder> payloadBuilder_; /** * optional .java.apphosting.TaskPayload payload = 22; * @return Whether the payload field is set. */ public boolean hasPayload() { return ((bitField0_ & 0x00001000) != 0); } /** * optional .java.apphosting.TaskPayload payload = 22; * @return The payload. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload getPayload() { if (payloadBuilder_ == null) { return payload_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.getDefaultInstance() : payload_; } else { return payloadBuilder_.getMessage(); } } /** * optional .java.apphosting.TaskPayload payload = 22; */ public Builder setPayload(com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload value) { if (payloadBuilder_ == null) { if (value == null) { throw new NullPointerException(); } payload_ = value; } else { payloadBuilder_.setMessage(value); } bitField0_ |= 0x00001000; onChanged(); return this; } /** * optional .java.apphosting.TaskPayload payload = 22; */ public Builder setPayload( com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.Builder builderForValue) { if (payloadBuilder_ == null) { payload_ = builderForValue.build(); } else { payloadBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00001000; onChanged(); return this; } /** * optional .java.apphosting.TaskPayload payload = 22; */ public Builder mergePayload(com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload value) { if (payloadBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0) && payload_ != null && payload_ != com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.getDefaultInstance()) { getPayloadBuilder().mergeFrom(value); } else { payload_ = value; } } else { payloadBuilder_.mergeFrom(value); } bitField0_ |= 0x00001000; onChanged(); return this; } /** * optional .java.apphosting.TaskPayload payload = 22; */ public Builder clearPayload() { bitField0_ = (bitField0_ & ~0x00001000); payload_ = null; if (payloadBuilder_ != null) { payloadBuilder_.dispose(); payloadBuilder_ = null; } onChanged(); return this; } /** * optional .java.apphosting.TaskPayload payload = 22; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.Builder getPayloadBuilder() { bitField0_ |= 0x00001000; onChanged(); return getPayloadFieldBuilder().getBuilder(); } /** * optional .java.apphosting.TaskPayload payload = 22; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayloadOrBuilder getPayloadOrBuilder() { if (payloadBuilder_ != null) { return payloadBuilder_.getMessageOrBuilder(); } else { return payload_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.getDefaultInstance() : payload_; } } /** * optional .java.apphosting.TaskPayload payload = 22; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload, com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayloadOrBuilder> getPayloadFieldBuilder() { if (payloadBuilder_ == null) { payloadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload, com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayload.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskPayloadOrBuilder>( getPayload(), getParentForChildren(), isClean()); payload_ = null; } return payloadBuilder_; } private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters retryParameters_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder> retryParametersBuilder_; /** *
         * Retry parameters for this task.
         * For cron tasks, this corresponds to
         * TaskDefinition.cron_retry_parameters. For other task type this
         * corresponds to TaskDefinition.retry_parameters.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; * @return Whether the retryParameters field is set. */ public boolean hasRetryParameters() { return ((bitField0_ & 0x00002000) != 0); } /** *
         * Retry parameters for this task.
         * For cron tasks, this corresponds to
         * TaskDefinition.cron_retry_parameters. For other task type this
         * corresponds to TaskDefinition.retry_parameters.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; * @return The retryParameters. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters getRetryParameters() { if (retryParametersBuilder_ == null) { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } else { return retryParametersBuilder_.getMessage(); } } /** *
         * Retry parameters for this task.
         * For cron tasks, this corresponds to
         * TaskDefinition.cron_retry_parameters. For other task type this
         * corresponds to TaskDefinition.retry_parameters.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; */ public Builder setRetryParameters(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters value) { if (retryParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } retryParameters_ = value; } else { retryParametersBuilder_.setMessage(value); } bitField0_ |= 0x00002000; onChanged(); return this; } /** *
         * Retry parameters for this task.
         * For cron tasks, this corresponds to
         * TaskDefinition.cron_retry_parameters. For other task type this
         * corresponds to TaskDefinition.retry_parameters.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; */ public Builder setRetryParameters( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder builderForValue) { if (retryParametersBuilder_ == null) { retryParameters_ = builderForValue.build(); } else { retryParametersBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00002000; onChanged(); return this; } /** *
         * Retry parameters for this task.
         * For cron tasks, this corresponds to
         * TaskDefinition.cron_retry_parameters. For other task type this
         * corresponds to TaskDefinition.retry_parameters.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; */ public Builder mergeRetryParameters(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters value) { if (retryParametersBuilder_ == null) { if (((bitField0_ & 0x00002000) != 0) && retryParameters_ != null && retryParameters_ != com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance()) { getRetryParametersBuilder().mergeFrom(value); } else { retryParameters_ = value; } } else { retryParametersBuilder_.mergeFrom(value); } bitField0_ |= 0x00002000; onChanged(); return this; } /** *
         * Retry parameters for this task.
         * For cron tasks, this corresponds to
         * TaskDefinition.cron_retry_parameters. For other task type this
         * corresponds to TaskDefinition.retry_parameters.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; */ public Builder clearRetryParameters() { bitField0_ = (bitField0_ & ~0x00002000); retryParameters_ = null; if (retryParametersBuilder_ != null) { retryParametersBuilder_.dispose(); retryParametersBuilder_ = null; } onChanged(); return this; } /** *
         * Retry parameters for this task.
         * For cron tasks, this corresponds to
         * TaskDefinition.cron_retry_parameters. For other task type this
         * corresponds to TaskDefinition.retry_parameters.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder getRetryParametersBuilder() { bitField0_ |= 0x00002000; onChanged(); return getRetryParametersFieldBuilder().getBuilder(); } /** *
         * Retry parameters for this task.
         * For cron tasks, this corresponds to
         * TaskDefinition.cron_retry_parameters. For other task type this
         * corresponds to TaskDefinition.retry_parameters.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder getRetryParametersOrBuilder() { if (retryParametersBuilder_ != null) { return retryParametersBuilder_.getMessageOrBuilder(); } else { return retryParameters_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.getDefaultInstance() : retryParameters_; } } /** *
         * Retry parameters for this task.
         * For cron tasks, this corresponds to
         * TaskDefinition.cron_retry_parameters. For other task type this
         * corresponds to TaskDefinition.retry_parameters.
         * 
* * optional .java.apphosting.TaskQueueRetryParameters retry_parameters = 23; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder> getRetryParametersFieldBuilder() { if (retryParametersBuilder_ == null) { retryParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParameters.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueRetryParametersOrBuilder>( getRetryParameters(), getParentForChildren(), isClean()); retryParameters_ = null; } return retryParametersBuilder_; } private long firstTryUsec_ ; /** *
         * Time at which the task was first tried
         * 
* * optional int64 first_try_usec = 24; * @return Whether the firstTryUsec field is set. */ @java.lang.Override public boolean hasFirstTryUsec() { return ((bitField0_ & 0x00004000) != 0); } /** *
         * Time at which the task was first tried
         * 
* * optional int64 first_try_usec = 24; * @return The firstTryUsec. */ @java.lang.Override public long getFirstTryUsec() { return firstTryUsec_; } /** *
         * Time at which the task was first tried
         * 
* * optional int64 first_try_usec = 24; * @param value The firstTryUsec to set. * @return This builder for chaining. */ public Builder setFirstTryUsec(long value) { firstTryUsec_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** *
         * Time at which the task was first tried
         * 
* * optional int64 first_try_usec = 24; * @return This builder for chaining. */ public Builder clearFirstTryUsec() { bitField0_ = (bitField0_ & ~0x00004000); firstTryUsec_ = 0L; onChanged(); return this; } private com.google.protobuf.ByteString tag_ = com.google.protobuf.ByteString.EMPTY; /** *
         * Tag associated with this task. This is used as for grouping tasks in a
         * queue.
         * 
* * optional bytes tag = 25; * @return Whether the tag field is set. */ @java.lang.Override public boolean hasTag() { return ((bitField0_ & 0x00008000) != 0); } /** *
         * Tag associated with this task. This is used as for grouping tasks in a
         * queue.
         * 
* * optional bytes tag = 25; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } /** *
         * Tag associated with this task. This is used as for grouping tasks in a
         * queue.
         * 
* * optional bytes tag = 25; * @param value The tag to set. * @return This builder for chaining. */ public Builder setTag(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } tag_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** *
         * Tag associated with this task. This is used as for grouping tasks in a
         * queue.
         * 
* * optional bytes tag = 25; * @return This builder for chaining. */ public Builder clearTag() { bitField0_ = (bitField0_ & ~0x00008000); tag_ = getDefaultInstance().getTag(); onChanged(); return this; } private int executionCount_ ; /** *
         * The number of times this task has been executed. Every time a task
         * is handled by an instance, this count is increased by 1.
         * 
* * optional int32 execution_count = 26; * @return Whether the executionCount field is set. */ @java.lang.Override public boolean hasExecutionCount() { return ((bitField0_ & 0x00010000) != 0); } /** *
         * The number of times this task has been executed. Every time a task
         * is handled by an instance, this count is increased by 1.
         * 
* * optional int32 execution_count = 26; * @return The executionCount. */ @java.lang.Override public int getExecutionCount() { return executionCount_; } /** *
         * The number of times this task has been executed. Every time a task
         * is handled by an instance, this count is increased by 1.
         * 
* * optional int32 execution_count = 26; * @param value The executionCount to set. * @return This builder for chaining. */ public Builder setExecutionCount(int value) { executionCount_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** *
         * The number of times this task has been executed. Every time a task
         * is handled by an instance, this count is increased by 1.
         * 
* * optional int32 execution_count = 26; * @return This builder for chaining. */ public Builder clearExecutionCount() { bitField0_ = (bitField0_ & ~0x00010000); executionCount_ = 0; onChanged(); return this; } private long dispatchDeadlineUsec_ ; /** *
         * The deadline for requests sent to the worker.
         * 
* * optional int64 dispatch_deadline_usec = 28; * @return Whether the dispatchDeadlineUsec field is set. */ @java.lang.Override public boolean hasDispatchDeadlineUsec() { return ((bitField0_ & 0x00020000) != 0); } /** *
         * The deadline for requests sent to the worker.
         * 
* * optional int64 dispatch_deadline_usec = 28; * @return The dispatchDeadlineUsec. */ @java.lang.Override public long getDispatchDeadlineUsec() { return dispatchDeadlineUsec_; } /** *
         * The deadline for requests sent to the worker.
         * 
* * optional int64 dispatch_deadline_usec = 28; * @param value The dispatchDeadlineUsec to set. * @return This builder for chaining. */ public Builder setDispatchDeadlineUsec(long value) { dispatchDeadlineUsec_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** *
         * The deadline for requests sent to the worker.
         * 
* * optional int64 dispatch_deadline_usec = 28; * @return This builder for chaining. */ public Builder clearDispatchDeadlineUsec() { bitField0_ = (bitField0_ & ~0x00020000); dispatchDeadlineUsec_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueQueryTasksResponse.Task) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueQueryTasksResponse.Task) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Task parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int TASK_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List task_; /** * repeated group Task = 1 { ... } */ @java.lang.Override public java.util.List getTaskList() { return task_; } /** * repeated group Task = 1 { ... } */ @java.lang.Override public java.util.List getTaskOrBuilderList() { return task_; } /** * repeated group Task = 1 { ... } */ @java.lang.Override public int getTaskCount() { return task_.size(); } /** * repeated group Task = 1 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task getTask(int index) { return task_.get(index); } /** * repeated group Task = 1 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.TaskOrBuilder getTaskOrBuilder( int index) { return task_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getTaskCount(); i++) { if (!getTask(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < task_.size(); i++) { output.writeGroup(1, task_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < task_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(1, task_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse) obj; if (!getTaskList() .equals(other.getTaskList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTaskCount() > 0) { hash = (37 * hash) + TASK_FIELD_NUMBER; hash = (53 * hash) + getTaskList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueQueryTasksResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueQueryTasksResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (taskBuilder_ == null) { task_ = java.util.Collections.emptyList(); } else { task_ = null; taskBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryTasksResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse result) { if (taskBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { task_ = java.util.Collections.unmodifiableList(task_); bitField0_ = (bitField0_ & ~0x00000001); } result.task_ = task_; } else { result.task_ = taskBuilder_.build(); } } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.getDefaultInstance()) return this; if (taskBuilder_ == null) { if (!other.task_.isEmpty()) { if (task_.isEmpty()) { task_ = other.task_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTaskIsMutable(); task_.addAll(other.task_); } onChanged(); } } else { if (!other.task_.isEmpty()) { if (taskBuilder_.isEmpty()) { taskBuilder_.dispose(); taskBuilder_ = null; task_ = other.task_; bitField0_ = (bitField0_ & ~0x00000001); taskBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTaskFieldBuilder() : null; } else { taskBuilder_.addAllMessages(other.task_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getTaskCount(); i++) { if (!getTask(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 11: { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task m = input.readGroup(1, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.PARSER, extensionRegistry); if (taskBuilder_ == null) { ensureTaskIsMutable(); task_.add(m); } else { taskBuilder_.addMessage(m); } break; } // case 11 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List task_ = java.util.Collections.emptyList(); private void ensureTaskIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { task_ = new java.util.ArrayList(task_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.TaskOrBuilder> taskBuilder_; /** * repeated group Task = 1 { ... } */ public java.util.List getTaskList() { if (taskBuilder_ == null) { return java.util.Collections.unmodifiableList(task_); } else { return taskBuilder_.getMessageList(); } } /** * repeated group Task = 1 { ... } */ public int getTaskCount() { if (taskBuilder_ == null) { return task_.size(); } else { return taskBuilder_.getCount(); } } /** * repeated group Task = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task getTask(int index) { if (taskBuilder_ == null) { return task_.get(index); } else { return taskBuilder_.getMessage(index); } } /** * repeated group Task = 1 { ... } */ public Builder setTask( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task value) { if (taskBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTaskIsMutable(); task_.set(index, value); onChanged(); } else { taskBuilder_.setMessage(index, value); } return this; } /** * repeated group Task = 1 { ... } */ public Builder setTask( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Builder builderForValue) { if (taskBuilder_ == null) { ensureTaskIsMutable(); task_.set(index, builderForValue.build()); onChanged(); } else { taskBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated group Task = 1 { ... } */ public Builder addTask(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task value) { if (taskBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTaskIsMutable(); task_.add(value); onChanged(); } else { taskBuilder_.addMessage(value); } return this; } /** * repeated group Task = 1 { ... } */ public Builder addTask( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task value) { if (taskBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTaskIsMutable(); task_.add(index, value); onChanged(); } else { taskBuilder_.addMessage(index, value); } return this; } /** * repeated group Task = 1 { ... } */ public Builder addTask( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Builder builderForValue) { if (taskBuilder_ == null) { ensureTaskIsMutable(); task_.add(builderForValue.build()); onChanged(); } else { taskBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated group Task = 1 { ... } */ public Builder addTask( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Builder builderForValue) { if (taskBuilder_ == null) { ensureTaskIsMutable(); task_.add(index, builderForValue.build()); onChanged(); } else { taskBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated group Task = 1 { ... } */ public Builder addAllTask( java.lang.Iterable values) { if (taskBuilder_ == null) { ensureTaskIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, task_); onChanged(); } else { taskBuilder_.addAllMessages(values); } return this; } /** * repeated group Task = 1 { ... } */ public Builder clearTask() { if (taskBuilder_ == null) { task_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { taskBuilder_.clear(); } return this; } /** * repeated group Task = 1 { ... } */ public Builder removeTask(int index) { if (taskBuilder_ == null) { ensureTaskIsMutable(); task_.remove(index); onChanged(); } else { taskBuilder_.remove(index); } return this; } /** * repeated group Task = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Builder getTaskBuilder( int index) { return getTaskFieldBuilder().getBuilder(index); } /** * repeated group Task = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.TaskOrBuilder getTaskOrBuilder( int index) { if (taskBuilder_ == null) { return task_.get(index); } else { return taskBuilder_.getMessageOrBuilder(index); } } /** * repeated group Task = 1 { ... } */ public java.util.List getTaskOrBuilderList() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(task_); } } /** * repeated group Task = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Builder addTaskBuilder() { return getTaskFieldBuilder().addBuilder( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.getDefaultInstance()); } /** * repeated group Task = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Builder addTaskBuilder( int index) { return getTaskFieldBuilder().addBuilder( index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.getDefaultInstance()); } /** * repeated group Task = 1 { ... } */ public java.util.List getTaskBuilderList() { return getTaskFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { taskBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Task.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.TaskOrBuilder>( task_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); task_ = null; } return taskBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueQueryTasksResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueQueryTasksResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueQueryTasksResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueFetchTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueFetchTaskRequest) com.google.protobuf.MessageOrBuilder { /** * optional bytes app_id = 1; * @return Whether the appId field is set. */ boolean hasAppId(); /** * optional bytes app_id = 1; * @return The appId. */ com.google.protobuf.ByteString getAppId(); /** * required bytes queue_name = 2; * @return Whether the queueName field is set. */ boolean hasQueueName(); /** * required bytes queue_name = 2; * @return The queueName. */ com.google.protobuf.ByteString getQueueName(); /** * required bytes task_name = 3; * @return Whether the taskName field is set. */ boolean hasTaskName(); /** * required bytes task_name = 3; * @return The taskName. */ com.google.protobuf.ByteString getTaskName(); } /** * Protobuf type {@code java.apphosting.TaskQueueFetchTaskRequest} */ public static final class TaskQueueFetchTaskRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueFetchTaskRequest) TaskQueueFetchTaskRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueFetchTaskRequest.newBuilder() to construct. private TaskQueueFetchTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueFetchTaskRequest() { appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = com.google.protobuf.ByteString.EMPTY; taskName_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueFetchTaskRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest.Builder.class); } private int bitField0_; public static final int APP_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } public static final int QUEUE_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000002) != 0); } /** * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } public static final int TASK_NAME_FIELD_NUMBER = 3; private com.google.protobuf.ByteString taskName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes task_name = 3; * @return Whether the taskName field is set. */ @java.lang.Override public boolean hasTaskName() { return ((bitField0_ & 0x00000004) != 0); } /** * required bytes task_name = 3; * @return The taskName. */ @java.lang.Override public com.google.protobuf.ByteString getTaskName() { return taskName_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasQueueName()) { memoizedIsInitialized = 0; return false; } if (!hasTaskName()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, queueName_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBytes(3, taskName_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, queueName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, taskName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest) obj; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (hasQueueName() != other.hasQueueName()) return false; if (hasQueueName()) { if (!getQueueName() .equals(other.getQueueName())) return false; } if (hasTaskName() != other.hasTaskName()) return false; if (hasTaskName()) { if (!getTaskName() .equals(other.getTaskName())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAppId()) { hash = (37 * hash) + APP_ID_FIELD_NUMBER; hash = (53 * hash) + getAppId().hashCode(); } if (hasQueueName()) { hash = (37 * hash) + QUEUE_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueueName().hashCode(); } if (hasTaskName()) { hash = (37 * hash) + TASK_NAME_FIELD_NUMBER; hash = (53 * hash) + getTaskName().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueFetchTaskRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueFetchTaskRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; appId_ = com.google.protobuf.ByteString.EMPTY; queueName_ = com.google.protobuf.ByteString.EMPTY; taskName_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchTaskRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.queueName_ = queueName_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.taskName_ = taskName_; to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest.getDefaultInstance()) return this; if (other.hasAppId()) { setAppId(other.getAppId()); } if (other.hasQueueName()) { setQueueName(other.getQueueName()); } if (other.hasTaskName()) { setTaskName(other.getTaskName()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasQueueName()) { return false; } if (!hasTaskName()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { appId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { queueName_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { taskName_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } /** * optional bytes app_id = 1; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional bytes app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000001); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes queue_name = 2; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000002) != 0); } /** * required bytes queue_name = 2; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } /** * required bytes queue_name = 2; * @param value The queueName to set. * @return This builder for chaining. */ public Builder setQueueName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } queueName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * required bytes queue_name = 2; * @return This builder for chaining. */ public Builder clearQueueName() { bitField0_ = (bitField0_ & ~0x00000002); queueName_ = getDefaultInstance().getQueueName(); onChanged(); return this; } private com.google.protobuf.ByteString taskName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes task_name = 3; * @return Whether the taskName field is set. */ @java.lang.Override public boolean hasTaskName() { return ((bitField0_ & 0x00000004) != 0); } /** * required bytes task_name = 3; * @return The taskName. */ @java.lang.Override public com.google.protobuf.ByteString getTaskName() { return taskName_; } /** * required bytes task_name = 3; * @param value The taskName to set. * @return This builder for chaining. */ public Builder setTaskName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } taskName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * required bytes task_name = 3; * @return This builder for chaining. */ public Builder clearTaskName() { bitField0_ = (bitField0_ & ~0x00000004); taskName_ = getDefaultInstance().getTaskName(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueFetchTaskRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueFetchTaskRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueFetchTaskRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueFetchTaskResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueFetchTaskResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The QueryTaskResponse will only have either 0 or 1 entries.
     * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; * @return Whether the task field is set. */ boolean hasTask(); /** *
     * The QueryTaskResponse will only have either 0 or 1 entries.
     * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; * @return The task. */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse getTask(); /** *
     * The QueryTaskResponse will only have either 0 or 1 entries.
     * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponseOrBuilder getTaskOrBuilder(); } /** * Protobuf type {@code java.apphosting.TaskQueueFetchTaskResponse} */ public static final class TaskQueueFetchTaskResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueFetchTaskResponse) TaskQueueFetchTaskResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueFetchTaskResponse.newBuilder() to construct. private TaskQueueFetchTaskResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueFetchTaskResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueFetchTaskResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchTaskResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchTaskResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse.Builder.class); } private int bitField0_; public static final int TASK_FIELD_NUMBER = 1; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse task_; /** *
     * The QueryTaskResponse will only have either 0 or 1 entries.
     * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; * @return Whether the task field is set. */ @java.lang.Override public boolean hasTask() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The QueryTaskResponse will only have either 0 or 1 entries.
     * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; * @return The task. */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse getTask() { return task_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.getDefaultInstance() : task_; } /** *
     * The QueryTaskResponse will only have either 0 or 1 entries.
     * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponseOrBuilder getTaskOrBuilder() { return task_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.getDefaultInstance() : task_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasTask()) { memoizedIsInitialized = 0; return false; } if (!getTask().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getTask()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse) obj; if (hasTask() != other.hasTask()) return false; if (hasTask()) { if (!getTask() .equals(other.getTask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTask()) { hash = (37 * hash) + TASK_FIELD_NUMBER; hash = (53 * hash) + getTask().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueFetchTaskResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueFetchTaskResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchTaskResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchTaskResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTaskFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; task_ = null; if (taskBuilder_ != null) { taskBuilder_.dispose(); taskBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueFetchTaskResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.task_ = taskBuilder_ == null ? task_ : taskBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse.getDefaultInstance()) return this; if (other.hasTask()) { mergeTask(other.getTask()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasTask()) { return false; } if (!getTask().isInitialized()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getTaskFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse task_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponseOrBuilder> taskBuilder_; /** *
       * The QueryTaskResponse will only have either 0 or 1 entries.
       * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; * @return Whether the task field is set. */ public boolean hasTask() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The QueryTaskResponse will only have either 0 or 1 entries.
       * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; * @return The task. */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse getTask() { if (taskBuilder_ == null) { return task_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.getDefaultInstance() : task_; } else { return taskBuilder_.getMessage(); } } /** *
       * The QueryTaskResponse will only have either 0 or 1 entries.
       * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; */ public Builder setTask(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse value) { if (taskBuilder_ == null) { if (value == null) { throw new NullPointerException(); } task_ = value; } else { taskBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The QueryTaskResponse will only have either 0 or 1 entries.
       * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; */ public Builder setTask( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); } else { taskBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The QueryTaskResponse will only have either 0 or 1 entries.
       * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; */ public Builder mergeTask(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse value) { if (taskBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && task_ != null && task_ != com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.getDefaultInstance()) { getTaskBuilder().mergeFrom(value); } else { task_ = value; } } else { taskBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The QueryTaskResponse will only have either 0 or 1 entries.
       * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; */ public Builder clearTask() { bitField0_ = (bitField0_ & ~0x00000001); task_ = null; if (taskBuilder_ != null) { taskBuilder_.dispose(); taskBuilder_ = null; } onChanged(); return this; } /** *
       * The QueryTaskResponse will only have either 0 or 1 entries.
       * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Builder getTaskBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTaskFieldBuilder().getBuilder(); } /** *
       * The QueryTaskResponse will only have either 0 or 1 entries.
       * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponseOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { return task_ == null ? com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.getDefaultInstance() : task_; } } /** *
       * The QueryTaskResponse will only have either 0 or 1 entries.
       * 
* * required .java.apphosting.TaskQueueQueryTasksResponse task = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponseOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponse.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryTasksResponseOrBuilder>( getTask(), getParentForChildren(), isClean()); task_ = null; } return taskBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueFetchTaskResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueFetchTaskResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueFetchTaskResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueFetchTaskResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueUpdateStorageLimitRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueUpdateStorageLimitRequest) com.google.protobuf.MessageOrBuilder { /** * required bytes app_id = 1; * @return Whether the appId field is set. */ boolean hasAppId(); /** * required bytes app_id = 1; * @return The appId. */ com.google.protobuf.ByteString getAppId(); /** *
     * Storage limit in bytes.
     * 
* * required int64 limit = 2; * @return Whether the limit field is set. */ boolean hasLimit(); /** *
     * Storage limit in bytes.
     * 
* * required int64 limit = 2; * @return The limit. */ long getLimit(); } /** * Protobuf type {@code java.apphosting.TaskQueueUpdateStorageLimitRequest} */ public static final class TaskQueueUpdateStorageLimitRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueUpdateStorageLimitRequest) TaskQueueUpdateStorageLimitRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueUpdateStorageLimitRequest.newBuilder() to construct. private TaskQueueUpdateStorageLimitRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueUpdateStorageLimitRequest() { appId_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueUpdateStorageLimitRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateStorageLimitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateStorageLimitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest.Builder.class); } private int bitField0_; public static final int APP_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } public static final int LIMIT_FIELD_NUMBER = 2; private long limit_ = 0L; /** *
     * Storage limit in bytes.
     * 
* * required int64 limit = 2; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Storage limit in bytes.
     * 
* * required int64 limit = 2; * @return The limit. */ @java.lang.Override public long getLimit() { return limit_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasAppId()) { memoizedIsInitialized = 0; return false; } if (!hasLimit()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, limit_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, appId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, limit_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest) obj; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (hasLimit() != other.hasLimit()) return false; if (hasLimit()) { if (getLimit() != other.getLimit()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAppId()) { hash = (37 * hash) + APP_ID_FIELD_NUMBER; hash = (53 * hash) + getAppId().hashCode(); } if (hasLimit()) { hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLimit()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueUpdateStorageLimitRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueUpdateStorageLimitRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateStorageLimitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateStorageLimitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; appId_ = com.google.protobuf.ByteString.EMPTY; limit_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateStorageLimitRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.limit_ = limit_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest.getDefaultInstance()) return this; if (other.hasAppId()) { setAppId(other.getAppId()); } if (other.hasLimit()) { setLimit(other.getLimit()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasAppId()) { return false; } if (!hasLimit()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { appId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { limit_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString appId_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes app_id = 1; * @return The appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppId() { return appId_; } /** * required bytes app_id = 1; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * required bytes app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000001); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } private long limit_ ; /** *
       * Storage limit in bytes.
       * 
* * required int64 limit = 2; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Storage limit in bytes.
       * 
* * required int64 limit = 2; * @return The limit. */ @java.lang.Override public long getLimit() { return limit_; } /** *
       * Storage limit in bytes.
       * 
* * required int64 limit = 2; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(long value) { limit_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Storage limit in bytes.
       * 
* * required int64 limit = 2; * @return This builder for chaining. */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000002); limit_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueUpdateStorageLimitRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueUpdateStorageLimitRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueUpdateStorageLimitRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueUpdateStorageLimitResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueUpdateStorageLimitResponse) com.google.protobuf.MessageOrBuilder { /** * required int64 new_limit = 1; * @return Whether the newLimit field is set. */ boolean hasNewLimit(); /** * required int64 new_limit = 1; * @return The newLimit. */ long getNewLimit(); } /** * Protobuf type {@code java.apphosting.TaskQueueUpdateStorageLimitResponse} */ public static final class TaskQueueUpdateStorageLimitResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueUpdateStorageLimitResponse) TaskQueueUpdateStorageLimitResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueUpdateStorageLimitResponse.newBuilder() to construct. private TaskQueueUpdateStorageLimitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueUpdateStorageLimitResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueUpdateStorageLimitResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateStorageLimitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateStorageLimitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse.Builder.class); } private int bitField0_; public static final int NEW_LIMIT_FIELD_NUMBER = 1; private long newLimit_ = 0L; /** * required int64 new_limit = 1; * @return Whether the newLimit field is set. */ @java.lang.Override public boolean hasNewLimit() { return ((bitField0_ & 0x00000001) != 0); } /** * required int64 new_limit = 1; * @return The newLimit. */ @java.lang.Override public long getNewLimit() { return newLimit_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasNewLimit()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, newLimit_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, newLimit_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse) obj; if (hasNewLimit() != other.hasNewLimit()) return false; if (hasNewLimit()) { if (getNewLimit() != other.getNewLimit()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasNewLimit()) { hash = (37 * hash) + NEW_LIMIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNewLimit()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueUpdateStorageLimitResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueUpdateStorageLimitResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateStorageLimitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateStorageLimitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; newLimit_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueUpdateStorageLimitResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.newLimit_ = newLimit_; to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse.getDefaultInstance()) return this; if (other.hasNewLimit()) { setNewLimit(other.getNewLimit()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasNewLimit()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { newLimit_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long newLimit_ ; /** * required int64 new_limit = 1; * @return Whether the newLimit field is set. */ @java.lang.Override public boolean hasNewLimit() { return ((bitField0_ & 0x00000001) != 0); } /** * required int64 new_limit = 1; * @return The newLimit. */ @java.lang.Override public long getNewLimit() { return newLimit_; } /** * required int64 new_limit = 1; * @param value The newLimit to set. * @return This builder for chaining. */ public Builder setNewLimit(long value) { newLimit_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * required int64 new_limit = 1; * @return This builder for chaining. */ public Builder clearNewLimit() { bitField0_ = (bitField0_ & ~0x00000001); newLimit_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueUpdateStorageLimitResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueUpdateStorageLimitResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueUpdateStorageLimitResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueUpdateStorageLimitResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueQueryAndOwnTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueQueryAndOwnTasksRequest) com.google.protobuf.MessageOrBuilder { /** * required bytes queue_name = 1; * @return Whether the queueName field is set. */ boolean hasQueueName(); /** * required bytes queue_name = 1; * @return The queueName. */ com.google.protobuf.ByteString getQueueName(); /** *
     * Time from receiving the request for which the tasks will be owned.
     * 
* * required double lease_seconds = 2; * @return Whether the leaseSeconds field is set. */ boolean hasLeaseSeconds(); /** *
     * Time from receiving the request for which the tasks will be owned.
     * 
* * required double lease_seconds = 2; * @return The leaseSeconds. */ double getLeaseSeconds(); /** *
     * Number of tasks on return. If fewer tasks are available, all available
     * will be returned.
     * 
* * required int64 max_tasks = 3; * @return Whether the maxTasks field is set. */ boolean hasMaxTasks(); /** *
     * Number of tasks on return. If fewer tasks are available, all available
     * will be returned.
     * 
* * required int64 max_tasks = 3; * @return The maxTasks. */ long getMaxTasks(); /** *
     * True if the response should contain tasks grouped by tag.
     * 
* * optional bool group_by_tag = 4; * @return Whether the groupByTag field is set. */ boolean hasGroupByTag(); /** *
     * True if the response should contain tasks grouped by tag.
     * 
* * optional bool group_by_tag = 4; * @return The groupByTag. */ boolean getGroupByTag(); /** *
     * The tag allowed for tasks in the response.  Must only be specified if
     * group_by_tag is true.  If group_by_tag is true and tag is not specified
     * then tasks will be grouped by the first available tag.
     * 
* * optional bytes tag = 5; * @return Whether the tag field is set. */ boolean hasTag(); /** *
     * The tag allowed for tasks in the response.  Must only be specified if
     * group_by_tag is true.  If group_by_tag is true and tag is not specified
     * then tasks will be grouped by the first available tag.
     * 
* * optional bytes tag = 5; * @return The tag. */ com.google.protobuf.ByteString getTag(); } /** * Protobuf type {@code java.apphosting.TaskQueueQueryAndOwnTasksRequest} */ public static final class TaskQueueQueryAndOwnTasksRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueQueryAndOwnTasksRequest) TaskQueueQueryAndOwnTasksRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueQueryAndOwnTasksRequest.newBuilder() to construct. private TaskQueueQueryAndOwnTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueQueryAndOwnTasksRequest() { queueName_ = com.google.protobuf.ByteString.EMPTY; tag_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueQueryAndOwnTasksRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest.Builder.class); } private int bitField0_; public static final int QUEUE_NAME_FIELD_NUMBER = 1; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes queue_name = 1; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes queue_name = 1; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } public static final int LEASE_SECONDS_FIELD_NUMBER = 2; private double leaseSeconds_ = 0D; /** *
     * Time from receiving the request for which the tasks will be owned.
     * 
* * required double lease_seconds = 2; * @return Whether the leaseSeconds field is set. */ @java.lang.Override public boolean hasLeaseSeconds() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Time from receiving the request for which the tasks will be owned.
     * 
* * required double lease_seconds = 2; * @return The leaseSeconds. */ @java.lang.Override public double getLeaseSeconds() { return leaseSeconds_; } public static final int MAX_TASKS_FIELD_NUMBER = 3; private long maxTasks_ = 0L; /** *
     * Number of tasks on return. If fewer tasks are available, all available
     * will be returned.
     * 
* * required int64 max_tasks = 3; * @return Whether the maxTasks field is set. */ @java.lang.Override public boolean hasMaxTasks() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Number of tasks on return. If fewer tasks are available, all available
     * will be returned.
     * 
* * required int64 max_tasks = 3; * @return The maxTasks. */ @java.lang.Override public long getMaxTasks() { return maxTasks_; } public static final int GROUP_BY_TAG_FIELD_NUMBER = 4; private boolean groupByTag_ = false; /** *
     * True if the response should contain tasks grouped by tag.
     * 
* * optional bool group_by_tag = 4; * @return Whether the groupByTag field is set. */ @java.lang.Override public boolean hasGroupByTag() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * True if the response should contain tasks grouped by tag.
     * 
* * optional bool group_by_tag = 4; * @return The groupByTag. */ @java.lang.Override public boolean getGroupByTag() { return groupByTag_; } public static final int TAG_FIELD_NUMBER = 5; private com.google.protobuf.ByteString tag_ = com.google.protobuf.ByteString.EMPTY; /** *
     * The tag allowed for tasks in the response.  Must only be specified if
     * group_by_tag is true.  If group_by_tag is true and tag is not specified
     * then tasks will be grouped by the first available tag.
     * 
* * optional bytes tag = 5; * @return Whether the tag field is set. */ @java.lang.Override public boolean hasTag() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * The tag allowed for tasks in the response.  Must only be specified if
     * group_by_tag is true.  If group_by_tag is true and tag is not specified
     * then tasks will be grouped by the first available tag.
     * 
* * optional bytes tag = 5; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasQueueName()) { memoizedIsInitialized = 0; return false; } if (!hasLeaseSeconds()) { memoizedIsInitialized = 0; return false; } if (!hasMaxTasks()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, queueName_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeDouble(2, leaseSeconds_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(3, maxTasks_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(4, groupByTag_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeBytes(5, tag_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, queueName_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, leaseSeconds_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, maxTasks_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, groupByTag_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, tag_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest) obj; if (hasQueueName() != other.hasQueueName()) return false; if (hasQueueName()) { if (!getQueueName() .equals(other.getQueueName())) return false; } if (hasLeaseSeconds() != other.hasLeaseSeconds()) return false; if (hasLeaseSeconds()) { if (java.lang.Double.doubleToLongBits(getLeaseSeconds()) != java.lang.Double.doubleToLongBits( other.getLeaseSeconds())) return false; } if (hasMaxTasks() != other.hasMaxTasks()) return false; if (hasMaxTasks()) { if (getMaxTasks() != other.getMaxTasks()) return false; } if (hasGroupByTag() != other.hasGroupByTag()) return false; if (hasGroupByTag()) { if (getGroupByTag() != other.getGroupByTag()) return false; } if (hasTag() != other.hasTag()) return false; if (hasTag()) { if (!getTag() .equals(other.getTag())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasQueueName()) { hash = (37 * hash) + QUEUE_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueueName().hashCode(); } if (hasLeaseSeconds()) { hash = (37 * hash) + LEASE_SECONDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLeaseSeconds())); } if (hasMaxTasks()) { hash = (37 * hash) + MAX_TASKS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxTasks()); } if (hasGroupByTag()) { hash = (37 * hash) + GROUP_BY_TAG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getGroupByTag()); } if (hasTag()) { hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueQueryAndOwnTasksRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueQueryAndOwnTasksRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; queueName_ = com.google.protobuf.ByteString.EMPTY; leaseSeconds_ = 0D; maxTasks_ = 0L; groupByTag_ = false; tag_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.queueName_ = queueName_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.leaseSeconds_ = leaseSeconds_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.maxTasks_ = maxTasks_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.groupByTag_ = groupByTag_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.tag_ = tag_; to_bitField0_ |= 0x00000010; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest.getDefaultInstance()) return this; if (other.hasQueueName()) { setQueueName(other.getQueueName()); } if (other.hasLeaseSeconds()) { setLeaseSeconds(other.getLeaseSeconds()); } if (other.hasMaxTasks()) { setMaxTasks(other.getMaxTasks()); } if (other.hasGroupByTag()) { setGroupByTag(other.getGroupByTag()); } if (other.hasTag()) { setTag(other.getTag()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasQueueName()) { return false; } if (!hasLeaseSeconds()) { return false; } if (!hasMaxTasks()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { queueName_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 17: { leaseSeconds_ = input.readDouble(); bitField0_ |= 0x00000002; break; } // case 17 case 24: { maxTasks_ = input.readInt64(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { groupByTag_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 32 case 42: { tag_ = input.readBytes(); bitField0_ |= 0x00000010; break; } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes queue_name = 1; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes queue_name = 1; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } /** * required bytes queue_name = 1; * @param value The queueName to set. * @return This builder for chaining. */ public Builder setQueueName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } queueName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * required bytes queue_name = 1; * @return This builder for chaining. */ public Builder clearQueueName() { bitField0_ = (bitField0_ & ~0x00000001); queueName_ = getDefaultInstance().getQueueName(); onChanged(); return this; } private double leaseSeconds_ ; /** *
       * Time from receiving the request for which the tasks will be owned.
       * 
* * required double lease_seconds = 2; * @return Whether the leaseSeconds field is set. */ @java.lang.Override public boolean hasLeaseSeconds() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Time from receiving the request for which the tasks will be owned.
       * 
* * required double lease_seconds = 2; * @return The leaseSeconds. */ @java.lang.Override public double getLeaseSeconds() { return leaseSeconds_; } /** *
       * Time from receiving the request for which the tasks will be owned.
       * 
* * required double lease_seconds = 2; * @param value The leaseSeconds to set. * @return This builder for chaining. */ public Builder setLeaseSeconds(double value) { leaseSeconds_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Time from receiving the request for which the tasks will be owned.
       * 
* * required double lease_seconds = 2; * @return This builder for chaining. */ public Builder clearLeaseSeconds() { bitField0_ = (bitField0_ & ~0x00000002); leaseSeconds_ = 0D; onChanged(); return this; } private long maxTasks_ ; /** *
       * Number of tasks on return. If fewer tasks are available, all available
       * will be returned.
       * 
* * required int64 max_tasks = 3; * @return Whether the maxTasks field is set. */ @java.lang.Override public boolean hasMaxTasks() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Number of tasks on return. If fewer tasks are available, all available
       * will be returned.
       * 
* * required int64 max_tasks = 3; * @return The maxTasks. */ @java.lang.Override public long getMaxTasks() { return maxTasks_; } /** *
       * Number of tasks on return. If fewer tasks are available, all available
       * will be returned.
       * 
* * required int64 max_tasks = 3; * @param value The maxTasks to set. * @return This builder for chaining. */ public Builder setMaxTasks(long value) { maxTasks_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Number of tasks on return. If fewer tasks are available, all available
       * will be returned.
       * 
* * required int64 max_tasks = 3; * @return This builder for chaining. */ public Builder clearMaxTasks() { bitField0_ = (bitField0_ & ~0x00000004); maxTasks_ = 0L; onChanged(); return this; } private boolean groupByTag_ ; /** *
       * True if the response should contain tasks grouped by tag.
       * 
* * optional bool group_by_tag = 4; * @return Whether the groupByTag field is set. */ @java.lang.Override public boolean hasGroupByTag() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * True if the response should contain tasks grouped by tag.
       * 
* * optional bool group_by_tag = 4; * @return The groupByTag. */ @java.lang.Override public boolean getGroupByTag() { return groupByTag_; } /** *
       * True if the response should contain tasks grouped by tag.
       * 
* * optional bool group_by_tag = 4; * @param value The groupByTag to set. * @return This builder for chaining. */ public Builder setGroupByTag(boolean value) { groupByTag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * True if the response should contain tasks grouped by tag.
       * 
* * optional bool group_by_tag = 4; * @return This builder for chaining. */ public Builder clearGroupByTag() { bitField0_ = (bitField0_ & ~0x00000008); groupByTag_ = false; onChanged(); return this; } private com.google.protobuf.ByteString tag_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The tag allowed for tasks in the response.  Must only be specified if
       * group_by_tag is true.  If group_by_tag is true and tag is not specified
       * then tasks will be grouped by the first available tag.
       * 
* * optional bytes tag = 5; * @return Whether the tag field is set. */ @java.lang.Override public boolean hasTag() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The tag allowed for tasks in the response.  Must only be specified if
       * group_by_tag is true.  If group_by_tag is true and tag is not specified
       * then tasks will be grouped by the first available tag.
       * 
* * optional bytes tag = 5; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } /** *
       * The tag allowed for tasks in the response.  Must only be specified if
       * group_by_tag is true.  If group_by_tag is true and tag is not specified
       * then tasks will be grouped by the first available tag.
       * 
* * optional bytes tag = 5; * @param value The tag to set. * @return This builder for chaining. */ public Builder setTag(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } tag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * The tag allowed for tasks in the response.  Must only be specified if
       * group_by_tag is true.  If group_by_tag is true and tag is not specified
       * then tasks will be grouped by the first available tag.
       * 
* * optional bytes tag = 5; * @return This builder for chaining. */ public Builder clearTag() { bitField0_ = (bitField0_ & ~0x00000010); tag_ = getDefaultInstance().getTag(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueQueryAndOwnTasksRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueQueryAndOwnTasksRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueQueryAndOwnTasksRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueQueryAndOwnTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueQueryAndOwnTasksResponse) com.google.protobuf.MessageOrBuilder { /** * repeated group Task = 1 { ... } */ java.util.List getTaskList(); /** * repeated group Task = 1 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task getTask(int index); /** * repeated group Task = 1 { ... } */ int getTaskCount(); /** * repeated group Task = 1 { ... } */ java.util.List getTaskOrBuilderList(); /** * repeated group Task = 1 { ... } */ com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.TaskOrBuilder getTaskOrBuilder( int index); } /** * Protobuf type {@code java.apphosting.TaskQueueQueryAndOwnTasksResponse} */ public static final class TaskQueueQueryAndOwnTasksResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueQueryAndOwnTasksResponse) TaskQueueQueryAndOwnTasksResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueQueryAndOwnTasksResponse.newBuilder() to construct. private TaskQueueQueryAndOwnTasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueQueryAndOwnTasksResponse() { task_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueQueryAndOwnTasksResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Builder.class); } public interface TaskOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueQueryAndOwnTasksResponse.Task) com.google.protobuf.MessageOrBuilder { /** *
       * The name of task.
       * 
* * required bytes task_name = 2; * @return Whether the taskName field is set. */ boolean hasTaskName(); /** *
       * The name of task.
       * 
* * required bytes task_name = 2; * @return The taskName. */ com.google.protobuf.ByteString getTaskName(); /** *
       * The new eta value of the task after the lease has been applied.
       * 
* * required int64 eta_usec = 3; * @return Whether the etaUsec field is set. */ boolean hasEtaUsec(); /** *
       * The new eta value of the task after the lease has been applied.
       * 
* * required int64 eta_usec = 3; * @return The etaUsec. */ long getEtaUsec(); /** *
       * The number of times this task has been retried. Every time a task
       * is queried and owned, the retry count is increased by 1.
       * 
* * optional int32 retry_count = 4; * @return Whether the retryCount field is set. */ boolean hasRetryCount(); /** *
       * The number of times this task has been retried. Every time a task
       * is queried and owned, the retry count is increased by 1.
       * 
* * optional int32 retry_count = 4; * @return The retryCount. */ int getRetryCount(); /** *
       * Body content data of the task.
       * 
* * optional bytes body = 5 [ctype = CORD]; * @return Whether the body field is set. */ boolean hasBody(); /** *
       * Body content data of the task.
       * 
* * optional bytes body = 5 [ctype = CORD]; * @return The body. */ com.google.protobuf.ByteString getBody(); /** *
       * Tag for this task.
       * 
* * optional bytes tag = 6; * @return Whether the tag field is set. */ boolean hasTag(); /** *
       * Tag for this task.
       * 
* * optional bytes tag = 6; * @return The tag. */ com.google.protobuf.ByteString getTag(); } /** * Protobuf type {@code java.apphosting.TaskQueueQueryAndOwnTasksResponse.Task} */ public static final class Task extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueQueryAndOwnTasksResponse.Task) TaskOrBuilder { private static final long serialVersionUID = 0L; // Use Task.newBuilder() to construct. private Task(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Task() { taskName_ = com.google.protobuf.ByteString.EMPTY; body_ = com.google.protobuf.ByteString.EMPTY; tag_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Task(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.Builder.class); } private int bitField0_; public static final int TASK_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString taskName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The name of task.
       * 
* * required bytes task_name = 2; * @return Whether the taskName field is set. */ @java.lang.Override public boolean hasTaskName() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The name of task.
       * 
* * required bytes task_name = 2; * @return The taskName. */ @java.lang.Override public com.google.protobuf.ByteString getTaskName() { return taskName_; } public static final int ETA_USEC_FIELD_NUMBER = 3; private long etaUsec_ = 0L; /** *
       * The new eta value of the task after the lease has been applied.
       * 
* * required int64 eta_usec = 3; * @return Whether the etaUsec field is set. */ @java.lang.Override public boolean hasEtaUsec() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The new eta value of the task after the lease has been applied.
       * 
* * required int64 eta_usec = 3; * @return The etaUsec. */ @java.lang.Override public long getEtaUsec() { return etaUsec_; } public static final int RETRY_COUNT_FIELD_NUMBER = 4; private int retryCount_ = 0; /** *
       * The number of times this task has been retried. Every time a task
       * is queried and owned, the retry count is increased by 1.
       * 
* * optional int32 retry_count = 4; * @return Whether the retryCount field is set. */ @java.lang.Override public boolean hasRetryCount() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * The number of times this task has been retried. Every time a task
       * is queried and owned, the retry count is increased by 1.
       * 
* * optional int32 retry_count = 4; * @return The retryCount. */ @java.lang.Override public int getRetryCount() { return retryCount_; } public static final int BODY_FIELD_NUMBER = 5; private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Body content data of the task.
       * 
* * optional bytes body = 5 [ctype = CORD]; * @return Whether the body field is set. */ @java.lang.Override public boolean hasBody() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Body content data of the task.
       * 
* * optional bytes body = 5 [ctype = CORD]; * @return The body. */ @java.lang.Override public com.google.protobuf.ByteString getBody() { return body_; } public static final int TAG_FIELD_NUMBER = 6; private com.google.protobuf.ByteString tag_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Tag for this task.
       * 
* * optional bytes tag = 6; * @return Whether the tag field is set. */ @java.lang.Override public boolean hasTag() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Tag for this task.
       * 
* * optional bytes tag = 6; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasTaskName()) { memoizedIsInitialized = 0; return false; } if (!hasEtaUsec()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(2, taskName_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(3, etaUsec_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(4, retryCount_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBytes(5, body_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeBytes(6, tag_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, taskName_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, etaUsec_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, retryCount_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, body_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, tag_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task) obj; if (hasTaskName() != other.hasTaskName()) return false; if (hasTaskName()) { if (!getTaskName() .equals(other.getTaskName())) return false; } if (hasEtaUsec() != other.hasEtaUsec()) return false; if (hasEtaUsec()) { if (getEtaUsec() != other.getEtaUsec()) return false; } if (hasRetryCount() != other.hasRetryCount()) return false; if (hasRetryCount()) { if (getRetryCount() != other.getRetryCount()) return false; } if (hasBody() != other.hasBody()) return false; if (hasBody()) { if (!getBody() .equals(other.getBody())) return false; } if (hasTag() != other.hasTag()) return false; if (hasTag()) { if (!getTag() .equals(other.getTag())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTaskName()) { hash = (37 * hash) + TASK_NAME_FIELD_NUMBER; hash = (53 * hash) + getTaskName().hashCode(); } if (hasEtaUsec()) { hash = (37 * hash) + ETA_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEtaUsec()); } if (hasRetryCount()) { hash = (37 * hash) + RETRY_COUNT_FIELD_NUMBER; hash = (53 * hash) + getRetryCount(); } if (hasBody()) { hash = (37 * hash) + BODY_FIELD_NUMBER; hash = (53 * hash) + getBody().hashCode(); } if (hasTag()) { hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueQueryAndOwnTasksResponse.Task} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueQueryAndOwnTasksResponse.Task) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.TaskOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; taskName_ = com.google.protobuf.ByteString.EMPTY; etaUsec_ = 0L; retryCount_ = 0; body_ = com.google.protobuf.ByteString.EMPTY; tag_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_Task_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.taskName_ = taskName_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.etaUsec_ = etaUsec_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.retryCount_ = retryCount_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.body_ = body_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.tag_ = tag_; to_bitField0_ |= 0x00000010; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.getDefaultInstance()) return this; if (other.hasTaskName()) { setTaskName(other.getTaskName()); } if (other.hasEtaUsec()) { setEtaUsec(other.getEtaUsec()); } if (other.hasRetryCount()) { setRetryCount(other.getRetryCount()); } if (other.hasBody()) { setBody(other.getBody()); } if (other.hasTag()) { setTag(other.getTag()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasTaskName()) { return false; } if (!hasEtaUsec()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 18: { taskName_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 18 case 24: { etaUsec_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 24 case 32: { retryCount_ = input.readInt32(); bitField0_ |= 0x00000004; break; } // case 32 case 42: { body_ = input.readBytes(); bitField0_ |= 0x00000008; break; } // case 42 case 50: { tag_ = input.readBytes(); bitField0_ |= 0x00000010; break; } // case 50 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString taskName_ = com.google.protobuf.ByteString.EMPTY; /** *
         * The name of task.
         * 
* * required bytes task_name = 2; * @return Whether the taskName field is set. */ @java.lang.Override public boolean hasTaskName() { return ((bitField0_ & 0x00000001) != 0); } /** *
         * The name of task.
         * 
* * required bytes task_name = 2; * @return The taskName. */ @java.lang.Override public com.google.protobuf.ByteString getTaskName() { return taskName_; } /** *
         * The name of task.
         * 
* * required bytes task_name = 2; * @param value The taskName to set. * @return This builder for chaining. */ public Builder setTaskName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } taskName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
         * The name of task.
         * 
* * required bytes task_name = 2; * @return This builder for chaining. */ public Builder clearTaskName() { bitField0_ = (bitField0_ & ~0x00000001); taskName_ = getDefaultInstance().getTaskName(); onChanged(); return this; } private long etaUsec_ ; /** *
         * The new eta value of the task after the lease has been applied.
         * 
* * required int64 eta_usec = 3; * @return Whether the etaUsec field is set. */ @java.lang.Override public boolean hasEtaUsec() { return ((bitField0_ & 0x00000002) != 0); } /** *
         * The new eta value of the task after the lease has been applied.
         * 
* * required int64 eta_usec = 3; * @return The etaUsec. */ @java.lang.Override public long getEtaUsec() { return etaUsec_; } /** *
         * The new eta value of the task after the lease has been applied.
         * 
* * required int64 eta_usec = 3; * @param value The etaUsec to set. * @return This builder for chaining. */ public Builder setEtaUsec(long value) { etaUsec_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
         * The new eta value of the task after the lease has been applied.
         * 
* * required int64 eta_usec = 3; * @return This builder for chaining. */ public Builder clearEtaUsec() { bitField0_ = (bitField0_ & ~0x00000002); etaUsec_ = 0L; onChanged(); return this; } private int retryCount_ ; /** *
         * The number of times this task has been retried. Every time a task
         * is queried and owned, the retry count is increased by 1.
         * 
* * optional int32 retry_count = 4; * @return Whether the retryCount field is set. */ @java.lang.Override public boolean hasRetryCount() { return ((bitField0_ & 0x00000004) != 0); } /** *
         * The number of times this task has been retried. Every time a task
         * is queried and owned, the retry count is increased by 1.
         * 
* * optional int32 retry_count = 4; * @return The retryCount. */ @java.lang.Override public int getRetryCount() { return retryCount_; } /** *
         * The number of times this task has been retried. Every time a task
         * is queried and owned, the retry count is increased by 1.
         * 
* * optional int32 retry_count = 4; * @param value The retryCount to set. * @return This builder for chaining. */ public Builder setRetryCount(int value) { retryCount_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
         * The number of times this task has been retried. Every time a task
         * is queried and owned, the retry count is increased by 1.
         * 
* * optional int32 retry_count = 4; * @return This builder for chaining. */ public Builder clearRetryCount() { bitField0_ = (bitField0_ & ~0x00000004); retryCount_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY; /** *
         * Body content data of the task.
         * 
* * optional bytes body = 5 [ctype = CORD]; * @return Whether the body field is set. */ @java.lang.Override public boolean hasBody() { return ((bitField0_ & 0x00000008) != 0); } /** *
         * Body content data of the task.
         * 
* * optional bytes body = 5 [ctype = CORD]; * @return The body. */ @java.lang.Override public com.google.protobuf.ByteString getBody() { return body_; } /** *
         * Body content data of the task.
         * 
* * optional bytes body = 5 [ctype = CORD]; * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } body_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
         * Body content data of the task.
         * 
* * optional bytes body = 5 [ctype = CORD]; * @return This builder for chaining. */ public Builder clearBody() { bitField0_ = (bitField0_ & ~0x00000008); body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.ByteString tag_ = com.google.protobuf.ByteString.EMPTY; /** *
         * Tag for this task.
         * 
* * optional bytes tag = 6; * @return Whether the tag field is set. */ @java.lang.Override public boolean hasTag() { return ((bitField0_ & 0x00000010) != 0); } /** *
         * Tag for this task.
         * 
* * optional bytes tag = 6; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } /** *
         * Tag for this task.
         * 
* * optional bytes tag = 6; * @param value The tag to set. * @return This builder for chaining. */ public Builder setTag(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } tag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
         * Tag for this task.
         * 
* * optional bytes tag = 6; * @return This builder for chaining. */ public Builder clearTag() { bitField0_ = (bitField0_ & ~0x00000010); tag_ = getDefaultInstance().getTag(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueQueryAndOwnTasksResponse.Task) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueQueryAndOwnTasksResponse.Task) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Task parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int TASK_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List task_; /** * repeated group Task = 1 { ... } */ @java.lang.Override public java.util.List getTaskList() { return task_; } /** * repeated group Task = 1 { ... } */ @java.lang.Override public java.util.List getTaskOrBuilderList() { return task_; } /** * repeated group Task = 1 { ... } */ @java.lang.Override public int getTaskCount() { return task_.size(); } /** * repeated group Task = 1 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task getTask(int index) { return task_.get(index); } /** * repeated group Task = 1 { ... } */ @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.TaskOrBuilder getTaskOrBuilder( int index) { return task_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getTaskCount(); i++) { if (!getTask(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < task_.size(); i++) { output.writeGroup(1, task_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < task_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(1, task_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse) obj; if (!getTaskList() .equals(other.getTaskList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTaskCount() > 0) { hash = (37 * hash) + TASK_FIELD_NUMBER; hash = (53 * hash) + getTaskList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueQueryAndOwnTasksResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueQueryAndOwnTasksResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (taskBuilder_ == null) { task_ = java.util.Collections.emptyList(); } else { task_ = null; taskBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse result) { if (taskBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { task_ = java.util.Collections.unmodifiableList(task_); bitField0_ = (bitField0_ & ~0x00000001); } result.task_ = task_; } else { result.task_ = taskBuilder_.build(); } } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.getDefaultInstance()) return this; if (taskBuilder_ == null) { if (!other.task_.isEmpty()) { if (task_.isEmpty()) { task_ = other.task_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTaskIsMutable(); task_.addAll(other.task_); } onChanged(); } } else { if (!other.task_.isEmpty()) { if (taskBuilder_.isEmpty()) { taskBuilder_.dispose(); taskBuilder_ = null; task_ = other.task_; bitField0_ = (bitField0_ & ~0x00000001); taskBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTaskFieldBuilder() : null; } else { taskBuilder_.addAllMessages(other.task_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getTaskCount(); i++) { if (!getTask(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 11: { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task m = input.readGroup(1, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.PARSER, extensionRegistry); if (taskBuilder_ == null) { ensureTaskIsMutable(); task_.add(m); } else { taskBuilder_.addMessage(m); } break; } // case 11 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List task_ = java.util.Collections.emptyList(); private void ensureTaskIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { task_ = new java.util.ArrayList(task_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.TaskOrBuilder> taskBuilder_; /** * repeated group Task = 1 { ... } */ public java.util.List getTaskList() { if (taskBuilder_ == null) { return java.util.Collections.unmodifiableList(task_); } else { return taskBuilder_.getMessageList(); } } /** * repeated group Task = 1 { ... } */ public int getTaskCount() { if (taskBuilder_ == null) { return task_.size(); } else { return taskBuilder_.getCount(); } } /** * repeated group Task = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task getTask(int index) { if (taskBuilder_ == null) { return task_.get(index); } else { return taskBuilder_.getMessage(index); } } /** * repeated group Task = 1 { ... } */ public Builder setTask( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task value) { if (taskBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTaskIsMutable(); task_.set(index, value); onChanged(); } else { taskBuilder_.setMessage(index, value); } return this; } /** * repeated group Task = 1 { ... } */ public Builder setTask( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.Builder builderForValue) { if (taskBuilder_ == null) { ensureTaskIsMutable(); task_.set(index, builderForValue.build()); onChanged(); } else { taskBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated group Task = 1 { ... } */ public Builder addTask(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task value) { if (taskBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTaskIsMutable(); task_.add(value); onChanged(); } else { taskBuilder_.addMessage(value); } return this; } /** * repeated group Task = 1 { ... } */ public Builder addTask( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task value) { if (taskBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTaskIsMutable(); task_.add(index, value); onChanged(); } else { taskBuilder_.addMessage(index, value); } return this; } /** * repeated group Task = 1 { ... } */ public Builder addTask( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.Builder builderForValue) { if (taskBuilder_ == null) { ensureTaskIsMutable(); task_.add(builderForValue.build()); onChanged(); } else { taskBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated group Task = 1 { ... } */ public Builder addTask( int index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.Builder builderForValue) { if (taskBuilder_ == null) { ensureTaskIsMutable(); task_.add(index, builderForValue.build()); onChanged(); } else { taskBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated group Task = 1 { ... } */ public Builder addAllTask( java.lang.Iterable values) { if (taskBuilder_ == null) { ensureTaskIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, task_); onChanged(); } else { taskBuilder_.addAllMessages(values); } return this; } /** * repeated group Task = 1 { ... } */ public Builder clearTask() { if (taskBuilder_ == null) { task_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { taskBuilder_.clear(); } return this; } /** * repeated group Task = 1 { ... } */ public Builder removeTask(int index) { if (taskBuilder_ == null) { ensureTaskIsMutable(); task_.remove(index); onChanged(); } else { taskBuilder_.remove(index); } return this; } /** * repeated group Task = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.Builder getTaskBuilder( int index) { return getTaskFieldBuilder().getBuilder(index); } /** * repeated group Task = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.TaskOrBuilder getTaskOrBuilder( int index) { if (taskBuilder_ == null) { return task_.get(index); } else { return taskBuilder_.getMessageOrBuilder(index); } } /** * repeated group Task = 1 { ... } */ public java.util.List getTaskOrBuilderList() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(task_); } } /** * repeated group Task = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.Builder addTaskBuilder() { return getTaskFieldBuilder().addBuilder( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.getDefaultInstance()); } /** * repeated group Task = 1 { ... } */ public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.Builder addTaskBuilder( int index) { return getTaskFieldBuilder().addBuilder( index, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.getDefaultInstance()); } /** * repeated group Task = 1 { ... } */ public java.util.List getTaskBuilderList() { return getTaskFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { taskBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.Task.Builder, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse.TaskOrBuilder>( task_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); task_ = null; } return taskBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueQueryAndOwnTasksResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueQueryAndOwnTasksResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueQueryAndOwnTasksResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueQueryAndOwnTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueModifyTaskLeaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueModifyTaskLeaseRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The queue name
     * 
* * required bytes queue_name = 1; * @return Whether the queueName field is set. */ boolean hasQueueName(); /** *
     * The queue name
     * 
* * required bytes queue_name = 1; * @return The queueName. */ com.google.protobuf.ByteString getQueueName(); /** *
     * The task name
     * 
* * required bytes task_name = 2; * @return Whether the taskName field is set. */ boolean hasTaskName(); /** *
     * The task name
     * 
* * required bytes task_name = 2; * @return The taskName. */ com.google.protobuf.ByteString getTaskName(); /** *
     * The eta_usec of the task, used to check the lease owner
     * 
* * required int64 eta_usec = 3; * @return Whether the etaUsec field is set. */ boolean hasEtaUsec(); /** *
     * The eta_usec of the task, used to check the lease owner
     * 
* * required int64 eta_usec = 3; * @return The etaUsec. */ long getEtaUsec(); /** *
     * The time to modify the lease for, from now.
     * 
* * required double lease_seconds = 4; * @return Whether the leaseSeconds field is set. */ boolean hasLeaseSeconds(); /** *
     * The time to modify the lease for, from now.
     * 
* * required double lease_seconds = 4; * @return The leaseSeconds. */ double getLeaseSeconds(); } /** * Protobuf type {@code java.apphosting.TaskQueueModifyTaskLeaseRequest} */ public static final class TaskQueueModifyTaskLeaseRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueModifyTaskLeaseRequest) TaskQueueModifyTaskLeaseRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueModifyTaskLeaseRequest.newBuilder() to construct. private TaskQueueModifyTaskLeaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueModifyTaskLeaseRequest() { queueName_ = com.google.protobuf.ByteString.EMPTY; taskName_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueModifyTaskLeaseRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueModifyTaskLeaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueModifyTaskLeaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest.Builder.class); } private int bitField0_; public static final int QUEUE_NAME_FIELD_NUMBER = 1; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * The queue name
     * 
* * required bytes queue_name = 1; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The queue name
     * 
* * required bytes queue_name = 1; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } public static final int TASK_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString taskName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * The task name
     * 
* * required bytes task_name = 2; * @return Whether the taskName field is set. */ @java.lang.Override public boolean hasTaskName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The task name
     * 
* * required bytes task_name = 2; * @return The taskName. */ @java.lang.Override public com.google.protobuf.ByteString getTaskName() { return taskName_; } public static final int ETA_USEC_FIELD_NUMBER = 3; private long etaUsec_ = 0L; /** *
     * The eta_usec of the task, used to check the lease owner
     * 
* * required int64 eta_usec = 3; * @return Whether the etaUsec field is set. */ @java.lang.Override public boolean hasEtaUsec() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * The eta_usec of the task, used to check the lease owner
     * 
* * required int64 eta_usec = 3; * @return The etaUsec. */ @java.lang.Override public long getEtaUsec() { return etaUsec_; } public static final int LEASE_SECONDS_FIELD_NUMBER = 4; private double leaseSeconds_ = 0D; /** *
     * The time to modify the lease for, from now.
     * 
* * required double lease_seconds = 4; * @return Whether the leaseSeconds field is set. */ @java.lang.Override public boolean hasLeaseSeconds() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * The time to modify the lease for, from now.
     * 
* * required double lease_seconds = 4; * @return The leaseSeconds. */ @java.lang.Override public double getLeaseSeconds() { return leaseSeconds_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasQueueName()) { memoizedIsInitialized = 0; return false; } if (!hasTaskName()) { memoizedIsInitialized = 0; return false; } if (!hasEtaUsec()) { memoizedIsInitialized = 0; return false; } if (!hasLeaseSeconds()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, queueName_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, taskName_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(3, etaUsec_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeDouble(4, leaseSeconds_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, queueName_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, taskName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, etaUsec_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, leaseSeconds_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest) obj; if (hasQueueName() != other.hasQueueName()) return false; if (hasQueueName()) { if (!getQueueName() .equals(other.getQueueName())) return false; } if (hasTaskName() != other.hasTaskName()) return false; if (hasTaskName()) { if (!getTaskName() .equals(other.getTaskName())) return false; } if (hasEtaUsec() != other.hasEtaUsec()) return false; if (hasEtaUsec()) { if (getEtaUsec() != other.getEtaUsec()) return false; } if (hasLeaseSeconds() != other.hasLeaseSeconds()) return false; if (hasLeaseSeconds()) { if (java.lang.Double.doubleToLongBits(getLeaseSeconds()) != java.lang.Double.doubleToLongBits( other.getLeaseSeconds())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasQueueName()) { hash = (37 * hash) + QUEUE_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueueName().hashCode(); } if (hasTaskName()) { hash = (37 * hash) + TASK_NAME_FIELD_NUMBER; hash = (53 * hash) + getTaskName().hashCode(); } if (hasEtaUsec()) { hash = (37 * hash) + ETA_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEtaUsec()); } if (hasLeaseSeconds()) { hash = (37 * hash) + LEASE_SECONDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLeaseSeconds())); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueModifyTaskLeaseRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueModifyTaskLeaseRequest) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueModifyTaskLeaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueModifyTaskLeaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; queueName_ = com.google.protobuf.ByteString.EMPTY; taskName_ = com.google.protobuf.ByteString.EMPTY; etaUsec_ = 0L; leaseSeconds_ = 0D; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueModifyTaskLeaseRequest_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.queueName_ = queueName_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.taskName_ = taskName_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.etaUsec_ = etaUsec_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.leaseSeconds_ = leaseSeconds_; to_bitField0_ |= 0x00000008; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest.getDefaultInstance()) return this; if (other.hasQueueName()) { setQueueName(other.getQueueName()); } if (other.hasTaskName()) { setTaskName(other.getTaskName()); } if (other.hasEtaUsec()) { setEtaUsec(other.getEtaUsec()); } if (other.hasLeaseSeconds()) { setLeaseSeconds(other.getLeaseSeconds()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasQueueName()) { return false; } if (!hasTaskName()) { return false; } if (!hasEtaUsec()) { return false; } if (!hasLeaseSeconds()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { queueName_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { taskName_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { etaUsec_ = input.readInt64(); bitField0_ |= 0x00000004; break; } // case 24 case 33: { leaseSeconds_ = input.readDouble(); bitField0_ |= 0x00000008; break; } // case 33 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString queueName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The queue name
       * 
* * required bytes queue_name = 1; * @return Whether the queueName field is set. */ @java.lang.Override public boolean hasQueueName() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The queue name
       * 
* * required bytes queue_name = 1; * @return The queueName. */ @java.lang.Override public com.google.protobuf.ByteString getQueueName() { return queueName_; } /** *
       * The queue name
       * 
* * required bytes queue_name = 1; * @param value The queueName to set. * @return This builder for chaining. */ public Builder setQueueName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } queueName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The queue name
       * 
* * required bytes queue_name = 1; * @return This builder for chaining. */ public Builder clearQueueName() { bitField0_ = (bitField0_ & ~0x00000001); queueName_ = getDefaultInstance().getQueueName(); onChanged(); return this; } private com.google.protobuf.ByteString taskName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The task name
       * 
* * required bytes task_name = 2; * @return Whether the taskName field is set. */ @java.lang.Override public boolean hasTaskName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The task name
       * 
* * required bytes task_name = 2; * @return The taskName. */ @java.lang.Override public com.google.protobuf.ByteString getTaskName() { return taskName_; } /** *
       * The task name
       * 
* * required bytes task_name = 2; * @param value The taskName to set. * @return This builder for chaining. */ public Builder setTaskName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } taskName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * The task name
       * 
* * required bytes task_name = 2; * @return This builder for chaining. */ public Builder clearTaskName() { bitField0_ = (bitField0_ & ~0x00000002); taskName_ = getDefaultInstance().getTaskName(); onChanged(); return this; } private long etaUsec_ ; /** *
       * The eta_usec of the task, used to check the lease owner
       * 
* * required int64 eta_usec = 3; * @return Whether the etaUsec field is set. */ @java.lang.Override public boolean hasEtaUsec() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * The eta_usec of the task, used to check the lease owner
       * 
* * required int64 eta_usec = 3; * @return The etaUsec. */ @java.lang.Override public long getEtaUsec() { return etaUsec_; } /** *
       * The eta_usec of the task, used to check the lease owner
       * 
* * required int64 eta_usec = 3; * @param value The etaUsec to set. * @return This builder for chaining. */ public Builder setEtaUsec(long value) { etaUsec_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * The eta_usec of the task, used to check the lease owner
       * 
* * required int64 eta_usec = 3; * @return This builder for chaining. */ public Builder clearEtaUsec() { bitField0_ = (bitField0_ & ~0x00000004); etaUsec_ = 0L; onChanged(); return this; } private double leaseSeconds_ ; /** *
       * The time to modify the lease for, from now.
       * 
* * required double lease_seconds = 4; * @return Whether the leaseSeconds field is set. */ @java.lang.Override public boolean hasLeaseSeconds() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * The time to modify the lease for, from now.
       * 
* * required double lease_seconds = 4; * @return The leaseSeconds. */ @java.lang.Override public double getLeaseSeconds() { return leaseSeconds_; } /** *
       * The time to modify the lease for, from now.
       * 
* * required double lease_seconds = 4; * @param value The leaseSeconds to set. * @return This builder for chaining. */ public Builder setLeaseSeconds(double value) { leaseSeconds_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * The time to modify the lease for, from now.
       * 
* * required double lease_seconds = 4; * @return This builder for chaining. */ public Builder clearLeaseSeconds() { bitField0_ = (bitField0_ & ~0x00000008); leaseSeconds_ = 0D; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueModifyTaskLeaseRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueModifyTaskLeaseRequest) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueModifyTaskLeaseRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskQueueModifyTaskLeaseResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.TaskQueueModifyTaskLeaseResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The updated eta_usec of the task after the lease has been modified.
     * 
* * required int64 updated_eta_usec = 1; * @return Whether the updatedEtaUsec field is set. */ boolean hasUpdatedEtaUsec(); /** *
     * The updated eta_usec of the task after the lease has been modified.
     * 
* * required int64 updated_eta_usec = 1; * @return The updatedEtaUsec. */ long getUpdatedEtaUsec(); } /** * Protobuf type {@code java.apphosting.TaskQueueModifyTaskLeaseResponse} */ public static final class TaskQueueModifyTaskLeaseResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.TaskQueueModifyTaskLeaseResponse) TaskQueueModifyTaskLeaseResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskQueueModifyTaskLeaseResponse.newBuilder() to construct. private TaskQueueModifyTaskLeaseResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskQueueModifyTaskLeaseResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskQueueModifyTaskLeaseResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueModifyTaskLeaseResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueModifyTaskLeaseResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse.Builder.class); } private int bitField0_; public static final int UPDATED_ETA_USEC_FIELD_NUMBER = 1; private long updatedEtaUsec_ = 0L; /** *
     * The updated eta_usec of the task after the lease has been modified.
     * 
* * required int64 updated_eta_usec = 1; * @return Whether the updatedEtaUsec field is set. */ @java.lang.Override public boolean hasUpdatedEtaUsec() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The updated eta_usec of the task after the lease has been modified.
     * 
* * required int64 updated_eta_usec = 1; * @return The updatedEtaUsec. */ @java.lang.Override public long getUpdatedEtaUsec() { return updatedEtaUsec_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasUpdatedEtaUsec()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, updatedEtaUsec_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, updatedEtaUsec_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse)) { return super.equals(obj); } com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse other = (com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse) obj; if (hasUpdatedEtaUsec() != other.hasUpdatedEtaUsec()) return false; if (hasUpdatedEtaUsec()) { if (getUpdatedEtaUsec() != other.getUpdatedEtaUsec()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasUpdatedEtaUsec()) { hash = (37 * hash) + UPDATED_ETA_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUpdatedEtaUsec()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.TaskQueueModifyTaskLeaseResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.TaskQueueModifyTaskLeaseResponse) com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueModifyTaskLeaseResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueModifyTaskLeaseResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse.class, com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse.Builder.class); } // Construct using com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; updatedEtaUsec_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.internal_static_java_apphosting_TaskQueueModifyTaskLeaseResponse_descriptor; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse getDefaultInstanceForType() { return com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse build() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse buildPartial() { com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse result = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.updatedEtaUsec_ = updatedEtaUsec_; to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse) { return mergeFrom((com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse other) { if (other == com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse.getDefaultInstance()) return this; if (other.hasUpdatedEtaUsec()) { setUpdatedEtaUsec(other.getUpdatedEtaUsec()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasUpdatedEtaUsec()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { updatedEtaUsec_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long updatedEtaUsec_ ; /** *
       * The updated eta_usec of the task after the lease has been modified.
       * 
* * required int64 updated_eta_usec = 1; * @return Whether the updatedEtaUsec field is set. */ @java.lang.Override public boolean hasUpdatedEtaUsec() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The updated eta_usec of the task after the lease has been modified.
       * 
* * required int64 updated_eta_usec = 1; * @return The updatedEtaUsec. */ @java.lang.Override public long getUpdatedEtaUsec() { return updatedEtaUsec_; } /** *
       * The updated eta_usec of the task after the lease has been modified.
       * 
* * required int64 updated_eta_usec = 1; * @param value The updatedEtaUsec to set. * @return This builder for chaining. */ public Builder setUpdatedEtaUsec(long value) { updatedEtaUsec_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The updated eta_usec of the task after the lease has been modified.
       * 
* * required int64 updated_eta_usec = 1; * @return This builder for chaining. */ public Builder clearUpdatedEtaUsec() { bitField0_ = (bitField0_ & ~0x00000001); updatedEtaUsec_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.TaskQueueModifyTaskLeaseResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.TaskQueueModifyTaskLeaseResponse) private static final com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse(); } public static com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskQueueModifyTaskLeaseResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueueModifyTaskLeaseResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueServiceError_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueServiceError_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskPayload_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskPayload_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueRetryParameters_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueRetryParameters_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueAcl_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueAcl_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueHttpHeader_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueHttpHeader_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueMode_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueMode_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueAddRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueAddRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueAddRequest_Header_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueAddRequest_Header_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueAddRequest_CronTimetable_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueAddRequest_CronTimetable_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueAddResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueAddResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueBulkAddRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueBulkAddRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueBulkAddResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueBulkAddResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueBulkAddResponse_TaskResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueBulkAddResponse_TaskResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueDeleteRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueDeleteRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueDeleteResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueDeleteResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueForceRunRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueForceRunRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueForceRunResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueForceRunResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueUpdateQueueRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueUpdateQueueRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueUpdateQueueResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueUpdateQueueResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueFetchQueuesRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueFetchQueuesRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueFetchQueuesResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueFetchQueuesResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueFetchQueuesResponse_Queue_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueFetchQueuesResponse_Queue_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueFetchQueueStatsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueFetchQueueStatsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueScannerQueueInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueScannerQueueInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_QueueStats_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_QueueStats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueuePauseQueueRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueuePauseQueueRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueuePauseQueueResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueuePauseQueueResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueuePurgeQueueRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueuePurgeQueueRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueuePurgeQueueResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueuePurgeQueueResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueDeleteQueueRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueDeleteQueueRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueDeleteQueueResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueDeleteQueueResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueDeleteGroupRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueDeleteGroupRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueDeleteGroupResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueDeleteGroupResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueQueryTasksRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueQueryTasksRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueQueryTasksResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueQueryTasksResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_Header_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_Header_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_CronTimetable_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_CronTimetable_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_RunLog_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_RunLog_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueFetchTaskRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueFetchTaskRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueFetchTaskResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueFetchTaskResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueUpdateStorageLimitRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueUpdateStorageLimitRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueUpdateStorageLimitResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueUpdateStorageLimitResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueQueryAndOwnTasksRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueQueryAndOwnTasksRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_Task_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_Task_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueModifyTaskLeaseRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueModifyTaskLeaseRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_TaskQueueModifyTaskLeaseResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_TaskQueueModifyTaskLeaseResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\027taskqueue_service.proto\022\017java.apphosti" + "ng\032\022datastore_v3.proto\"\240\n\n\025TaskQueueServ" + "iceError\"\206\n\n\tErrorCode\022\006\n\002OK\020\000\022\021\n\rUNKNOW" + "N_QUEUE\020\001\022\023\n\017TRANSIENT_ERROR\020\002\022\022\n\016INTERN" + "AL_ERROR\020\003\022\022\n\016TASK_TOO_LARGE\020\004\022\025\n\021INVALI" + "D_TASK_NAME\020\005\022\026\n\022INVALID_QUEUE_NAME\020\006\022\017\n" + "\013INVALID_URL\020\007\022\026\n\022INVALID_QUEUE_RATE\020\010\022\025" + "\n\021PERMISSION_DENIED\020\t\022\027\n\023TASK_ALREADY_EX" + "ISTS\020\n\022\023\n\017TOMBSTONED_TASK\020\013\022\017\n\013INVALID_E" + "TA\020\014\022\023\n\017INVALID_REQUEST\020\r\022\020\n\014UNKNOWN_TAS" + "K\020\016\022\024\n\020TOMBSTONED_QUEUE\020\017\022\027\n\023DUPLICATE_T" + "ASK_NAME\020\020\022\013\n\007SKIPPED\020\021\022\022\n\016TOO_MANY_TASK" + "S\020\022\022\023\n\017INVALID_PAYLOAD\020\023\022\034\n\030INVALID_RETR" + "Y_PARAMETERS\020\024\022\026\n\022INVALID_QUEUE_MODE\020\025\022\024" + "\n\020ACL_LOOKUP_ERROR\020\026\022#\n\037TRANSACTIONAL_RE" + "QUEST_TOO_LARGE\020\027\022\032\n\026INCORRECT_CREATOR_N" + "AME\020\030\022\026\n\022TASK_LEASE_EXPIRED\020\031\022\020\n\014QUEUE_P" + "AUSED\020\032\022\017\n\013INVALID_TAG\020\033\022\032\n\026INVALID_LOGG" + "ING_CONFIG\020\034\022\035\n\031INVALID_DISPATCH_DEADLIN" + "E\020\035\022\024\n\017DATASTORE_ERROR\020\220N\022\032\n\025DATASTORE_B" + "AD_REQUEST\020\221N\022%\n DATASTORE_CONCURRENT_TR" + "ANSACTION\020\222N\022\035\n\030DATASTORE_INTERNAL_ERROR" + "\020\223N\022\031\n\024DATASTORE_NEED_INDEX\020\224N\022\026\n\021DATAST" + "ORE_TIMEOUT\020\225N\022 \n\033DATASTORE_PERMISSION_D" + "ENIED\020\226N\022\035\n\030DATASTORE_BIGTABLE_ERROR\020\227N\022" + "+\n&DATASTORE_COMMITTED_BUT_STILL_APPLYIN" + "G\020\230N\022\"\n\035DATASTORE_CAPABILITY_DISABLED\020\231N" + "\022$\n\037DATASTORE_TRY_ALTERNATE_BACKEND\020\232N\022 " + "\n\033DATASTORE_SAFE_TIME_TOO_OLD\020\233N\022!\n\034DATA" + "STORE_RESOURCE_EXHAUSTED\020\234N\022\030\n\023DATASTORE" + "_NOT_FOUND\020\235N\022\035\n\030DATASTORE_ALREADY_EXIST" + "S\020\236N\022\"\n\035DATASTORE_FAILED_PRECONDITION\020\237N" + "\022\036\n\031DATASTORE_UNAUTHENTICATED\020\240N\022\026\n\021DATA" + "STORE_ABORTED\020\241N\022\'\n\"DATASTORE_SNAPSHOT_V" + "ERSION_TOO_OLD\020\242N\"\021\n\013TaskPayload:\002\010\001\"\236\001\n" + "\030TaskQueueRetryParameters\022\023\n\013retry_limit" + "\030\001 \001(\005\022\025\n\rage_limit_sec\030\002 \001(\003\022\034\n\017min_bac" + "koff_sec\030\003 \001(\001:\0030.1\022\035\n\017max_backoff_sec\030\004" + " \001(\001:\0043600\022\031\n\rmax_doublings\030\005 \001(\005:\00216\"8\n" + "\014TaskQueueAcl\022\022\n\nuser_email\030\001 \003(\014\022\024\n\014wri" + "ter_email\030\002 \003(\014\"1\n\023TaskQueueHttpHeader\022\013" + "\n\003key\030\001 \002(\014\022\r\n\005value\030\002 \002(\014\"+\n\rTaskQueueM" + "ode\"\032\n\004Mode\022\010\n\004PUSH\020\000\022\010\n\004PULL\020\001\"\372\006\n\023Task" + "QueueAddRequest\022\022\n\nqueue_name\030\001 \002(\014\022\021\n\tt" + "ask_name\030\002 \002(\014\022\020\n\010eta_usec\030\003 \002(\003\022H\n\006meth" + "od\030\005 \001(\01622.java.apphosting.TaskQueueAddR" + "equest.RequestMethod:\004POST\022\013\n\003url\030\004 \001(\014\022" + ";\n\006header\030\006 \003(\n2+.java.apphosting.TaskQu" + "eueAddRequest.Header\022\020\n\004body\030\t \001(\014B\002\010\001\0229" + "\n\013transaction\030\n \001(\0132$.apphosting_datasto" + "re_v3.Transaction\022\035\n\025datastore_transacti" + "on\030\025 \001(\014\022\016\n\006app_id\030\013 \001(\014\022I\n\rcrontimetabl" + "e\030\014 \001(\n22.java.apphosting.TaskQueueAddRe" + "quest.CronTimetable\022\023\n\013description\030\017 \001(\014" + "\022-\n\007payload\030\020 \001(\0132\034.java.apphosting.Task" + "Payload\022C\n\020retry_parameters\030\021 \001(\0132).java" + ".apphosting.TaskQueueRetryParameters\0221\n\004" + "mode\030\022 \001(\0162#.java.apphosting.TaskQueueMo" + "de.Mode\022\013\n\003tag\030\023 \001(\014\022H\n\025cron_retry_param" + "eters\030\024 \001(\0132).java.apphosting.TaskQueueR" + "etryParameters\022\036\n\026dispatch_deadline_usec" + "\030\026 \001(\003\032$\n\006Header\022\013\n\003key\030\007 \002(\014\022\r\n\005value\030\010" + " \002(\014\0323\n\rCronTimetable\022\020\n\010schedule\030\r \002(\014\022" + "\020\n\010timezone\030\016 \002(\014\"A\n\rRequestMethod\022\007\n\003GE" + "T\020\001\022\010\n\004POST\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DELE" + "TE\020\005\"0\n\024TaskQueueAddResponse\022\030\n\020chosen_t" + "ask_name\030\001 \001(\014\"T\n\027TaskQueueBulkAddReques" + "t\0229\n\013add_request\030\001 \003(\0132$.java.apphosting" + ".TaskQueueAddRequest\"\316\001\n\030TaskQueueBulkAd" + "dResponse\022H\n\ntaskresult\030\001 \003(\n24.java.app" + "hosting.TaskQueueBulkAddResponse.TaskRes" + "ult\032h\n\nTaskResult\022@\n\006result\030\002 \002(\01620.java" + ".apphosting.TaskQueueServiceError.ErrorC" + "ode\022\030\n\020chosen_task_name\030\003 \001(\014\"O\n\026TaskQue" + "ueDeleteRequest\022\022\n\nqueue_name\030\001 \002(\014\022\021\n\tt" + "ask_name\030\002 \003(\014\022\016\n\006app_id\030\003 \001(\014\"[\n\027TaskQu" + "eueDeleteResponse\022@\n\006result\030\003 \003(\01620.java" + ".apphosting.TaskQueueServiceError.ErrorC" + "ode\"Q\n\030TaskQueueForceRunRequest\022\016\n\006app_i" + "d\030\001 \001(\014\022\022\n\nqueue_name\030\002 \002(\014\022\021\n\ttask_name" + "\030\003 \002(\014\"]\n\031TaskQueueForceRunResponse\022@\n\006r" + "esult\030\003 \002(\01620.java.apphosting.TaskQueueS" + "erviceError.ErrorCode\"\235\003\n\033TaskQueueUpdat" + "eQueueRequest\022\016\n\006app_id\030\001 \001(\014\022\022\n\nqueue_n" + "ame\030\002 \002(\014\022 \n\030bucket_refill_per_second\030\003 " + "\002(\001\022\027\n\017bucket_capacity\030\004 \002(\005\022\033\n\023user_spe" + "cified_rate\030\005 \001(\t\022C\n\020retry_parameters\030\006 " + "\001(\0132).java.apphosting.TaskQueueRetryPara" + "meters\022\037\n\027max_concurrent_requests\030\007 \001(\005\022" + "1\n\004mode\030\010 \001(\0162#.java.apphosting.TaskQueu" + "eMode.Mode\022*\n\003acl\030\t \001(\0132\035.java.apphostin" + "g.TaskQueueAcl\022=\n\017header_override\030\n \003(\0132" + "$.java.apphosting.TaskQueueHttpHeader\"\036\n" + "\034TaskQueueUpdateQueueResponse\"?\n\033TaskQue" + "ueFetchQueuesRequest\022\016\n\006app_id\030\001 \001(\014\022\020\n\010" + "max_rows\030\002 \002(\005\"\222\004\n\034TaskQueueFetchQueuesR" + "esponse\022B\n\005queue\030\001 \003(\n23.java.apphosting" + ".TaskQueueFetchQueuesResponse.Queue\032\255\003\n\005" + "Queue\022\022\n\nqueue_name\030\002 \002(\014\022 \n\030bucket_refi" + "ll_per_second\030\003 \002(\001\022\027\n\017bucket_capacity\030\004" + " \002(\001\022\033\n\023user_specified_rate\030\005 \001(\t\022\016\n\006pau" + "sed\030\006 \002(\010\022C\n\020retry_parameters\030\007 \001(\0132).ja" + "va.apphosting.TaskQueueRetryParameters\022\037" + "\n\027max_concurrent_requests\030\010 \001(\005\0221\n\004mode\030" + "\t \001(\0162#.java.apphosting.TaskQueueMode.Mo" + "de\022*\n\003acl\030\n \001(\0132\035.java.apphosting.TaskQu" + "eueAcl\022=\n\017header_override\030\013 \003(\0132$.java.a" + "pphosting.TaskQueueHttpHeader\022$\n\014creator" + "_name\030\014 \001(\t:\napphostingB\002\010\001\"\\\n\037TaskQueue" + "FetchQueueStatsRequest\022\016\n\006app_id\030\001 \001(\014\022\022" + "\n\nqueue_name\030\002 \003(\014\022\025\n\rmax_num_tasks\030\003 \001(" + "\005\"\253\001\n\031TaskQueueScannerQueueInfo\022\034\n\024execu" + "ted_last_minute\030\001 \002(\003\022\032\n\022executed_last_h" + "our\030\002 \002(\003\022!\n\031sampling_duration_seconds\030\003" + " \002(\001\022\032\n\022requests_in_flight\030\004 \001(\005\022\025\n\renfo" + "rced_rate\030\005 \001(\001\"\360\001\n TaskQueueFetchQueueS" + "tatsResponse\022P\n\nqueuestats\030\001 \003(\n2<.java." + "apphosting.TaskQueueFetchQueueStatsRespo" + "nse.QueueStats\032z\n\nQueueStats\022\021\n\tnum_task" + "s\030\002 \002(\005\022\027\n\017oldest_eta_usec\030\003 \002(\003\022@\n\014scan" + "ner_info\030\004 \001(\0132*.java.apphosting.TaskQue" + "ueScannerQueueInfo\"O\n\032TaskQueuePauseQueu" + "eRequest\022\016\n\006app_id\030\001 \002(\014\022\022\n\nqueue_name\030\002" + " \002(\014\022\r\n\005pause\030\003 \002(\010\"\035\n\033TaskQueuePauseQue" + "ueResponse\"@\n\032TaskQueuePurgeQueueRequest" + "\022\016\n\006app_id\030\001 \001(\014\022\022\n\nqueue_name\030\002 \002(\014\"\035\n\033" + "TaskQueuePurgeQueueResponse\"A\n\033TaskQueue" + "DeleteQueueRequest\022\016\n\006app_id\030\001 \002(\014\022\022\n\nqu" + "eue_name\030\002 \002(\014\"\036\n\034TaskQueueDeleteQueueRe" + "sponse\"-\n\033TaskQueueDeleteGroupRequest\022\016\n" + "\006app_id\030\001 \002(\014\"\036\n\034TaskQueueDeleteGroupRes" + "ponse\"\231\001\n\032TaskQueueQueryTasksRequest\022\016\n\006" + "app_id\030\001 \001(\014\022\022\n\nqueue_name\030\002 \002(\014\022\027\n\017star" + "t_task_name\030\003 \001(\014\022\026\n\016start_eta_usec\030\004 \001(" + "\003\022\021\n\tstart_tag\030\006 \001(\014\022\023\n\010max_rows\030\005 \001(\005:\001" + "1\"\251\010\n\033TaskQueueQueryTasksResponse\022?\n\004tas" + "k\030\001 \003(\n21.java.apphosting.TaskQueueQuery" + "TasksResponse.Task\032\310\007\n\004Task\022\021\n\ttask_name" + "\030\002 \002(\014\022\020\n\010eta_usec\030\003 \002(\003\022\013\n\003url\030\004 \001(\014\022O\n" + "\006method\030\005 \001(\0162?.java.apphosting.TaskQueu" + "eQueryTasksResponse.Task.RequestMethod\022\023" + "\n\013retry_count\030\006 \001(\005\022H\n\006header\030\007 \003(\n28.ja" + "va.apphosting.TaskQueueQueryTasksRespons" + "e.Task.Header\022\021\n\tbody_size\030\n \001(\005\022\020\n\004body" + "\030\013 \001(\014B\002\010\001\022\032\n\022creation_time_usec\030\014 \002(\003\022V" + "\n\rcrontimetable\030\r \001(\n2?.java.apphosting." + "TaskQueueQueryTasksResponse.Task.CronTim" + "etable\022H\n\006runlog\030\020 \001(\n28.java.apphosting" + ".TaskQueueQueryTasksResponse.Task.RunLog" + "\022\023\n\013description\030\025 \001(\014\022-\n\007payload\030\026 \001(\0132\034" + ".java.apphosting.TaskPayload\022C\n\020retry_pa" + "rameters\030\027 \001(\0132).java.apphosting.TaskQue" + "ueRetryParameters\022\026\n\016first_try_usec\030\030 \001(" + "\003\022\013\n\003tag\030\031 \001(\014\022\027\n\017execution_count\030\032 \001(\005\022" + "\036\n\026dispatch_deadline_usec\030\034 \001(\003\032$\n\006Heade" + "r\022\013\n\003key\030\010 \002(\014\022\r\n\005value\030\t \002(\014\0323\n\rCronTim" + "etable\022\020\n\010schedule\030\016 \002(\014\022\020\n\010timezone\030\017 \002" + "(\014\032v\n\006RunLog\022\027\n\017dispatched_usec\030\021 \002(\003\022\020\n" + "\010lag_usec\030\022 \002(\003\022\024\n\014elapsed_usec\030\023 \002(\003\022\025\n" + "\rresponse_code\030\024 \001(\003\022\024\n\014retry_reason\030\033 \001" + "(\t\"A\n\rRequestMethod\022\007\n\003GET\020\001\022\010\n\004POST\020\002\022\010" + "\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DELETE\020\005\"R\n\031TaskQue" + "ueFetchTaskRequest\022\016\n\006app_id\030\001 \001(\014\022\022\n\nqu" + "eue_name\030\002 \002(\014\022\021\n\ttask_name\030\003 \002(\014\"X\n\032Tas" + "kQueueFetchTaskResponse\022:\n\004task\030\001 \002(\0132,." + "java.apphosting.TaskQueueQueryTasksRespo" + "nse\"C\n\"TaskQueueUpdateStorageLimitReques" + "t\022\016\n\006app_id\030\001 \002(\014\022\r\n\005limit\030\002 \002(\003\"8\n#Task" + "QueueUpdateStorageLimitResponse\022\021\n\tnew_l" + "imit\030\001 \002(\003\"\203\001\n TaskQueueQueryAndOwnTasks" + "Request\022\022\n\nqueue_name\030\001 \002(\014\022\025\n\rlease_sec" + "onds\030\002 \002(\001\022\021\n\tmax_tasks\030\003 \002(\003\022\024\n\014group_b" + "y_tag\030\004 \001(\010\022\013\n\003tag\030\005 \001(\014\"\313\001\n!TaskQueueQu" + "eryAndOwnTasksResponse\022E\n\004task\030\001 \003(\n27.j" + "ava.apphosting.TaskQueueQueryAndOwnTasks" + "Response.Task\032_\n\004Task\022\021\n\ttask_name\030\002 \002(\014" + "\022\020\n\010eta_usec\030\003 \002(\003\022\023\n\013retry_count\030\004 \001(\005\022" + "\020\n\004body\030\005 \001(\014B\002\010\001\022\013\n\003tag\030\006 \001(\014\"q\n\037TaskQu" + "eueModifyTaskLeaseRequest\022\022\n\nqueue_name\030" + "\001 \002(\014\022\021\n\ttask_name\030\002 \002(\014\022\020\n\010eta_usec\030\003 \002" + "(\003\022\025\n\rlease_seconds\030\004 \002(\001\"<\n TaskQueueMo" + "difyTaskLeaseResponse\022\030\n\020updated_eta_use" + "c\030\001 \002(\003B1\n\"com.google.appengine.api.task" + "queueB\013TaskQueuePb" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.apphosting.datastore.proto2api.DatastoreV3Pb.getDescriptor(), }); internal_static_java_apphosting_TaskQueueServiceError_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_java_apphosting_TaskQueueServiceError_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueServiceError_descriptor, new java.lang.String[] { }); internal_static_java_apphosting_TaskPayload_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_java_apphosting_TaskPayload_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskPayload_descriptor, new java.lang.String[] { }); internal_static_java_apphosting_TaskQueueRetryParameters_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_java_apphosting_TaskQueueRetryParameters_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueRetryParameters_descriptor, new java.lang.String[] { "RetryLimit", "AgeLimitSec", "MinBackoffSec", "MaxBackoffSec", "MaxDoublings", }); internal_static_java_apphosting_TaskQueueAcl_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_java_apphosting_TaskQueueAcl_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueAcl_descriptor, new java.lang.String[] { "UserEmail", "WriterEmail", }); internal_static_java_apphosting_TaskQueueHttpHeader_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_java_apphosting_TaskQueueHttpHeader_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueHttpHeader_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_java_apphosting_TaskQueueMode_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_java_apphosting_TaskQueueMode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueMode_descriptor, new java.lang.String[] { }); internal_static_java_apphosting_TaskQueueAddRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_java_apphosting_TaskQueueAddRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueAddRequest_descriptor, new java.lang.String[] { "QueueName", "TaskName", "EtaUsec", "Method", "Url", "Header", "Body", "Transaction", "DatastoreTransaction", "AppId", "CronTimetable", "Description", "Payload", "RetryParameters", "Mode", "Tag", "CronRetryParameters", "DispatchDeadlineUsec", }); internal_static_java_apphosting_TaskQueueAddRequest_Header_descriptor = internal_static_java_apphosting_TaskQueueAddRequest_descriptor.getNestedTypes().get(0); internal_static_java_apphosting_TaskQueueAddRequest_Header_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueAddRequest_Header_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_java_apphosting_TaskQueueAddRequest_CronTimetable_descriptor = internal_static_java_apphosting_TaskQueueAddRequest_descriptor.getNestedTypes().get(1); internal_static_java_apphosting_TaskQueueAddRequest_CronTimetable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueAddRequest_CronTimetable_descriptor, new java.lang.String[] { "Schedule", "Timezone", }); internal_static_java_apphosting_TaskQueueAddResponse_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_java_apphosting_TaskQueueAddResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueAddResponse_descriptor, new java.lang.String[] { "ChosenTaskName", }); internal_static_java_apphosting_TaskQueueBulkAddRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_java_apphosting_TaskQueueBulkAddRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueBulkAddRequest_descriptor, new java.lang.String[] { "AddRequest", }); internal_static_java_apphosting_TaskQueueBulkAddResponse_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_java_apphosting_TaskQueueBulkAddResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueBulkAddResponse_descriptor, new java.lang.String[] { "TaskResult", }); internal_static_java_apphosting_TaskQueueBulkAddResponse_TaskResult_descriptor = internal_static_java_apphosting_TaskQueueBulkAddResponse_descriptor.getNestedTypes().get(0); internal_static_java_apphosting_TaskQueueBulkAddResponse_TaskResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueBulkAddResponse_TaskResult_descriptor, new java.lang.String[] { "Result", "ChosenTaskName", }); internal_static_java_apphosting_TaskQueueDeleteRequest_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_java_apphosting_TaskQueueDeleteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueDeleteRequest_descriptor, new java.lang.String[] { "QueueName", "TaskName", "AppId", }); internal_static_java_apphosting_TaskQueueDeleteResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_java_apphosting_TaskQueueDeleteResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueDeleteResponse_descriptor, new java.lang.String[] { "Result", }); internal_static_java_apphosting_TaskQueueForceRunRequest_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_java_apphosting_TaskQueueForceRunRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueForceRunRequest_descriptor, new java.lang.String[] { "AppId", "QueueName", "TaskName", }); internal_static_java_apphosting_TaskQueueForceRunResponse_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_java_apphosting_TaskQueueForceRunResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueForceRunResponse_descriptor, new java.lang.String[] { "Result", }); internal_static_java_apphosting_TaskQueueUpdateQueueRequest_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_java_apphosting_TaskQueueUpdateQueueRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueUpdateQueueRequest_descriptor, new java.lang.String[] { "AppId", "QueueName", "BucketRefillPerSecond", "BucketCapacity", "UserSpecifiedRate", "RetryParameters", "MaxConcurrentRequests", "Mode", "Acl", "HeaderOverride", }); internal_static_java_apphosting_TaskQueueUpdateQueueResponse_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_java_apphosting_TaskQueueUpdateQueueResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueUpdateQueueResponse_descriptor, new java.lang.String[] { }); internal_static_java_apphosting_TaskQueueFetchQueuesRequest_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_java_apphosting_TaskQueueFetchQueuesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueFetchQueuesRequest_descriptor, new java.lang.String[] { "AppId", "MaxRows", }); internal_static_java_apphosting_TaskQueueFetchQueuesResponse_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_java_apphosting_TaskQueueFetchQueuesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueFetchQueuesResponse_descriptor, new java.lang.String[] { "Queue", }); internal_static_java_apphosting_TaskQueueFetchQueuesResponse_Queue_descriptor = internal_static_java_apphosting_TaskQueueFetchQueuesResponse_descriptor.getNestedTypes().get(0); internal_static_java_apphosting_TaskQueueFetchQueuesResponse_Queue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueFetchQueuesResponse_Queue_descriptor, new java.lang.String[] { "QueueName", "BucketRefillPerSecond", "BucketCapacity", "UserSpecifiedRate", "Paused", "RetryParameters", "MaxConcurrentRequests", "Mode", "Acl", "HeaderOverride", "CreatorName", }); internal_static_java_apphosting_TaskQueueFetchQueueStatsRequest_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_java_apphosting_TaskQueueFetchQueueStatsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueFetchQueueStatsRequest_descriptor, new java.lang.String[] { "AppId", "QueueName", "MaxNumTasks", }); internal_static_java_apphosting_TaskQueueScannerQueueInfo_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_java_apphosting_TaskQueueScannerQueueInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueScannerQueueInfo_descriptor, new java.lang.String[] { "ExecutedLastMinute", "ExecutedLastHour", "SamplingDurationSeconds", "RequestsInFlight", "EnforcedRate", }); internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_descriptor, new java.lang.String[] { "QueueStats", }); internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_QueueStats_descriptor = internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_descriptor.getNestedTypes().get(0); internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_QueueStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueFetchQueueStatsResponse_QueueStats_descriptor, new java.lang.String[] { "NumTasks", "OldestEtaUsec", "ScannerInfo", }); internal_static_java_apphosting_TaskQueuePauseQueueRequest_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_java_apphosting_TaskQueuePauseQueueRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueuePauseQueueRequest_descriptor, new java.lang.String[] { "AppId", "QueueName", "Pause", }); internal_static_java_apphosting_TaskQueuePauseQueueResponse_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_java_apphosting_TaskQueuePauseQueueResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueuePauseQueueResponse_descriptor, new java.lang.String[] { }); internal_static_java_apphosting_TaskQueuePurgeQueueRequest_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_java_apphosting_TaskQueuePurgeQueueRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueuePurgeQueueRequest_descriptor, new java.lang.String[] { "AppId", "QueueName", }); internal_static_java_apphosting_TaskQueuePurgeQueueResponse_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_java_apphosting_TaskQueuePurgeQueueResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueuePurgeQueueResponse_descriptor, new java.lang.String[] { }); internal_static_java_apphosting_TaskQueueDeleteQueueRequest_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_java_apphosting_TaskQueueDeleteQueueRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueDeleteQueueRequest_descriptor, new java.lang.String[] { "AppId", "QueueName", }); internal_static_java_apphosting_TaskQueueDeleteQueueResponse_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_java_apphosting_TaskQueueDeleteQueueResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueDeleteQueueResponse_descriptor, new java.lang.String[] { }); internal_static_java_apphosting_TaskQueueDeleteGroupRequest_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_java_apphosting_TaskQueueDeleteGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueDeleteGroupRequest_descriptor, new java.lang.String[] { "AppId", }); internal_static_java_apphosting_TaskQueueDeleteGroupResponse_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_java_apphosting_TaskQueueDeleteGroupResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueDeleteGroupResponse_descriptor, new java.lang.String[] { }); internal_static_java_apphosting_TaskQueueQueryTasksRequest_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_java_apphosting_TaskQueueQueryTasksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueQueryTasksRequest_descriptor, new java.lang.String[] { "AppId", "QueueName", "StartTaskName", "StartEtaUsec", "StartTag", "MaxRows", }); internal_static_java_apphosting_TaskQueueQueryTasksResponse_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_java_apphosting_TaskQueueQueryTasksResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueQueryTasksResponse_descriptor, new java.lang.String[] { "Task", }); internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_descriptor = internal_static_java_apphosting_TaskQueueQueryTasksResponse_descriptor.getNestedTypes().get(0); internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_descriptor, new java.lang.String[] { "TaskName", "EtaUsec", "Url", "Method", "RetryCount", "Header", "BodySize", "Body", "CreationTimeUsec", "CronTimetable", "RunLog", "Description", "Payload", "RetryParameters", "FirstTryUsec", "Tag", "ExecutionCount", "DispatchDeadlineUsec", }); internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_Header_descriptor = internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_descriptor.getNestedTypes().get(0); internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_Header_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_Header_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_CronTimetable_descriptor = internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_descriptor.getNestedTypes().get(1); internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_CronTimetable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_CronTimetable_descriptor, new java.lang.String[] { "Schedule", "Timezone", }); internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_RunLog_descriptor = internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_descriptor.getNestedTypes().get(2); internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_RunLog_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueQueryTasksResponse_Task_RunLog_descriptor, new java.lang.String[] { "DispatchedUsec", "LagUsec", "ElapsedUsec", "ResponseCode", "RetryReason", }); internal_static_java_apphosting_TaskQueueFetchTaskRequest_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_java_apphosting_TaskQueueFetchTaskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueFetchTaskRequest_descriptor, new java.lang.String[] { "AppId", "QueueName", "TaskName", }); internal_static_java_apphosting_TaskQueueFetchTaskResponse_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_java_apphosting_TaskQueueFetchTaskResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueFetchTaskResponse_descriptor, new java.lang.String[] { "Task", }); internal_static_java_apphosting_TaskQueueUpdateStorageLimitRequest_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_java_apphosting_TaskQueueUpdateStorageLimitRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueUpdateStorageLimitRequest_descriptor, new java.lang.String[] { "AppId", "Limit", }); internal_static_java_apphosting_TaskQueueUpdateStorageLimitResponse_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_java_apphosting_TaskQueueUpdateStorageLimitResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueUpdateStorageLimitResponse_descriptor, new java.lang.String[] { "NewLimit", }); internal_static_java_apphosting_TaskQueueQueryAndOwnTasksRequest_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_java_apphosting_TaskQueueQueryAndOwnTasksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueQueryAndOwnTasksRequest_descriptor, new java.lang.String[] { "QueueName", "LeaseSeconds", "MaxTasks", "GroupByTag", "Tag", }); internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_descriptor, new java.lang.String[] { "Task", }); internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_Task_descriptor = internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_descriptor.getNestedTypes().get(0); internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_Task_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueQueryAndOwnTasksResponse_Task_descriptor, new java.lang.String[] { "TaskName", "EtaUsec", "RetryCount", "Body", "Tag", }); internal_static_java_apphosting_TaskQueueModifyTaskLeaseRequest_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_java_apphosting_TaskQueueModifyTaskLeaseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueModifyTaskLeaseRequest_descriptor, new java.lang.String[] { "QueueName", "TaskName", "EtaUsec", "LeaseSeconds", }); internal_static_java_apphosting_TaskQueueModifyTaskLeaseResponse_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_java_apphosting_TaskQueueModifyTaskLeaseResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_TaskQueueModifyTaskLeaseResponse_descriptor, new java.lang.String[] { "UpdatedEtaUsec", }); com.google.apphosting.datastore.proto2api.DatastoreV3Pb.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy