public com.google.protobuf.ByteString getNameBytes() {
        java.lang.Object ref = name_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          name_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
<pre>
Required. Specifies a unique string that identifies the agent pool.

Format: `projects/{project_id}/agentPools/{agent_pool_id}`
</pre>

<code>string name = 2 [(.google.api.field_behavior) = REQUIRED];</code>

@return The bytes for name.
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java