@java.lang.Override
  public /* nullable */ java.lang.String getLabelsOrDefault(
      java.lang.String key,
      /* nullable */
      java.lang.String defaultValue) {
    if (key == null) {
      throw new NullPointerException("map key");
    }
    java.util.Map<java.lang.String, java.lang.String> map = internalGetLabels().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
<pre>
Optional.
[Labels](https://cloud.google.com/workstations/docs/label-resources) that
are applied to the workstation and that are also propagated to the
underlying Compute Engine resources.
</pre>

<code>map&lt;string, string&gt; labels = 13 [(.google.api.field_behavior) = OPTIONAL];</code>
java-workstations/proto-google-cloud-workstations-v1/src/main/java/com/google/cloud/workstations/v1/Workstation.java