@java.lang.Override
      public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State getState() {
        com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State result =
            com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.forNumber(state_);
        return result == null
            ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.UNRECOGNIZED
            : result;
      }
<pre>
Output only. Specifies the state of the AgentPool.
</pre>

<code>
.google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

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