@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.tasks.v2beta2.GetQueueRequest)) {
      return super.equals(obj);
    }
    com.google.cloud.tasks.v2beta2.GetQueueRequest other =
        (com.google.cloud.tasks.v2beta2.GetQueueRequest) obj;

    if (!getName().equals(other.getName())) return false;
    if (hasReadMask() != other.hasReadMask()) return false;
    if (hasReadMask()) {
      if (!getReadMask().equals(other.getReadMask())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. Read mask is used for a more granular control over what the API
returns. If the mask is not present all fields will be returned except
[Queue.stats]. [Queue.stats] will be returned only if it was  explicitly
specified in the mask.
</pre>

<code>.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java