public static WorkloadType forNumber(int value) {
            switch (value) {
              case 0:
                return WORKLOAD_TYPE_UNSPECIFIED;
              case 1:
                return THROUGHPUT_OPTIMIZED;
              case 2:
                return AVAILABILITY_OPTIMIZED;
              default:
                return null;
            }
          }
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/QueuedResource.java