public com.google.protobuf.ByteString getSubnetworkBytes() {
      java.lang.Object ref = subnetwork_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        subnetwork_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
<pre>
Immutable. Name of the Compute Engine subnetwork in which instances
associated with this workstation cluster will be created. Must be part of
the subnetwork specified for this workstation cluster.
</pre>

<code>string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];</code>

@return The bytes for subnetwork.
java-workstations/proto-google-cloud-workstations-v1/src/main/java/com/google/cloud/workstations/v1/WorkstationCluster.java