@java.lang.Override
  public java.lang.String getVersion() {
    java.lang.Object ref = version_;
    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();
      version_ = s;
      return s;
    }
  }
<pre>
App version.

By default, the task is sent to the version which is the default
version when the task is attempted.

For some queues or tasks which were created using the App Engine
Task Queue API, [host][google.cloud.tasks.v2.AppEngineRouting.host] is not
parsable into [service][google.cloud.tasks.v2.AppEngineRouting.service],
[version][google.cloud.tasks.v2.AppEngineRouting.version], and
[instance][google.cloud.tasks.v2.AppEngineRouting.instance]. For example,
some tasks which were created using the App Engine SDK use a custom domain
name; custom domains are not parsed by Cloud Tasks. If
[host][google.cloud.tasks.v2.AppEngineRouting.host] is not parsable, then
[service][google.cloud.tasks.v2.AppEngineRouting.service],
[version][google.cloud.tasks.v2.AppEngineRouting.version], and
[instance][google.cloud.tasks.v2.AppEngineRouting.instance] are the empty
string.
</pre>

<code>string version = 2;</code>

@return The version.
java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java